|
6 | 6 | }, |
7 | 7 | "author": "Ghost Foundation", |
8 | 8 | "license": "MIT", |
9 | | - "workspaces": [ |
10 | | - "packages/*" |
11 | | - ], |
| 9 | + "packageManager": "pnpm@10.33.0", |
12 | 10 | "scripts": { |
13 | 11 | "dev": "echo \"Implement me!\"", |
14 | | - "main": "git checkout main && git pull && yarn", |
15 | | - "presetup": "yarn", |
16 | | - "setup": "yarn", |
| 12 | + "main": "git checkout main && git pull && pnpm install", |
| 13 | + "setup": "pnpm install", |
17 | 14 | "test": "nx run-many -t test --parallel=10 --outputStyle=dynamic-legacy", |
18 | 15 | "test:ci": "nx run-many -t test --outputStyle=static", |
19 | 16 | "lint": "nx run-many -t lint --outputStyle=dynamic", |
20 | 17 | "format": "oxfmt -c .oxfmtrc.json \"packages/**/*.{js,ts,json,md}\"", |
21 | 18 | "format:check": "oxfmt -c .oxfmtrc.json --check \"packages/**/*.{js,ts,json,md}\"", |
22 | | - "preship": "git diff --quiet && git diff --cached --quiet || (echo 'Error: working tree must be clean before shipping' && exit 1) && yarn test", |
| 19 | + "preship": "git diff --quiet && git diff --cached --quiet || (echo 'Error: working tree must be clean before shipping' && exit 1) && pnpm test", |
23 | 20 | "ship": "nx release version --git-push --git-remote ${GHOST_UPSTREAM:-origin}", |
24 | | - "ship:patch": "yarn ship patch", |
25 | | - "ship:minor": "yarn ship minor", |
26 | | - "ship:major": "yarn ship major", |
27 | | - "ship:first-release": "yarn ship patch --first-release" |
| 21 | + "ship:patch": "pnpm ship patch", |
| 22 | + "ship:minor": "pnpm ship minor", |
| 23 | + "ship:major": "pnpm ship major", |
| 24 | + "ship:first-release": "pnpm ship patch --first-release" |
28 | 25 | }, |
29 | 26 | "devDependencies": { |
30 | 27 | "@nx/js": "22.6.5", |
|
36 | 33 | "ts-node": "10.9.2", |
37 | 34 | "vitest": "4.1.4" |
38 | 35 | }, |
39 | | - "resolutions": { |
40 | | - "node-loggly-bulk": "^4.0.2" |
| 36 | + "pnpm": { |
| 37 | + "overrides": { |
| 38 | + "node-loggly-bulk": "^4.0.2" |
| 39 | + }, |
| 40 | + "onlyBuiltDependencies": [ |
| 41 | + "dtrace-provider", |
| 42 | + "esbuild", |
| 43 | + "nx" |
| 44 | + ] |
41 | 45 | } |
42 | 46 | } |
0 commit comments