@toapi/vite-plugin 2.0.1 → 2.0.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/README.md +4 -2
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# @toapi/vite-plugin
|
|
2
2
|
|
|
3
|
-
Vite plugin for [Toapi](https://github.com/
|
|
3
|
+
Vite plugin for [Toapi](https://github.com/toapi-js/toapi). Bundles your Toapi
|
|
4
4
|
API alongside your Vite frontend in a single project: serves the API as
|
|
5
5
|
middleware in dev and preview mode, and produces a deployable server bundle
|
|
6
6
|
for production.
|
|
7
7
|
|
|
8
|
+
📚 [Docs](https://toapi-js.github.io/toapi/vite-plugin/)
|
|
9
|
+
|
|
8
10
|
## Installation
|
|
9
11
|
|
|
10
12
|
```bash
|
|
@@ -206,4 +208,4 @@ handles the request.
|
|
|
206
208
|
> and there is no `304` revalidation. For a client-routed SPA in production,
|
|
207
209
|
> front it with a static server or CDN that handles the history fallback and
|
|
208
210
|
> caching. See the reference `Caddyfile` in
|
|
209
|
-
> [`examples/vite-plugin-tapi-demo`](https://github.com/
|
|
211
|
+
> [`examples/vite-plugin-tapi-demo`](https://github.com/toapi-js/toapi/tree/main/examples/vite-plugin-tapi-demo).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toapi/vite-plugin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Michel Smola",
|
|
6
6
|
"email": "michel.smola@farbenmeer.de"
|
|
@@ -20,21 +20,21 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"srvx": "^0.
|
|
23
|
+
"srvx": "^1.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
26
|
+
"@toapi/server": "^1.3.0",
|
|
27
|
+
"typescript": "^5 || ^6.0.0 || ^7.0.0",
|
|
28
|
+
"vite": "^8.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
+
"@toapi/server": "^1.3.0",
|
|
31
32
|
"@types/node": "^25.0.3",
|
|
32
|
-
"vite": "^8.0.9"
|
|
33
|
-
"@toapi/server": "^1.2.0"
|
|
33
|
+
"vite": "^8.0.9"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
37
|
-
"url": "git+https://github.com/
|
|
37
|
+
"url": "git+https://github.com/toapi-js/toapi.git"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "tsc --noEmit false",
|