create-vyriy 0.5.2 → 0.5.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/README.md CHANGED
@@ -25,6 +25,8 @@ Run the installed command:
25
25
  create-vyriy app
26
26
  create-vyriy app --dry-run
27
27
  create-vyriy . --skip-existing
28
+ create-vyriy --help
29
+ create-vyriy --version
28
30
  ```
29
31
 
30
32
  ## API
package/bin/index.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ import { runCreateCli } from '@vyriy/create';
3
+ await runCreateCli(process.argv.slice(2), 'create-vyriy', false);
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "create-vyriy",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "Create Vyriy projects from reusable starter contracts.",
5
5
  "type": "module",
6
- "bin": "./bin/create-vyriy.js",
6
+ "bin": "./bin/index.js",
7
7
  "dependencies": {
8
- "@vyriy/create": "0.5.2"
8
+ "@vyriy/create": "0.5.4"
9
9
  },
10
10
  "agents": "./AGENTS.md",
11
11
  "license": "MIT",
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env node
2
- import { create } from '../index.js';
3
- const args = process.argv.slice(2);
4
- const directory = args.find((arg) => !arg.startsWith('-')) ?? '';
5
- const dryRun = args.includes('--dry-run');
6
- const overwrite = args.includes('--overwrite');
7
- const skipExisting = args.includes('--skip-existing');
8
- const install = !args.includes('--no-install');
9
- const verify = install && !args.includes('--no-verify');
10
- process.exitCode = await create({
11
- directory,
12
- dryRun,
13
- overwrite,
14
- skipExisting,
15
- install,
16
- verify,
17
- });