@vixt/react 0.12.1 → 0.12.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/client/client.d.ts +0 -1
- package/dist/client/entry.d.ts +1 -0
- package/dist/node/index.d.mts +0 -1
- package/dist/node/modules/components.mjs +2 -1
- package/dist/node/modules/preset-react.d.mts +0 -1
- package/dist/node/modules/route-block.d.mts +0 -1
- package/dist/node/node.d.mts +0 -1
- package/package.json +4 -4
package/dist/client/client.d.ts
CHANGED
package/dist/client/entry.d.ts
CHANGED
package/dist/node/index.d.mts
CHANGED
|
@@ -28,7 +28,8 @@ var components_default = defineVitePlugin((options) => {
|
|
|
28
28
|
});
|
|
29
29
|
const imports = {};
|
|
30
30
|
files.forEach((componentPath) => {
|
|
31
|
-
|
|
31
|
+
const componentName = pascalCase(getNameFromFilePath(componentPath, dirs));
|
|
32
|
+
imports[componentPath] = [["default", componentName]];
|
|
32
33
|
});
|
|
33
34
|
return AutoImport({
|
|
34
35
|
imports,
|
package/dist/node/node.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import { ExtractPluginOptions } from "@vixt/core";
|
|
|
2
2
|
import React from "@vitejs/plugin-react";
|
|
3
3
|
import Pages from "vite-plugin-pages";
|
|
4
4
|
import Layouts from "vite-plugin-vue-layouts";
|
|
5
|
-
|
|
6
5
|
//#region src/node/node.d.ts
|
|
7
6
|
interface ReactVixtOptions {
|
|
8
7
|
react?: ExtractPluginOptions<typeof React>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixt/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.12.
|
|
4
|
+
"version": "0.12.2",
|
|
5
5
|
"author": "SoulLyoko<https://github.com/SoulLyoko>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://soullyoko.github.io/vixt/",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"pathe": "^2.0.3",
|
|
39
39
|
"react": "^19.2.7",
|
|
40
40
|
"react-dom": "^19.2.7",
|
|
41
|
-
"react-router": "^8.
|
|
41
|
+
"react-router": "^8.2.0",
|
|
42
42
|
"unplugin-auto-import": "^21.0.0",
|
|
43
43
|
"unplugin-vue-components": "28.0.0",
|
|
44
|
-
"vite": "^8.1.
|
|
44
|
+
"vite": "^8.1.5",
|
|
45
45
|
"vite-plugin-pages": "^0.33.3",
|
|
46
46
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
47
47
|
"yaml": "^2.9.0",
|
|
48
|
-
"@vixt/core": "0.12.
|
|
48
|
+
"@vixt/core": "0.12.2"
|
|
49
49
|
}
|
|
50
50
|
}
|