uniweb 0.2.8 → 0.2.9
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/package.json +3 -3
- package/src/index.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uniweb",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "Create structured Vite + React sites with content/code separation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"url": "https://github.com/uniweb/cli/issues"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": ">=
|
|
31
|
+
"node": ">=20.19"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@uniweb/build": "^0.1.0",
|
|
35
35
|
"prompts": "^2.4.2",
|
|
36
36
|
"tar": "^7.0.0",
|
|
37
|
-
"@uniweb/templates": "0.1.
|
|
37
|
+
"@uniweb/templates": "0.1.5"
|
|
38
38
|
}
|
|
39
39
|
}
|
package/src/index.js
CHANGED
|
@@ -601,7 +601,7 @@ async function createSite(projectDir, projectName, isWorkspace = false) {
|
|
|
601
601
|
...(isWorkspace ? {} : { 'foundation-example': '^0.1.0' }),
|
|
602
602
|
},
|
|
603
603
|
devDependencies: {
|
|
604
|
-
'@vitejs/plugin-react': '^
|
|
604
|
+
'@vitejs/plugin-react': '^5.0.0',
|
|
605
605
|
autoprefixer: '^10.4.18',
|
|
606
606
|
'js-yaml': '^4.1.0',
|
|
607
607
|
postcss: '^8.4.35',
|
|
@@ -609,7 +609,7 @@ async function createSite(projectDir, projectName, isWorkspace = false) {
|
|
|
609
609
|
'react-dom': '^18.2.0',
|
|
610
610
|
'react-router-dom': '^6.22.0',
|
|
611
611
|
tailwindcss: '^3.4.1',
|
|
612
|
-
vite: '^
|
|
612
|
+
vite: '^7.0.0',
|
|
613
613
|
'vite-plugin-svgr': '^4.2.0',
|
|
614
614
|
},
|
|
615
615
|
})
|
|
@@ -893,14 +893,14 @@ async function createFoundation(projectDir, projectName, isWorkspace = false) {
|
|
|
893
893
|
'react-dom': '^18.0.0',
|
|
894
894
|
},
|
|
895
895
|
devDependencies: {
|
|
896
|
-
'@vitejs/plugin-react': '^
|
|
896
|
+
'@vitejs/plugin-react': '^5.0.0',
|
|
897
897
|
autoprefixer: '^10.4.18',
|
|
898
898
|
postcss: '^8.4.35',
|
|
899
899
|
react: '^18.2.0',
|
|
900
900
|
'react-dom': '^18.2.0',
|
|
901
901
|
tailwindcss: '^3.4.1',
|
|
902
902
|
uniweb: '^0.2.0',
|
|
903
|
-
vite: '^
|
|
903
|
+
vite: '^7.0.0',
|
|
904
904
|
'vite-plugin-svgr': '^4.2.0',
|
|
905
905
|
},
|
|
906
906
|
})
|