Skip to content

Commit

Permalink
build: update pre-commit tools
Browse files Browse the repository at this point in the history
  • Loading branch information
bd82 committed Jan 4, 2024
1 parent 4cb3976 commit 0392f6e
Show file tree
Hide file tree
Showing 2 changed files with 414 additions and 335 deletions.
36 changes: 26 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,49 @@
"examples/*"
]
},
"engines": {
"node": ">=18",
"pnpm": ">=8"
},
"scripts": {
"version": "pnpm install && git add pnpm-lock.yaml",
"preinstall": "npx only-allow pnpm",
"circle:release": "git tag -d RELEASE && git tag RELEASE && git push --delete origin RELEASE && git push --tags",
"prepare": "echo 'husky install'",
"prepare": "husky install",
"release:version": "lerna version",
"release:publish": "lerna publish from-git --yes --no-verify-access",
"ci": "npm-run-all format:validate ci:subpackages legal:* coverage:merge",
"ci": "npm-run-all format:validate ci:subpackages legal:* coverage:merge",
"ci:subpackages": "lerna run ci",
"format:fix": "prettier --write --ignore-path .gitignore \"**/*.@(ts|js|json|md)\"",
"format:validate": "prettier --check --ignore-path .gitignore \"**/*.@(ts|js|json|md)\"",
"coverage:merge": "node ./scripts/merge-coverage",
"ci:subpackages": "lerna run ci",
"legal:delete": "lerna exec \"shx rm -rf .reuse LICENSES\" || true",
"legal:copy": "lerna exec \"shx cp -r ../../.reuse .reuse && shx cp -r ../../LICENSES LICENSES\""
"legal:copy-reuse": "pnpm -r exec -- shx cp -r ../../.reuse .reuse",
"legal:copy-license": "pnpm -r exec -- shx cp -r ../../LICENSES LICENSES"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts,json,md}": [
"prettier --write"
],
"*.{ts,js}": [
"eslint --fix --max-warnings=0 --ignore-pattern=!.*"
]
},
"devDependencies": {
"@commitlint/cli": "12.1.1",
"@commitlint/config-conventional": "11.0.0",
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@types/chai": "4.3.11",
"@types/mocha": "10.0.6",
"@types/node": "18.15.3",
"chai": "4.3.10",
"chai-exclude": "2.1.0",
"cz-conventional-changelog": "3.3.0",
"husky": "4.3.5",
"husky": "8.0.3",
"lerna": "3.20.2",
"lint-staged": "10.5.3",
"lint-staged": "15.2.0",
"mocha": "10.2.0",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
Expand Down
Loading

0 comments on commit 0392f6e

Please sign in to comment.