Skip to content

Commit 94076ef

Browse files
committed
chore: update @vc-shell dependencies to version 2.0.0-alpha.11 and refactor import in vite config
1 parent 38cb731 commit 94076ef

File tree

3 files changed

+47
-27
lines changed

3 files changed

+47
-27
lines changed

src/VirtoCommerce.ImportModule.Web/App/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"@types/node": "^20.10.5",
3434
"@typescript-eslint/eslint-plugin": "^7.4.0",
3535
"@typescript-eslint/parser": "^7.4.0",
36-
"@vc-shell/api-client-generator": "2.0.0-alpha.9",
37-
"@vc-shell/ts-config": "^2.0.0-alpha.6",
36+
"@vc-shell/api-client-generator": "^2.0.0-alpha.11",
37+
"@vc-shell/ts-config": "^2.0.0-alpha.11",
3838
"@vitejs/plugin-vue": "^5.2.3",
3939
"@vue/eslint-config-prettier": "^9.0.0",
4040
"@vue/eslint-config-typescript": "^13.0.0",
@@ -68,8 +68,9 @@
6868
"@module-federation/dts-plugin": "2.0.1"
6969
},
7070
"dependencies": {
71-
"@vc-shell/config-generator": "2.0.0-alpha.9",
72-
"@vc-shell/framework": "2.0.0-alpha.9",
71+
"@vc-shell/config-generator": "^2.0.0-alpha.11",
72+
"@vc-shell/framework": "^2.0.0-alpha.11",
73+
"@vc-shell/mf-module": "^2.0.0-alpha.11",
7374
"@virtocommerce/import-app": "^1.1.3",
7475
"@vueuse/core": "^10.7.1",
7576
"@vueuse/integrations": "^10.7.1",

src/VirtoCommerce.ImportModule.Web/App/src/modules/vite.config.with-api.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { resolve, dirname } from "node:path";
22
import { fileURLToPath } from "node:url";
3-
import { getDynamicModuleConfiguration } from "@vc-shell/config-generator";
3+
import { getDynamicModuleConfiguration } from "@vc-shell/mf-module";
44

55
const __dirname = dirname(fileURLToPath(import.meta.url));
66

src/VirtoCommerce.ImportModule.Web/App/yarn.lock

Lines changed: 41 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3482,9 +3482,9 @@ __metadata:
34823482
languageName: node
34833483
linkType: hard
34843484

3485-
"@vc-shell/api-client-generator@npm:2.0.0-alpha.9":
3486-
version: 2.0.0-alpha.9
3487-
resolution: "@vc-shell/api-client-generator@npm:2.0.0-alpha.9"
3485+
"@vc-shell/api-client-generator@npm:^2.0.0-alpha.11":
3486+
version: 2.0.0-alpha.11
3487+
resolution: "@vc-shell/api-client-generator@npm:2.0.0-alpha.11"
34883488
dependencies:
34893489
chalk: "npm:^2.4.2"
34903490
cross-spawn: "npm:^7.0.3"
@@ -3494,30 +3494,27 @@ __metadata:
34943494
vite-plugin-dts: "npm:^3.6.4"
34953495
bin:
34963496
api-client-generator: ./dist/api-client-generator.js
3497-
checksum: 10/6f69d56ef456d727bf34b02556ef711bf4aeab9599817925b7103cfabf1154916216b70d5ed533d901e0673d697b6fc49417a39e3921f5358706522c75e07fe1
3497+
checksum: 10/6eb4a025081b7606758785ce0f90e8c86484e56c6663b47f01e4613d80a501cab0f205f2b6521dd8af442e855ef7b8be27735c8c8a6c82cb08c0193af5031f6b
34983498
languageName: node
34993499
linkType: hard
35003500

3501-
"@vc-shell/config-generator@npm:2.0.0-alpha.9":
3502-
version: 2.0.0-alpha.9
3503-
resolution: "@vc-shell/config-generator@npm:2.0.0-alpha.9"
3501+
"@vc-shell/config-generator@npm:^2.0.0-alpha.11":
3502+
version: 2.0.0-alpha.11
3503+
resolution: "@vc-shell/config-generator@npm:2.0.0-alpha.11"
35043504
dependencies:
3505-
"@module-federation/dts-plugin": "npm:2.0.1"
3506-
"@module-federation/vite": "npm:^1.12.2"
3507-
"@vc-shell/mf-config": "npm:2.0.0-alpha.9"
35083505
"@vitejs/plugin-vue": "npm:^5.2.3"
35093506
vite: "npm:^6.3.3"
35103507
vite-plugin-checker: "npm:^0.9.1"
35113508
vite-plugin-circular-dependency: "npm:^0.5.0"
35123509
vite-plugin-mkcert: "npm:^1.17.1"
35133510
vue: "npm:^3.5.30"
3514-
checksum: 10/94d621de15e5aa427be47fa2920b5ca95635bdf0c123e804e863ba10e3337f8776e2b7c762a26fbebb558e218f71f065825494612f3b32a8054feaf8bd15d169
3511+
checksum: 10/4abf67e2d4864af01ea67da44328fecff992e9fcfb883148349184e1bb3a445a5450bd5107f7756963b828c2a932d7025c89a7c868761284541033b551a34411
35153512
languageName: node
35163513
linkType: hard
35173514

3518-
"@vc-shell/framework@npm:2.0.0-alpha.9":
3519-
version: 2.0.0-alpha.9
3520-
resolution: "@vc-shell/framework@npm:2.0.0-alpha.9"
3515+
"@vc-shell/framework@npm:^2.0.0-alpha.11":
3516+
version: 2.0.0-alpha.11
3517+
resolution: "@vc-shell/framework@npm:2.0.0-alpha.11"
35213518
dependencies:
35223519
"@floating-ui/dom": "npm:^1.7.4"
35233520
"@floating-ui/vue": "npm:^1.0.6"
@@ -3577,14 +3574,34 @@ __metadata:
35773574
optional: false
35783575
vue-router:
35793576
optional: false
3580-
checksum: 10/f1a3ab0d595cb489d94be3ddc0a69421c412f2e5b02d422322d33e16928c63890c3ee1143ec42a42437cc099b1f80f3c4b2fb0a0d557421448823ec92118de53
3577+
checksum: 10/f6b16009bdd355c4dd4940cef920876ff954d93fcc73278cdbf7750b36089d734d849e3523940461d5cbcbe9137bdc58dc0a296e639a7e6f65482abe1c5205ed
3578+
languageName: node
3579+
linkType: hard
3580+
3581+
"@vc-shell/mf-config@npm:2.0.0-alpha.11":
3582+
version: 2.0.0-alpha.11
3583+
resolution: "@vc-shell/mf-config@npm:2.0.0-alpha.11"
3584+
checksum: 10/8702a43d5957f43224679ec72ec8f4a553d47946bbceecf6f6c9d2a7d71c789ae44e5bc1914fa4fe0fc9046bf66bedbfa6d6318405f03b1d255dbeb6371e3223
3585+
languageName: node
3586+
linkType: hard
3587+
3588+
"@vc-shell/mf-module@npm:^2.0.0-alpha.11":
3589+
version: 2.0.0-alpha.11
3590+
resolution: "@vc-shell/mf-module@npm:2.0.0-alpha.11"
3591+
dependencies:
3592+
"@module-federation/vite": "npm:^1.12.2"
3593+
"@vc-shell/mf-config": "npm:2.0.0-alpha.11"
3594+
peerDependencies:
3595+
"@vitejs/plugin-vue": ^5.0.0
3596+
vite: ^5.0.0 || ^6.0.0
3597+
checksum: 10/3d9859a667b84d70c566f4ffbc9e3b412b102baaf3293508d6a196324ebe99691bce00989a8ed7d14d1abb5cfbf395a732d5099b56176201c4f6e6b683754524
35813598
languageName: node
35823599
linkType: hard
35833600

3584-
"@vc-shell/mf-config@npm:2.0.0-alpha.9":
3585-
version: 2.0.0-alpha.9
3586-
resolution: "@vc-shell/mf-config@npm:2.0.0-alpha.9"
3587-
checksum: 10/6fbb895dbbebb0fdce264e47fe6eb04f59c053a33d5a16f67e541bf71db1092083882aba4bc1080600ddd8cfec92ad10308f07f7da3635fe36d77c064b810b76
3601+
"@vc-shell/ts-config@npm:^2.0.0-alpha.11":
3602+
version: 2.0.0-alpha.11
3603+
resolution: "@vc-shell/ts-config@npm:2.0.0-alpha.11"
3604+
checksum: 10/c99f34e64b58eadef094be45feaa06f727c74c61237ae3764111592e53a48c55b9327d66a12b28b33d00a4777d398cf0ef05c4a52b22ed853dde2c623317197c
35883605
languageName: node
35893606
linkType: hard
35903607

@@ -7725,9 +7742,11 @@ __metadata:
77257742
"@types/node": "npm:^20.10.5"
77267743
"@typescript-eslint/eslint-plugin": "npm:^7.4.0"
77277744
"@typescript-eslint/parser": "npm:^7.4.0"
7728-
"@vc-shell/api-client-generator": "npm:2.0.0-alpha.9"
7729-
"@vc-shell/config-generator": "npm:2.0.0-alpha.9"
7730-
"@vc-shell/framework": "npm:2.0.0-alpha.9"
7745+
"@vc-shell/api-client-generator": "npm:^2.0.0-alpha.11"
7746+
"@vc-shell/config-generator": "npm:^2.0.0-alpha.11"
7747+
"@vc-shell/framework": "npm:^2.0.0-alpha.11"
7748+
"@vc-shell/mf-module": "npm:^2.0.0-alpha.11"
7749+
"@vc-shell/ts-config": "npm:^2.0.0-alpha.11"
77317750
"@virtocommerce/import-app": "npm:^1.1.3"
77327751
"@vitejs/plugin-vue": "npm:^5.2.3"
77337752
"@vue/eslint-config-prettier": "npm:^9.0.0"

0 commit comments

Comments
 (0)