Skip to content

Commit 1ff74cc

Browse files
committed
chore: use yarn v3 with node_modules nodeLinker
1 parent 6188681 commit 1ff74cc

File tree

8 files changed

+16666
-11602
lines changed

8 files changed

+16666
-11602
lines changed

Diff for: .eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ dist
22
lib
33
CHANGELOG.md
44
!/.*.cjs
5+
/.pnp.*

Diff for: .gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
.type-coverage
2+
.yarn
23
lib
34
node_modules
45
*.log
56
.eslintcache
7+
!/.yarn/plugins
8+
!/.yarn/releases
9+
!/.yarn/versions
10+
!/.pnp.*

Diff for: .npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

Diff for: .yarn/releases/yarn-3.2.1.cjs

+786
Large diffs are not rendered by default.

Diff for: .yarnrc.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
yarnPath: .yarn/releases/yarn-3.2.1.cjs
2+
nodeLinker: node-modules

Diff for: package.json

+9-5
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"funding": "https://opencollective.com/unts",
4343
"license": "ISC",
44-
"packageManager": "yarn@1.22.19",
44+
"packageManager": "yarn@3.2.1",
4545
"engines": {
4646
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
4747
},
@@ -70,16 +70,16 @@
7070
"plugin"
7171
],
7272
"scripts": {
73-
"build": "run-p build:*",
73+
"build": "run-p 'build:*'",
7474
"build:r": "r -f cjs,es2015",
7575
"build:ts": "tsc -b",
76-
"lint": "run-p lint:*",
76+
"lint": "run-p 'lint:*'",
7777
"lint:es": "eslint src --cache -f friendly",
7878
"lint:tsc": "tsc --noEmit",
7979
"prepare": "simple-git-hooks && yarn-deduplicate --strategy fewer || exit 0",
8080
"prerelease": "yarn build",
8181
"release": "changeset publish",
82-
"test": "run-p test:*",
82+
"test": "run-p 'test:*'",
8383
"test:multipleEslintrcs": "eslint --ext ts,tsx tests/multipleEslintrcs",
8484
"test:multipleTsconfigs": "eslint --ext ts,tsx tests/multipleTsconfigs",
8585
"test:withJsExtension": "node tests/withJsExtension/test.js && eslint --ext ts,tsx tests/withJsExtension",
@@ -107,19 +107,23 @@
107107
"@changesets/changelog-github": "^0.4.5",
108108
"@changesets/cli": "^2.23.0",
109109
"@mozilla/glean": "^1.0.0",
110+
"@pkgr/rollup": "^3.1.2",
110111
"@types/debug": "^4.1.7",
111112
"@types/enhanced-resolve": "^3.0.7",
112113
"@types/is-core-module": "^2.2.0",
113114
"@types/is-glob": "^4.0.2",
114115
"@types/node": "^18.0.0",
115116
"@types/unist": "^2.0.6",
116117
"dummy.js": "link:dummy.js",
118+
"eslint": "^8.19.0",
119+
"eslint-import-resolver-typescript": "link:.",
120+
"eslint-plugin-import": "^2.26.0",
121+
"npm-run-all": "^4.1.5",
117122
"react": "^18.2.0",
118123
"type-coverage": "^2.21.2",
119124
"typescript": "^4.7.4"
120125
},
121126
"resolutions": {
122-
"eslint-import-resolver-typescript": "link:.",
123127
"prettier": "^2.7.1"
124128
},
125129
"typeCoverage": {

Diff for: tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@1stg/tsconfig/node16",
2+
"extends": "@1stg/tsconfig/node16.json",
33
"compilerOptions": {
44
"baseUrl": ".",
55
"outDir": "lib"

0 commit comments

Comments
 (0)