Skip to content

Commit

Permalink
feat: use overrides instead of --legacy-peer-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBrick committed Oct 28, 2023
1 parent 312c636 commit dbc5776
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci --legacy-peer-deps
- run: npm ci
- run: npm run lint
4 changes: 2 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
node-version: "16.x"
- name: Build for Deno
run: |
npm ci --legacy-peer-deps
npm ci
npm run build:deno
if: ${{ steps.release.outputs.release_created }}
- name: Move Deno files
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
- name: Publish package to npmjs
run: |
npm ci --legacy-peer-deps
npm ci
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci --legacy-peer-deps
- run: npm ci
- run: npm run test
9 changes: 6 additions & 3 deletions package-lock.json

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

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@
"tslib": "^2.5.0",
"undici": "^5.19.1"
},
"overrides": {
"typescript": "^5.0.0"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/jest": "^28.1.7",
Expand Down

0 comments on commit dbc5776

Please sign in to comment.