Skip to content

Commit

Permalink
chore: upgrade to pnpm 8 (#76)
Browse files Browse the repository at this point in the history
* chore: upgrade to pnpm 8

* swap node 14 for node 20

* update vite to fix one audit warning

* upgrade typescript eslint to fix another audit warning

* upgrade eslint to fix another audit warning

* chore: limit audit to prod

---------

Co-authored-by: Dominik G <[email protected]>
  • Loading branch information
benmccann and dominikg authored Nov 22, 2023
1 parent 3910070 commit 499b8e2
Show file tree
Hide file tree
Showing 5 changed files with 1,121 additions and 842 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: pnpm run lint
- name: audit
if: (${{ success() }} || ${{ failure() }})
run: pnpm audit
run: pnpm audit --prod

# this is the test matrix, it runs with node14 on linux,windows,macos + node12,16,17 on linux
# it is skipped if the build step of the checks job wasn't successful (still runs if lint or audit fail)
Expand All @@ -64,10 +64,10 @@ jobs:
node: [16]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- node: 14
os: ubuntu-latest
- node: 18
os: ubuntu-latest
- node: 20
os: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"@changesets/get-github-info": "^0.5.2",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"@types/node": "^18.16.16",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"cross-env": "^7.0.3",
"eslint": "^8.42.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-markdown": "^3.0.0",
Expand All @@ -46,9 +46,9 @@
"prettier --write"
]
},
"packageManager": "pnpm@7.1.0",
"packageManager": "pnpm@8.10.2",
"engines": {
"pnpm": "^7.1.0",
"pnpm": "^8.0.0",
"yarn": "forbidden, use pnpm",
"npm": "forbidden, use pnpm",
"node": "^12.20 || ^14.13.1 || >= 16"
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"npm-run-all": "^4.1.5",
"svelte": "^3.59.1",
"svelte-feather-icons": "^4.0.1",
"vite": "^4.3.9"
"vite": "^4.5.0"
}
}
2 changes: 1 addition & 1 deletion packages/playground/inline-svg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"@sveltejs/vite-plugin-svelte": "^2.4.1",
"@svitejs/svelte-preprocess-svg": "workspace:2.0.0",
"svelte": "^3.59.1",
"vite": "^4.3.9"
"vite": "^4.5.0"
}
}
Loading

0 comments on commit 499b8e2

Please sign in to comment.