@adonisjs/vite 5.1.0-next.1 → 5.1.0-next.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.
|
@@ -86,8 +86,9 @@ var ViteProvider = class {
|
|
|
86
86
|
const isWebOrTestEnvironment = appEnvironment === "web" || appEnvironment === "test";
|
|
87
87
|
const vite = new Vite(this.app.config.get("vite"));
|
|
88
88
|
this.#shouldRunViteDevServer = !vite.hasManifestFile && isWebOrTestEnvironment;
|
|
89
|
-
this.app.container.singleton(
|
|
89
|
+
this.app.container.singleton(Vite, () => vite);
|
|
90
90
|
this.app.container.singleton(ViteMiddleware, () => new ViteMiddleware(vite));
|
|
91
|
+
this.app.container.alias("vite", Vite);
|
|
91
92
|
}
|
|
92
93
|
/**
|
|
93
94
|
* Boots the Vite provider by registering plugins and integrations
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/vite",
|
|
3
3
|
"description": "Vite plugin for AdonisJS",
|
|
4
|
-
"version": "5.1.0-next.
|
|
4
|
+
"version": "5.1.0-next.2",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.0.0"
|
|
7
7
|
},
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@japa/runner": "4.4.0",
|
|
57
57
|
"@japa/snapshot": "^2.0.9",
|
|
58
58
|
"@poppinss/ts-exec": "^1.4.1",
|
|
59
|
-
"@release-it/conventional-changelog": "^10.0.
|
|
60
|
-
"@types/node": "^24.10.
|
|
59
|
+
"@release-it/conventional-changelog": "^10.0.2",
|
|
60
|
+
"@types/node": "^24.10.1",
|
|
61
61
|
"@types/supertest": "^6.0.3",
|
|
62
62
|
"c8": "^10.1.3",
|
|
63
63
|
"copyfiles": "^2.4.1",
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
"del-cli": "^7.0.0",
|
|
66
66
|
"edge.js": "^6.3.0",
|
|
67
67
|
"eslint": "^9.39.1",
|
|
68
|
-
"prettier": "^3.
|
|
69
|
-
"release-it": "^19.0.
|
|
68
|
+
"prettier": "^3.7.0",
|
|
69
|
+
"release-it": "^19.0.6",
|
|
70
70
|
"supertest": "^7.1.4",
|
|
71
|
-
"tsup": "^8.5.
|
|
71
|
+
"tsup": "^8.5.1",
|
|
72
72
|
"typedoc": "^0.28.14",
|
|
73
73
|
"typescript": "~5.9.3",
|
|
74
|
-
"vite": "^7.
|
|
74
|
+
"vite": "^7.2.4"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@poppinss/utils": "^7.0.0-next.3",
|