Skip to content

Commit 8a07cb1

Browse files
fix: drop catalog: refs from published packages (3.27.3 install broken) (#1016)
bun publish does not rewrite catalog: protocol to concrete versions at publish time, so create-better-t-stack@3.27.3 (and @better-t-stack/template-generator, @better-t-stack/types) shipped to npm with literal "catalog:" strings in their dependencies. This breaks pnpm (ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER) and npm installs of the CLI. Replaces all catalog: refs in the three published packages (apps/cli, packages/template-generator, packages/types) with the concrete versions from the root workspace catalog. Internal-only workspaces (root, apps/web, packages/backend) still use catalog:.
1 parent f806421 commit 8a07cb1

4 files changed

Lines changed: 42 additions & 42 deletions

File tree

apps/cli/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,28 +76,28 @@
7676
"@clack/prompts": "^1.2.0",
7777
"@modelcontextprotocol/sdk": "1.29.0",
7878
"@trpc/server": "^11.16.0",
79-
"better-result": "catalog:",
79+
"better-result": "^2.8.2",
8080
"consola": "^3.4.2",
8181
"env-paths": "^4.0.0",
8282
"execa": "^9.6.1",
8383
"fs-extra": "^11.3.4",
8484
"gradient-string": "^3.0.0",
85-
"handlebars": "catalog:",
85+
"handlebars": "^4.7.9",
8686
"jsonc-parser": "^3.3.1",
87-
"oxfmt": "catalog:",
87+
"oxfmt": "^0.46.0",
8888
"picocolors": "^1.1.1",
8989
"tinyglobby": "^0.2.15",
9090
"trpc-cli": "^0.14.0",
91-
"ts-morph": "catalog:",
92-
"yaml": "catalog:",
93-
"zod": "catalog:"
91+
"ts-morph": "^28.0.0",
92+
"yaml": "^2.8.3",
93+
"zod": "^4.3.6"
9494
},
9595
"devDependencies": {
9696
"@types/bun": "^1.3.12",
97-
"@types/fs-extra": "catalog:",
98-
"@types/node": "catalog:",
97+
"@types/fs-extra": "^11.0.4",
98+
"@types/node": "^25.6.0",
9999
"publint": "^0.3.18",
100-
"tsdown": "catalog:",
101-
"typescript": "catalog:"
100+
"tsdown": "^0.21.9",
101+
"typescript": "^6.0.3"
102102
}
103103
}

bun.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/template-generator/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,20 @@
4949
},
5050
"dependencies": {
5151
"@better-t-stack/types": "^3.27.3",
52-
"better-result": "catalog:",
53-
"handlebars": "catalog:",
52+
"better-result": "^2.8.2",
53+
"handlebars": "^4.7.9",
5454
"memfs": "^4.57.2",
5555
"pathe": "^2.0.3",
56-
"ts-morph": "catalog:",
57-
"yaml": "catalog:"
56+
"ts-morph": "^28.0.0",
57+
"yaml": "^2.8.3"
5858
},
5959
"devDependencies": {
60-
"@types/fs-extra": "catalog:",
61-
"@types/node": "catalog:",
60+
"@types/fs-extra": "^11.0.4",
61+
"@types/node": "^25.6.0",
6262
"fs-extra": "^11.3.4",
6363
"is-binary-path": "^3.0.0",
6464
"tinyglobby": "^0.2.15",
65-
"tsdown": "catalog:",
66-
"typescript": "catalog:"
65+
"tsdown": "^0.21.9",
66+
"typescript": "^6.0.3"
6767
}
6868
}

packages/types/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
"prepublishOnly": "bun run build"
4444
},
4545
"dependencies": {
46-
"zod": "catalog:"
46+
"zod": "^4.3.6"
4747
},
4848
"devDependencies": {
49-
"tsdown": "catalog:",
50-
"typescript": "catalog:"
49+
"tsdown": "^0.21.9",
50+
"typescript": "^6.0.3"
5151
}
5252
}

0 commit comments

Comments
 (0)