@construct-space/cli 1.4.3 → 1.4.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/index.js +47 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11067,9 +11067,55 @@ function parseModelFields(content, fileName) {
|
|
|
11067
11067
|
}
|
|
11068
11068
|
return { name: modelMatch[1], fields };
|
|
11069
11069
|
}
|
|
11070
|
+
// package.json
|
|
11071
|
+
var package_default = {
|
|
11072
|
+
name: "@construct-space/cli",
|
|
11073
|
+
version: "1.4.4",
|
|
11074
|
+
description: "Construct CLI \u2014 scaffold, build, develop, and publish spaces",
|
|
11075
|
+
type: "module",
|
|
11076
|
+
bin: {
|
|
11077
|
+
construct: "dist/index.js"
|
|
11078
|
+
},
|
|
11079
|
+
exports: {
|
|
11080
|
+
".": {
|
|
11081
|
+
import: "./dist/index.js"
|
|
11082
|
+
}
|
|
11083
|
+
},
|
|
11084
|
+
files: [
|
|
11085
|
+
"dist",
|
|
11086
|
+
"templates"
|
|
11087
|
+
],
|
|
11088
|
+
scripts: {
|
|
11089
|
+
build: "bun build src/index.ts --outdir dist --target bun --format esm && cp -r templates dist/",
|
|
11090
|
+
dev: "bun run src/index.ts",
|
|
11091
|
+
test: "bun test",
|
|
11092
|
+
typecheck: "tsc --noEmit"
|
|
11093
|
+
},
|
|
11094
|
+
dependencies: {
|
|
11095
|
+
commander: "^14.0.3",
|
|
11096
|
+
"@inquirer/prompts": "^8.3.2",
|
|
11097
|
+
chalk: "^5.6.2",
|
|
11098
|
+
ora: "^9.3.0",
|
|
11099
|
+
chokidar: "^5.0.0"
|
|
11100
|
+
},
|
|
11101
|
+
devDependencies: {
|
|
11102
|
+
"@types/bun": "latest",
|
|
11103
|
+
typescript: "^6.0.2"
|
|
11104
|
+
},
|
|
11105
|
+
keywords: [
|
|
11106
|
+
"construct",
|
|
11107
|
+
"cli",
|
|
11108
|
+
"space",
|
|
11109
|
+
"graph"
|
|
11110
|
+
],
|
|
11111
|
+
author: {
|
|
11112
|
+
name: "Construct Team"
|
|
11113
|
+
},
|
|
11114
|
+
license: "MIT"
|
|
11115
|
+
};
|
|
11070
11116
|
|
|
11071
11117
|
// src/index.ts
|
|
11072
|
-
var VERSION =
|
|
11118
|
+
var VERSION = package_default.version;
|
|
11073
11119
|
var program2 = new Command;
|
|
11074
11120
|
program2.name("construct").description("Construct CLI \u2014 scaffold, build, develop, and publish spaces").version(VERSION);
|
|
11075
11121
|
program2.command("scaffold [name]").alias("new").alias("create").description("Create a new Construct space project").option("--with-tests", "Include E2E testing boilerplate").option("--full", "Full preset: multiple pages, extra skills, widget templates").action(async (name, opts) => scaffold(name, opts));
|