@vc-shell/create-vc-app 2.0.0 → 2.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.1](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0...v2.0.1) (2026-04-24)
4
+
5
+ ### Features
6
+
7
+ - enhance migrate transforms, fix notification race condition, update migration docs (#221) ([3c2134d](https://github.com/VirtoCommerce/vc-shell/commit/3c2134d0fa1016a2e4e075a12bb9df9a31b3d381)), closes [#221](https://github.com/VirtoCommerce/vc-shell/issues/221)
8
+
3
9
  # [2.0.0](https://github.com/VirtoCommerce/vc-shell/compare/v1.2.3...v2.0.0) (2026-04-22)
4
10
 
5
11
  ### Features
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import { fileURLToPath as B } from "node:url";
7
7
  import A from "prompts";
8
8
  import r from "node:fs";
9
9
  import T from "ejs";
10
- const F = "2.0.0-alpha.35", O = {
10
+ const F = "2.0.0", O = {
11
11
  version: F
12
12
  };
13
13
  function h(e) {
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "devDependencies": {
12
12
  "@types/node": "^20.10.5",
13
- "@vc-shell/ts-config": "^2.0.0-alpha.35",
13
+ "@vc-shell/ts-config": "^2.0.0",
14
14
  "cross-env": "^7.0.3",
15
15
  "sass": "^1.87.0",
16
16
  "typescript": "^5.8.3",
@@ -18,8 +18,8 @@
18
18
  "vue-tsc": "^3.2.5"
19
19
  },
20
20
  "dependencies": {
21
- "@vc-shell/config-generator": "^2.0.0-alpha.35",
22
- "@vc-shell/framework": "^2.0.0-alpha.35",
21
+ "@vc-shell/config-generator": "^2.0.0",
22
+ "@vc-shell/framework": "^2.0.0",
23
23
  "vue": "^3.5.30",
24
24
  "vue-router": "^5.0.3"
25
25
  }
@@ -22,8 +22,8 @@
22
22
  "@types/node": "^20.10.5",
23
23
  "@typescript-eslint/eslint-plugin": "^7.4.0",
24
24
  "@typescript-eslint/parser": "^7.4.0",
25
- "@vc-shell/api-client-generator": "^2.0.0-alpha.35",
26
- "@vc-shell/ts-config": "^2.0.0-alpha.35",
25
+ "@vc-shell/api-client-generator": "^2.0.0",
26
+ "@vc-shell/ts-config": "^2.0.0",
27
27
  "@vitejs/plugin-vue": "^5.2.3",
28
28
  "@vue/eslint-config-prettier": "^10.2.0",
29
29
  "@vue/eslint-config-typescript": "^14.6.0",
@@ -51,8 +51,8 @@
51
51
  "vue-tsc": "^3.2.5"
52
52
  },
53
53
  "dependencies": {
54
- "@vc-shell/config-generator": "^2.0.0-alpha.35",
55
- "@vc-shell/framework": "^2.0.0-alpha.35",
54
+ "@vc-shell/config-generator": "^2.0.0",
55
+ "@vc-shell/framework": "^2.0.0",
56
56
  "@vueuse/core": "^10.7.1",
57
57
  "@vueuse/integrations": "^10.7.1",
58
58
  "vee-validate": "^4.12.4",
@@ -9,7 +9,7 @@
9
9
  </template>
10
10
 
11
11
  <script lang="ts" setup>
12
- import { useUser } from "@vc-shell/framework";
12
+ import { useUser, useBroadcastFilter } from "@vc-shell/framework";
13
13
  import { onMounted, ref } from "vue";
14
14
  // eslint-disable-next-line import/no-unresolved
15
15
  import logoImage from "/assets/logo.svg";
@@ -18,10 +18,13 @@ const isReady = ref(false);
18
18
  const version = import.meta.env.PACKAGE_VERSION;
19
19
 
20
20
  const { isAuthenticated } = useUser();
21
+ const { setBroadcastFilter } = useBroadcastFilter();
21
22
 
22
23
  onMounted(async () => {
23
24
  try {
24
25
  if (isAuthenticated.value) {
26
+ // TODO: Set broadcast filter to receive only relevant push notifications.
27
+ // Example: setBroadcastFilter((msg) => msg.creator === sellerId);
25
28
  isReady.value = true;
26
29
  }
27
30
  } catch (e) {
@@ -22,8 +22,8 @@
22
22
  "@types/node": "^20.10.5",
23
23
  "@typescript-eslint/eslint-plugin": "^8.43.0",
24
24
  "@typescript-eslint/parser": "^8.43.0",
25
- "@vc-shell/api-client-generator": "^2.0.0-alpha.35",
26
- "@vc-shell/ts-config": "^2.0.0-alpha.35",
25
+ "@vc-shell/api-client-generator": "^2.0.0",
26
+ "@vc-shell/ts-config": "^2.0.0",
27
27
  "@vitejs/plugin-vue": "^5.2.3",
28
28
  "@vue/eslint-config-prettier": "^10.2.0",
29
29
  "@vue/eslint-config-typescript": "^14.6.0",
@@ -51,8 +51,8 @@
51
51
  "vue-tsc": "^3.2.5"
52
52
  },
53
53
  "dependencies": {
54
- "@vc-shell/config-generator": "^2.0.0-alpha.35",
55
- "@vc-shell/framework": "^2.0.0-alpha.35",
54
+ "@vc-shell/config-generator": "^2.0.0",
55
+ "@vc-shell/framework": "^2.0.0",
56
56
  "@vueuse/core": "^10.7.1",
57
57
  "@vueuse/integrations": "^10.7.1",
58
58
  "vee-validate": "^4.12.4",
@@ -9,7 +9,7 @@
9
9
  </template>
10
10
 
11
11
  <script lang="ts" setup>
12
- import { useUser } from "@vc-shell/framework";
12
+ import { useUser, useBroadcastFilter } from "@vc-shell/framework";
13
13
  import { onMounted, ref } from "vue";
14
14
  // eslint-disable-next-line import/no-unresolved
15
15
  import logoImage from "/assets/logo.svg";
@@ -18,10 +18,13 @@ const isReady = ref(false);
18
18
  const version = import.meta.env.PACKAGE_VERSION;
19
19
 
20
20
  const { isAuthenticated } = useUser();
21
+ const { setBroadcastFilter } = useBroadcastFilter();
21
22
 
22
23
  onMounted(async () => {
23
24
  try {
24
25
  if (isAuthenticated.value) {
26
+ // TODO: Set broadcast filter to receive only relevant push notifications.
27
+ // Example: setBroadcastFilter((msg) => msg.creator === sellerId);
25
28
  isReady.value = true;
26
29
  }
27
30
  } catch (e) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vc-shell/create-vc-app",
3
3
  "description": "Application scaffolding",
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "type": "module",
6
6
  "bin": "./dist/index.js",
7
7
  "files": [
@@ -16,7 +16,7 @@
16
16
  "devDependencies": {
17
17
  "@types/ejs": "^3.1.5",
18
18
  "@types/prompts": "^2.4.4",
19
- "@vc-shell/ts-config": "2.0.0",
19
+ "@vc-shell/ts-config": "2.0.1",
20
20
  "copyfiles": "^2.4.1",
21
21
  "cross-env": "^7.0.3",
22
22
  "shx": "^0.3.4",