vike-solid 0.1.2 → 0.1.4
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/README.md +4 -11
- package/dist/{build-53e5ed9a.js → build-15504eb6.js} +1 -1
- package/dist/{dev-9d41296a.js → dev-66f2fdf4.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{preview-fc3ed656.js → preview-43d6feda.js} +1 -1
- package/dist/vite-plugin-vike-solid.d.ts +1 -1
- package/dist/vite-plugin-vike-solid.js +1 -3
- package/dist/{vite.config-df5876e8.js → vite.config-0442c29d.js} +1 -3
- package/package.json +15 -14
package/README.md
CHANGED
|
@@ -3,16 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
# `vike-solid`
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
SolidJS integration for [Vike](https://github.com/brillout/vite-plugin-ssr/issues/736).
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
> [!NOTE]
|
|
9
|
+
> For integrations with React and Vue, see the other [`vike-*` packages](https://vite-plugin-ssr.com/vike-packages).
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
> [`vike-*` packages](https://vite-plugin-ssr.com/vike-packages).
|
|
12
|
-
|
|
13
|
-
To run the example:
|
|
14
|
-
|
|
15
|
-
- Clone the repo: `git clone git@github.com:magne4000/vike-solid`
|
|
16
|
-
- Install dependencies: `pnpm install`
|
|
17
|
-
- Build vike-solid: `pnpm run build`
|
|
18
|
-
- Run the example: `cd examples/basic/ && pnpm run dev`
|
|
11
|
+
See [examples/](https://github.com/magne4000/vike-solid/tree/main/examples).
|
package/dist/index.js
CHANGED
|
@@ -3,13 +3,13 @@ const cmd = parseCliArgs();
|
|
|
3
3
|
cli();
|
|
4
4
|
async function cli() {
|
|
5
5
|
if (cmd === "dev") {
|
|
6
|
-
await import('./dev-
|
|
6
|
+
await import('./dev-66f2fdf4.js');
|
|
7
7
|
}
|
|
8
8
|
if (cmd === "build") {
|
|
9
|
-
await import('./build-
|
|
9
|
+
await import('./build-15504eb6.js');
|
|
10
10
|
}
|
|
11
11
|
if (cmd === "preview") {
|
|
12
|
-
await import('./preview-
|
|
12
|
+
await import('./preview-43d6feda.js');
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
function parseCliArgs() {
|
|
@@ -21,9 +21,7 @@ function vitePluginVikeSolid (options = {}) {
|
|
|
21
21
|
solid: {
|
|
22
22
|
hydratable: true
|
|
23
23
|
}
|
|
24
|
-
}, options.solid ?? {})), ssr(
|
|
25
|
-
disableAutoFullBuild: true
|
|
26
|
-
}, options.vps ?? {})), overrideConfig()];
|
|
24
|
+
}, options.solid ?? {})), ssr(options.vps ?? {}), overrideConfig()];
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
export { vitePluginVikeSolid as default };
|
|
@@ -21,9 +21,7 @@ function vpvs (options = {}) {
|
|
|
21
21
|
solid: {
|
|
22
22
|
hydratable: true
|
|
23
23
|
}
|
|
24
|
-
}, options.solid ?? {})), ssr(
|
|
25
|
-
disableAutoFullBuild: true
|
|
26
|
-
}, options.vps ?? {})), overrideConfig()];
|
|
24
|
+
}, options.solid ?? {})), ssr(options.vps ?? {}), overrideConfig()];
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
const root = process.cwd();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vike-solid",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/+config.js",
|
|
@@ -10,27 +10,28 @@
|
|
|
10
10
|
"./renderer/onRenderClient": "./dist/+onRenderClient.js"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"vite": "^4.4.9",
|
|
14
13
|
"vite-plugin-solid": "^2.7.0"
|
|
15
14
|
},
|
|
16
15
|
"peerDependencies": {
|
|
17
|
-
"solid-js": "^1.7.
|
|
16
|
+
"solid-js": "^1.7.12",
|
|
17
|
+
"vite": "^4.4.9",
|
|
18
18
|
"vite-plugin-ssr": "^0.4.141"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@babel/core": "^7.22.
|
|
22
|
-
"@babel/preset-env": "^7.22.
|
|
23
|
-
"@babel/preset-typescript": "^7.22.
|
|
21
|
+
"@babel/core": "^7.22.20",
|
|
22
|
+
"@babel/preset-env": "^7.22.20",
|
|
23
|
+
"@babel/preset-typescript": "^7.22.15",
|
|
24
24
|
"@rollup/plugin-babel": "^6.0.3",
|
|
25
|
-
"@rollup/plugin-node-resolve": "^15.1
|
|
25
|
+
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
26
26
|
"@types/node": "^18.17.4",
|
|
27
|
-
"babel-preset-solid": "^1.7.
|
|
28
|
-
"bumpp": "^9.
|
|
29
|
-
"rollup": "^3.
|
|
30
|
-
"rollup-plugin-dts": "^
|
|
31
|
-
"solid-js": "^1.7.
|
|
32
|
-
"tslib": "^2.6.
|
|
33
|
-
"typescript": "^5.
|
|
27
|
+
"babel-preset-solid": "^1.7.12",
|
|
28
|
+
"bumpp": "^9.2.0",
|
|
29
|
+
"rollup": "^3.29.2",
|
|
30
|
+
"rollup-plugin-dts": "^6.0.2",
|
|
31
|
+
"solid-js": "^1.7.12",
|
|
32
|
+
"tslib": "^2.6.2",
|
|
33
|
+
"typescript": "^5.2.2",
|
|
34
|
+
"vite": "^4.4.9",
|
|
34
35
|
"vite-plugin-ssr": "^0.4.141"
|
|
35
36
|
},
|
|
36
37
|
"typesVersions": {
|