@wmfs/lerna-sync 1.9.0 → 1.12.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.
@@ -2,16 +2,26 @@ version: 2
2
2
  jobs:
3
3
  unit test:
4
4
  docker:
5
- # use node:lts
6
5
  - image: cimg/node:lts
6
+ auth:
7
+ username: $DOCKERHUB_USERNAME
8
+ password: $DOCKERHUB_PASSWORD
7
9
  environment:
8
10
  TZ: "Europe/London"
9
11
  working_directory: ~/repo
10
12
  steps:
11
13
  - checkout
14
+ - restore_cache:
15
+ keys:
16
+ - v1-deps-{{ checksum "package.json" }}
17
+ - v1-deps-
12
18
  - run:
13
19
  name: install
14
20
  command: npm install
21
+ - save_cache:
22
+ key: v1-deps-{{ checksum "package.json" }}
23
+ paths:
24
+ - node_modules
15
25
  - run:
16
26
  name: test
17
27
  command: npm test
@@ -21,42 +31,61 @@ jobs:
21
31
  lint:
22
32
  docker:
23
33
  - image: cimg/node:lts
34
+ auth:
35
+ username: $DOCKERHUB_USERNAME
36
+ password: $DOCKERHUB_PASSWORD
24
37
  working_directory: ~/repo
25
38
  steps:
26
39
  - checkout
27
40
  - run:
28
41
  name: install standard
29
- command: npm install
42
+ command: npm install standard
30
43
  - run:
31
44
  name: lint
32
45
  command: npm run lint
33
46
  release:
34
47
  docker:
35
- # use node:lts
36
- - image: cimg/node:lts
37
- environment:
38
- TZ: "Europe/London"
48
+ - image: cimg/node:lts
49
+ auth:
50
+ username: $DOCKERHUB_USERNAME
51
+ password: $DOCKERHUB_PASSWORD
52
+ environment:
53
+ TZ: "Europe/London"
39
54
  working_directory: ~/repo
40
55
  steps:
41
- - checkout
42
- - run:
43
- name: install
44
- command: npm install
45
- - run:
46
- name: release
47
- command: npx semantic-release
56
+ - checkout
57
+ - restore_cache:
58
+ keys:
59
+ - v1-deps-{{ checksum "package.json" }}
60
+ - v1-deps-
61
+ - run:
62
+ name: install
63
+ command: npm install
64
+ - save_cache:
65
+ key: v1-deps-{{ checksum "package.json" }}
66
+ paths:
67
+ - node_modules
68
+ - run:
69
+ name: release
70
+ command: npx semantic-release
48
71
  workflows:
49
72
  version: 2
50
73
  test_and_release:
51
74
  jobs:
52
- - unit test:
53
- context: tymly_global
54
- - lint
55
- - release:
56
- context: tymly_global
57
- requires:
58
- - unit test
59
- - lint
60
- filters:
61
- branches:
62
- only: master
75
+ - unit test:
76
+ context:
77
+ - docker-hub-creds
78
+ - build-env-vars
79
+ - lint:
80
+ context:
81
+ - docker-hub-creds
82
+ - release:
83
+ context:
84
+ - docker-hub-creds
85
+ - build-env-vars
86
+ requires:
87
+ - unit test
88
+ - lint
89
+ filters:
90
+ branches:
91
+ only: master
package/CHANGELOG.md CHANGED
@@ -1,3 +1,67 @@
1
+ # [1.12.0](https://github.com/wmfs/lerna-sync/compare/v1.11.0...v1.12.0) (2022-01-25)
2
+
3
+
4
+ ### 🛠 Builds
5
+
6
+ * **deps:** update dependency glob to v7.2.0 ([2bdbe29](https://github.com/wmfs/lerna-sync/commit/2bdbe298e915aca46c31e42dfa8ae4ba0ffa28d6))
7
+ * **deps:** update dependency humanize-duration to v3.27.1 ([c275c59](https://github.com/wmfs/lerna-sync/commit/c275c59b44148b52151ebfd56432cc1a69c148f9))
8
+
9
+ # [1.11.0](https://github.com/wmfs/lerna-sync/compare/v1.10.0...v1.11.0) (2022-01-25)
10
+
11
+
12
+ ### 🛠 Builds
13
+
14
+ * **deps-dev:** update dependency [@semantic-release](https://github.com/semantic-release)/changelog to v6 ([4257b58](https://github.com/wmfs/lerna-sync/commit/4257b585eee492963446faeb9ca3859374e44090))
15
+ * **deps-dev:** update dependency [@semantic-release](https://github.com/semantic-release)/git to v10 ([e8cf998](https://github.com/wmfs/lerna-sync/commit/e8cf9985cf1535aac7eae3ce685b372132728fb1))
16
+ * **deps-dev:** update dependency [@semantic-release](https://github.com/semantic-release)/git to v9.0.1 ([2d3b883](https://github.com/wmfs/lerna-sync/commit/2d3b883b6e0e0a9ea19efde8c61270f5c1cc2ef6))
17
+ * **deps-dev:** update dependency mocha to v9.1.1 ([911907a](https://github.com/wmfs/lerna-sync/commit/911907a616304c3fd9e63c59b54530f385f96c60))
18
+ * **deps-dev:** update dependency mocha to v9.1.2 ([7d0774d](https://github.com/wmfs/lerna-sync/commit/7d0774d4de73caa04f3a95db558e5b6acf5e888b))
19
+ * **deps-dev:** update dependency mocha to v9.1.3 ([683c555](https://github.com/wmfs/lerna-sync/commit/683c555745e762bbc1156ffa2ae3d352e1257b45))
20
+ * **deps-dev:** update dependency mocha to v9.1.4 ([b7cfaef](https://github.com/wmfs/lerna-sync/commit/b7cfaefdc28ef0002e31e7222d11675bc3cfc021))
21
+ * **deps-dev:** update dependency mocha to v9.2.0 ([01cbef9](https://github.com/wmfs/lerna-sync/commit/01cbef9331fec13d87f68000b3acf81f6fa5ab31))
22
+ * **deps-dev:** update dependency semantic-release to v17.4.7 ([694a7c0](https://github.com/wmfs/lerna-sync/commit/694a7c02c927372848b951a82674253dcfab203a))
23
+ * **deps-dev:** update dependency semantic-release to v18 ([deee5b9](https://github.com/wmfs/lerna-sync/commit/deee5b976d7531e013353ecf77335bad96b9514e))
24
+ * **deps-dev:** update dependency semantic-release to v18.0.1 ([130cd76](https://github.com/wmfs/lerna-sync/commit/130cd7679333b0fe060f22ebae55348c2d44bbfe))
25
+ * **deps-dev:** update dependency semantic-release to v19 ([d9f94f0](https://github.com/wmfs/lerna-sync/commit/d9f94f07c4db4c1eee0279a3c13b2dbf13038c8c))
26
+ * **deps-dev:** update semantic-release monorepo ([e749bba](https://github.com/wmfs/lerna-sync/commit/e749bba832017fc63e0c61e042edf1a2a73ce6c5))
27
+ * **deps:** update dependency [@octokit](https://github.com/octokit)/graphql to v4.8.0 ([b16cdbb](https://github.com/wmfs/lerna-sync/commit/b16cdbb6e724852c1293b0fb5a5cfaa68372d12e))
28
+
29
+ # [1.10.0](https://github.com/wmfs/lerna-sync/compare/v1.9.1...v1.10.0) (2021-08-24)
30
+
31
+
32
+ ### 🛠 Builds
33
+
34
+ * **deps:** update dependency lodash to v4.17.21 [security] ([18e25a2](https://github.com/wmfs/lerna-sync/commit/18e25a23f625db65777bec706fa8eec5500736eb))
35
+ * **deps-dev:** update dependency chai to v4.3.4 ([4d409c3](https://github.com/wmfs/lerna-sync/commit/4d409c3940d96adc73eacc895fa9190cf428e5b9))
36
+ * **deps-dev:** update dependency codecov to v3.8.3 ([25d952a](https://github.com/wmfs/lerna-sync/commit/25d952a30bc25938477036d2590c4e60df899c43))
37
+ * **deps-dev:** update dependency mocha to v8.4.0 ([6b0b6a4](https://github.com/wmfs/lerna-sync/commit/6b0b6a4b88e6d2dcfc39255842652aa68d9b47d8))
38
+ * **deps-dev:** update dependency mocha to v9 ([e41c289](https://github.com/wmfs/lerna-sync/commit/e41c289b8c93f900386c55f2fe726102d6e6f2b8))
39
+ * **deps-dev:** update dependency mocha to v9.1.0 ([f9d53c6](https://github.com/wmfs/lerna-sync/commit/f9d53c6e44c5c8a1ab78ce08d3da590ca252d0e3))
40
+ * **deps-dev:** update dependency semantic-release to v17.2.3 [security] ([af1fa4b](https://github.com/wmfs/lerna-sync/commit/af1fa4be92bef793ebe1ecb3b2cf9c84ecc98fbd))
41
+ * **deps-dev:** update dependency semantic-release to v17.4.4 ([302515f](https://github.com/wmfs/lerna-sync/commit/302515fe14dbc4eb8501a635d4f8e8fc16291bb0))
42
+ * **deps-dev:** update dependency semantic-release to v17.4.5 ([8fbd018](https://github.com/wmfs/lerna-sync/commit/8fbd018ffd30cd41fe139fa5a30a61d708f4afe5))
43
+ * **deps-dev:** update dependency semantic-release to v17.4.6 ([59911e5](https://github.com/wmfs/lerna-sync/commit/59911e59dfe648f80e3e06c1afe61716a8a2bc27))
44
+
45
+
46
+ ### ♻️ Chores
47
+
48
+ * add renovate config [ch6600] ([5f5ba4f](https://github.com/wmfs/lerna-sync/commit/5f5ba4fe1e74da2f9f591da1926371e55166a056))
49
+
50
+ ## [1.9.1](https://github.com/wmfs/lerna-sync/compare/v1.9.0...v1.9.1) (2020-10-28)
51
+
52
+
53
+ ### 🐛 Bug Fixes
54
+
55
+ * this.messages is not a function ([9b9ccee](https://github.com/wmfs/lerna-sync/commit/9b9ccee9c3bfbe29ca0c0814cd74a53ca784edfd))
56
+
57
+
58
+ ### ⚙️ Continuous Integrations
59
+
60
+ * **circle:** authenticate Docker image pull [ch2767] ([03e961b](https://github.com/wmfs/lerna-sync/commit/03e961bd4bf0668b613be934ff7e08109edc9f0a))
61
+ * **circle:** cache dependencies [ch2770] ([8642825](https://github.com/wmfs/lerna-sync/commit/8642825ed775b67aa1f8d4f06026b3b29a0debe4))
62
+ * **circle:** separate linting job [ch1009] ([2592063](https://github.com/wmfs/lerna-sync/commit/25920636485833f09df5e2414608af6ecf1c5c20))
63
+ * **circle:** update build environment variable context name [ch2771] ([a64fd63](https://github.com/wmfs/lerna-sync/commit/a64fd637f55ae2269bed5993821f43556627f97b))
64
+
1
65
  # [1.9.0](https://github.com/wmfs/lerna-sync/compare/v1.8.0...v1.9.0) (2020-10-21)
2
66
 
3
67
 
@@ -9,7 +9,7 @@ module.exports = class Messages {
9
9
 
10
10
  addMessage (repoName, domain, level, err) {
11
11
  this.messageCount++
12
- if (!this.messages(domain)) {
12
+ if (!this.messages[domain]) {
13
13
  this.messages[domain] = []
14
14
  }
15
15
  this.messages[domain].push(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wmfs/lerna-sync",
3
- "version": "1.9.0",
3
+ "version": "1.12.0",
4
4
  "description": "A package to synchronize distributed GitHub repos inside a Lerna monorepo.",
5
5
  "author": "West Midlands Fire Service",
6
6
  "homepage": "https://github.com/wmfs/lerna-sync#readme",
@@ -23,26 +23,26 @@
23
23
  "lib": "lib"
24
24
  },
25
25
  "dependencies": {
26
- "@octokit/graphql": "4.5.6",
26
+ "@octokit/graphql": "4.8.0",
27
27
  "chalk": "4.1.0",
28
28
  "dottie": "2.0.2",
29
29
  "git-repo-info": "2.1.1",
30
- "glob": "7.1.6",
31
- "humanize-duration": "3.24.0",
30
+ "glob": "7.2.0",
31
+ "humanize-duration": "3.27.1",
32
32
  "jsonfile": "6.0.1",
33
- "lodash": "4.17.20"
33
+ "lodash": "4.17.21"
34
34
  },
35
35
  "devDependencies": {
36
- "chai": "4.2.0",
37
- "codecov": "3.8.0",
36
+ "chai": "4.3.4",
37
+ "codecov": "3.8.3",
38
38
  "conventional-changelog-metahub": "4.0.1",
39
39
  "cz-conventional-changelog": "3.3.0",
40
- "mocha": "8.2.0",
40
+ "mocha": "9.2.0",
41
41
  "nyc": "15.1.0",
42
- "semantic-release": "17.2.1",
42
+ "semantic-release": "19.0.2",
43
43
  "standard": "14.3.4",
44
- "@semantic-release/changelog": "5.0.1",
45
- "@semantic-release/git": "9.0.0"
44
+ "@semantic-release/changelog": "6.0.1",
45
+ "@semantic-release/git": "10.0.1"
46
46
  },
47
47
  "scripts": {
48
48
  "lint": "standard",
package/renovate.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "extends": [
3
+ "config:base"
4
+ ],
5
+ "dependencyDashboard": true,
6
+ "enabledManagers": ["npm"],
7
+ "packageRules": [
8
+ {
9
+ "matchDepTypes": ["devDependencies"],
10
+ "automerge": true,
11
+ "semanticCommitType": "build",
12
+ "semanticCommitScope": "deps-dev",
13
+ "labels": ["devDependencies"]
14
+ },
15
+ {
16
+ "matchDepTypes": ["dependencies"],
17
+ "semanticCommitType": "build",
18
+ "semanticCommitScope": "deps",
19
+ "labels": ["dependencies"],
20
+ "reviewers": ["team:tymly-reviewers"]
21
+ }
22
+ ],
23
+ "vulnerabilityAlerts": {
24
+ "labels": ["security"]
25
+ }
26
+ }