@untestutils/vite 0.5.0 → 0.5.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.
@@ -0,0 +1,12 @@
1
+ import { type FrameworkBaseOptions, type Recipe } from "@untestutils/core";
2
+ export type ViteRun = "preview" | "dev";
3
+ export interface ViteOptions extends FrameworkBaseOptions {
4
+ run?: ViteRun;
5
+ }
6
+ /**
7
+ * Vite SPA Recipe factory.
8
+ * `run: 'preview'` (default) — `vite build` then `vite preview`
9
+ * `run: 'dev'` — `vite` with strictPort (never shared)
10
+ */
11
+ export declare function vite(opts: ViteOptions): Recipe;
12
+ export default vite;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type FrameworkBaseOptions } from '@untestutils/core';
1
+ import { type FrameworkBaseOptions, type Recipe } from '@untestutils/core';
2
2
  export type ViteRun = 'preview' | 'dev';
3
3
  export interface ViteOptions extends FrameworkBaseOptions {
4
4
  run?: ViteRun;
@@ -8,6 +8,6 @@ export interface ViteOptions extends FrameworkBaseOptions {
8
8
  * `run: 'preview'` (default) — `vite build` then `vite preview`
9
9
  * `run: 'dev'` — `vite` with strictPort (never shared)
10
10
  */
11
- export declare function vite(opts: ViteOptions): import("@untestutils/core").Recipe;
11
+ export declare function vite(opts: ViteOptions): Recipe;
12
12
  export default vite;
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,oBAAoB,EAC1B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,KAAK,CAAC;AAExC,MAAM,WAAW,WAAY,SAAQ,oBAAoB;IACvD,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAYD;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,WAAW,sCA4CrC;AAED,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,oBAAoB,EACzB,KAAK,MAAM,EACZ,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,KAAK,CAAC;AAExC,MAAM,WAAW,WAAY,SAAQ,oBAAoB;IACvD,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAYD;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,CA4C9C;AAED,eAAe,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,11 +1,20 @@
1
1
  {
2
2
  "name": "@untestutils/vite",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
+ "homepage": "https://s00d.github.io/untestutils/",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/s00d/untestutils.git",
9
+ "directory": "packages/vite"
10
+ },
4
11
  "files": [
5
12
  "dist"
6
13
  ],
7
14
  "type": "module",
8
15
  "sideEffects": false,
16
+ "main": "./dist/index.mjs",
17
+ "types": "./dist/index.d.ts",
9
18
  "exports": {
10
19
  ".": {
11
20
  "types": "./dist/index.d.ts",
@@ -14,15 +23,18 @@
14
23
  },
15
24
  "./package.json": "./package.json"
16
25
  },
26
+ "publishConfig": {
27
+ "access": "public"
28
+ },
17
29
  "dependencies": {
18
30
  "pathe": "^2.0.3",
19
- "@untestutils/core": "0.5.0"
31
+ "@untestutils/core": "0.5.2"
20
32
  },
21
33
  "devDependencies": {
22
34
  "@types/node": "^26.6.1",
35
+ "obuild": "^0.4.40",
23
36
  "publint": "^0.3.24",
24
- "typescript": "^6.0.3",
25
- "obuild": "^0.4.40"
37
+ "typescript": "^6.0.3"
26
38
  },
27
39
  "peerDependencies": {},
28
40
  "peerDependenciesMeta": {
@@ -33,18 +45,6 @@
33
45
  "engines": {
34
46
  "node": ">=20"
35
47
  },
36
- "license": "MIT",
37
- "homepage": "https://s00d.github.io/untestutils/",
38
- "repository": {
39
- "type": "git",
40
- "url": "git+https://github.com/s00d/untestutils.git",
41
- "directory": "packages/vite"
42
- },
43
- "main": "./dist/index.mjs",
44
- "types": "./dist/index.d.ts",
45
- "publishConfig": {
46
- "access": "public"
47
- },
48
48
  "scripts": {
49
49
  "build": "obuild && tsc -p tsconfig.build.json",
50
50
  "publint": "publint --strict"