@jctrans-materials/nuxt 1.0.40-beta.0 → 1.0.40-beta.1
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 +10 -0
- package/dist/module.json +1 -1
- package/package.json +9 -10
package/README.md
CHANGED
|
@@ -8,6 +8,16 @@ Nuxt 3 模块,自动注册 `@jctrans-materials/comps-vue3` 组件,并内置
|
|
|
8
8
|
pnpm add @jctrans-materials/nuxt @jctrans-materials/comps-vue3 @jctrans-materials/shared gio-webjs-sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
## 版本兼容要求
|
|
12
|
+
|
|
13
|
+
- 宿主项目需自行安装并锁定 Nuxt 与 Vue 版本。
|
|
14
|
+
- 推荐使用 `pnpm install --frozen-lockfile`,避免 CI 环境重解依赖导致构建漂移。
|
|
15
|
+
- 当前模块要求:
|
|
16
|
+
- `nuxt >=3.12.1 <4`
|
|
17
|
+
- `vue >=3.5.18 <4`
|
|
18
|
+
|
|
19
|
+
说明:`@jctrans-materials/nuxt` 不再在依赖中强行拉起独立 Nuxt/Vue 版本,避免在接入方项目中出现双份框架版本导致的构建失败。
|
|
20
|
+
|
|
11
21
|
## Nuxt 配置
|
|
12
22
|
|
|
13
23
|
```ts
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jctrans-materials/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.40-beta.
|
|
4
|
+
"version": "1.0.40-beta.1",
|
|
5
5
|
"description": "Nuxt module for JCtrans UI components",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -17,22 +17,21 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@nuxt/kit": "
|
|
20
|
+
"@nuxt/kit": "3.20.2",
|
|
21
21
|
"defu": "6.1.2",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"vue-router": "^4.6.4",
|
|
25
|
-
"@jctrans-materials/comps-vue3": "1.0.40-beta.0",
|
|
26
|
-
"@jctrans-materials/shared": "1.0.40-beta.0"
|
|
22
|
+
"@jctrans-materials/shared": "1.0.40-beta.1",
|
|
23
|
+
"@jctrans-materials/comps-vue3": "1.0.40-beta.1"
|
|
27
24
|
},
|
|
28
25
|
"peerDependencies": {
|
|
29
26
|
"gio-webjs-sdk": "^4.0.0",
|
|
30
|
-
"nuxt": "
|
|
31
|
-
"
|
|
32
|
-
"@jctrans-materials/comps-vue3": "1.0.40-beta.
|
|
27
|
+
"nuxt": ">=3.12.1 <4",
|
|
28
|
+
"vue": ">=3.5.18 <4",
|
|
29
|
+
"@jctrans-materials/comps-vue3": "1.0.40-beta.1",
|
|
30
|
+
"@jctrans-materials/shared": "1.0.40-beta.1"
|
|
33
31
|
},
|
|
34
32
|
"devDependencies": {
|
|
35
33
|
"@nuxt/module-builder": "latest",
|
|
34
|
+
"nuxt": "3.20.2",
|
|
36
35
|
"unbuild": "^3.6.1"
|
|
37
36
|
},
|
|
38
37
|
"scripts": {
|