|
7 | 7 | "examples/*" |
8 | 8 | ] |
9 | 9 | }, |
| 10 | + "engines": { |
| 11 | + "node": ">=18", |
| 12 | + "pnpm": ">=8" |
| 13 | + }, |
10 | 14 | "scripts": { |
11 | | - "lerna:version": "yarn && lerna version && yarn run circle:release", |
12 | | - "circle:release": "git tag -d RELEASE && git tag RELEASE && git push --delete origin RELEASE && git push --tags", |
13 | | - "lerna:publish": "lerna publish from-git --yes", |
14 | | - "ci": "npm-run-all format:validate ci:subpackages legal:* coverage:merge", |
| 15 | + "version": "pnpm install && git add pnpm-lock.yaml", |
| 16 | + "preinstall": "npx only-allow pnpm", |
| 17 | + "prepare": "husky install", |
| 18 | + "release:version": "lerna version", |
| 19 | + "release:publish": "lerna publish from-git --yes --no-verify-access", |
| 20 | + "ci": "npm-run-all format:validate ci:subpackages legal:* coverage:merge", |
| 21 | + "ci:subpackages": "lerna run ci", |
15 | 22 | "format:fix": "prettier --write --ignore-path .gitignore \"**/*.@(ts|js|json|md)\"", |
16 | 23 | "format:validate": "prettier --check --ignore-path .gitignore \"**/*.@(ts|js|json|md)\"", |
17 | 24 | "coverage:merge": "node ./scripts/merge-coverage", |
18 | | - "ci:subpackages": "lerna run ci", |
19 | | - "legal:delete": "lerna exec \"shx rm -rf .reuse LICENSES\" || true", |
20 | | - "legal:copy": "lerna exec \"shx cp -r ../../.reuse .reuse && shx cp -r ../../LICENSES LICENSES\"" |
| 25 | + "legal:copy-reuse": "pnpm -r exec -- shx cp -r ../../.reuse .reuse", |
| 26 | + "legal:copy-license": "pnpm -r exec -- shx cp -r ../../LICENSES LICENSES" |
| 27 | + }, |
| 28 | + "commitlint": { |
| 29 | + "extends": [ |
| 30 | + "@commitlint/config-conventional" |
| 31 | + ] |
| 32 | + }, |
| 33 | + "lint-staged": { |
| 34 | + "*.{js,ts,json,md}": [ |
| 35 | + "prettier --write" |
| 36 | + ], |
| 37 | + "*.{ts,js}": [ |
| 38 | + "eslint --fix --max-warnings=0 --ignore-pattern=!.*" |
| 39 | + ] |
21 | 40 | }, |
22 | 41 | "devDependencies": { |
23 | | - "@commitlint/cli": "12.1.1", |
24 | | - "@commitlint/config-conventional": "11.0.0", |
25 | | - "@types/chai": "4.2.14", |
26 | | - "@types/mocha": "8.0.1", |
27 | | - "chai": "4.2.0", |
28 | | - "chai-exclude": "2.0.2", |
29 | | - "coveralls": "3.1.0", |
| 42 | + "@commitlint/cli": "18.4.3", |
| 43 | + "@commitlint/config-conventional": "18.4.3", |
| 44 | + "@types/chai": "4.3.11", |
| 45 | + "@types/mocha": "10.0.6", |
| 46 | + "@types/node": "18.15.3", |
| 47 | + "chai": "4.3.10", |
| 48 | + "chai-exclude": "2.1.0", |
30 | 49 | "cz-conventional-changelog": "3.3.0", |
31 | | - "husky": "4.3.5", |
| 50 | + "husky": "8.0.3", |
32 | 51 | "lerna": "3.20.2", |
33 | | - "lint-staged": "10.5.3", |
34 | | - "mocha": "7.0.1", |
| 52 | + "lint-staged": "15.2.0", |
| 53 | + "mocha": "10.2.0", |
35 | 54 | "npm-run-all": "4.1.5", |
36 | 55 | "nyc": "15.1.0", |
37 | 56 | "prettier": "1.19.1", |
38 | | - "rimraf": "^3.0.2", |
39 | | - "shx": "0.3.2", |
40 | | - "typescript": "4.1.2" |
41 | | - }, |
42 | | - "husky": { |
43 | | - "hooks": { |
44 | | - "pre-commit": "lint-staged", |
45 | | - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" |
46 | | - } |
47 | | - }, |
48 | | - "lint-staged": { |
49 | | - "*.{ts,js,md,json}": [ |
50 | | - "prettier --write" |
51 | | - ] |
52 | | - }, |
53 | | - "config": { |
54 | | - "commitizen": { |
55 | | - "path": "./node_modules/cz-conventional-changelog" |
56 | | - } |
57 | | - }, |
58 | | - "commitlint": { |
59 | | - "extends": [ |
60 | | - "@commitlint/config-conventional" |
61 | | - ] |
| 57 | + "rimraf": "5.0.5", |
| 58 | + "shx": "0.3.4", |
| 59 | + "typescript": "5.3.3" |
62 | 60 | } |
63 | 61 | } |
0 commit comments