-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(package-manager): migrate from yarn to pnpm
- Loading branch information
Javier Muñoz Tous
committed
Jun 27, 2024
1 parent
cc4e353
commit 7554764
Showing
12 changed files
with
7,952 additions
and
10,340 deletions.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
if (process.env.NODE_ENV === "production" || process.env.CI === "true") { | ||
process.exit(0); | ||
} | ||
const husky = (await import("husky")).default; | ||
console.log(husky()); |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
"**/*": [() => "just nvm-exec 'yarn check-types'", () => "just nvm-exec 'yarn lint'", "yarn prettier-check"] | ||
"**/*": [() => "just nvm-exec 'pnpm check-types'", () => "just nvm-exec 'pnpm lint'", () => "just nvm-exec 'pnpm prettier-check'"] | ||
}; |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
build | ||
coverage | ||
yarn.lock | ||
./.husky/install.mjs | ||
*.yaml | ||
*.yml | ||
*.json | ||
*.md |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"prepare": "node .husky/install.mjs", | ||
"dev": "NODE_OPTIONS='--inspect' next dev", | ||
"analyze": "ANALYZE=true next build", | ||
"build": "next build", | ||
|
@@ -20,6 +21,7 @@ | |
"@front_web_mrmilu/services": "~2.1.0", | ||
"@front_web_mrmilu/utils": "~2.1.0", | ||
"@hookform/resolvers": "~3.6.0", | ||
"@react-spring/web": "~9.7.3", | ||
"@sentry/nextjs": "~7.102.1", | ||
"@svgr/webpack": "~8.1.0", | ||
"@vanilla-extract/css": "~1.15.3", | ||
|
@@ -37,7 +39,7 @@ | |
"react": "~18.3.1", | ||
"react-dom": "~18.3.1", | ||
"react-hook-form": "~7.52.0", | ||
"react-spring": "~9.7.3", | ||
|
||
"reflect-metadata": "~0.2.2", | ||
"yup": "~1.4.0", | ||
"zustand": "~4.5.2" | ||
|
@@ -62,5 +64,5 @@ | |
"prettier": "~3.3.2", | ||
"typescript": "~5.5.2" | ||
}, | ||
"packageManager": "[email protected]" | ||
"packageManager": "[email protected]+sha1.01c55344d677f3b481c6bb6ffba9a6b3c6dbd91d" | ||
} |
Oops, something went wrong.