create-supaslidev 0.3.2 → 0.3.4
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.js
CHANGED
|
@@ -10,7 +10,7 @@ import pc from "picocolors";
|
|
|
10
10
|
import { tmpdir } from "node:os";
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/version.ts
|
|
13
|
-
const CLI_VERSION = "0.3.
|
|
13
|
+
const CLI_VERSION = "0.3.4";
|
|
14
14
|
const PACKAGE_NAME = "@supaslidev/cli";
|
|
15
15
|
const CACHE_DIR = join(tmpdir(), "supaslidev-cli");
|
|
16
16
|
const CACHE_FILE = join(CACHE_DIR, "version-cache.json");
|
|
@@ -456,7 +456,7 @@ async function create(options = {}) {
|
|
|
456
456
|
console.log(pc.cyan("Next steps:"));
|
|
457
457
|
console.log(` ${pc.dim("$")} cd ${projectName}`);
|
|
458
458
|
if (!runInstall) console.log(` ${pc.dim("$")} pnpm install`);
|
|
459
|
-
console.log(` ${pc.dim("$")} pnpm dev
|
|
459
|
+
console.log(` ${pc.dim("$")} pnpm dev`);
|
|
460
460
|
console.log("");
|
|
461
461
|
} catch (error) {
|
|
462
462
|
spinner.stop("Failed");
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { parse, parseDocument, stringify } from "yaml";
|
|
|
11
11
|
import { IndentationText, Node, Project, SyntaxKind } from "ts-morph";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/version.ts
|
|
14
|
-
const CLI_VERSION = "0.3.
|
|
14
|
+
const CLI_VERSION = "0.3.4";
|
|
15
15
|
const PACKAGE_NAME = "@supaslidev/cli";
|
|
16
16
|
const CACHE_DIR = join(tmpdir(), "supaslidev-cli");
|
|
17
17
|
const CACHE_FILE = join(CACHE_DIR, "version-cache.json");
|
|
@@ -457,7 +457,7 @@ async function create(options = {}) {
|
|
|
457
457
|
console.log(pc.cyan("Next steps:"));
|
|
458
458
|
console.log(` ${pc.dim("$")} cd ${projectName}`);
|
|
459
459
|
if (!runInstall) console.log(` ${pc.dim("$")} pnpm install`);
|
|
460
|
-
console.log(` ${pc.dim("$")} pnpm dev
|
|
460
|
+
console.log(` ${pc.dim("$")} pnpm dev`);
|
|
461
461
|
console.log("");
|
|
462
462
|
} catch (error) {
|
|
463
463
|
spinner.stop("Failed");
|
package/package.json
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"present": "supaslidev present",
|
|
11
11
|
"export": "supaslidev export",
|
|
12
12
|
"deploy": "supaslidev deploy",
|
|
13
|
-
"build": "pnpm --filter @supaslidev/* run build"
|
|
13
|
+
"build": "pnpm --filter @supaslidev/* run build",
|
|
14
|
+
"postinstall": "npx nuxi prepare"
|
|
14
15
|
},
|
|
15
16
|
"devDependencies": {
|
|
16
17
|
"nuxt": "catalog:core",
|