@sculptor/cli 1.1.0 → 1.1.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/README.md +1 -1
- package/dist/cli.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -96,7 +96,7 @@ Flags:
|
|
|
96
96
|
| Flag | Meaning |
|
|
97
97
|
| --- | --- |
|
|
98
98
|
| `--name <value>` | Sets the app name |
|
|
99
|
-
| `--version <value>` | Sets the scaffolded app version (defaults to `
|
|
99
|
+
| `--version <value>` | Sets the scaffolded app version (defaults to `0.1.0`) |
|
|
100
100
|
| `--style <decorator/functional/hybrid>` | Sets the routing mode |
|
|
101
101
|
| `--decorator` | Shortcut for decorator mode |
|
|
102
102
|
| `--functional` | Shortcut for functional mode |
|
package/dist/cli.js
CHANGED
|
@@ -542,7 +542,7 @@ const resolveProjectMetadata = async (args, cwd, prompt) => {
|
|
|
542
542
|
args.includes("--hybrid") ||
|
|
543
543
|
getFlagValue(args, ["--style"]) !== undefined;
|
|
544
544
|
const appName = getFlagValue(args, ["--name"]) ?? positional[0] ?? (await ask("App name"));
|
|
545
|
-
const version = getFlagValue(args, ["--version"]) ?? (await ask("Version", "
|
|
545
|
+
const version = getFlagValue(args, ["--version"]) ?? (await ask("Version", "0.1.0"));
|
|
546
546
|
const modeInput = getFlagValue(args, ["--style"]) ??
|
|
547
547
|
(explicitMode
|
|
548
548
|
? readModeFromFlags(args, defaultMode)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sculptor/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"sc": "./bin/sc.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@sculptor/config": "^1.1.0",
|
|
40
40
|
"@sculptor/core": "^1.1.0",
|
|
41
|
-
"@sculptor/template-registry": "^1.1.
|
|
41
|
+
"@sculptor/template-registry": "^1.1.1",
|
|
42
42
|
"typescript": "^5.8.3",
|
|
43
43
|
"tsx": "^4.19.4"
|
|
44
44
|
}
|