create-vertz 0.2.14

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 (2) hide show
  1. package/bin/create-vertz.ts +23 -0
  2. package/package.json +25 -0
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env bun
2
+
3
+ import { resolveOptions, scaffold } from '@vertz/create-vertz-app';
4
+
5
+ const name = process.argv[2];
6
+
7
+ try {
8
+ const resolved = await resolveOptions({ projectName: name });
9
+
10
+ console.log(`Creating Vertz app: ${resolved.projectName}`);
11
+
12
+ const targetDir = process.cwd();
13
+ await scaffold(targetDir, resolved);
14
+
15
+ console.log(`\n✓ Created ${resolved.projectName}`);
16
+ console.log(`\nNext steps:`);
17
+ console.log(` cd ${resolved.projectName}`);
18
+ console.log(` bun install`);
19
+ console.log(` bun run dev`);
20
+ } catch (error) {
21
+ console.error('Error:', error instanceof Error ? error.message : error);
22
+ process.exit(1);
23
+ }
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "create-vertz",
3
+ "version": "0.2.14",
4
+ "type": "module",
5
+ "license": "MIT",
6
+ "description": "Create a new Vertz application — delegates to @vertz/create-vertz-app",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/vertz-dev/vertz.git",
10
+ "directory": "packages/create-vertz"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public",
14
+ "provenance": true
15
+ },
16
+ "bin": {
17
+ "create-vertz": "./bin/create-vertz.ts"
18
+ },
19
+ "files": [
20
+ "bin"
21
+ ],
22
+ "dependencies": {
23
+ "@vertz/create-vertz-app": "0.2.13"
24
+ }
25
+ }