-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Migrate to PNPM #552
Merged
Merged
Migrate to PNPM #552
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
b1e4f50
switch to PNPM
jelhan d5a3230
migrate from resolutions to pnpm.overrides
jelhan edbe05e
generate lockfile with PNPM version used in CI
jelhan 10495e3
upgrade ember-try configuration to use PNPM
jelhan 2e2ef59
use a consistent @ember/string version
jelhan 87f6ab8
add dependency on ember-auto-import
jelhan cb51fc1
Merge remote-tracking branch 'origin/master' into switch-to-pnpm
jelhan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ | |
"@babel/eslint-parser": "^7.21.3", | ||
"@babel/plugin-proposal-decorators": "^7.21.0", | ||
"@ember/optional-features": "^2.0.0", | ||
"@ember/string": "^3.0.1", | ||
"@ember/string": "^4.0.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This fixes an issue introduced in #547. The project had a direct dependency on |
||
"@ember/test-helpers": "^2.9.3", | ||
"@embroider/test-setup": "^2.1.1", | ||
"@glimmer/tracking": "^1.1.2", | ||
|
@@ -127,9 +127,11 @@ | |
"@ember/string": ">= 3.0.0", | ||
"ember-source": ">= 3.28.0" | ||
}, | ||
"resolutions": { | ||
"@babel/plugin-transform-modules-amd": "7.16.5", | ||
"@ember/string": "^4.0.0" | ||
"pnpm": { | ||
"overrides": { | ||
"@babel/plugin-transform-modules-amd": "7.16.5", | ||
"@ember/string": "^4.0.0" | ||
} | ||
}, | ||
"engines": { | ||
"node": "18.* || 20.* || >= 22" | ||
|
@@ -160,5 +162,9 @@ | |
}, | ||
"lint-staged": { | ||
"*.js": "eslint --cache --fix" | ||
}, | ||
"volta": { | ||
"node": "18.20.5", | ||
"pnpm": "8.15.9" | ||
} | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@jelhan out of curiosity, why not using pnpm v9 right away?
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.
I followed the setup of the latest Ember CLI blueprints: https://github.com/ember-cli/ember-cli/blob/6691ea1008dd734a9c18c0ec5ed7a389987f608b/blueprints/addon/files/.github/workflows/ci.yml#L22-L24