|
11 | 11 | "node": ">=14.0.0" |
12 | 12 | }, |
13 | 13 | "workspaces": [ |
14 | | - "packages/*" |
| 14 | + "packages/*", |
| 15 | + "scripts" |
15 | 16 | ], |
16 | 17 | "scripts": { |
17 | 18 | "beachball": "node ./packages/beachball/lib/cli.js", |
18 | | - "build": "yarn workspace beachball build", |
| 19 | + "build": "yarn lage build", |
19 | 20 | "bump": "yarn beachball bump", |
20 | 21 | "change": "yarn beachball change", |
21 | 22 | "checkchange": "yarn beachball check", |
|
24 | 25 | "format": "prettier --write .", |
25 | 26 | "format:check": "prettier --check .", |
26 | 27 | "prepare": "husky install", |
27 | | - "lint": "yarn lint:deps && yarn lint:marketplace && yarn lint:code", |
28 | | - "lint:code": "yarn workspace beachball lint", |
29 | | - "lint:deps": "yarn workspace beachball run depcheck .", |
| 28 | + "lage": "cross-env NODE_OPTIONS=\"--experimental-abortcontroller\" lage", |
| 29 | + "lint": "yarn lint:deps && yarn lint:versions && yarn lint:marketplace && yarn lint:code", |
| 30 | + "lint:ci": "yarn lint:deps --verbose && yarn lint:versions && yarn lint:marketplace && yarn lint:code --verbose", |
| 31 | + "lint:code": "yarn lage lint", |
| 32 | + "lint:deps": "yarn lage depcheck", |
| 33 | + "lint:versions": "yarn syncpack:check", |
30 | 34 | "lint:marketplace": "node scripts/lint-marketplace.js", |
| 35 | + "postinstall": "patch-package", |
31 | 36 | "release": "yarn beachball publish -y", |
32 | 37 | "release:docs": "echo \"Run this from the docs folder instead\" && exit 1", |
33 | | - "test": "yarn workspace beachball test", |
34 | | - "test:all": "yarn test:unit && yarn test:func && yarn test:e2e", |
35 | | - "test:e2e": "yarn workspace beachball test:e2e", |
36 | | - "test:func": "yarn workspace beachball test:func", |
37 | | - "test:unit": "yarn workspace beachball test:unit", |
38 | | - "test:watch": "yarn workspace beachball test:watch", |
39 | | - "update-snapshots": "yarn workspace beachball update-snapshots" |
| 38 | + "syncpack:check": "syncpack list-mismatches", |
| 39 | + "syncpack:update": "syncpack fix-mismatches", |
| 40 | + "test": "yarn lage test", |
| 41 | + "update-snapshots": "yarn lage update-snapshots" |
40 | 42 | }, |
41 | 43 | "lint-staged": { |
42 | 44 | "*": [ |
|
50 | 52 | "@typescript-eslint/eslint-plugin": "^5.0.0", |
51 | 53 | "@typescript-eslint/parser": "^5.0.0", |
52 | 54 | "@typescript-eslint/utils": "^5.0.0", |
| 55 | + "cross-env": "^7.0.0", |
53 | 56 | "depcheck": "^1.4.7", |
54 | 57 | "eslint": "^8.0.0", |
55 | 58 | "eslint-config-prettier": "^10.1.8", |
56 | 59 | "eslint-plugin-etc": "^2.0.3", |
57 | 60 | "husky": "^8.0.0", |
58 | 61 | "jest": "^29.0.0", |
| 62 | + "lage": "2.4.0", |
59 | 63 | "lint-staged": "^12.0.0", |
| 64 | + "patch-package": "^8.0.1", |
60 | 65 | "prettier": "~2.8.4", |
| 66 | + "syncpack": "^9.0.0", |
61 | 67 | "ts-jest": "29.2.6", |
62 | 68 | "typescript": "~5.2.0" |
63 | 69 | }, |
|
68 | 74 | "**/body-parser/qs": "^6.14.2", |
69 | 75 | "**/express/qs": "^6.14.2", |
70 | 76 | "**/@cypress/request/qs": "^6.14.2", |
| 77 | + "**/syncpack/minimatch": "^6.2.3", |
| 78 | + "**/syncpack/semver": "^7.7.4", |
71 | 79 | "**/verdaccio/handlebars": "^4.7.9", |
72 | | - "**/verdaccio/minimatch": "^7.4.9", |
73 | 80 | "**/verdaccio/js-yaml": "^4.1.0", |
| 81 | + "**/verdaccio/minimatch": "^7.4.9", |
74 | 82 | "**/verdaccio/validator": "^13.15.22", |
75 | 83 | "**/@verdaccio/config/js-yaml": "^4.1.0", |
76 | 84 | "**/@verdaccio/config/minimatch": "^7.4.9", |
|
79 | 87 | }, |
80 | 88 | "rationale": { |
81 | 89 | "devDependencies": { |
| 90 | + "lage@2.4.0": "Pin to newest version that supports node 14", |
82 | 91 | "ts-jest@29.2.6": "29.3.0 introduces type-fest v4 which requires node 16+" |
83 | 92 | }, |
84 | 93 | "resolutions": { |
85 | 94 | "**/lodash": "Unpin due to security issue", |
86 | 95 | "**/*/qs": "Unpin due to security issue", |
| 96 | + "**/semver": "Unpin due to security issues", |
87 | 97 | "**/verdaccio/*": "Unpin due to security issues", |
88 | 98 | "**/@verdaccio/*/*": "Unpin due to security issues", |
89 | | - "**/minimatch": "Unpin minimatch v7 due to security issues" |
| 99 | + "**/minimatch": "Unpin minimatch due to security issues" |
90 | 100 | } |
91 | 101 | } |
92 | 102 | } |
0 commit comments