Skip to content
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

Yarn Berry: Switch from from node_modules to PnP #161

Merged
merged 30 commits into from
Feb 1, 2022
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
fe27366
Partially migrate to PnP
kachkaev Nov 21, 2021
e5f61b9
Change back to 12.0.5-canary.6
kachkaev Nov 21, 2021
2066f80
Downgrade tsc to 4.4
kachkaev Nov 21, 2021
23aa38d
Update tsc sdk
kachkaev Nov 21, 2021
d331ba5
Use latest yarn because of https://github.com/vercel/next.js/issues/3…
kachkaev Nov 21, 2021
cd593d0
Use @rushstack/eslint-patch
kachkaev Nov 21, 2021
aad5246
Revert "Use latest yarn because of https://github.com/vercel/next.js/…
kachkaev Nov 21, 2021
738a1ba
Merge remote-tracking branch 'origin/main' into yarn-pnp
kachkaev Nov 21, 2021
395269f
Use yarn canary
kachkaev Nov 21, 2021
e3c331f
Remove `esmExternals: false` (fixed by yarn canary)
kachkaev Nov 21, 2021
7188780
Place parserOptions after extends
kachkaev Nov 21, 2021
56ca339
Upgrade yarn to v3.1.1
kachkaev Dec 2, 2021
a3fbc5d
Merge remote-tracking branch 'origin/main' into yarn-pnp
kachkaev Dec 2, 2021
0a96243
Merge remote-tracking branch 'origin/main' into yarn-pnp
kachkaev Dec 2, 2021
35c1e7b
Upgarde Next to 12.0.5-canary.14
kachkaev Dec 2, 2021
78fbbe5
Next 12.0.5-canary.16
kachkaev Dec 3, 2021
b7a84e9
Upgrade Next to 12.0.5
kachkaev Dec 4, 2021
f0de536
Merge branch 'main' into yarn-pnp
kachkaev Dec 4, 2021
e5591e4
Merge remote-tracking branch 'origin/main' into yarn-pnp
kachkaev Dec 4, 2021
a5b3951
Merge remote-tracking branch 'origin/main' into yarn-pnp
kachkaev Jan 11, 2022
e7f5b39
Bump next to `12.0.8-canary.21`
kachkaev Jan 11, 2022
cb70fb4
Change prettierrc extension
kachkaev Jan 11, 2022
d013428
Hotfix ESLint config
kachkaev Jan 11, 2022
495b7f6
Remove `swcFileReading: false`
kachkaev Jan 11, 2022
d005354
Fix ESLint config
kachkaev Jan 12, 2022
bd459bb
Run `yarn dlx @yarnpkg/sdks vscode`
kachkaev Jan 12, 2022
0f55009
Upgrade Next to 12.0.8
kachkaev Jan 12, 2022
4bbe6ae
Merge remote-tracking branch 'origin/main' into yarn-pnp
kachkaev Jan 29, 2022
4ffb111
Update Yarn SDKs
kachkaev Jan 29, 2022
facc556
Remove swcFileReading (no longer needed)
kachkaev Jan 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
########################

# dependencies
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
node_modules

# testing
/coverage
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# dependencies
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
node_modules

# testing
/coverage
Expand Down
2 changes: 1 addition & 1 deletion .markdownlintignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
########################

# dependencies
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
node_modules

# testing
/coverage
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
########################

# dependencies
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
Expand Down
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("@kachkaev/prettier-config");
1 change: 0 additions & 1 deletion .prettierrc.json

This file was deleted.

7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"arcanis.vscode-zipfs",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"search.exclude": {
"**/.yarn": true,
"**/.pnp.*": true
},
"eslint.nodePath": ".yarn/sdks",
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
660 changes: 330 additions & 330 deletions .yarn/releases/yarn-3.1.0.cjs → .yarn/releases/yarn-sources.cjs

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions .yarn/sdks/eslint/bin/eslint.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .yarn/sdks/eslint/lib/api.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .yarn/sdks/eslint/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .yarn/sdks/integrations.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .yarn/sdks/prettier/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .yarn/sdks/prettier/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .yarn/sdks/typescript/bin/tsc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .yarn/sdks/typescript/bin/tsserver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .yarn/sdks/typescript/lib/tsc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.