@jsorm/cli 0.4.0 → 0.4.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.
package/dist/index.d.mts CHANGED
@@ -1 +1,12 @@
1
- import "./rolldown-runtime-CPxUEhZH.js";
1
+ interface CliDeps {
2
+ /** Environment read for `JSORM_DEV_ENGINE` and the update check. Defaults to `process.env`. */
3
+ env?: Record<string, string | undefined>;
4
+ /** Replaced in tests to observe which engine would run. */
5
+ execute?: (enginePath: string, args: string[]) => void;
6
+ /** Directory of this module; defaults to the running file's directory. */
7
+ moduleDir?: string;
8
+ /** Engines directory; defaults to `~/.jsorm/engines`. */
9
+ enginesDir?: string;
10
+ }
11
+ export declare function main(argv?: string[], deps?: CliDeps): Promise<void>;
12
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jsorm/cli",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "description": "CLI de JSORM",
6
6
  "keywords": [
7
7
  "jsorm",
@@ -46,7 +46,7 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@jsorm/core": "1.4.0"
49
+ "@jsorm/core": "1.4.1"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/node": "^26.1.1",
@@ -56,7 +56,7 @@
56
56
  "vitest": "5.1.0"
57
57
  },
58
58
  "scripts": {
59
- "build": "rm -rf dist/ && rolldown -c rolldown.config.ts && rolldown -c rolldown.dts.config.ts",
59
+ "build": "rm -rf dist/ && rolldown -c rolldown.config.ts",
60
60
  "dev": "rolldown -c rolldown.config.ts --watch",
61
61
  "typecheck": "tsc --noEmit",
62
62
  "test": "vitest run"
package/dist/index2.d.mts DELETED
@@ -1,13 +0,0 @@
1
- import "./rolldown-runtime-CPxUEhZH.js";
2
- interface CliDeps {
3
- /** Environment read for `JSORM_DEV_ENGINE` and the update check. Defaults to `process.env`. */
4
- env?: NodeJS.ProcessEnv;
5
- /** Replaced in tests to observe which engine would run. */
6
- execute?: (enginePath: string, args: string[]) => void;
7
- /** Directory of this module; defaults to the running file's directory. */
8
- moduleDir?: string;
9
- /** Engines directory; defaults to `~/.jsorm/engines`. */
10
- enginesDir?: string;
11
- }
12
- export declare function main(argv?: string[], deps?: CliDeps): Promise<void>;
13
- export {};