@untestutils/remix 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,14 @@
1
+ import { type FrameworkBaseOptions, type Recipe } from "@untestutils/core";
2
+ export type RemixRun = "server" | "dev";
3
+ export interface RemixOptions extends FrameworkBaseOptions {
4
+ run?: RemixRun;
5
+ /** Server build entry relative to root (default `build/server/index.js`). */
6
+ serverEntry?: string;
7
+ }
8
+ /**
9
+ * Remix (Vite) Recipe factory.
10
+ * `run: 'server'` (default) — vite/remix build + remix-serve
11
+ * `run: 'dev'` — remix vite:dev / vite
12
+ */
13
+ export declare function remix(opts: RemixOptions): Recipe;
14
+ export default remix;
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 RemixRun = 'server' | 'dev';
3
3
  export interface RemixOptions extends FrameworkBaseOptions {
4
4
  run?: RemixRun;
@@ -10,6 +10,6 @@ export interface RemixOptions extends FrameworkBaseOptions {
10
10
  * `run: 'server'` (default) — vite/remix build + remix-serve
11
11
  * `run: 'dev'` — remix vite:dev / vite
12
12
  */
13
- export declare function remix(opts: RemixOptions): import("@untestutils/core").Recipe;
13
+ export declare function remix(opts: RemixOptions): Recipe;
14
14
  export default remix;
15
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,oBAAoB,EAC1B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,KAAK,CAAC;AAExC,MAAM,WAAW,YAAa,SAAQ,oBAAoB;IACxD,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAgCD;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,YAAY,sCAiFvC;AAED,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,oBAAoB,EACzB,KAAK,MAAM,EACZ,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,KAAK,CAAC;AAExC,MAAM,WAAW,YAAa,SAAQ,oBAAoB;IACxD,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAgCD;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM,CAiFhD;AAED,eAAe,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,11 +1,20 @@
1
1
  {
2
2
  "name": "@untestutils/remix",
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/remix"
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
  "@remix-run/dev": "*",
@@ -46,18 +58,6 @@
46
58
  "engines": {
47
59
  "node": ">=20"
48
60
  },
49
- "license": "MIT",
50
- "homepage": "https://s00d.github.io/untestutils/",
51
- "repository": {
52
- "type": "git",
53
- "url": "git+https://github.com/s00d/untestutils.git",
54
- "directory": "packages/remix"
55
- },
56
- "main": "./dist/index.mjs",
57
- "types": "./dist/index.d.ts",
58
- "publishConfig": {
59
- "access": "public"
60
- },
61
61
  "scripts": {
62
62
  "build": "obuild && tsc -p tsconfig.build.json",
63
63
  "publint": "publint --strict"