@cmssy/cli 19.27.0 → 19.28.1
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/assets/init/next/env.example +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# `npx @cmssy/cli link --token cs_...` writes all three into .env.local for you.
|
|
1
|
+
# `npx @cmssy/cli@latest link --token cs_...` writes all three into .env.local for you.
|
|
2
2
|
# Your organization slug (Settings -> Headless in the cmssy dashboard)
|
|
3
3
|
CMSSY_ORG_SLUG=
|
|
4
4
|
# Your workspace slug (Settings -> Headless in the cmssy dashboard)
|
package/dist/index.js
CHANGED
|
@@ -1303,7 +1303,7 @@ function runInit(options, deps) {
|
|
|
1303
1303
|
log("Next steps:");
|
|
1304
1304
|
let step = 1;
|
|
1305
1305
|
if (added.length > 0) log(` ${step++}. ${detectInstallCommand(root)}`);
|
|
1306
|
-
log(` ${step++}. npx @cmssy/cli link --token cs_...`);
|
|
1306
|
+
log(` ${step++}. npx @cmssy/cli@latest link --token cs_...`);
|
|
1307
1307
|
const registry = frameworkFiles(framework, root).find(
|
|
1308
1308
|
(file) => file.target.endsWith("cmssy/blocks.ts")
|
|
1309
1309
|
);
|
|
@@ -2369,7 +2369,7 @@ function preambleImports() {
|
|
|
2369
2369
|
).filter((name) => name.length > 0);
|
|
2370
2370
|
}
|
|
2371
2371
|
function generateModelTypes(models, options) {
|
|
2372
|
-
const command = options.command ?? "npx @cmssy/cli types";
|
|
2372
|
+
const command = options.command ?? "npx @cmssy/cli@latest types";
|
|
2373
2373
|
const sorted = [...models].sort((a, b) => a.slug.localeCompare(b.slug));
|
|
2374
2374
|
const used = /* @__PURE__ */ new Map();
|
|
2375
2375
|
const typeNames = /* @__PURE__ */ new Map();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cmssy/cli",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.28.1",
|
|
4
4
|
"description": "The cmssy CLI: `cmssy init` wires cmssy into an existing Next.js, Astro or React Router app; `cmssy link` connects it to a workspace and verifies the editor wiring.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cmssy",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"esbuild": "^0.27.7",
|
|
31
|
-
"@cmssy/core": "19.
|
|
31
|
+
"@cmssy/core": "19.28.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^20.0.0",
|