@squiz/component-cli-lib 1.2.12 → 1.2.13-alpha.0
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/.env.example +9 -0
- package/.gitlab-ci.yml +2 -3
- package/CHANGELOG.md +11 -419
- package/jest.config.ts +9 -1
- package/jest.integration.config.ts +7 -2
- package/lib/component-dev-folder-structures.integration.spec.js +7 -7
- package/lib/component-dev-folder-structures.integration.spec.js.map +1 -1
- package/lib/component-dev.integration.spec.js +1 -1
- package/lib/component-dev.integration.spec.js.map +1 -1
- package/lib/component-dev.js +16 -9
- package/lib/component-dev.js.map +1 -1
- package/lib/integration-tests/__components__/cmp-format-string/manifest.json +40 -0
- package/lib/integration-tests/helper.d.ts +1 -0
- package/lib/integration-tests/helper.js +47 -1
- package/lib/integration-tests/helper.js.map +1 -1
- package/lib/integration-tests/upload-and-render-component.integration.spec.js +61 -7
- package/lib/integration-tests/upload-and-render-component.integration.spec.js.map +1 -1
- package/lib/upload-component-folder.js +2 -1
- package/lib/upload-component-folder.js.map +1 -1
- package/package.json +12 -11
- package/src/component-dev-folder-structures.integration.spec.ts +13 -7
- package/src/component-dev.integration.spec.ts +1 -1
- package/src/component-dev.ts +28 -16
- package/src/integration-tests/__components__/cmp-format-string/main.js +7 -0
- package/src/integration-tests/__components__/cmp-format-string/manifest.json +41 -0
- package/src/integration-tests/__components__/cmp-static-file-test/main.js +1 -5
- package/src/integration-tests/__components__/invalid-manifest/main.js +0 -4
- package/src/integration-tests/__components__/invalid-upload/main.js +0 -4
- package/src/integration-tests/helper.ts +54 -0
- package/src/integration-tests/upload-and-render-component.integration.spec.ts +68 -7
- package/src/upload-component-folder.ts +2 -1
- package/tsconfig.json +3 -2
- package/tsconfig.tsbuildinfo +1 -1
package/.env.example
ADDED
package/.gitlab-ci.yml
CHANGED
|
@@ -73,6 +73,8 @@
|
|
|
73
73
|
reports:
|
|
74
74
|
dotenv: dot.env
|
|
75
75
|
|
|
76
|
+
# Disabling smoke tests as they will require an authenticated user
|
|
77
|
+
# TODO See DEVX-622
|
|
76
78
|
.smoke-test:
|
|
77
79
|
stage: smoke-test
|
|
78
80
|
tags:
|
|
@@ -81,9 +83,6 @@
|
|
|
81
83
|
- export
|
|
82
84
|
- npm ci
|
|
83
85
|
- npm run bootstrap -- --ci
|
|
84
|
-
- npm run clean
|
|
85
|
-
- npm run lint
|
|
86
|
-
- npm run format-code
|
|
87
86
|
- npm run compile
|
|
88
87
|
- cd packages/component-cli-lib
|
|
89
88
|
- npm run test:integration
|