-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🪚 Use pnpm instead of yarn (#150)
- Loading branch information
1 parent
5096d51
commit 0c71fb7
Showing
39 changed files
with
12,819 additions
and
11,954 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
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,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged | ||
pnpm lint-staged |
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 +1,19 @@ | ||
//registry.npmjs.org/:_authToken=${NPM_TOKEN} | ||
|
||
# pnpm does not by default execute pre & post scripts | ||
# | ||
# since we kinda want to keep them, we need to enable this option | ||
# see https://pnpm.io/cli/run#differences-with-npm-run for more info | ||
enable-pre-post-scripts=true | ||
|
||
# pnpm will by default use the workspace protocol when installing | ||
# local dependencies | ||
# | ||
# in order not to modify the publishing step just yet, we'll disable this behavior | ||
# | ||
# TODO reenable this behavior and use solutions provided in the linked PRs | ||
# in this github issue for changesets https://github.com/changesets/changesets/issues/432 | ||
# | ||
# see more here https://pnpm.io/npmrc#save-workspace-protocol | ||
save-workspace-protocol=false | ||
prefer-workspace-packages=true |
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,6 @@ | ||
yarn.lock | ||
*.log | ||
.eslintignore | ||
.prettierignore | ||
.netrc | ||
*ignore | ||
pnpm-*.yaml |
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
Oops, something went wrong.