nerdsystem 0.0.7 → 0.0.8
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/commands/init.js +1 -1
- package/dist/commands/trash.js +1 -1
- package/package.json +1 -1
package/dist/commands/init.js
CHANGED
|
@@ -174,4 +174,4 @@ export async function init(dir, args) {
|
|
|
174
174
|
log.ok(`Ready. Next:\n cd ${dir}\n pnpm install\n nerd dev\n\nThen open the folder in your coding agent and ask it to build the first feature; the nerdsystem skill walks it through.\nDeploys go to ${project.url}`);
|
|
175
175
|
}
|
|
176
176
|
// Kept in sync with packages/sdk/package.json by the release script.
|
|
177
|
-
const SDK_VERSION = "0.0.
|
|
177
|
+
const SDK_VERSION = "0.0.8";
|
package/dist/commands/trash.js
CHANGED
|
@@ -41,7 +41,7 @@ export async function deleteProject(opts) {
|
|
|
41
41
|
throw new CliError(`Refusing to delete ${name} without --yes.`);
|
|
42
42
|
const ok = await confirm(`Delete ${name}? The app goes offline now; its database and files are kept for a week and can be restored with \`nerd trash restore ${t.project}\`.`);
|
|
43
43
|
if (!ok)
|
|
44
|
-
throw new CliError(
|
|
44
|
+
throw new CliError(process.stdin.isTTY ? "Not deleted. Pass --yes to skip the question." : "Not deleted. Pass --yes to confirm.");
|
|
45
45
|
}
|
|
46
46
|
const r = await ApiClient.fromConfig().delete(`/v1/orgs/${t.org}/projects/${t.project}`);
|
|
47
47
|
if (opts.json)
|