Skip to content

Commit

Permalink
chore: upgrade pnpm version
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysova committed Nov 29, 2023
1 parent 4b0eafd commit aaa511f
Show file tree
Hide file tree
Showing 6 changed files with 1,367 additions and 971 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['14.x', '16.x', '18.x']
node: ['16.x', '18.x', '20.x']
os: [ubuntu-latest, macOS-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2

- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
cache: 'pnpm'

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .lefthook/commit-msg/commit_check
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
if ! commitlint --edit --verbose; then
if ! pnpm commitlint --edit --verbose; then
exit 1
fi
fi
9 changes: 3 additions & 6 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@ pre-commit:
commands:
prettier-js:
glob: "*.{ts,js,tsx}"
run: prettier --write {staged_files}
prettier-json:
glob: "{*.json,.prettierrc,.lintstagedrc,.eslintrc}"
run: prettier --write --parser json {staged_files}
run: pnpm prettier --write {staged_files}
lint:
exclude: ".prettierrc.js|commitlint.config.js"
glob: "*.{ts,tsx}"
run: eslint --fix {staged_files}
run: pnpm eslint --fix {staged_files}

commit-msg:
scripts:
'commit_check':
runner: bash
runner: bash
22 changes: 16 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@
"type": "git",
"url": "https://github.com/Drevoed/atomic-router-solid.git"
},
"maintainers": ["Kirill Mironov"],
"packageManager": "[email protected]",
"maintainers": [
"Kirill Mironov"
],
"packageManager": "[email protected]",
"description": "",
"main": "dist/cjs/index.js",
"browser": "dist/esm/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/esm/index.js",
Expand All @@ -28,7 +32,12 @@
"lint": "eslint --fix src/**/*.{ts,tsx}",
"build": "NODE_ENV=production rollup -c rollup.config.js"
},
"keywords": ["router", "solid-js", "solid", "routinf"],
"keywords": [
"router",
"solid-js",
"solid",
"routinf"
],
"author": {
"name": "Kirill Mironov",
"email": "[email protected]"
Expand All @@ -52,6 +61,7 @@
"atomic-router": "^0.7.1",
"babel-preset-solid": "^1.5.6",
"commitizen": "~4.2.5",
"commitlint": "^18.4.3",
"cz-conventional-changelog": "~3.3.0",
"effector": "~22.3.0",
"effector-solid": "~0.22.6",
Expand All @@ -67,7 +77,7 @@
"eslint-plugin-promise": "~6.0.1",
"eslint-plugin-simple-import-sort": "~8.0.0",
"history": "~5.3.0",
"lefthook": "~1.1.1",
"lefthook": "~1.5.4",
"lint-staged": "~13.0.3",
"prettier": "~2.7.1",
"prettier-config-standard": "~5.0.0",
Expand All @@ -77,7 +87,7 @@
"rollup-plugin-typescript2": "^0.34.0",
"semantic-release": "~19.0.5",
"solid-js": "~1.5.6",
"typescript": "~4.8.3",
"typescript": "~4.9.5",
"vite": "~3.1.3",
"vite-plugin-solid": "~2.3.8",
"vitest": "~0.23.4"
Expand Down
Loading

0 comments on commit aaa511f

Please sign in to comment.