star-sdk-cli 0.1.25 → 0.1.27
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/dist/cli.mjs +4 -4
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -344,13 +344,13 @@ Each example is a single HTML file, no build step \u2014 imports from esm.sh.
|
|
|
344
344
|
|
|
345
345
|
## Deploy
|
|
346
346
|
|
|
347
|
-
|
|
347
|
+
No build step needed \u2014 deploy your source files directly:
|
|
348
348
|
|
|
349
349
|
\`\`\`bash
|
|
350
350
|
npx star-sdk deploy
|
|
351
351
|
\`\`\`
|
|
352
352
|
|
|
353
|
-
This uploads the game to Star hosting and returns a live URL. Requires \`npx star-sdk init\` to have been run first (which creates the deploy key in \`.starrc\`).
|
|
353
|
+
This uploads the game to Star hosting and returns a live URL. The deploy command automatically rewrites bare imports (\`import Star from 'star-sdk'\`) to CDN URLs. Requires \`npx star-sdk init\` to have been run first (which creates the deploy key in \`.starrc\`).
|
|
354
354
|
`;
|
|
355
355
|
var AUDIO_DOCS = `**Installation**
|
|
356
356
|
|
|
@@ -1975,14 +1975,14 @@ async function main() {
|
|
|
1975
1975
|
case "deploy":
|
|
1976
1976
|
await deployCommand(positional[0]);
|
|
1977
1977
|
break;
|
|
1978
|
-
case "install":
|
|
1978
|
+
case "install":
|
|
1979
|
+
case "install-docs": {
|
|
1979
1980
|
const agent = positional[0] || "claude";
|
|
1980
1981
|
const scope = flags.project ? "project" : "global";
|
|
1981
1982
|
installCommand(agent, scope);
|
|
1982
1983
|
break;
|
|
1983
1984
|
}
|
|
1984
1985
|
case "docs":
|
|
1985
|
-
case "install-docs":
|
|
1986
1986
|
case "skill":
|
|
1987
1987
|
case "prompt":
|
|
1988
1988
|
docsCommand(positional[0]);
|