Skip to content

Commit

Permalink
fix: use yarn v3 with PnP linker (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin authored Jul 5, 2022
1 parent 6188681 commit d944b26
Show file tree
Hide file tree
Showing 39 changed files with 52,362 additions and 11,639 deletions.
5 changes: 5 additions & 0 deletions .changeset/gold-papayas-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-import-resolver-typescript": patch
---

fix: use yarn v3 with PnP linker, close #130
5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
!.*.cjs
.pnp.*
.yarn
.yarnrc.yml
dist
lib
CHANGELOG.md
!/.*.cjs
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"root": true,
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": "latest"
},
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- 16
- 18
os:
- macOS-latest
# - macOS-latest
# - windows-latest # I don't have a Windows machine to debug
- ubuntu-latest
runs-on: ${{ matrix.os }}
Expand All @@ -29,7 +29,8 @@ jobs:
run: yarn --frozen-lockfile

- name: Build, Lint and Test
run: yarn run-s build lint test typecov
run: yarn run-s build lint test
# typecov
env:
EFF_NO_LINK_RULES: true
PARSER_NO_WATCH: true
3 changes: 2 additions & 1 deletion .github/workflows/pkg-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn

- name: Package Size Report
uses: pkg-size/action@v1
with:
build-command: yarn build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ jobs:
cache: yarn

- name: Install Dependencies
run: yarn --frozen-lockfile
run: yarn --immutable

- name: Prepare Git Hooks
run: yarn prepare

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ lib
node_modules
*.log
.eslintcache
!.pnp.*
.yarn
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
5 changes: 5 additions & 0 deletions .lgtm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
extraction:
javascript:
index:
filters:
- exclude: '.pnp.*'
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
Loading

0 comments on commit d944b26

Please sign in to comment.