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

fix: use yarn v3 with PnP linker #133

Merged
merged 9 commits into from
Jul 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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