@drawcall/create 0.0.0 → 0.1.1

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/dist/constants.js +9 -1
  2. package/package.json +12 -11
package/dist/constants.js CHANGED
@@ -1,4 +1,12 @@
1
- export const HARNESS_NAMES = ["opencode", "codex", "claude", "pi", "gemini", "grok", "forge"];
1
+ export const HARNESS_NAMES = [
2
+ "opencode",
3
+ "codex",
4
+ "claude",
5
+ "pi",
6
+ "gemini",
7
+ "grok",
8
+ "forge"
9
+ ];
2
10
  export const STAGES = [
3
11
  "scaffold",
4
12
  "template",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawcall/create",
3
- "version": "0.0.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "Create projects with an installed local harness.",
6
6
  "license": "MIT",
@@ -12,7 +12,7 @@
12
12
  "node": ">=20"
13
13
  },
14
14
  "bin": {
15
- "drawcall-create": "./dist/cli.js"
15
+ "drawcall-create": "dist/cli.js"
16
16
  },
17
17
  "exports": {
18
18
  ".": {
@@ -24,6 +24,15 @@
24
24
  "files": [
25
25
  "dist"
26
26
  ],
27
+ "scripts": {
28
+ "dev": "tsx src/cli.ts",
29
+ "build": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.json && node -e \"require('fs').chmodSync('dist/cli.js', 0o755)\"",
30
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json",
31
+ "test": "vitest run",
32
+ "format": "prettier --write .",
33
+ "format:check": "prettier --check .",
34
+ "prepublishOnly": "npm run typecheck && npm test && npm run build"
35
+ },
27
36
  "dependencies": {
28
37
  "commander": "^14.0.3",
29
38
  "which": "^6.0.1"
@@ -35,13 +44,5 @@
35
44
  "tsx": "^4.19.2",
36
45
  "typescript": "^5.7.2",
37
46
  "vitest": "^4.1.8"
38
- },
39
- "scripts": {
40
- "dev": "tsx src/cli.ts",
41
- "build": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.json && node -e \"require('fs').chmodSync('dist/cli.js', 0o755)\"",
42
- "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json",
43
- "test": "vitest run",
44
- "format": "prettier --write .",
45
- "format:check": "prettier --check ."
46
47
  }
47
- }
48
+ }