-
Notifications
You must be signed in to change notification settings - Fork 0
Replace npm
with pnpm
#136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThis pull request updates the frontend project configuration to transition from npm to pnpm as the package manager. The changes are comprehensive, affecting multiple configuration files including README.md, package.json, and playwright.config.ts. The modifications ensure consistent use of pnpm across installation instructions, script definitions, and test configurations. Additionally, the build.sbt file has been updated to reflect these changes and to update dependency versions. No functional changes to the project's core logic were introduced, only package management tooling updates. Changes
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
08e8543
to
4125b0d
Compare
f8291f2
to
fc7d0a0
Compare
4125b0d
to
f5e4e4d
Compare
…n package.json (i.e. merged PR #136 (if we do))
d31538b
to
39133b7
Compare
…n package.json (i.e. merged PR #136 (if we do))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
frontend/package.json (1)
Line range hint
1-150
: Consider utilizing pnpm workspace features.Since one of the advantages mentioned in the PR description is workspace support, consider leveraging pnpm workspaces to better manage the frontend and potential future packages.
This would involve:
- Creating a
pnpm-workspace.yaml
in the root- Moving shared dependencies to the root
package.json
- Utilizing workspace protocols in dependency declarations
frontend/README.md (1)
10-10
: Specify the required pnpm version.Consider adding the minimum required pnpm version to the prerequisites section.
-- [pnpm](https://pnpm.io/installation) - fast and disk space efficient package manager +- [pnpm](https://pnpm.io/installation) (v8.0.0 or higher) - fast and disk space efficient package manager
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro (Legacy)
⛔ Files ignored due to path filters (2)
frontend/package-lock.json
is excluded by!**/package-lock.json
frontend/pnpm-lock.yaml
is excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (3)
frontend/README.md
(6 hunks)frontend/package.json
(1 hunks)frontend/playwright.config.ts
(1 hunks)
🔇 Additional comments (4)
frontend/playwright.config.ts (1)
5-5
: LGTM! Verify the preview server port.
The command update from npm to pnpm is correct. Please verify that the preview server still binds to port 4173 with pnpm.
✅ Verification successful
LGTM! Port configuration is correctly maintained
The preview server port is explicitly set to 4173 in the playwright.config.ts file and this configuration remains unchanged with the pnpm command update. The port setting is independent of the package manager being used.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check if the preview server port is configured in vite.config
rg -A 2 "preview:" frontend/vite.config.*
Length of output: 42
Script:
#!/bin/bash
# Let's check the vite config file directly and any preview configuration
cat frontend/vite.config.ts
Length of output: 516
Script:
#!/bin/bash
# Also check the playwright config for port settings
cat frontend/playwright.config.ts
Length of output: 312
Script:
#!/bin/bash
# Search for any preview port configuration in the codebase
rg -i "preview.*port|port.*preview" frontend/
Length of output: 47
frontend/package.json (2)
6-8
: LGTM! Script updates are consistent.
The npm to pnpm conversion in scripts is correct and comprehensive.
Also applies to: 11-11
Line range hint 1-150
: Verify all npm commands are replaced.
Let's ensure no npm commands were missed in the conversion.
✅ Verification successful
All package manager commands in frontend have been replaced with pnpm
The only remaining npm
reference in the frontend directory is in the pnpm-lock.yaml
file, which is expected as it contains metadata about package compatibility with different package managers. The single npm
command outside frontend is in docker-init/compose.yaml
for a different service.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Search for any remaining npm commands
rg --type-add 'config:*.{json,yaml,yml,js,ts}' -t config 'npm' .
Length of output: 810
frontend/README.md (1)
29-29
: LGTM! Documentation updates are comprehensive.
All npm commands have been correctly updated to their pnpm equivalents throughout the documentation.
Also applies to: 56-56, 66-66, 76-76, 88-88, 96-96, 102-102, 110-110, 116-116, 122-122, 130-130, 136-136, 144-144, 150-150, 155-155
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
🧹 Nitpick comments (2)
docker-init/README.md (1)
36-36
: Format the URL as a proper markdown linkThe URL should be properly formatted as a markdown link to improve readability and follow markdown best practices.
-The **frontend** is served at: http://localhost:3000. This serves statically built code - no live dev server. `cd frontend; pnpm run dev` for a live dev server. +The **frontend** is served at: [http://localhost:3000](http://localhost:3000). This serves statically built code - no live dev server. `cd frontend; pnpm run dev` for a live dev server.🧰 Tools
🪛 Markdownlint (0.37.0)
36-36: null
Bare URL used(MD034, no-bare-urls)
build.sbt (1)
243-246
: LGTM! Consider enhancing error messagesThe transition from npm to pnpm is implemented correctly. However, the error message could be more descriptive to help with debugging.
- sys.error("pnpm install failed!") + sys.error(s"pnpm install failed with exit code: $pnpmCiResult. Please ensure pnpm is installed and the lockfile is up to date.")
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro (Legacy)
📒 Files selected for processing (2)
build.sbt
(1 hunks)docker-init/README.md
(1 hunks)
🧰 Additional context used
🪛 Markdownlint (0.37.0)
docker-init/README.md
36-36: null
Bare URL used
(MD034, no-bare-urls)
@@ -33,7 +33,7 @@ $ docker compose -f docker-init/compose.yaml up | |||
|
|||
The **backend** is served at: http://localhost:9000 | |||
|
|||
The **frontend** is served at: http://localhost:3000. This serves statically built code - no live dev server. `cd frontend; npm run dev` for a live dev server. | |||
The **frontend** is served at: http://localhost:3000. This serves statically built code - no live dev server. `cd frontend; pnpm run dev` for a live dev server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Update npm reference in service/README.md to use pnpm
Found one remaining npm reference that needs to be updated:
- In
service/README.md
: The instruction to install statsd-logger usesnpm install -g statsd-logger
and should be updated to use pnpm global install syntax
🔗 Analysis chain
Verify all npm references have been updated to pnpm
Let's ensure all npm references in the documentation have been updated to pnpm.
Let's examine the content of these files to see the specific npm references.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Search for any remaining npm references in markdown files
echo "Searching for npm references in markdown files..."
rg --type md "npm" -l
Length of output: 189
Script:
#!/bin/bash
# Check the content of npm references in each markdown file
echo "=== docker-init/README.md ==="
rg -A 2 -B 2 "npm" docker-init/README.md
echo -e "\n=== frontend/README.md ==="
rg -A 2 -B 2 "npm" frontend/README.md
echo -e "\n=== service/README.md ==="
rg -A 2 -B 2 "npm" service/README.md
Length of output: 1814
🧰 Tools
🪛 Markdownlint (0.37.0)
36-36: null
Bare URL used
(MD034, no-bare-urls)
} | ||
|
||
println("Building frontend...") | ||
val buildResult = Process("npm run build", file("frontend")).! | ||
val buildResult = Process("pnpm run build", file("frontend")).! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
CI environment needs pnpm configuration
The project is indeed using pnpm as the package manager (confirmed by package.json scripts and presence of pnpm-lock.yaml), but there's no CI configuration detected. This poses a risk for the build process.
- No CI workflow files were found in common locations (.github/workflows/, .gitlab-ci.yml, etc.)
- A pnpm-lock.yaml exists at frontend/pnpm-lock.yaml, confirming pnpm usage
- Package.json shows heavy reliance on pnpm for various scripts (build, dev, test, etc.)
Action needed: Add CI configuration that includes:
- pnpm installation step
- Proper caching of pnpm dependencies
- Execution of the build command with pnpm
🔗 Analysis chain
Verify CI environment compatibility
The build process now relies on pnpm. We should ensure that the CI environment has pnpm installed and properly configured.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check if CI configuration files exist and contain pnpm setup
echo "Checking CI configuration files..."
fd -t f "^\.github/workflows/.*\.ya?ml$|^\.gitlab-ci\.ya?ml$|^\.circleci/.*\.ya?ml$|^azure-pipelines\.ya?ml$" -x cat {} \; | rg "pnpm"
# Check if there's a pnpm setup action or installation step
fd -t f "^\.github/workflows/.*\.ya?ml$" -x rg "actions/setup-node|pnpm install" {} \;
Length of output: 516
Script:
#!/bin/bash
# Check CI configuration files with hidden flag
echo "Checking CI configuration files..."
fd -H -t f "^\.github/workflows/.*\.ya?ml$|^\.gitlab-ci\.ya?ml$|^\.circleci/.*\.ya?ml$|^azure-pipelines\.ya?ml$" -x cat {} \;
# Also check package.json for any pnpm-related configurations
echo -e "\nChecking package.json in frontend directory..."
fd -H "package.json" frontend -x cat {} \;
# Check if there's any pnpm-lock.yaml file
echo -e "\nChecking for pnpm-lock.yaml..."
fd -H "pnpm-lock.yaml"
Length of output: 2888
@ken-zlai verified |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sean-zlai Nice stuff! Working well for me. I just had to add the pnpm style overrides.
Thanks! I lost that commit after a bad rebase |
…due to support with overrides at this time) This reverts commit 775917a.
Reverted via #144 due to Snyk UI |
## Summary Reverting back to `npm` due to Snyk UI not supporting `pnpm.overrides` in `package.json` (best source appears to be this [comment](snyk/nodejs-lockfile-parser#111 (comment))). Sounds like the CLI might support it at this time, which means the Snyk [github action](https://github.com/snyk/actions/tree/master/node) might work, but not worth exploring further at this time. Also not sure if Vanta requires Snyk UI for compliance. ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- av pr metadata This information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR. ``` {"parent":"main","parentHead":"","trunk":"main"} ``` --> Co-authored-by: Sean Lynch <[email protected]>
## Summary [`pnpm`](https://pnpm.io/) vs `npm` - Pros - Integrated (interactive) version manager - `pnpm up-deps` / (aliased `pnpm update -r -i --latest`) - `npm outdated` / `npm update --save-dev --save` only adhere to `package.json` semver - Must manually modify versions for major versions (ex. Vite 5 => 6) - Can use [`npx npm-check-updates`](https://github.com/raineorshine/npm-check-updates) package to provide similar functionality - Efficient Disk space - Workspace support - npm added [support](https://docs.npmjs.com/cli/v8/using-npm/workspaces) but not aware of any major projects using it - Typically [faster installs](https://pnpm.io/benchmarks) than npm - Slightly better developer ergonomics (`pnpm dev` vs `npm run dev`) - [Used](https://pnpm.io/users) by many large projects/companies (Vite, Svelte, etc) - Cons - Additional install (`npm` included with Node.js) - Synk [support](https://docs.snyk.io/supported-languages-package-managers-and-frameworks/javascript/javascript-for-open-source?_gl=1*1gi9low*_gcl_au*MTA2ODIxOTcxNy4xNzM0Mzg4MTY2*_ga*MTEzMzg2NzM3NS4xNzM0MDIzMDg5*_ga_X9SH3KP7B4*MTczNDU0MzI4Mi40LjAuMTczNDU0MzI4Mi4wLjAuMA..#pnpm) is currently in [preview](https://app.snyk.io/org/varant-zlai/manage/beta-features) - package version overrides not currently applying with Synk (configuration, preview status of integration, ...). Likely because snyk is configured to scan `package-lock.json` (npm) and not `pnpm-lock.yaml` (pnpm). ([here](https://app.snyk.io/org/varant-zlai/project/f4bdc116-d05b-4937-96b5-b1f9a02872e5)) ---   ## Checklist - [ ] Added Unit Tests - [x] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Updated README files to reflect the use of `pnpm` as the recommended package manager, including installation instructions and best practices. - **New Features** - Transitioned scripts in the project to utilize `pnpm` for various tasks including development, building, and testing. - **Configuration** - Modified Playwright configuration and other build configurations to use `pnpm` for starting the web server and managing dependencies. - **Dependency Updates** - Updated Spark dependency version from `3.5.0` to `3.5.1` and Jackson version from `2.15.1` to `2.15.2`. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- av pr metadata This information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR. ``` {"parent":"main","parentHead":"","trunk":"main"} ``` --> --------- Co-authored-by: Sean Lynch <[email protected]> Co-authored-by: ken-zlai <[email protected]>
## Summary Reverting back to `npm` due to Snyk UI not supporting `pnpm.overrides` in `package.json` (best source appears to be this [comment](snyk/nodejs-lockfile-parser#111 (comment))). Sounds like the CLI might support it at this time, which means the Snyk [github action](https://github.com/snyk/actions/tree/master/node) might work, but not worth exploring further at this time. Also not sure if Vanta requires Snyk UI for compliance. ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- av pr metadata This information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR. ``` {"parent":"main","parentHead":"","trunk":"main"} ``` --> Co-authored-by: Sean Lynch <[email protected]>
## Summary [`pnpm`](https://pnpm.io/) vs `npm` - Pros - Integrated (interactive) version manager - `pnpm up-deps` / (aliased `pnpm update -r -i --latest`) - `npm outdated` / `npm update --save-dev --save` only adhere to `package.json` semver - Must manually modify versions for major versions (ex. Vite 5 => 6) - Can use [`npx npm-check-updates`](https://github.com/raineorshine/npm-check-updates) package to provide similar functionality - Efficient Disk space - Workspace support - npm added [support](https://docs.npmjs.com/cli/v8/using-npm/workspaces) but not aware of any major projects using it - Typically [faster installs](https://pnpm.io/benchmarks) than npm - Slightly better developer ergonomics (`pnpm dev` vs `npm run dev`) - [Used](https://pnpm.io/users) by many large projects/companies (Vite, Svelte, etc) - Cons - Additional install (`npm` included with Node.js) - Synk [support](https://docs.snyk.io/supported-languages-package-managers-and-frameworks/javascript/javascript-for-open-source?_gl=1*1gi9low*_gcl_au*MTA2ODIxOTcxNy4xNzM0Mzg4MTY2*_ga*MTEzMzg2NzM3NS4xNzM0MDIzMDg5*_ga_X9SH3KP7B4*MTczNDU0MzI4Mi40LjAuMTczNDU0MzI4Mi4wLjAuMA..#pnpm) is currently in [preview](https://app.snyk.io/org/varant-zlai/manage/beta-features) - package version overrides not currently applying with Synk (configuration, preview status of integration, ...). Likely because snyk is configured to scan `package-lock.json` (npm) and not `pnpm-lock.yaml` (pnpm). ([here](https://app.snyk.io/org/varant-zlai/project/f4bdc116-d05b-4937-96b5-b1f9a02872e5)) ---   ## Checklist - [ ] Added Unit Tests - [x] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Updated README files to reflect the use of `pnpm` as the recommended package manager, including installation instructions and best practices. - **New Features** - Transitioned scripts in the project to utilize `pnpm` for various tasks including development, building, and testing. - **Configuration** - Modified Playwright configuration and other build configurations to use `pnpm` for starting the web server and managing dependencies. - **Dependency Updates** - Updated Spark dependency version from `3.5.0` to `3.5.1` and Jackson version from `2.15.1` to `2.15.2`. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- av pr metadata This information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR. ``` {"parent":"main","parentHead":"","trunk":"main"} ``` --> --------- Co-authored-by: Sean Lynch <[email protected]> Co-authored-by: ken-zlai <[email protected]>
## Summary Reverting back to `npm` due to Snyk UI not supporting `pnpm.overrides` in `package.json` (best source appears to be this [comment](snyk/nodejs-lockfile-parser#111 (comment))). Sounds like the CLI might support it at this time, which means the Snyk [github action](https://github.com/snyk/actions/tree/master/node) might work, but not worth exploring further at this time. Also not sure if Vanta requires Snyk UI for compliance. ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- av pr metadata This information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR. ``` {"parent":"main","parentHead":"","trunk":"main"} ``` --> Co-authored-by: Sean Lynch <[email protected]>
## Summary [`pnpm`](https://pnpm.io/) vs `npm` - Pros - Integrated (interactive) version manager - `pnpm up-deps` / (aliased `pnpm update -r -i --latest`) - `npm outdated` / `npm update --save-dev --save` only adhere to `package.json` semver - Must manually modify versions for major versions (ex. Vite 5 => 6) - Can use [`npx npm-check-updates`](https://github.com/raineorshine/npm-check-updates) package to provide similar functionality - Efficient Disk space - Workspace support - npm added [support](https://docs.npmjs.com/cli/v8/using-npm/workspaces) but not aware of any major projects using it - Typically [faster installs](https://pnpm.io/benchmarks) than npm - Slightly better developer ergonomics (`pnpm dev` vs `npm run dev`) - [Used](https://pnpm.io/users) by many large projects/companies (Vite, Svelte, etc) - Cons - Additional install (`npm` included with Node.js) - Synk [support](https://docs.snyk.io/supported-languages-package-managers-and-frameworks/javascript/javascript-for-open-source?_gl=1*1gi9low*_gcl_au*MTA2ODIxOTcxNy4xNzM0Mzg4MTY2*_ga*MTEzMzg2NzM3NS4xNzM0MDIzMDg5*_ga_X9SH3KP7B4*MTczNDU0MzI4Mi40LjAuMTczNDU0MzI4Mi4wLjAuMA..#pnpm) is currently in [preview](https://app.snyk.io/org/varant-zlai/manage/beta-features) - package version overrides not currently applying with Synk (configuration, preview status of integration, ...). Likely because snyk is configured to scan `package-lock.json` (npm) and not `pnpm-lock.yaml` (pnpm). ([here](https://app.snyk.io/org/varant-zlai/project/f4bdc116-d05b-4937-96b5-b1f9a02872e5)) ---   ## Checklist - [ ] Added Unit Tests - [x] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Updated README files to reflect the use of `pnpm` as the recommended package manager, including installation instructions and best practices. - **New Features** - Transitioned scripts in the project to utilize `pnpm` for various tasks including development, building, and testing. - **Configuration** - Modified Playwright configuration and other build configurations to use `pnpm` for starting the web server and managing dependencies. - **Dependency Updates** - Updated Spark dependency version from `3.5.0` to `3.5.1` and Jackson version from `2.15.1` to `2.15.2`. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- av pr metadata This information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR. ``` {"parent":"main","parentHead":"","trunk":"main"} ``` --> --------- Co-authored-by: Sean Lynch <[email protected]> Co-authored-by: ken-zlai <[email protected]>
## Summary Reverting back to `npm` due to Snyk UI not supporting `pnpm.overrides` in `package.json` (best source appears to be this [comment](snyk/nodejs-lockfile-parser#111 (comment))). Sounds like the CLI might support it at this time, which means the Snyk [github action](https://github.com/snyk/actions/tree/master/node) might work, but not worth exploring further at this time. Also not sure if Vanta requires Snyk UI for compliance. ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- av pr metadata This information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR. ``` {"parent":"main","parentHead":"","trunk":"main"} ``` --> Co-authored-by: Sean Lynch <[email protected]>
## Summary [`pnpm`](https://pnpm.io/) vs `npm` - Pros - Integrated (interactive) version manager - `pnpm up-deps` / (aliased `pnpm update -r -i --latest`) - `npm outdated` / `npm update --save-dev --save` only adhere to `paour clientsage.json` semver - Must manually modify versions for major versions (ex. Vite 5 => 6) - Can use [`npx npm-cheour clients-updates`](https://github.com/raineorshine/npm-cheour clients-updates) paour clientsage to provide similar functionality - Efficient Disk space - Workspace support - npm added [support](https://docs.npmjs.com/cli/v8/using-npm/workspaces) but not aware of any major projects using it - Typically [faster installs](https://pnpm.io/benchmarks) than npm - Slightly better developer ergonomics (`pnpm dev` vs `npm run dev`) - [Used](https://pnpm.io/users) by many large projects/companies (Vite, Svelte, etc) - Cons - Additional install (`npm` included with Node.js) - Synk [support](https://docs.snyk.io/supported-languages-paour clientsage-managers-and-frameworks/javascript/javascript-for-open-source?_gl=1*1gi9low*_gcl_au*MTA2ODIxOTcxNy4xNzM0Mzg4MTY2*_ga*MTEzMzg2NzM3NS4xNzM0MDIzMDg5*_ga_X9SH3KP7B4*MTczNDU0MzI4Mi40LjAuMTczNDU0MzI4Mi4wLjAuMA..#pnpm) is currently in [preview](https://app.snyk.io/org/varant-zlai/manage/beta-features) - paour clientsage version overrides not currently applying with Synk (configuration, preview status of integration, ...). Likely because snyk is configured to scan `paour clientsage-loour clients.json` (npm) and not `pnpm-loour clients.yaml` (pnpm). ([here](https://app.snyk.io/org/varant-zlai/project/f4bdc116-d05b-4937-96b5-b1f9a02872e5)) ---   ## Cheour clientslist - [ ] Added Unit Tests - [x] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Updated README files to reflect the use of `pnpm` as the recommended paour clientsage manager, including installation instructions and best practices. - **New Features** - Transitioned scripts in the project to utilize `pnpm` for various tasks including development, building, and testing. - **Configuration** - Modified Playwright configuration and other build configurations to use `pnpm` for starting the web server and managing dependencies. - **Dependency Updates** - Updated Spark dependency version from `3.5.0` to `3.5.1` and Jaour clientsson version from `2.15.1` to `2.15.2`. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- av pr metadata This information is embedded by the av CLI when creating PRs to traour clients the status of staour clientss when using Aviator. Please do not delete or edit this section of the PR. ``` {"parent":"main","parentHead":"","trunk":"main"} ``` --> --------- Co-authored-by: Sean Lynch <[email protected]> Co-authored-by: ken-zlai <[email protected]>
## Summary Reverting baour clients to `npm` due to Snyk UI not supporting `pnpm.overrides` in `paour clientsage.json` (best source appears to be this [comment](https://github.com/snyk/nodejs-loour clientsfile-parser/issues/111#issuecomment-2384915606)). Sounds like the CLI might support it at this time, which means the Snyk [github action](https://github.com/snyk/actions/tree/master/node) might work, but not worth exploring further at this time. Also not sure if Vanta requires Snyk UI for compliance. ## Cheour clientslist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- av pr metadata This information is embedded by the av CLI when creating PRs to traour clients the status of staour clientss when using Aviator. Please do not delete or edit this section of the PR. ``` {"parent":"main","parentHead":"","trunk":"main"} ``` --> Co-authored-by: Sean Lynch <[email protected]>
Summary
pnpm
vsnpm
pnpm up-deps
/ (aliasedpnpm update -r -i --latest
)npm outdated
/npm update --save-dev --save
only adhere topackage.json
semvernpx npm-check-updates
package to provide similar functionalitypnpm dev
vsnpm run dev
)npm
included with Node.js)package-lock.json
(npm) and notpnpm-lock.yaml
(pnpm). (here)Checklist
Summary by CodeRabbit
Documentation
pnpm
as the recommended package manager, including installation instructions and best practices.New Features
pnpm
for various tasks including development, building, and testing.Configuration
pnpm
for starting the web server and managing dependencies.Dependency Updates
3.5.0
to3.5.1
and Jackson version from2.15.1
to2.15.2
.