@squiz/component-cli-lib 1.2.13-alpha.3 → 1.2.13-alpha.5
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 +22 -0
- package/build.js +23 -0
- package/lib/index.js +247 -8
- package/lib/index.js.map +7 -1
- package/package.json +12 -10
- package/tsconfig.json +4 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/lib/component-dev-folder-structures.integration.spec.js +0 -73
- package/lib/component-dev-folder-structures.integration.spec.js.map +0 -1
- package/lib/component-dev.integration.spec.js +0 -57
- package/lib/component-dev.integration.spec.js.map +0 -1
- package/lib/component-dev.js +0 -65
- package/lib/component-dev.js.map +0 -1
- package/lib/integration-tests/__components__/big-package/manifest.json +0 -35
- package/lib/integration-tests/__components__/cmp-format-string/manifest.json +0 -40
- package/lib/integration-tests/__components__/cmp-static-file-test/manifest.json +0 -39
- package/lib/integration-tests/__components__/invalid-manifest/manifest.json +0 -27
- package/lib/integration-tests/helper.js +0 -142
- package/lib/integration-tests/helper.js.map +0 -1
- package/lib/integration-tests/service-deployment.integration.spec.js +0 -51
- package/lib/integration-tests/service-deployment.integration.spec.js.map +0 -1
- package/lib/integration-tests/test-setup.js +0 -3
- package/lib/integration-tests/test-setup.js.map +0 -1
- package/lib/integration-tests/upload-and-render-component.integration.spec.js +0 -233
- package/lib/integration-tests/upload-and-render-component.integration.spec.js.map +0 -1
- package/lib/upload-component-folder.js +0 -117
- package/lib/upload-component-folder.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squiz/component-cli-lib",
|
|
3
|
-
"version": "1.2.13-alpha.
|
|
3
|
+
"version": "1.2.13-alpha.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"compile": "tsc",
|
|
7
|
+
"compile": "node ./build.js && tsc",
|
|
8
8
|
"lint": "eslint ./src --ext .ts",
|
|
9
9
|
"test": "jest -c jest.config.ts",
|
|
10
10
|
"test:integration": "jest -c jest.integration.config.ts",
|
|
@@ -13,12 +13,19 @@
|
|
|
13
13
|
"author": "",
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"devDependencies": {
|
|
16
|
+
"@squiz/component-lib": "1.2.13-alpha.5",
|
|
17
|
+
"@squiz/component-web-api-lib": "1.2.13-alpha.5",
|
|
18
|
+
"@squiz/dx-common-lib": "1.2.13-alpha.5",
|
|
19
|
+
"@squiz/dx-json-schema-lib": "1.2.13-alpha.5",
|
|
20
|
+
"@squiz/dx-logger-lib": "1.2.13-alpha.5",
|
|
21
|
+
"@squiz/virus-scanner-lib": "1.2.13-alpha.5",
|
|
16
22
|
"@types/cli-color": "2.0.2",
|
|
17
23
|
"@types/express": "4.17.14",
|
|
18
24
|
"@types/jest": "28.1.8",
|
|
19
25
|
"@types/node": "17.0.27",
|
|
20
26
|
"@types/supertest": "2.0.12",
|
|
21
27
|
"dotenv": "16.0.3",
|
|
28
|
+
"esbuild": "0.16.17",
|
|
22
29
|
"eslint": "8.22.0",
|
|
23
30
|
"jest": "28.1.3",
|
|
24
31
|
"ts-jest": "28.0.8",
|
|
@@ -27,18 +34,13 @@
|
|
|
27
34
|
"typescript": "4.9.3"
|
|
28
35
|
},
|
|
29
36
|
"dependencies": {
|
|
30
|
-
"@squiz/
|
|
31
|
-
"@squiz/component-web-api-lib": "1.2.13-alpha.3",
|
|
32
|
-
"@squiz/dx-common-lib": "1.2.13-alpha.3",
|
|
33
|
-
"@squiz/dx-json-schema-lib": "1.2.13-alpha.3",
|
|
34
|
-
"@squiz/dx-logger-lib": "1.2.13-alpha.3",
|
|
35
|
-
"@squiz/render-runtime-lib": "1.2.13-alpha.3",
|
|
36
|
-
"@squiz/virus-scanner-lib": "1.2.13-alpha.3",
|
|
37
|
+
"@squiz/render-runtime-lib": "1.2.13-alpha.5",
|
|
37
38
|
"archiver": "5.3.1",
|
|
38
39
|
"axios": "0.27.2",
|
|
39
40
|
"cli-color": "^2.0.2",
|
|
41
|
+
"esbuild": "^0.17.0",
|
|
40
42
|
"open": "^8.4.0",
|
|
41
43
|
"supertest": "^6.2.3"
|
|
42
44
|
},
|
|
43
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "8af3633fbd936c115299e5458ccc2f68e5102fb7"
|
|
44
46
|
}
|
package/tsconfig.json
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
"extends": "../../tsconfig.json",
|
|
3
3
|
|
|
4
4
|
"compilerOptions": {
|
|
5
|
-
"outDir": "lib
|
|
5
|
+
"outDir": "lib",
|
|
6
6
|
"resolveJsonModule": true,
|
|
7
7
|
"composite": true,
|
|
8
8
|
"rootDir": "./src",
|
|
9
|
-
"sourceMap": true
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"declaration": true,
|
|
11
|
+
"emitDeclarationOnly": true
|
|
10
12
|
},
|
|
11
13
|
|
|
12
14
|
"references": [
|