Skip to content

Commit 7e83ae1

Browse files
Add packages to pnpm-workspace.yaml to include root package (#113)
* fix(pnpm): add packages to pnpm-workspace.yaml to include root package * add comment explaining root package entry in pnpm workspace * restore sha in `packageManager` field * add explcit node types to tsconfig * remove double ` from explanation comment * update pnpm * use node 24 * fmt * try with patched vercel CLI * trustPolicyExclude * fmt * lets try to force local cli * tweak * remove explicit types config * tweak --------- Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
1 parent ea5e300 commit 7e83ae1

4 files changed

Lines changed: 20 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
.next
3+
.pnpm-store
34
.vercel

knip.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"$schema": "./node_modules/knip/schema.json",
3-
"entry": ["api/**/*.ts"]
3+
"entry": ["api/**/*.ts"],
4+
"ignore": [".pnpm-store/**"]
45
}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,8 @@
4646
"vite": "^8.0.3",
4747
"vitest": "^4.1.2"
4848
},
49-
"packageManager": "pnpm@11.0.9+sha512.34ce82e6780233cf9cad8685029a8f81d2e06196c5a9bad98879f7424940c6817c4e4524fb7d38b8553ceed48b9758b8ebaf1abd3600c232c4c8cf7366086f38"
49+
"engines": {
50+
"node": "24.x"
51+
},
52+
"packageManager": "pnpm@11.1.3+sha256.740302fe768aaf1ba680c5213bd08983f219e0bcf0c96c0c6d7be393b8620c98"
5053
}

pnpm-workspace.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1+
packages:
2+
# Why mark the repository root as a package?
3+
#
4+
# It appears that Vercel fails during the `pnpm install` step
5+
# when the packages field is missing from pnpm-workspace.yaml.
6+
# @see https://github.com/changesets/bot/pull/113
7+
- "."
8+
19
allowBuilds:
210
msw: true
311

12+
blockExoticSubdeps: true
413
dedupePeers: true
514
dedupePeerDependents: true
15+
minimumReleaseAge: 10080
16+
shellEmulator: true
17+
trustPolicy: no-downgrade
18+
- "probot@12.4.0"

0 commit comments

Comments
 (0)