@untestutils/solidstart 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.
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/package.json +16 -16
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type FrameworkBaseOptions, type Recipe } from "@untestutils/core";
|
|
2
|
+
export type SolidStartRun = "preview" | "server" | "dev";
|
|
3
|
+
export interface SolidStartOptions extends FrameworkBaseOptions {
|
|
4
|
+
run?: SolidStartRun;
|
|
5
|
+
/** Nitro-style output entry (default `.output/server/index.mjs`). */
|
|
6
|
+
serverEntry?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* SolidStart (Vinxi) Recipe factory.
|
|
10
|
+
* `run: 'preview'` (default) — `vinxi build` + `vinxi start` / preview
|
|
11
|
+
* `run: 'server'` — build + `node .output/server/index.mjs`
|
|
12
|
+
* `run: 'dev'` — `vinxi dev`
|
|
13
|
+
*/
|
|
14
|
+
export declare function solidstart(opts: SolidStartOptions): Recipe;
|
|
15
|
+
export default solidstart;
|
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 SolidStartRun = 'preview' | 'server' | 'dev';
|
|
3
3
|
export interface SolidStartOptions extends FrameworkBaseOptions {
|
|
4
4
|
run?: SolidStartRun;
|
|
@@ -11,6 +11,6 @@ export interface SolidStartOptions extends FrameworkBaseOptions {
|
|
|
11
11
|
* `run: 'server'` — build + `node .output/server/index.mjs`
|
|
12
12
|
* `run: 'dev'` — `vinxi dev`
|
|
13
13
|
*/
|
|
14
|
-
export declare function solidstart(opts: SolidStartOptions):
|
|
14
|
+
export declare function solidstart(opts: SolidStartOptions): Recipe;
|
|
15
15
|
export default solidstart;
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,oBAAoB,
|
|
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,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEzD,MAAM,WAAW,iBAAkB,SAAQ,oBAAoB;IAC7D,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,qEAAqE;IACrE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAYD;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,iBAAiB,GAAG,MAAM,CA8E1D;AAED,eAAe,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@untestutils/solidstart",
|
|
3
|
-
"version": "0.5.
|
|
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/solidstart"
|
|
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.
|
|
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
|
"@solidjs/start": "*",
|
|
@@ -42,18 +54,6 @@
|
|
|
42
54
|
"engines": {
|
|
43
55
|
"node": ">=20"
|
|
44
56
|
},
|
|
45
|
-
"license": "MIT",
|
|
46
|
-
"homepage": "https://s00d.github.io/untestutils/",
|
|
47
|
-
"repository": {
|
|
48
|
-
"type": "git",
|
|
49
|
-
"url": "git+https://github.com/s00d/untestutils.git",
|
|
50
|
-
"directory": "packages/solidstart"
|
|
51
|
-
},
|
|
52
|
-
"main": "./dist/index.mjs",
|
|
53
|
-
"types": "./dist/index.d.ts",
|
|
54
|
-
"publishConfig": {
|
|
55
|
-
"access": "public"
|
|
56
|
-
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "obuild && tsc -p tsconfig.build.json",
|
|
59
59
|
"publint": "publint --strict"
|