Skip to content

Commit d944b26

Browse files
authored
fix: use yarn v3 with PnP linker (import-js#133)
1 parent 6188681 commit d944b26

39 files changed

+52362
-11639
lines changed

.changeset/gold-papayas-invent.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-import-resolver-typescript": patch
3+
---
4+
5+
fix: use yarn v3 with PnP linker, close #130

.eslintignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
!.*.cjs
2+
.pnp.*
3+
.yarn
4+
.yarnrc.yml
15
dist
26
lib
37
CHANGELOG.md
4-
!/.*.cjs

.eslintrc

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"root": true,
3+
"env": {
4+
"node": true
5+
},
36
"parserOptions": {
47
"ecmaVersion": "latest"
58
},

.github/workflows/ci.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- 16
1414
- 18
1515
os:
16-
- macOS-latest
16+
# - macOS-latest
1717
# - windows-latest # I don't have a Windows machine to debug
1818
- ubuntu-latest
1919
runs-on: ${{ matrix.os }}
@@ -29,7 +29,8 @@ jobs:
2929
run: yarn --frozen-lockfile
3030

3131
- name: Build, Lint and Test
32-
run: yarn run-s build lint test typecov
32+
run: yarn run-s build lint test
33+
# typecov
3334
env:
3435
EFF_NO_LINK_RULES: true
3536
PARSER_NO_WATCH: true

.github/workflows/pkg-size.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
uses: actions/setup-node@v3
1919
with:
2020
node-version: 16
21-
cache: yarn
2221

2322
- name: Package Size Report
2423
uses: pkg-size/action@v1
24+
with:
25+
build-command: yarn build
2526
env:
2627
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323
cache: yarn
2424

2525
- name: Install Dependencies
26-
run: yarn --frozen-lockfile
26+
run: yarn --immutable
27+
28+
- name: Prepare Git Hooks
29+
run: yarn prepare
2730

2831
- name: Create Release Pull Request or Publish to npm
2932
id: changesets

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ lib
33
node_modules
44
*.log
55
.eslintcache
6+
!.pnp.*
7+
.yarn
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions

.lgtm.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
extraction:
2+
javascript:
3+
index:
4+
filters:
5+
- exclude: '.pnp.*'

.npmrc

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

0 commit comments

Comments
 (0)