-
Notifications
You must be signed in to change notification settings - Fork 540
Migrate from npm to pnpm #690
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
9f9d19a
✨ feat: migrate from npm to pnpm
pyanderson a94f240
🐛 fix: copy/paste
pyanderson 58da71d
✨ feat: update the github action
pyanderson c6560b3
✨ feat: migrate the proj_main
pyanderson 777b821
♻️ refactor: sourcery suggestions
pyanderson fb08969
🐛 fix: typo
pyanderson a367929
♻️ refactor: add verify pnpm is available step
pyanderson d4f14b8
♻️ refactor: install pnpm before node setup
pyanderson 386207d
♻️ refactor: remove the pnpm version from action to use only the vers…
pyanderson 29c5dcc
🐛 fix: proj_main template syntax
pyanderson 7a9ec7d
🐛 fix: proj_main template syntax
pyanderson 37dbb8a
🐛 fix: proj_main template syntax
pyanderson 74759a8
🐛 fix: proj_main template syntax
pyanderson 45b75c6
♻️ use django 5 in the github action
pyanderson 4c76de3
🐛 fix: proj_main lockfile hash
pyanderson 9818580
🐛 fix: remove deps update from the ci
pyanderson 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| shamefully-hoist=true |
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,8 +1,9 @@ | ||
| FROM node:20-alpine | ||
|
|
||
| WORKDIR /app/ | ||
| ADD package.json /app/package.json | ||
| RUN npm install | ||
| ADD package.json pnpm-lock.yaml* /app/ | ||
| RUN corepack enable && corepack prepare pnpm@10 --activate | ||
| RUN pnpm install --frozen-lockfile=false | ||
sourcery-ai[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ADD . /app/ | ||
|
|
||
| CMD ["npm", "run", "dev"] | ||
| CMD ["pnpm", "run", "dev"] | ||
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.
Uh oh!
There was an error while loading. Please reload this page.