Skip to content

chore: replace npm with pnpm#1254

Open
simonknittel wants to merge 1 commit intodevelopfrom
feature/pnpm-2
Open

chore: replace npm with pnpm#1254
simonknittel wants to merge 1 commit intodevelopfrom
feature/pnpm-2

Conversation

@simonknittel
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 18, 2025 10:06
@vercel
Copy link

vercel bot commented Apr 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
sinister-incorporated ❌ Failed (Inspect) Apr 28, 2025 8:01am

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces npm with pnpm across the repository to standardize dependency management and command usage. Key changes include:

  • Updating documentation in docs/setup-local-machine.md and docs/changing-database-schema.md with pnpm commands.
  • Adjusting project scripts, CI workflows, and configuration files to use pnpm.
  • Modifying form data handling in fleet components and cleaning up type assertions in task actions.

Reviewed Changes

Copilot reviewed 12 out of 20 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
docs/setup-local-machine.md Updated dependency installation and prisma migration steps to use pnpm commands
docs/changing-database-schema.md Replaced npm-based prisma commands with pnpm commands for schema updates
app/src/tasks/actions/completeTask.tsx Removed non-null assertion from task.repeatable arithmetic operation
app/src/fleet/components/EditableShipName.tsx Changed form data handling from optional chaining to direct type assertion
app/src/fleet/components/EditableSeriesName.tsx Changed form data handling from optional chaining to direct type assertion
app/src/fleet/components/EditableManufacturerName.tsx Changed form data handling from optional chaining to direct type assertion
app/src/env.ts Added a new environment flag “skipValidation”
app/src/app/privacy/page.tsx Minor formatting changes to improve readability
app/pnpm-workspace.yaml Introduced pnpm workspace configuration for dependency hoisting
.github/workflows/validate-app.yml Migrated CI configuration to use pnpm for installation, linting, and testing
Files not reviewed (8)
  • .vscode/settings.json: Language not supported
  • app/.devcontainer/postCreateCommand.sh: Language not supported
  • app/.eslintrc.json: Language not supported
  • app/.prettierignore: Language not supported
  • app/.vscode/launch.json: Language not supported
  • app/.vscode/tasks.json: Language not supported
  • app/package.json: Language not supported
  • git-hooks/post-merge.sh: Language not supported
Comments suppressed due to low confidence (1)

app/src/tasks/actions/completeTask.tsx:234

  • Removing the non-null assertion operator could lead to potential runtime errors if task.repeatable is undefined. Please confirm that task.repeatable is always defined before performing the subtraction.
repeatable: task.repeatable - 1,

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants