@oiioii/cli 0.1.0 → 0.1.5

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 (4) hide show
  1. package/README.md +180 -39
  2. package/dist/cli.js +43 -6920
  3. package/package.json +19 -10
  4. package/dist/cli.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oiioii/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.5",
4
4
  "description": "Agent-native CLI for Oiioii / Hogi GenAI capabilities",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",
@@ -9,18 +9,26 @@
9
9
  "oiioii-cli": "dist/cli.js"
10
10
  },
11
11
  "files": [
12
- "dist"
12
+ "dist",
13
+ "!dist/**/*.map"
13
14
  ],
14
15
  "scripts": {
15
- "build": "OIIOII_BUILD_ENV=test tsup",
16
- "build:production": "OIIOII_BUILD_ENV=production tsup",
17
- "build:test": "OIIOII_BUILD_ENV=test tsup",
18
- "build:local": "OIIOII_BUILD_ENV=local tsup",
19
- "publish:production": "node scripts/verify-release-version.mjs production && npm run build:production && npm publish --tag latest --access public",
20
- "publish:test": "node scripts/verify-release-version.mjs test && npm run build:test && npm publish --tag test --access public",
16
+ "build": "npm run build:production",
17
+ "build:production": "node scripts/build-environment.mjs production",
18
+ "build:test": "node scripts/build-environment.mjs test",
19
+ "build:test:runtime": "node scripts/build-test-runtime.mjs",
20
+ "build:local": "node scripts/build-environment.mjs local",
21
+ "release:check": "npm run typecheck && npm run lint && npm test",
22
+ "prepublishOnly": "npm run release:check && node scripts/prepare-publish.mjs",
23
+ "publish:production": "npm publish --tag latest --access public",
24
+ "publish:test": "npm publish --tag test --access public",
21
25
  "dev": "tsx src/cli.ts",
22
26
  "start": "node dist/cli.js",
23
- "test": "vitest run",
27
+ "test": "npm run test:unit && npm run test:cli",
28
+ "test:unit": "vitest run tests/unit",
29
+ "test:cli": "vitest run tests/cli --maxWorkers=1 --minWorkers=1",
30
+ "regression:artifact": "node scripts/regression/run-cli-artifact.mjs",
31
+ "regression:artifact:build": "npm run build:test:runtime && npm run regression:artifact",
24
32
  "test:watch": "vitest",
25
33
  "lint": "eslint src/",
26
34
  "typecheck": "tsc --noEmit",
@@ -37,7 +45,7 @@
37
45
  "author": "",
38
46
  "license": "MIT",
39
47
  "engines": {
40
- "node": ">=18.0.0"
48
+ "node": ">=18.18.0"
41
49
  },
42
50
  "dependencies": {
43
51
  "@datarangers/node-plugin-http": "^3.4.1",
@@ -60,6 +68,7 @@
60
68
  "eslint": "^9.39.5",
61
69
  "tsup": "^8.1.0",
62
70
  "tsx": "^4.15.0",
71
+ "tar": "^7.5.7",
63
72
  "typescript": "^5.5.0",
64
73
  "typescript-eslint": "^8.67.0",
65
74
  "vitest": "^1.6.0"