@ogment-ai/cli 0.9.1 → 0.10.0
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 +5 -5
- package/dist/cli.js +499 -484
- package/dist/cli.js.map +1 -1
- package/package.json +9 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ogment-ai/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Ogment CLI",
|
|
6
6
|
"homepage": "https://ogment.ai/cli",
|
|
@@ -30,11 +30,16 @@
|
|
|
30
30
|
"build": "pnpm run clean && rolldown -c",
|
|
31
31
|
"prepack": "pnpm run build",
|
|
32
32
|
"check-types": "oxlint . --type-aware --type-check -A all --tsconfig tsconfig.json",
|
|
33
|
-
"dev": "tsx src/cli.ts",
|
|
34
|
-
"
|
|
33
|
+
"dev": "env OGMENT_BASE_URL=http://localhost:3000 tsx src/cli.ts",
|
|
34
|
+
"dev:prod": "env -u OGMENT_BASE_URL tsx src/cli.ts",
|
|
35
|
+
"run": "env OGMENT_BASE_URL=http://localhost:3000 node dist/cli.js",
|
|
36
|
+
"run:prod": "env -u OGMENT_BASE_URL node dist/cli.js",
|
|
37
|
+
"prestart": "pnpm run build",
|
|
38
|
+
"start": "pnpm run run",
|
|
39
|
+
"prestart:prod": "pnpm run build",
|
|
40
|
+
"start:prod": "pnpm run run:prod",
|
|
35
41
|
"lint": "oxlint . --fix --type-aware --tsconfig tsconfig.json",
|
|
36
42
|
"lint:check": "oxlint . --type-aware --deny-warnings --report-unused-disable-directives --tsconfig tsconfig.json",
|
|
37
|
-
"lint:ci": "pnpm run lint:check -- --format=github",
|
|
38
43
|
"test": "pnpm run build && vitest run -c vitest.config.ts",
|
|
39
44
|
"test:coverage": "vitest run -c vitest.config.ts --coverage"
|
|
40
45
|
},
|