@calo-design/cli 0.13.4 → 0.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/backend.js +4 -2
- package/package.json +1 -1
package/bin/backend.js
CHANGED
|
@@ -192,9 +192,11 @@ async function cmdInit(args) {
|
|
|
192
192
|
warn("app key was re-minted for this reconnect — run `calo-design backend deploy` to activate it");
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
// Glue: the one sanctioned way app code reaches the backend.
|
|
195
|
+
// Glue: the one sanctioned way app code reaches the backend. Always generated —
|
|
196
|
+
// Expo Router projects that only use app/ still get src/backend.ts.
|
|
196
197
|
const glue = path.join(root, "src", "backend.ts");
|
|
197
|
-
if (
|
|
198
|
+
if (!fs.existsSync(glue)) {
|
|
199
|
+
fs.mkdirSync(path.join(root, "src"), { recursive: true });
|
|
198
200
|
fs.writeFileSync(
|
|
199
201
|
glue,
|
|
200
202
|
`// Generated by \`calo-design backend init\` — app code talks to this prototype's\n` +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@calo-design/cli",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.5",
|
|
4
4
|
"description": "One-line setup for Calo design tooling: logs in with your Calo email and installs the calo-design skill + design-system packages. No GitHub account needed.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"calo-design": "bin/cli.js"
|