@andrew_l/app 0.3.8 → 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/vrun.d.mts CHANGED
@@ -1,2 +1 @@
1
-
2
- export { }
1
+ export { };
package/dist/vrun.mjs CHANGED
@@ -1,11 +1,10 @@
1
- import { noop } from '@andrew_l/toolkit';
2
-
1
+ import { noop } from "@andrew_l/toolkit";
3
2
  const timer = setTimeout(noop, 1 << 30);
4
- import('./index.mjs').then(
5
- (r) => r.cli.runApp({
6
- cliName: "vrun",
7
- cliDescription: "Launch any application.",
8
- argv: process.argv.slice(2)
9
- })
10
- ).finally(() => clearInterval(timer));
11
- //# sourceMappingURL=vrun.mjs.map
3
+ import("./index.mjs").then((r) => r.cli.runApp({
4
+ cliName: "vrun",
5
+ cliDescription: "Launch any application.",
6
+ argv: process.argv.slice(2)
7
+ })).finally(() => clearInterval(timer));
8
+ export {};
9
+
10
+ //# sourceMappingURL=vrun.mjs.map
package/dist/vrun.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"vrun.mjs","sources":["../src/vrun.ts"],"sourcesContent":["import { noop } from '@andrew_l/toolkit';\n\nconst timer = setTimeout(noop, 1 << 30);\n\nimport('./index.js')\n .then(r =>\n r.cli.runApp({\n cliName: 'vrun',\n cliDescription: 'Launch any application.',\n argv: process.argv.slice(2),\n }),\n )\n .finally(() => clearInterval(timer));\n"],"names":[],"mappings":";;AAEA,MAAM,KAAA,GAAQ,UAAA,CAAW,IAAA,EAAM,CAAA,IAAK,EAAE,CAAA;AAEtC,OAAO,aAAY,CAAA,CAChB,IAAA;AAAA,EAAK,CAAA,CAAA,KACJ,CAAA,CAAE,GAAA,CAAI,MAAA,CAAO;AAAA,IACX,OAAA,EAAS,MAAA;AAAA,IACT,cAAA,EAAgB,yBAAA;AAAA,IAChB,IAAA,EAAM,OAAA,CAAQ,IAAA,CAAK,KAAA,CAAM,CAAC;AAAA,GAC3B;AACH,CAAA,CACC,OAAA,CAAQ,MAAM,aAAA,CAAc,KAAK,CAAC,CAAA"}
1
+ {"version":3,"file":"vrun.mjs","names":[],"sources":["../src/vrun.ts"],"sourcesContent":["import { noop } from '@andrew_l/toolkit';\n\nconst timer = setTimeout(noop, 1 << 30);\n\nimport('./index.js')\n .then(r =>\n r.cli.runApp({\n cliName: 'vrun',\n cliDescription: 'Launch any application.',\n argv: process.argv.slice(2),\n }),\n )\n .finally(() => clearInterval(timer));\n"],"mappings":";AAEA,MAAM,QAAQ,WAAW,MAAM,KAAK,EAAE;AAEtC,OAAO,cAAa,CACjB,MAAK,MACJ,EAAE,IAAI,OAAO;CACX,SAAS;CACT,gBAAgB;CAChB,MAAM,QAAQ,KAAK,MAAM,CAAC;AAC5B,CAAC,CACH,CAAC,CACA,cAAc,cAAc,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andrew_l/app",
3
- "version": "0.3.8",
3
+ "version": "0.4.1",
4
4
  "description": "Application runner.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,19 +19,20 @@
19
19
  "exports": {
20
20
  ".": {
21
21
  "import": "./dist/index.mjs",
22
- "require": "./dist/index.cjs"
22
+ "require": "./dist/index.mjs",
23
+ "types": "./dist/index.d.mts"
23
24
  }
24
25
  },
25
- "main": "./dist/index.cjs",
26
- "types": "./dist/index.d.ts",
26
+ "main": "./dist/index.mjs",
27
+ "types": "./dist/index.d.mts",
27
28
  "files": [
28
29
  "dist"
29
30
  ],
30
31
  "devDependencies": {
31
32
  "@types/node": "22.10.5",
32
33
  "@types/react": "^19.0.0",
33
- "typescript": "~5.8.3",
34
- "unbuild": "3.5.0",
34
+ "obuild": "^0.4.37",
35
+ "typescript": "6.0.3",
35
36
  "vitest": "^3.2.4"
36
37
  },
37
38
  "dependencies": {
@@ -40,15 +41,15 @@
40
41
  "dotenv": "^17.4.2",
41
42
  "ink": "^7.0.6",
42
43
  "react": "^19.2.7",
43
- "@andrew_l/graceful": "0.3.8",
44
- "@andrew_l/toolkit": "0.3.8"
44
+ "@andrew_l/toolkit": "0.4.1",
45
+ "@andrew_l/graceful": "0.4.1"
45
46
  },
46
47
  "peerDependencies": {
47
48
  "tsx": "^4.22.4"
48
49
  },
49
50
  "scripts": {
50
51
  "check-types": "tsc --noEmit",
51
- "build": "unbuild",
52
+ "build": "obuild",
52
53
  "test": "vitest run --typecheck",
53
54
  "test:watch": "vitest watch --typecheck"
54
55
  }