@borrowbrain/create-vck 0.0.0

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.
Files changed (3) hide show
  1. package/README.md +11 -0
  2. package/dist/cli.js +55 -0
  3. package/package.json +17 -0
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # @borrowbrain/create-vck
2
+
3
+ Package scaffold for the VCK creation command.
4
+
5
+ This package is private until release readiness approves npm publication.
6
+
7
+ ## EPIC-42 Scope
8
+
9
+ The command prints the review-first wizard skeleton and writes no files.
10
+
11
+ The full interactive create flow is deferred to EPIC-43.
package/dist/cli.js ADDED
@@ -0,0 +1,55 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // packages/create-vck/src/cli.ts
22
+ var cli_exports = {};
23
+ __export(cli_exports, {
24
+ runCreateVckCli: () => runCreateVckCli
25
+ });
26
+ module.exports = __toCommonJS(cli_exports);
27
+
28
+ // packages/vck/src/runtime/prompts.ts
29
+ function createWizardSkeleton() {
30
+ return [
31
+ "VCK create wizard",
32
+ "",
33
+ "EPIC-42 provides the package scaffold and review-first wizard skeleton.",
34
+ "The full interactive new-project and existing-project flows are reserved for EPIC-43.",
35
+ "",
36
+ "For now, use an existing VCK starter repository and run:",
37
+ " vck doctor",
38
+ " vck init",
39
+ "",
40
+ "No files were written."
41
+ ].join("\n");
42
+ }
43
+
44
+ // packages/create-vck/src/cli.ts
45
+ function runCreateVckCli() {
46
+ process.stdout.write(`${createWizardSkeleton()}
47
+ `);
48
+ }
49
+ if (require.main === module) {
50
+ runCreateVckCli();
51
+ }
52
+ // Annotate the CommonJS export names for ESM import in node:
53
+ 0 && (module.exports = {
54
+ runCreateVckCli
55
+ });
package/package.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@borrowbrain/create-vck",
3
+ "version": "0.0.0",
4
+ "license": "Apache-2.0",
5
+ "type": "commonjs",
6
+ "bin": {
7
+ "create-vck": "dist/cli.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "package.json",
12
+ "README.md"
13
+ ],
14
+ "engines": {
15
+ "node": ">=20.9.0"
16
+ }
17
+ }