@squiz/component-cli-lib 1.2.1-alpha.100 → 1.2.1-alpha.101

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/.gitlab-ci.yml CHANGED
@@ -1,21 +1,35 @@
1
1
  ---
2
- # uat target branch only.
2
+
3
+ .rules:when-production:
4
+ rules:
5
+ - if: $CI_DEPLOY_TO_PROD && $CI_COMMIT_REF_NAME == $TARGET_BRANCH_PRODUCTION
6
+ when: on_success
7
+ - when: never
8
+
3
9
  .rules:when-uat:
4
10
  rules:
5
11
  - if: $CI_COMMIT_REF_NAME == $TARGET_BRANCH_UAT
6
12
  when: on_success
13
+ - if: $CI_DEPLOY_TO_PROD
14
+ when: never
7
15
  - when: never
8
16
 
9
17
  .rules:when-development:
10
18
  rules:
11
19
  - if: $CI_COMMIT_REF_NAME == $TARGET_BRANCH_DEVELOPMENT
12
20
  when: on_success
21
+ - if: $CI_DEPLOY_TO_PROD
22
+ when: never
13
23
  - when: never
14
24
 
15
25
  .rules:when-other-branch:
16
26
  rules:
17
- - if: $CI_COMMIT_REF_NAME != $TARGET_BRANCH_DEVELOPMENT && $CI_COMMIT_REF_NAME != $TARGET_BRANCH_UAT
18
- when: on_success
27
+ - if: >-2
28
+ $CI_COMMIT_REF_NAME != $TARGET_BRANCH_DEVELOPMENT &&
29
+ $CI_COMMIT_REF_NAME != $TARGET_BRANCH_UAT &&
30
+ $CI_COMMIT_REF_NAME != $TARGET_BRANCH_PRODUCTION
31
+ - if: $CI_DEPLOY_TO_PROD
32
+ when: never
19
33
  - when: never
20
34
 
21
35
  .get-service-urls:
@@ -103,11 +117,8 @@ get-uat-service-urls:
103
117
 
104
118
  get-production-service-urls:
105
119
  extends:
120
+ - .rules:when-production
106
121
  - .get-service-urls
107
122
  environment:
108
123
  name: production
109
124
  url: components.prod.dx.squiz.cloud
110
- rules:
111
- - if: $CI_DEPLOY_TO_PROD && $CI_COMMIT_REF_NAME == $TARGET_BRANCH_PRODUCTION
112
- when: manual
113
- - when: never
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.2.1-alpha.101](https://gitlab.squiz.net/developer-experience/cmp/compare/v1.2.1-alpha.90...v1.2.1-alpha.101) (2022-08-19)
7
+
8
+ **Note:** Version bump only for package @squiz/component-cli-lib
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.2.1-alpha.100](https://gitlab.squiz.net/developer-experience/cmp/compare/v1.2.1-alpha.90...v1.2.1-alpha.100) (2022-08-18)
7
15
 
8
16
  **Note:** Version bump only for package @squiz/component-cli-lib
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/component-cli-lib",
3
- "version": "1.2.1-alpha.100",
3
+ "version": "1.2.1-alpha.101",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -28,14 +28,14 @@
28
28
  "typescript": "4.7.4"
29
29
  },
30
30
  "dependencies": {
31
- "@squiz/component-lib": "^1.2.1-alpha.100",
32
- "@squiz/dx-logger-lib": "^1.2.1-alpha.100",
33
- "@squiz/render-runtime-lib": "^1.2.1-alpha.100",
34
- "@squiz/virus-scanner-lib": "^1.2.1-alpha.100",
31
+ "@squiz/component-lib": "^1.2.1-alpha.101",
32
+ "@squiz/dx-logger-lib": "^1.2.1-alpha.101",
33
+ "@squiz/render-runtime-lib": "^1.2.1-alpha.101",
34
+ "@squiz/virus-scanner-lib": "^1.2.1-alpha.101",
35
35
  "archiver": "5.3.1",
36
36
  "axios": "0.27.2",
37
37
  "cli-color": "^2.0.2",
38
38
  "supertest": "^6.2.3"
39
39
  },
40
- "gitHead": "909ab48128b72579f5f1390b7f045a3a41958795"
40
+ "gitHead": "dfaec89fc8f33fd0cd4980575155ac8a8ee55c33"
41
41
  }