@vc-shell/create-vc-app 1.0.115 → 1.0.117

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,3 +1,231 @@
1
+ ## [1.0.117](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.116...v1.0.117) (2023-11-06)
2
+
3
+
4
+
5
+ ## 1.0.116 (2023-11-02)
6
+
7
+
8
+ ### Features
9
+
10
+ * updated release in boilerplate and sample ([382265b](https://github.com/VirtoCommerce/vc-shell/commit/382265b1a740504b5a4de89cbb7cba38b3d74539))
11
+
12
+
13
+
14
+ ## 1.0.115 (2023-11-02)
15
+
16
+
17
+ ### Features
18
+
19
+ * **@vc-shell/create-vc-app:** changed boilerplate ([740915b](https://github.com/VirtoCommerce/vc-shell/commit/740915baea40f4ac25375679dac9e9a209ae1937))
20
+ * **@vc-shell/framework:** updated tsconfigs ([921d000](https://github.com/VirtoCommerce/vc-shell/commit/921d000de8a0ca1b3eed4712eb5cc87e6d6a6616))
21
+
22
+
23
+
24
+ ## 1.0.114 (2023-10-25)
25
+
26
+
27
+
28
+ ## 1.0.113 (2023-10-25)
29
+
30
+
31
+ ### Features
32
+
33
+ * **@vc-shell/api-client:** Replace .env variables to command line args ([4bcfade](https://github.com/VirtoCommerce/vc-shell/commit/4bcfade6f0eee7f6e2b74ed898d5b90da1198da8))
34
+
35
+
36
+ ### BREAKING CHANGES
37
+
38
+ * **@vc-shell/api-client:** api client generator now uses
39
+ command line arguments instead of environment variables
40
+
41
+
42
+
43
+ ## 1.0.111 (2023-10-17)
44
+
45
+
46
+ ### Features
47
+
48
+ * dynamic modules ([ed4af3a](https://github.com/VirtoCommerce/vc-shell/commit/ed4af3ad65e47b0d633d6e2eb23e9c90d73ff50d))
49
+
50
+
51
+
52
+ ## 1.0.110 (2023-10-16)
53
+
54
+
55
+
56
+ ## 1.0.109 (2023-10-13)
57
+
58
+
59
+
60
+ ## 1.0.108 (2023-10-13)
61
+
62
+
63
+
64
+ ## 1.0.107 (2023-10-12)
65
+
66
+
67
+
68
+ ## 1.0.106 (2023-10-12)
69
+
70
+
71
+
72
+ ## 1.0.105 (2023-10-02)
73
+
74
+
75
+
76
+ ## 1.0.104 (2023-10-02)
77
+
78
+
79
+
80
+ ## 1.0.103 (2023-09-29)
81
+
82
+
83
+
84
+ ## 1.0.102 (2023-09-29)
85
+
86
+
87
+
88
+ ## 1.0.101 (2023-09-28)
89
+
90
+
91
+
92
+ ## 1.0.100 (2023-09-22)
93
+
94
+
95
+
96
+ ## 1.0.99 (2023-09-22)
97
+
98
+
99
+
100
+ ## 1.0.98 (2023-09-21)
101
+
102
+
103
+
104
+ ## 1.0.97 (2023-09-12)
105
+
106
+
107
+
108
+ ## 1.0.96 (2023-08-28)
109
+
110
+
111
+
112
+ ## 1.0.95 (2023-08-28)
113
+
114
+
115
+
116
+ ## 1.0.94 (2023-08-04)
117
+
118
+
119
+
120
+ ## 1.0.92 (2023-07-12)
121
+
122
+
123
+
124
+ ## 1.0.91 (2023-07-12)
125
+
126
+
127
+
128
+ ## 1.0.90 (2023-07-12)
129
+
130
+
131
+
132
+ ## 1.0.89 (2023-07-07)
133
+
134
+
135
+
136
+ ## 1.0.88 (2023-06-27)
137
+
138
+
139
+
140
+ ## 1.0.87 (2023-06-26)
141
+
142
+
143
+
144
+ ## 1.0.86 (2023-06-23)
145
+
146
+
147
+
148
+ ## 1.0.85 (2023-06-23)
149
+
150
+
151
+ ### Bug Fixes
152
+
153
+ * check permissions plugin ([cc65272](https://github.com/VirtoCommerce/vc-shell/commit/cc65272d933e29f427b1403df2bdd627b15dd1e6))
154
+
155
+
156
+
157
+ ## 1.0.84 (2023-06-23)
158
+
159
+
160
+
161
+ ## 1.0.83 (2023-06-23)
162
+
163
+
164
+
165
+ ## 1.0.82 (2023-06-23)
166
+
167
+
168
+
169
+ ## 1.0.81 (2023-06-23)
170
+
171
+
172
+
173
+ ## 1.0.80 (2023-06-22)
174
+
175
+
176
+
177
+ ## 1.0.79 (2023-06-22)
178
+
179
+
180
+
181
+ ## 1.0.78 (2023-06-22)
182
+
183
+
184
+
185
+ ## 1.0.77 (2023-06-22)
186
+
187
+
188
+
189
+ ## 1.0.76 (2023-06-22)
190
+
191
+
192
+
193
+ ## 1.0.75 (2023-06-21)
194
+
195
+
196
+
197
+ ## 1.0.74 (2023-06-21)
198
+
199
+
200
+ ### Bug Fixes
201
+
202
+ * pass platformUrl to shell ([6265790](https://github.com/VirtoCommerce/vc-shell/commit/62657901ae6738883ed785e4f54507db85ba7d66))
203
+
204
+
205
+
206
+ ## 1.0.73 (2023-06-08)
207
+
208
+
209
+
210
+ ## 1.0.72 (2023-06-07)
211
+
212
+
213
+
214
+ ## 1.0.71 (2023-06-02)
215
+
216
+
217
+ ### Bug Fixes
218
+
219
+ * fixed create-vc-app template ([f433fea](https://github.com/VirtoCommerce/vc-shell/commit/f433feaf4b75badeea427b61061a08b9a6056c8a))
220
+
221
+
222
+ ### Features
223
+
224
+ * **cli** create-vc-app scaffolding tool ([e6428ae](https://github.com/VirtoCommerce/vc-shell/commit/e6428ae654ba180971c6ab58f9abfa2452ca0e9b))
225
+ * azure active directory signin ([46cee05](https://github.com/VirtoCommerce/vc-shell/commit/46cee052064434bdd143d744ca7557f5c0fd7e84))
226
+
227
+
228
+
1
229
  ## 1.0.115 (2023-11-02)
2
230
 
3
231
 
@@ -12,10 +12,7 @@
12
12
  "type-check": "vue-tsc --noEmit",
13
13
  "lint-staged": "lint-staged",
14
14
  "generate:api-client": "cross-env api-client-generator --color -- APP_PLATFORM_MODULES='[]' APP_API_CLIENT_DIRECTORY=./src/api_client/",
15
- "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
16
- "bump": "cross-env-shell 'f() { yarn workspaces foreach --topological version --deferred \"$@\" && yarn version apply --all && yarn run changelog && yarn workspaces foreach -v exec git add . && yarn run commit-release && yarn create:tag ; }; f'",
17
- "commit-release": "cross-env-shell 'git commit -m v$npm_package_version'",
18
- "create:tag": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags"
15
+ "release": "tsx scripts/release.ts --dry"
19
16
  },
20
17
  "devDependencies": {
21
18
  "@commitlint/cli": "^17.6.3",
@@ -24,7 +21,7 @@
24
21
  "@types/lodash-es": "^4.17.7",
25
22
  "@typescript-eslint/eslint-plugin": "^5.59.7",
26
23
  "@typescript-eslint/parser": "^5.59.7",
27
- "@vc-shell/api-client-generator": "*",
24
+ "@vc-shell/api-client-generator": "^1.0.117",
28
25
  "@vitejs/plugin-vue": "^4.2.3",
29
26
  "@vue/eslint-config-prettier": "^7.1.0",
30
27
  "@vue/eslint-config-typescript": "^11.0.3",
@@ -45,6 +42,7 @@
45
42
  "querystring-es3": "^0.2.1",
46
43
  "sass": "^1.62.1",
47
44
  "tailwindcss": "^3.3.2",
45
+ "tsx": "^3.13.0",
48
46
  "typescript": "~5.0.4",
49
47
  "vite": "^4.3.9",
50
48
  "vite-plugin-checker": "^0.6.0",
@@ -55,8 +53,8 @@
55
53
  },
56
54
  "dependencies": {
57
55
  "@fortawesome/fontawesome-free": "^5.15.3",
58
- "@vc-shell/config-generator": "*",
59
- "@vc-shell/framework": "*",
56
+ "@vc-shell/config-generator": "^1.0.117",
57
+ "@vc-shell/framework": "^1.0.117",
60
58
  "@vueuse/core": "^10.1.2",
61
59
  "@vueuse/integrations": "^10.1.2",
62
60
  "moment": "^2.29.4",
@@ -0,0 +1,18 @@
1
+ import { release } from "@vc-shell/release-config";
2
+ import { spawnSync } from "child_process";
3
+
4
+ release({
5
+ packages: ["."],
6
+ toTag: (version) => `v${version}`,
7
+ bumpVersion: async (pkgName, pkgVersion) => {
8
+ const bumpArgs = ["workspace", pkgName, "version", pkgVersion, "--deferred"];
9
+ await spawnSync("yarn", bumpArgs);
10
+
11
+ const versionApplyArgs = ["version", "apply", "--all"];
12
+ await spawnSync("yarn", versionApplyArgs);
13
+ },
14
+ generateChangelog: async (pkgName, pkgVersion, workspaceName) => {
15
+ const changelogArgs = ["conventional-changelog", "-p", "angular", "-i", "CHANGELOG.md", "-s", "--commit-path", "."];
16
+ await spawnSync("npx", changelogArgs, { cwd: workspaceName ? `${workspaceName}` : "." });
17
+ },
18
+ });
@@ -1,37 +1,16 @@
1
1
  {
2
+ "extends": "@vc-shell/ts-config/tsconfig.json",
2
3
  "compilerOptions": {
3
4
  "baseUrl": ".",
4
- "declaration": true,
5
- "declarationMap": true,
6
- "sourceMap": true,
7
- "importHelpers": true,
8
- "resolveJsonModule": true,
9
- "allowSyntheticDefaultImports": true,
10
- "skipLibCheck": true,
11
- "esModuleInterop": true,
12
- "module": "esnext",
13
- "moduleResolution": "node",
14
- "target": "esnext",
15
- "jsx": "preserve",
16
- "isolatedModules": true,
17
- "useDefineForClassFields": true,
18
5
  "outDir": "dist",
19
6
  "rootDir": "src",
20
-
21
- "lib": [
22
- "esnext",
23
- "dom"
24
- ],
25
7
  "types": [
26
8
  "vite/client",
27
9
  ]
28
10
  },
29
11
  "include": [
30
- "src/**/*.ts",
31
- "src/**/*.vue",
32
- ],
33
- "exclude": [
34
- "node_modules",
35
- "dist"
12
+ "./src/**/*.ts",
13
+ "./src/**/*.vue",
14
+ "./src/**/*.json"
36
15
  ]
37
16
  }
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": "1.0.115",
4
+ "version": "1.0.117",
5
5
  "type": "module",
6
6
  "bin": "./dist/index.js",
7
7
  "files": [
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/prompts": "^2.4.4",
18
- "@vc-shell/ts-config": "^1.0.115",
18
+ "@vc-shell/ts-config": "^1.0.117",
19
19
  "copyfiles": "^2.4.1",
20
20
  "cross-env": "^7.0.3",
21
21
  "shx": "^0.3.4",