@celsian/vura-cli 0.2.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.
- package/README.md +33 -0
- package/bin.js +15 -0
- package/dist/bin.d.ts +12 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +16 -0
- package/dist/bin.js.map +1 -0
- package/dist/commands/admin.d.ts +29 -0
- package/dist/commands/admin.d.ts.map +1 -0
- package/dist/commands/admin.js +1385 -0
- package/dist/commands/admin.js.map +1 -0
- package/dist/commands/build.d.ts +14 -0
- package/dist/commands/build.d.ts.map +1 -0
- package/dist/commands/build.js +267 -0
- package/dist/commands/build.js.map +1 -0
- package/dist/commands/deploy.d.ts +8 -0
- package/dist/commands/deploy.d.ts.map +1 -0
- package/dist/commands/deploy.js +22 -0
- package/dist/commands/deploy.js.map +1 -0
- package/dist/commands/dev.d.ts +31 -0
- package/dist/commands/dev.d.ts.map +1 -0
- package/dist/commands/dev.js +473 -0
- package/dist/commands/dev.js.map +1 -0
- package/dist/commands/manifest.d.ts +8 -0
- package/dist/commands/manifest.d.ts.map +1 -0
- package/dist/commands/manifest.js +44 -0
- package/dist/commands/manifest.js.map +1 -0
- package/dist/config-loader.d.ts +13 -0
- package/dist/config-loader.d.ts.map +1 -0
- package/dist/config-loader.js +47 -0
- package/dist/config-loader.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +48 -0
- package/dist/index.js.map +1 -0
- package/package.json +47 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgBH,wBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAgBvD"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vura CLI
|
|
3
|
+
*
|
|
4
|
+
* Minimal CLI that wires together @celsian/vura-core's build pipeline
|
|
5
|
+
* with project configuration and deployment providers.
|
|
6
|
+
*/
|
|
7
|
+
import { buildCommand } from './commands/build.js';
|
|
8
|
+
import { manifestCommand } from './commands/manifest.js';
|
|
9
|
+
import { deployCommand } from './commands/deploy.js';
|
|
10
|
+
import { devCommand } from './commands/dev.js';
|
|
11
|
+
import { adminCommand } from './commands/admin.js';
|
|
12
|
+
const COMMANDS = {
|
|
13
|
+
build: buildCommand,
|
|
14
|
+
manifest: manifestCommand,
|
|
15
|
+
deploy: deployCommand,
|
|
16
|
+
dev: devCommand,
|
|
17
|
+
admin: adminCommand,
|
|
18
|
+
};
|
|
19
|
+
export async function run(args) {
|
|
20
|
+
const command = args[0];
|
|
21
|
+
if (!command || command === '--help' || command === '-h') {
|
|
22
|
+
printHelp();
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
const handler = COMMANDS[command];
|
|
26
|
+
if (!handler) {
|
|
27
|
+
console.error(`Unknown command: ${command}`);
|
|
28
|
+
printHelp();
|
|
29
|
+
process.exit(1);
|
|
30
|
+
}
|
|
31
|
+
await handler(args.slice(1));
|
|
32
|
+
}
|
|
33
|
+
function printHelp() {
|
|
34
|
+
console.log(`
|
|
35
|
+
vura — Vura CLI
|
|
36
|
+
|
|
37
|
+
Commands:
|
|
38
|
+
dev Start local development server
|
|
39
|
+
build Build the project for deployment
|
|
40
|
+
deploy Explain managed deployment availability (not in OSS CLI yet)
|
|
41
|
+
admin Launch the admin dashboard
|
|
42
|
+
manifest Print the route manifest (debug)
|
|
43
|
+
|
|
44
|
+
Options:
|
|
45
|
+
--help, -h Show this help message
|
|
46
|
+
`);
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAK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module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"vura": "bin.js"
|
|
8
|
+
},
|
|
9
|
+
"exports": {
|
|
10
|
+
".": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"bin.js",
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc -b",
|
|
18
|
+
"dev": "tsc -b --watch",
|
|
19
|
+
"prepack": "pnpm run build"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@celsian/vura-core": "workspace:0.2.0",
|
|
23
|
+
"esbuild": "^0.27.3"
|
|
24
|
+
},
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/CelsianJs/vura.git"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://github.com/CelsianJs/vura#readme",
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/CelsianJs/vura/issues"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"vura",
|
|
39
|
+
"cli",
|
|
40
|
+
"full-stack",
|
|
41
|
+
"deployment",
|
|
42
|
+
"typescript"
|
|
43
|
+
],
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=20 <23"
|
|
46
|
+
}
|
|
47
|
+
}
|