@squiz/component-cli-lib 1.12.0-alpha.42 → 1.12.0-alpha.43
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/.npm/_logs/{2023-02-22T21_47_21_380Z-debug-0.log → 2023-02-23T01_51_14_461Z-debug-0.log} +15 -15
- package/lib/index.js +83 -83
- package/lib/index.js.map +4 -4
- package/package.json +9 -9
- package/src/integration-tests/upload-and-render-component.integration.spec.ts +21 -14
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squiz/component-cli-lib",
|
|
3
|
-
"version": "1.12.0-alpha.
|
|
3
|
+
"version": "1.12.0-alpha.43",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"author": "",
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@squiz/component-lib": "1.12.0-alpha.
|
|
17
|
-
"@squiz/component-web-api-lib": "1.12.0-alpha.
|
|
18
|
-
"@squiz/dx-common-lib": "1.12.0-alpha.
|
|
19
|
-
"@squiz/dx-json-schema-lib": "1.12.0-alpha.
|
|
20
|
-
"@squiz/dx-logger-lib": "1.12.0-alpha.
|
|
21
|
-
"@squiz/virus-scanner-lib": "1.12.0-alpha.
|
|
16
|
+
"@squiz/component-lib": "1.12.0-alpha.43",
|
|
17
|
+
"@squiz/component-web-api-lib": "1.12.0-alpha.43",
|
|
18
|
+
"@squiz/dx-common-lib": "1.12.0-alpha.43",
|
|
19
|
+
"@squiz/dx-json-schema-lib": "1.12.0-alpha.43",
|
|
20
|
+
"@squiz/dx-logger-lib": "1.12.0-alpha.43",
|
|
21
|
+
"@squiz/virus-scanner-lib": "1.12.0-alpha.43",
|
|
22
22
|
"@types/cli-color": "2.0.2",
|
|
23
23
|
"@types/express": "4.17.17",
|
|
24
24
|
"@types/jest": "28.1.8",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"typescript": "4.9.4"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@squiz/render-runtime-lib": "1.12.0-alpha.
|
|
35
|
+
"@squiz/render-runtime-lib": "1.12.0-alpha.43",
|
|
36
36
|
"archiver": "5.3.1",
|
|
37
37
|
"axios": "1.3.2",
|
|
38
38
|
"cli-color": "^2.0.2",
|
|
39
39
|
"open": "^8.4.0",
|
|
40
40
|
"supertest": "^6.2.3"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "2ce83548edd0a546f4c122da48d0cc310eb374a3"
|
|
43
43
|
}
|
|
@@ -132,10 +132,14 @@ describe('uploading a component', () => {
|
|
|
132
132
|
description: 'Set description',
|
|
133
133
|
headers: {},
|
|
134
134
|
environmentVariables: {},
|
|
135
|
-
components: {
|
|
136
|
-
|
|
135
|
+
components: {},
|
|
136
|
+
componentVersionRules: {
|
|
137
|
+
'smoke-test-components/cmp-format-string': {
|
|
138
|
+
renderableVersionPattern: '1.0.0',
|
|
139
|
+
editableVersions: [],
|
|
140
|
+
excludedVersions: [],
|
|
141
|
+
},
|
|
137
142
|
},
|
|
138
|
-
componentVersionRules: {},
|
|
139
143
|
};
|
|
140
144
|
await addComponentSet(componentSet);
|
|
141
145
|
await addContentItem({
|
|
@@ -209,15 +213,14 @@ describe('uploading a component', () => {
|
|
|
209
213
|
description: 'Set description',
|
|
210
214
|
headers: {},
|
|
211
215
|
environmentVariables: {},
|
|
212
|
-
components: {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
components: {},
|
|
217
|
+
componentVersionRules: {
|
|
218
|
+
'smoke-test-components/cmp-static-file-test': {
|
|
219
|
+
renderableVersionPattern: '1.0.0',
|
|
220
|
+
editableVersions: [],
|
|
221
|
+
excludedVersions: [],
|
|
222
|
+
},
|
|
219
223
|
},
|
|
220
|
-
componentVersionRules: {},
|
|
221
224
|
};
|
|
222
225
|
|
|
223
226
|
await addComponentSet(componentSet);
|
|
@@ -242,10 +245,14 @@ describe('uploading a component', () => {
|
|
|
242
245
|
description: 'Set description',
|
|
243
246
|
headers: {},
|
|
244
247
|
environmentVariables: {},
|
|
245
|
-
components: {
|
|
246
|
-
|
|
248
|
+
components: {},
|
|
249
|
+
componentVersionRules: {
|
|
250
|
+
'smoke-test-components/cmp-static-file-test': {
|
|
251
|
+
renderableVersionPattern: '1.0.0',
|
|
252
|
+
editableVersions: [],
|
|
253
|
+
excludedVersions: [],
|
|
254
|
+
},
|
|
247
255
|
},
|
|
248
|
-
componentVersionRules: {},
|
|
249
256
|
};
|
|
250
257
|
await addComponentSet(componentSet);
|
|
251
258
|
|