feat: 更新依赖项路径,添加npm配置文件以支持本地开发
This commit is contained in:
parent
e07ca5dbb6
commit
d6ef59ac94
@ -14,7 +14,7 @@
|
|||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cmvr/iot-common": "1.0.0",
|
"@cmvr/iot-common": "file:../cmvr-iot-common",
|
||||||
"@element-plus/icons-vue": "2.3.2",
|
"@element-plus/icons-vue": "2.3.2",
|
||||||
"@vue-flow/background": "^1.3.2",
|
"@vue-flow/background": "^1.3.2",
|
||||||
"@vue-flow/controls": "^1.1.3",
|
"@vue-flow/controls": "^1.1.3",
|
||||||
|
|||||||
13
pnpm-lock.yaml
generated
13
pnpm-lock.yaml
generated
@ -12,8 +12,8 @@ importers:
|
|||||||
.:
|
.:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@cmvr/iot-common':
|
'@cmvr/iot-common':
|
||||||
specifier: 1.0.0
|
specifier: file:../cmvr-iot-common
|
||||||
version: 1.0.0(@element-plus/icons-vue@2.3.2(vue@3.5.26))(core-js@3.49.0)(element-plus@2.13.1(vue@3.5.26))(pinia@3.0.4(vue@3.5.26))(vue-router@4.6.4(vue@3.5.26))(vue@3.5.26)
|
version: file:../cmvr-iot-common(@element-plus/icons-vue@2.3.2(vue@3.5.26))(core-js@3.49.0)(element-plus@2.13.1(vue@3.5.26))(pinia@3.0.4(vue@3.5.26))(vue-router@4.6.4(vue@3.5.26))(vue@3.5.26)
|
||||||
'@element-plus/icons-vue':
|
'@element-plus/icons-vue':
|
||||||
specifier: 2.3.2
|
specifier: 2.3.2
|
||||||
version: 2.3.2(vue@3.5.26)
|
version: 2.3.2(vue@3.5.26)
|
||||||
@ -185,8 +185,8 @@ packages:
|
|||||||
'@bufbuild/protobuf@2.13.0':
|
'@bufbuild/protobuf@2.13.0':
|
||||||
resolution: {integrity: sha512-acq7c49vxfm1ggJ95P70TX7ABDM0vxr1SYD3BB0o0jnBLB4OAqeHyKuN+cD3w80gXEDQ2zxHpR6CUeA+O/aU9g==}
|
resolution: {integrity: sha512-acq7c49vxfm1ggJ95P70TX7ABDM0vxr1SYD3BB0o0jnBLB4OAqeHyKuN+cD3w80gXEDQ2zxHpR6CUeA+O/aU9g==}
|
||||||
|
|
||||||
'@cmvr/iot-common@1.0.0':
|
'@cmvr/iot-common@file:../cmvr-iot-common':
|
||||||
resolution: {integrity: sha512-EIdZdRRgyhb4FfclQ6SoDT3NwIAY/7uI2re+zcwwcnc0a0ELKizTn4POFZt/O4mhr5Ikeg8J98cRB/cchV3E9g==}
|
resolution: {directory: ../cmvr-iot-common, type: directory}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@element-plus/icons-vue': ^2.3.2
|
'@element-plus/icons-vue': ^2.3.2
|
||||||
element-plus: ^2.13.1
|
element-plus: ^2.13.1
|
||||||
@ -1548,6 +1548,7 @@ packages:
|
|||||||
|
|
||||||
glob@10.4.5:
|
glob@10.4.5:
|
||||||
resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}
|
resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}
|
||||||
|
deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
globalthis@1.0.4:
|
globalthis@1.0.4:
|
||||||
@ -2978,7 +2979,7 @@ snapshots:
|
|||||||
|
|
||||||
'@bufbuild/protobuf@2.13.0': {}
|
'@bufbuild/protobuf@2.13.0': {}
|
||||||
|
|
||||||
'@cmvr/iot-common@1.0.0(@element-plus/icons-vue@2.3.2(vue@3.5.26))(core-js@3.49.0)(element-plus@2.13.1(vue@3.5.26))(pinia@3.0.4(vue@3.5.26))(vue-router@4.6.4(vue@3.5.26))(vue@3.5.26)':
|
'@cmvr/iot-common@file:../cmvr-iot-common(@element-plus/icons-vue@2.3.2(vue@3.5.26))(core-js@3.49.0)(element-plus@2.13.1(vue@3.5.26))(pinia@3.0.4(vue@3.5.26))(vue-router@4.6.4(vue@3.5.26))(vue@3.5.26)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@element-plus/icons-vue': 2.3.2(vue@3.5.26)
|
'@element-plus/icons-vue': 2.3.2(vue@3.5.26)
|
||||||
'@vue-flow/background': 1.3.2(@vue-flow/core@1.48.2(vue@3.5.26))(vue@3.5.26)
|
'@vue-flow/background': 1.3.2(@vue-flow/core@1.48.2(vue@3.5.26))(vue@3.5.26)
|
||||||
@ -3006,6 +3007,8 @@ snapshots:
|
|||||||
pinia: 3.0.4(vue@3.5.26)
|
pinia: 3.0.4(vue@3.5.26)
|
||||||
sortablejs: 1.15.7
|
sortablejs: 1.15.7
|
||||||
splitpanes: 3.1.5
|
splitpanes: 3.1.5
|
||||||
|
three: 0.181.2
|
||||||
|
urdf-loader: 0.12.7(three@0.181.2)
|
||||||
uuid: 11.1.1
|
uuid: 11.1.1
|
||||||
vue: 3.5.26
|
vue: 3.5.26
|
||||||
vue-cropper: 1.1.1
|
vue-cropper: 1.1.1
|
||||||
|
|||||||
@ -39,7 +39,8 @@ export default defineConfig(({ mode, command }) => {
|
|||||||
// 设置路径
|
// 设置路径
|
||||||
'~': path.resolve(__dirname, './'),
|
'~': path.resolve(__dirname, './'),
|
||||||
// 设置别名
|
// 设置别名
|
||||||
'@': path.resolve(__dirname, './src')
|
'@': path.resolve(__dirname, './src'),
|
||||||
|
'@cmvr/iot-common': path.resolve(__dirname, '../cmvr-iot-common/dist')
|
||||||
},
|
},
|
||||||
dedupe: ['vue', 'vue-router', 'pinia', 'element-plus', '@element-plus/icons-vue'],
|
dedupe: ['vue', 'vue-router', 'pinia', 'element-plus', '@element-plus/icons-vue'],
|
||||||
// https://cn.vitejs.dev/config/#resolve-extensions
|
// https://cn.vitejs.dev/config/#resolve-extensions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user