shipgate 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,108 +1,126 @@
1
- {
2
- "name": "shipgate",
3
- "version": "1.0.0",
4
- "description": "ShipGate — Stop AI from shipping fake features. Define what your code should do. We enforce it.",
5
- "author": "ISL Team",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/guardiavault-oss/ISL-LANG.git",
10
- "directory": "packages/cli"
11
- },
12
- "homepage": "https://shipgate.dev",
13
- "bugs": {
14
- "url": "https://github.com/guardiavault-oss/ISL-LANG/issues"
15
- },
16
- "keywords": [
17
- "shipgate",
18
- "isl",
19
- "intent-specification-language",
20
- "cli",
21
- "ai",
22
- "verification",
23
- "code-generation",
24
- "ai-safety",
25
- "ship-gate"
26
- ],
27
- "type": "module",
28
- "main": "./dist/index.js",
29
- "types": "./dist/index.d.ts",
30
- "exports": {
31
- ".": {
32
- "types": "./dist/index.d.ts",
33
- "import": "./dist/index.js"
34
- },
35
- "./package.json": "./package.json"
36
- },
37
- "engines": {
38
- "node": ">=18"
39
- },
40
- "bin": {
41
- "shipgate": "./dist/cli.cjs",
42
- "isl": "./dist/cli.cjs"
43
- },
44
- "files": [
45
- "dist/",
46
- "README.md",
47
- "LICENSE"
48
- ],
49
- "scripts": {
50
- "prebuild": "node scripts/resolve-workspace-deps.js",
51
- "build": "node scripts/build-with-esbuild.js",
52
- "build:tsup": "tsup",
53
- "build:deps": "node scripts/build-deps.js",
54
- "build:full": "pnpm run build:deps && pnpm run build",
55
- "build:bundle": "bash scripts/build.sh",
56
- "dev": "tsup --watch",
57
- "test": "vitest run --passWithNoTests",
58
- "test:watch": "vitest",
59
- "test:coverage": "vitest run --coverage",
60
- "test:smoke": "vitest run tests/smoke.test.ts",
61
- "lint": "eslint src --ext .ts",
62
- "typecheck": "tsc --noEmit",
63
- "clean": "rimraf dist",
64
- "prepack": "pnpm run build",
65
- "postinstall": "node scripts/postinstall.js || true",
66
- "pack:check": "npm pack --dry-run",
67
- "test:unit": "vitest run --passWithNoTests"
68
- },
69
- "devDependencies": {
70
- "@isl-lang/build-runner": "workspace:*",
71
- "@isl-lang/evaluator": "workspace:*",
72
- "@isl-lang/gate": "workspace:*",
73
- "@isl-lang/import-resolver": "workspace:*",
74
- "@isl-lang/inference": "workspace:*",
75
- "@isl-lang/intent-translator": "workspace:*",
76
- "@isl-lang/isl-core": "workspace:*",
77
- "@isl-lang/isl-smt": "workspace:*",
78
- "@isl-lang/isl-verify": "workspace:*",
79
- "@isl-lang/parser": "workspace:*",
80
- "@isl-lang/pbt": "workspace:*",
81
- "@isl-lang/pipeline": "workspace:*",
82
- "@isl-lang/isl-policy-engine": "workspace:*",
83
- "@isl-lang/policy-packs": "workspace:*",
84
- "@isl-lang/proof": "workspace:*",
85
- "@isl-lang/repl": "workspace:*",
86
- "@isl-lang/semantic-analysis": "workspace:*",
87
- "@isl-lang/spec-assist": "workspace:*",
88
- "@isl-lang/typechecker": "workspace:*",
89
- "@isl-lang/verifier-runtime": "workspace:*",
90
- "@isl-lang/verifier-temporal": "workspace:*",
91
- "@isl-lang/truthpack-v2": "workspace:*",
92
- "@isl-lang/observability": "workspace:*",
93
- "@types/node": "^25.1.0",
94
- "@types/picomatch": "^4.0.2",
95
- "chalk": "^5.3.0",
96
- "chokidar": "^4.0.3",
97
- "commander": "^12.0.0",
98
- "glob": "^10.3.10",
99
- "ora": "^8.0.1",
100
- "picomatch": "^4.0.3",
101
- "rimraf": "^5.0.5",
102
- "tsup": "^8.0.1",
103
- "typescript": "^5.3.3",
104
- "vitest": "^1.2.0",
105
- "yaml": "^2.3.4"
106
- },
107
- "sideEffects": false
108
- }
1
+ {
2
+ "name": "shipgate",
3
+ "version": "1.0.2",
4
+ "description": "ShipGate — Stop AI from shipping fake features. Define what your code should do. We enforce it.",
5
+ "author": "ISL Team",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/Ship-Gate/ShipGate.git",
10
+ "directory": "packages/cli"
11
+ },
12
+ "homepage": "https://shipgate.dev",
13
+ "bugs": {
14
+ "url": "https://github.com/Ship-Gate/ShipGate/issues"
15
+ },
16
+ "keywords": [
17
+ "shipgate",
18
+ "isl",
19
+ "intent-specification-language",
20
+ "cli",
21
+ "ai",
22
+ "verification",
23
+ "code-generation",
24
+ "ai-safety",
25
+ "ship-gate"
26
+ ],
27
+ "type": "module",
28
+ "main": "./dist/index.js",
29
+ "types": "./dist/index.d.ts",
30
+ "exports": {
31
+ ".": {
32
+ "types": "./dist/index.d.ts",
33
+ "import": "./dist/index.js"
34
+ },
35
+ "./package.json": "./package.json"
36
+ },
37
+ "engines": {
38
+ "node": ">=18"
39
+ },
40
+ "bin": {
41
+ "shipgate": "./dist/cli.cjs",
42
+ "isl": "./dist/cli.cjs"
43
+ },
44
+ "files": [
45
+ "dist",
46
+ "dist/cli.cjs",
47
+ "README.md",
48
+ "LICENSE",
49
+ "scripts/postinstall.js"
50
+ ],
51
+ "scripts": {
52
+ "prebuild": "node scripts/resolve-workspace-deps.js",
53
+ "build": "node scripts/build-with-esbuild.js",
54
+ "build:tsup": "tsup",
55
+ "build:deps": "node scripts/build-deps.js",
56
+ "build:full": "pnpm run build:deps && pnpm run build",
57
+ "build:bundle": "bash scripts/build.sh",
58
+ "dev": "tsup --watch",
59
+ "test": "vitest run --passWithNoTests",
60
+ "test:watch": "vitest",
61
+ "test:coverage": "vitest run --coverage",
62
+ "test:smoke": "vitest run tests/smoke.test.ts",
63
+ "test:e2e-consumer": "vitest run tests/e2e-published.test.ts",
64
+ "lint": "eslint src --ext .ts",
65
+ "typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
66
+ "clean": "rimraf dist",
67
+ "prepack": "pnpm run build",
68
+ "postinstall": "node scripts/postinstall.js",
69
+ "pack:check": "npm pack --dry-run",
70
+ "test:unit": "vitest run --passWithNoTests"
71
+ },
72
+ "dependencies": {
73
+ "@opentelemetry/api": "^1.8.0",
74
+ "@opentelemetry/resources": "^1.22.0",
75
+ "@opentelemetry/sdk-trace-base": "^1.22.0",
76
+ "@opentelemetry/sdk-trace-node": "^1.22.0",
77
+ "@opentelemetry/semantic-conventions": "^1.22.0"
78
+ },
79
+ "devDependencies": {
80
+ "@isl-lang/autofix": "workspace:*",
81
+ "@isl-lang/build-runner": "workspace:*",
82
+ "@isl-lang/codegen-openapi": "workspace:*",
83
+ "@isl-lang/core": "workspace:*",
84
+ "@isl-lang/evaluator": "workspace:*",
85
+ "@isl-lang/gate": "workspace:*",
86
+ "@isl-lang/import-resolver": "workspace:*",
87
+ "@isl-lang/inference": "workspace:*",
88
+ "@isl-lang/intent-translator": "workspace:*",
89
+ "@isl-lang/isl-core": "workspace:*",
90
+ "@isl-lang/isl-discovery": "workspace:*",
91
+ "@isl-lang/isl-coverage": "workspace:*",
92
+ "@isl-lang/isl-smt": "workspace:*",
93
+ "@isl-lang/isl-verify": "workspace:*",
94
+ "@isl-lang/parser": "workspace:*",
95
+ "@isl-lang/pbt": "workspace:*",
96
+ "@isl-lang/pipeline": "workspace:*",
97
+ "@isl-lang/isl-policy-engine": "workspace:*",
98
+ "@isl-lang/policy-packs": "workspace:*",
99
+ "@isl-lang/proof": "workspace:*",
100
+ "@isl-lang/repl": "workspace:*",
101
+ "@isl-lang/semantic-analysis": "workspace:*",
102
+ "@isl-lang/spec-assist": "workspace:*",
103
+ "@isl-lang/typechecker": "workspace:*",
104
+ "@isl-lang/verifier-chaos": "workspace:*",
105
+ "@isl-lang/verifier-runtime": "workspace:*",
106
+ "@isl-lang/verifier-temporal": "workspace:*",
107
+ "@isl-lang/truthpack-v2": "workspace:*",
108
+ "@isl-lang/reality-probe": "workspace:*",
109
+ "@isl-lang/observability": "workspace:*",
110
+ "@isl-lang/secrets-hygiene": "workspace:*",
111
+ "@types/node": "^25.1.0",
112
+ "@types/picomatch": "^4.0.2",
113
+ "chalk": "^5.3.0",
114
+ "chokidar": "^4.0.3",
115
+ "commander": "^12.0.0",
116
+ "glob": "^10.3.10",
117
+ "ora": "^8.0.1",
118
+ "picomatch": "^4.0.3",
119
+ "rimraf": "^5.0.5",
120
+ "tsup": "^8.0.1",
121
+ "typescript": "^5.3.3",
122
+ "vitest": "^1.2.0",
123
+ "yaml": "^2.3.4"
124
+ },
125
+ "sideEffects": false
126
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Postinstall message for shipgate CLI.
3
+ *
4
+ * Prints a short welcome message after `npm install shipgate` or `npx shipgate`.
5
+ * Wrapped in try/catch so it never blocks installation.
6
+ */
7
+ try {
8
+ const message = [
9
+ '',
10
+ '\x1b[1m\x1b[36m ShipGate installed successfully!\x1b[0m',
11
+ '',
12
+ " Run \x1b[33mshipgate init\x1b[0m to set up your project.",
13
+ ' Docs: \x1b[4m\x1b[36mhttps://shipgate.dev\x1b[0m',
14
+ '',
15
+ ].join('\n');
16
+
17
+ console.log(message);
18
+ } catch {
19
+ // Never fail the install
20
+ }