monorepo-next 7.1.0 → 7.2.1

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/README.md CHANGED
@@ -120,6 +120,7 @@ Options:
120
120
  --bump-files
121
121
  [array] [default: ["package.json","bower.json","manifest.json","package-lock.j
122
122
  son","npm-shrinkwrap.json"]]
123
+ --default-branch [string] [default: "master"]
123
124
 
124
125
  next run
125
126
 
@@ -41,12 +41,16 @@ module.exports = {
41
41
  default: defaults.scripts,
42
42
  },
43
43
  'package-files': {
44
- default: defaults.packageFiles,
45
44
  type: 'array',
45
+ default: defaults.packageFiles,
46
46
  },
47
47
  'bump-files': {
48
- default: defaults.bumpFiles,
49
48
  type: 'array',
49
+ default: defaults.bumpFiles,
50
+ },
51
+ 'default-branch': {
52
+ type: 'string',
53
+ default: 'master',
50
54
  },
51
55
  },
52
56
  async handler(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monorepo-next",
3
- "version": "7.1.0",
3
+ "version": "7.2.1",
4
4
  "description": "Detach monorepo packages from normal linking",
5
5
  "bin": {
6
6
  "next": "bin/next.js"
@@ -30,7 +30,7 @@
30
30
  "yarn"
31
31
  ],
32
32
  "scripts": {
33
- "lint:git": "commitlint",
33
+ "lint:git": "commitlint --default-branch main",
34
34
  "lint:js": "eslint . --ext js,json",
35
35
  "lint:md": "remark -f README.md",
36
36
  "start": "node bin/next",
@@ -58,7 +58,7 @@
58
58
  "node": ">=12.13"
59
59
  },
60
60
  "dependencies": {
61
- "conventional-changelog": "3.1.24",
61
+ "conventional-changelog": "3.1.25",
62
62
  "conventional-recommended-bump": "6.1.0",
63
63
  "debug": "^4.3.1",
64
64
  "execa": "^5.0.0",
@@ -66,14 +66,15 @@
66
66
  "inquirer": "^8.0.0",
67
67
  "minimatch": "^3.0.4",
68
68
  "npm-packlist": "^3.0.0",
69
- "rfc6902": "^4.0.2",
69
+ "rfc6902": "^5.0.0",
70
70
  "semver": "7.3.5",
71
71
  "standard-version": "9.3.2",
72
+ "superset": "^2.0.1",
72
73
  "tmp": "0.2.1",
73
74
  "yargs": "^17.0.0"
74
75
  },
75
76
  "devDependencies": {
76
- "@crowdstrike/commitlint": "^4.0.0",
77
+ "@crowdstrike/commitlint": "^5.0.0",
77
78
  "chai": "^4.2.0",
78
79
  "chai-as-promised": "^7.1.1",
79
80
  "eslint": "^8.0.0",
@@ -85,11 +86,11 @@
85
86
  "fixturify": "^2.1.0",
86
87
  "git-fixtures": "^4.0.0",
87
88
  "mocha": "^9.0.0",
88
- "mocha-helpers": "^6.0.0",
89
+ "mocha-helpers": "^6.2.1",
89
90
  "remark-cli": "^10.0.0",
90
91
  "remark-preset-lint-crowdstrike": "^2.0.0",
91
92
  "renovate-config-standard": "^2.0.0",
92
- "sinon": "^11.0.0",
93
+ "sinon": "^13.0.0",
93
94
  "sinon-chai": "^3.5.0",
94
95
  "standard-node-template": "2.0.0",
95
96
  "yargs-help-output": "^2.0.0"
@@ -11,9 +11,7 @@ const {
11
11
  const { collectPackages } = require('./build-dep-graph');
12
12
  const minimatch = require('minimatch');
13
13
  const { getChangedReleasableFiles } = require('./releasable');
14
- const {
15
- union,
16
- } = require('./set');
14
+ const Set = require('superset');
17
15
 
18
16
  async function getPackageChangedFiles({
19
17
  fromCommit,
@@ -37,7 +35,7 @@ async function getPackageChangedFiles({
37
35
  committedChanges = getLinesFromOutput(committedChanges);
38
36
  let dirtyChanges = await git(['status', '--porcelain', packageCwd, '-u'], options);
39
37
  dirtyChanges = getLinesFromOutput(dirtyChanges).map(line => line.substr(3));
40
- let changedFiles = Array.from(union(committedChanges, dirtyChanges));
38
+ let changedFiles = Array.from(new Set(committedChanges).union(dirtyChanges));
41
39
 
42
40
  return changedFiles;
43
41
  }
package/src/releasable.js CHANGED
@@ -4,11 +4,7 @@ const packlist = require('npm-packlist');
4
4
  const path = require('path');
5
5
  const { createTmpDir } = require('./tmp');
6
6
  const fs = { ...require('fs'), ...require('fs').promises };
7
- const {
8
- union,
9
- intersection,
10
- map,
11
- } = require('./set');
7
+ const Set = require('superset');
12
8
  const { createPatch } = require('rfc6902');
13
9
  const {
14
10
  getFileAtCommit,
@@ -92,13 +88,9 @@ async function _getChangedReleasableFiles({
92
88
  }
93
89
  }
94
90
 
95
- changedPublishedFilesNew = intersection(
96
- union(
97
- changedPublishedFilesOld,
98
- filesContributingToReleasability,
99
- ),
100
- changedFiles,
101
- );
91
+ changedPublishedFilesNew = changedPublishedFilesOld
92
+ .union(filesContributingToReleasability)
93
+ .intersect(changedFiles);
102
94
 
103
95
  return changedPublishedFilesNew;
104
96
  }
@@ -140,12 +132,12 @@ async function getChangedReleasableFiles({
140
132
 
141
133
  let changedPublishedFiles = await _getChangedReleasableFiles({
142
134
  cwd: packageCwd,
143
- changedFiles: map(changedFiles, file => path.relative(packageCwd, path.join(workspacesCwd, file))),
135
+ changedFiles: changedFiles.map(file => path.relative(packageCwd, path.join(workspacesCwd, file))),
144
136
  });
145
137
 
146
138
  let relative = path.relative(workspacesCwd, packageCwd);
147
139
 
148
- changedPublishedFiles = map(changedPublishedFiles, file => path.join(relative, file));
140
+ changedPublishedFiles = changedPublishedFiles.map(file => path.join(relative, file));
149
141
 
150
142
  if (shouldExcludeDevChanges) {
151
143
  let relativePackageJsonPath = path.join(relative, 'package.json');
@@ -163,7 +155,7 @@ async function getChangedReleasableFiles({
163
155
  }
164
156
  }
165
157
 
166
- return Array.from(changedPublishedFiles);
158
+ return Array.from(changedPublishedFiles).sort();
167
159
  }
168
160
 
169
161
  module.exports = {
package/src/release.js CHANGED
@@ -30,6 +30,7 @@ async function release({
30
30
  scripts = builder['scripts'].default,
31
31
  packageFiles = builder['package-files'].default,
32
32
  bumpFiles = builder['bump-files'].default,
33
+ defaultBranch = builder['default-branch'].default,
33
34
  versionOverride,
34
35
  preCommitCallback = () => {},
35
36
  prePushCallback = () => {},
@@ -38,7 +39,7 @@ async function release({
38
39
  publishOverride,
39
40
  } = {}) {
40
41
  let currentBranch = await getCurrentBranch(cwd);
41
- if (currentBranch !== 'master') {
42
+ if (currentBranch !== defaultBranch) {
42
43
  return;
43
44
  }
44
45
 
package/CHANGELOG.md DELETED
@@ -1,775 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ## [7.1.0](https://github.com/CrowdStrike/monorepo-next/compare/v7.0.1...v7.1.0) (2021-11-02)
6
-
7
-
8
- ### Features
9
-
10
- * expose toCommit in `changed` and `changedFiles` ([c66b79e](https://github.com/CrowdStrike/monorepo-next/commit/c66b79e59cd447df93256cb2a68cfa018a94291f))
11
-
12
- ### [7.0.1](https://github.com/CrowdStrike/monorepo-next/compare/v7.0.0...v7.0.1) (2021-10-27)
13
-
14
-
15
- ### Bug Fixes
16
-
17
- * **deps:** update dependency standard-version to v9.3.2 ([472d5e7](https://github.com/CrowdStrike/monorepo-next/commit/472d5e7b26163f7bd68f84579cec8a19540f37c9))
18
-
19
- ## [7.0.0](https://github.com/CrowdStrike/monorepo-next/compare/v6.3.1...v7.0.0) (2021-09-15)
20
-
21
-
22
- ### ⚠ BREAKING CHANGES
23
-
24
- * this only affects changed and nothing else
25
-
26
- ### Features
27
-
28
- * return only list of changed package names ([75840e9](https://github.com/CrowdStrike/monorepo-next/commit/75840e91501530ed1e4098893aad051f243e45ce))
29
-
30
- ### [6.3.1](https://github.com/CrowdStrike/monorepo-next/compare/v6.3.0...v6.3.1) (2021-08-23)
31
-
32
-
33
- ### Bug Fixes
34
-
35
- * **deps:** update dependency npm-packlist to v3 ([8b43e29](https://github.com/CrowdStrike/monorepo-next/commit/8b43e2945829562d1bd1f577549980a27a2f70ce))
36
-
37
- ## [6.3.0](https://github.com/CrowdStrike/monorepo-next/compare/v6.2.2...v6.3.0) (2021-08-20)
38
-
39
-
40
- ### Features
41
-
42
- * globs for changedFiles ([e67e7ca](https://github.com/CrowdStrike/monorepo-next/commit/e67e7ca99d25c3b789b803e41484b48ce0e9af83))
43
-
44
-
45
- ### Bug Fixes
46
-
47
- * case for missing globs & exts ([c29d23b](https://github.com/CrowdStrike/monorepo-next/commit/c29d23b57e693d332553a6a567248d5c41bac14c))
48
- * make the changedFiles code easier to reason about ([2963ab3](https://github.com/CrowdStrike/monorepo-next/commit/2963ab31ee7595a2242498add54c74e89772ae64))
49
- * refactor globs to use globs ([5b60cd6](https://github.com/CrowdStrike/monorepo-next/commit/5b60cd621172f0efdd9cfa23ad767553cfab32b7))
50
- * remove duplicated tests ([b5d1347](https://github.com/CrowdStrike/monorepo-next/commit/b5d13479217dbbd95184eeeb4c5add52b3b992f2))
51
-
52
- ### [6.2.2](https://github.com/CrowdStrike/monorepo-next/compare/v6.2.1...v6.2.2) (2021-07-21)
53
-
54
-
55
- ### Bug Fixes
56
-
57
- * assert for unexpected dirs ([292a72c](https://github.com/CrowdStrike/monorepo-next/commit/292a72c0c85a17c806da62e20b623377c57b1dbd))
58
- * strip dirs from git status ([163b37e](https://github.com/CrowdStrike/monorepo-next/commit/163b37ed6ac6ec3f2b84ba8d5abb5ee1eae1f0be))
59
-
60
- ### [6.2.1](https://github.com/CrowdStrike/monorepo-next/compare/v6.2.0...v6.2.1) (2021-07-14)
61
-
62
-
63
- ### Bug Fixes
64
-
65
- * **deps:** update dependency standard-version to v9.3.1 ([0c997d2](https://github.com/CrowdStrike/monorepo-next/commit/0c997d2e043ee172d0f97e1732fa4c7ec8a340cf))
66
-
67
- ## [6.2.0](https://github.com/CrowdStrike/monorepo-next/compare/v6.1.0...v6.2.0) (2021-07-01)
68
-
69
-
70
- ### Features
71
-
72
- * add debug logging to git ([1f3bdca](https://github.com/CrowdStrike/monorepo-next/commit/1f3bdcabda8065d9bcadb0d8df8fbf88b5aa05fc))
73
-
74
- ## [6.1.0](https://github.com/CrowdStrike/monorepo-next/compare/v6.0.0...v6.1.0) (2021-06-16)
75
-
76
-
77
- ### Features
78
-
79
- * clean up commit and tags after failed push ([a1d9171](https://github.com/CrowdStrike/monorepo-next/commit/a1d91714de846e346fd80a4e5ba50f6102907b80))
80
-
81
- ## [6.0.0](https://github.com/CrowdStrike/monorepo-next/compare/v5.1.1...v6.0.0) (2021-05-08)
82
-
83
-
84
- ### ⚠ BREAKING CHANGES
85
-
86
- * bump node 12
87
-
88
- ### Features
89
-
90
- * bump node 12 ([0fbd705](https://github.com/CrowdStrike/monorepo-next/commit/0fbd70557e6288010a38b9ff573e43709d90dcf4))
91
-
92
-
93
- ### Bug Fixes
94
-
95
- * **deps:** update dependency inquirer to v8 ([ee7304d](https://github.com/CrowdStrike/monorepo-next/commit/ee7304d51ff2e869ad1b108ec084c0af9632561c))
96
- * **deps:** update dependency standard-version to v9.3.0 ([9928d9a](https://github.com/CrowdStrike/monorepo-next/commit/9928d9ab1812c7e45e4d933f19f491f0532dd90d))
97
- * **deps:** update dependency yargs to v17 ([7036e39](https://github.com/CrowdStrike/monorepo-next/commit/7036e396bc22a06fc107b7a1a95ab6bbc6e43402))
98
-
99
- ### [5.1.1](https://github.com/CrowdStrike/monorepo-next/compare/v5.1.0...v5.1.1) (2021-04-23)
100
-
101
-
102
- ### Bug Fixes
103
-
104
- * `fromCommitIfNewer` ignores deleted commits ([1023d71](https://github.com/CrowdStrike/monorepo-next/commit/1023d71c95995414d249b02b310249b6a23cfbf3))
105
-
106
- ## [5.1.0](https://github.com/CrowdStrike/monorepo-next/compare/v5.0.0...v5.1.0) (2021-04-16)
107
-
108
-
109
- ### Features
110
-
111
- * add `fromCommitIfNewer` ([3406876](https://github.com/CrowdStrike/monorepo-next/commit/3406876adf76e53eb7f15d2314738d66dea006f8))
112
-
113
- ## [5.0.0](https://github.com/CrowdStrike/monorepo-next/compare/v4.3.4...v5.0.0) (2021-04-15)
114
-
115
-
116
- ### ⚠ BREAKING CHANGES
117
-
118
- * The `silent` option is removed from the js functions, and the js functions no longer log to console.
119
-
120
- ### Bug Fixes
121
-
122
- * remove logging of js `changed` and `changedFiles` ([2fd8921](https://github.com/CrowdStrike/monorepo-next/commit/2fd89213a959727e18b856aba212dc03621977bf))
123
-
124
- ### [4.3.4](https://github.com/CrowdStrike/monorepo-next/compare/v4.3.3...v4.3.4) (2021-04-07)
125
-
126
-
127
- ### Bug Fixes
128
-
129
- * **deps:** update dependency standard-version to v9.2.0 ([536d9ed](https://github.com/CrowdStrike/monorepo-next/commit/536d9edd38b96579a13081f487f06e17cf0e7b4b))
130
-
131
- ### [4.3.3](https://github.com/CrowdStrike/monorepo-next/compare/v4.3.2...v4.3.3) (2021-03-29)
132
-
133
-
134
- ### Bug Fixes
135
-
136
- * assume patch level as default ([f446d5d](https://github.com/CrowdStrike/monorepo-next/commit/f446d5d4c41a49a392b8c162193adb6feda83117))
137
-
138
- ### [4.3.2](https://github.com/CrowdStrike/monorepo-next/compare/v4.3.1...v4.3.2) (2021-03-25)
139
-
140
-
141
- ### Bug Fixes
142
-
143
- * undefined `from` is overwriting any default value internally ([7d2c2e8](https://github.com/CrowdStrike/monorepo-next/commit/7d2c2e8bc8500267254989dabfa70f8a1c7be6e3))
144
-
145
- ### [4.3.1](https://github.com/CrowdStrike/monorepo-next/compare/v4.3.0...v4.3.1) (2021-03-23)
146
-
147
-
148
- ### Bug Fixes
149
-
150
- * **deps:** update dependency semver to v7.3.5 ([e88f02c](https://github.com/CrowdStrike/monorepo-next/commit/e88f02c052fe35f6b45592ea75aeef65e054f471))
151
-
152
- ## [4.3.0](https://github.com/CrowdStrike/monorepo-next/compare/v4.2.1...v4.3.0) (2021-03-22)
153
-
154
-
155
- ### Features
156
-
157
- * exclude manual devDependency changes from releasability ([eb10971](https://github.com/CrowdStrike/monorepo-next/commit/eb10971b27e2a41b802595ec625fdc0167cc02d8))
158
-
159
-
160
- ### Bug Fixes
161
-
162
- * add option to exclude monorepo devDependency changes from releasability ([63ecd3c](https://github.com/CrowdStrike/monorepo-next/commit/63ecd3c4df323004d6ebfe984c1df973b7f671ea))
163
-
164
- ### [4.2.1](https://github.com/CrowdStrike/monorepo-next/compare/v4.2.0...v4.2.1) (2021-03-22)
165
-
166
-
167
- ### Bug Fixes
168
-
169
- * don't accidentally wipe injected files ([cf24355](https://github.com/CrowdStrike/monorepo-next/commit/cf243550f37acd78a7f55f7d57a1b35e7d071231))
170
-
171
- ## [4.2.0](https://github.com/CrowdStrike/monorepo-next/compare/v4.1.0...v4.2.0) (2021-03-19)
172
-
173
-
174
- ### Features
175
-
176
- * only consider published code as releasable ([942f3ea](https://github.com/CrowdStrike/monorepo-next/commit/942f3ea540b3bd4b44349aeae378b4bb65348148))
177
-
178
- ## [4.1.0](https://github.com/CrowdStrike/monorepo-next/compare/v4.0.2...v4.1.0) (2021-03-19)
179
-
180
-
181
- ### Features
182
-
183
- * don't cascade npm ignored changes to dependencies ([8a91b08](https://github.com/CrowdStrike/monorepo-next/commit/8a91b08a9a5b72b09c607e9f7010777a9b8b89e8))
184
-
185
- ### [4.0.2](https://github.com/CrowdStrike/monorepo-next/compare/v4.0.1...v4.0.2) (2021-03-18)
186
-
187
-
188
- ### Bug Fixes
189
-
190
- * don't version bump if dev dep changes ([2203d91](https://github.com/CrowdStrike/monorepo-next/commit/2203d917b6013ce9172fc2a2625136e3bfd470bb))
191
-
192
- ### [4.0.1](https://github.com/CrowdStrike/monorepo-next/compare/v4.0.0...v4.0.1) (2021-03-18)
193
-
194
-
195
- ### Bug Fixes
196
-
197
- * don't attempt publish if can't version bump ([426ac5e](https://github.com/CrowdStrike/monorepo-next/commit/426ac5eb79b5828612c5785504f1e1a6d0e9f9bc))
198
-
199
- ## [4.0.0](https://github.com/CrowdStrike/monorepo-next/compare/v3.2.3...v4.0.0) (2021-03-17)
200
-
201
-
202
- ### ⚠ BREAKING CHANGES
203
-
204
- * rename `bin/index.js` to `bin/next.js`
205
-
206
- * rename `bin/index.js` to `bin/next.js` ([23a9818](https://github.com/CrowdStrike/monorepo-next/commit/23a9818d17022f9079e96da41a0529af7f3c6d8c))
207
-
208
- ### [3.2.3](https://github.com/CrowdStrike/monorepo-next/compare/v3.2.2...v3.2.3) (2021-03-17)
209
-
210
- ### [3.2.2](https://github.com/CrowdStrike/monorepo-next/compare/v3.2.1...v3.2.2) (2021-03-16)
211
-
212
-
213
- ### Bug Fixes
214
-
215
- * ignore dotfile child package changes in root package ([3ac3237](https://github.com/CrowdStrike/monorepo-next/commit/3ac3237531d304130e0e86993f621188ab36390b))
216
-
217
- ### [3.2.1](https://github.com/CrowdStrike/monorepo-next/compare/v3.2.0...v3.2.1) (2021-03-16)
218
-
219
-
220
- ### Bug Fixes
221
-
222
- * ignore catch-all ranges in defrag ([3ce095a](https://github.com/CrowdStrike/monorepo-next/commit/3ce095ad1b04fa92228d38f0be069e7a11293660))
223
-
224
- ## [3.2.0](https://github.com/CrowdStrike/monorepo-next/compare/v3.1.0...v3.2.0) (2021-03-16)
225
-
226
-
227
- ### Features
228
-
229
- * add defrag command ([2a2fb6e](https://github.com/CrowdStrike/monorepo-next/commit/2a2fb6e8d963b5b4169d560c26673160d1b807d7))
230
-
231
- ## [3.1.0](https://github.com/CrowdStrike/monorepo-next/compare/v3.0.3...v3.1.0) (2021-03-15)
232
-
233
-
234
- ### Features
235
-
236
- * store `packagesGlobs` on `workspaceMeta` ([239c430](https://github.com/CrowdStrike/monorepo-next/commit/239c4307a4225f85eb8c37674ad30b2fd3abd9cb))
237
-
238
-
239
- ### Bug Fixes
240
-
241
- * ignores old child package changes in root package ([959644f](https://github.com/CrowdStrike/monorepo-next/commit/959644f988cde83f17c33f4f662d1468826202aa))
242
- * remove unnecessary async ([cf0ed32](https://github.com/CrowdStrike/monorepo-next/commit/cf0ed32e1c9ef24ff938559f40cbd9370ca7e698))
243
-
244
- ### [3.0.3](https://github.com/CrowdStrike/monorepo-next/compare/v3.0.2...v3.0.3) (2021-02-18)
245
-
246
- ### [3.0.2](https://github.com/CrowdStrike/monorepo-next/compare/v3.0.1...v3.0.2) (2021-02-18)
247
-
248
-
249
- ### Bug Fixes
250
-
251
- * **deps:** update dependency standard-version to v9.1.1 ([1ed4461](https://github.com/CrowdStrike/monorepo-next/commit/1ed4461a65f721eaaedec4634e5ec67bbb3a5a42))
252
-
253
- ### [3.0.1](https://github.com/CrowdStrike/monorepo-next/compare/v3.0.0...v3.0.1) (2021-02-09)
254
-
255
- ## [3.0.0](https://github.com/CrowdStrike/monorepo-next/compare/v2.8.2...v3.0.0) (2021-01-12)
256
-
257
-
258
- ### ⚠ BREAKING CHANGES
259
-
260
- * The object structure has changed.
261
-
262
- ### Features
263
-
264
- * expose old version and release type in `getNewVersions` ([8a83aeb](https://github.com/CrowdStrike/monorepo-next/commit/8a83aebd1bd6a014c3df62304ab03af1ea4a8a5c))
265
-
266
- ### [2.8.2](https://github.com/CrowdStrike/monorepo-next/compare/v2.8.1...v2.8.2) (2020-12-31)
267
-
268
-
269
- ### Bug Fixes
270
-
271
- * **deps:** update dependency conventional-recommended-bump to v6.1.0 ([61e62f2](https://github.com/CrowdStrike/monorepo-next/commit/61e62f20f517c3f687100fe20abe29c29dce7c1e))
272
- * **deps:** update dependency standard-version to v9.1.0 ([cd15194](https://github.com/CrowdStrike/monorepo-next/commit/cd1519466e6d845f7cfdba421623f73a847a4450))
273
-
274
- ### [2.8.1](https://github.com/CrowdStrike/monorepo-next/compare/v2.8.0...v2.8.1) (2020-12-22)
275
-
276
-
277
- ### Bug Fixes
278
-
279
- * **deps:** update dependency semver to v7.3.4 ([6d1529d](https://github.com/CrowdStrike/monorepo-next/commit/6d1529d3bc968dbacbe7e943664eadb435d8dc90))
280
- * fix change in semver package ([ad3bfce](https://github.com/CrowdStrike/monorepo-next/commit/ad3bfcec2c6843b4199ef19257c64cbe491192ff))
281
- * pin semver package ([6526e60](https://github.com/CrowdStrike/monorepo-next/commit/6526e607a8d98445e1132f88d22aae6d301519bb))
282
- * support the internal semver change ([03e2d48](https://github.com/CrowdStrike/monorepo-next/commit/03e2d48aa4e282e68fd633287590a06f939290c1))
283
- * update semver to 7.3.2 ([d912dca](https://github.com/CrowdStrike/monorepo-next/commit/d912dcaa9356281cc50d52a29058ac7287e73e2f))
284
- * update to last non-breaking semver version ([e93f683](https://github.com/CrowdStrike/monorepo-next/commit/e93f683654560c9e4dd382d645a75e2e7e135123))
285
-
286
- ## [2.8.0](https://github.com/CrowdStrike/monorepo-next/compare/v2.7.2...v2.8.0) (2020-12-22)
287
-
288
-
289
- ### Features
290
-
291
- * don't increment changelog version if going backwards ([5744fc3](https://github.com/CrowdStrike/monorepo-next/commit/5744fc320cec4ab8a48789c3b9bc517a3d769506))
292
-
293
- ### [2.7.2](https://github.com/CrowdStrike/monorepo-next/compare/v2.7.1...v2.7.2) (2020-12-22)
294
-
295
-
296
- ### Bug Fixes
297
-
298
- * never use `require` to load `package.json` ([4e467c6](https://github.com/CrowdStrike/monorepo-next/commit/4e467c62764940042538dc04838a0f9dfb91e550))
299
-
300
- ### [2.7.1](https://github.com/CrowdStrike/monorepo-next/compare/v2.7.0...v2.7.1) (2020-12-21)
301
-
302
-
303
- ### Bug Fixes
304
-
305
- * fix bad github merge ([c171250](https://github.com/CrowdStrike/monorepo-next/commit/c17125068023eac09a1dc8a73644fd27f482b201))
306
-
307
- ## [2.7.0](https://github.com/CrowdStrike/monorepo-next/compare/v2.6.1...v2.7.0) (2020-12-21)
308
-
309
-
310
- ### Features
311
-
312
- * add caching to git helper ([af9eeea](https://github.com/CrowdStrike/monorepo-next/commit/af9eeea7ca65bd9180ffdc56773ba8df3197b0f8))
313
- * add more git caching ([9054bf3](https://github.com/CrowdStrike/monorepo-next/commit/9054bf3119f2af263fd2ebc5ccebdfdfdb17fdb7))
314
-
315
- ### [2.6.1](https://github.com/CrowdStrike/monorepo-next/compare/v2.6.0...v2.6.1) (2020-12-21)
316
-
317
-
318
- ### Bug Fixes
319
-
320
- * cache `sinceBranchCommit` outside loop ([ca01198](https://github.com/CrowdStrike/monorepo-next/commit/ca011984a5b1329e1760aa1637c95b03c2b63a7e))
321
-
322
- ## [2.6.0](https://github.com/CrowdStrike/monorepo-next/compare/v2.5.0...v2.6.0) (2020-12-04)
323
-
324
-
325
- ### Features
326
-
327
- * create `getNewVersions` public api ([13743b6](https://github.com/CrowdStrike/monorepo-next/commit/13743b62b8a15c8e0106e674c2c1d161e183eb58))
328
-
329
-
330
- ### Bug Fixes
331
-
332
- * **deps:** update dependency execa to v5 ([b6add97](https://github.com/CrowdStrike/monorepo-next/commit/b6add97565195c3b4387356e2f9f58776ee7fd01))
333
-
334
- ## [2.5.0](https://github.com/CrowdStrike/monorepo-next/compare/v2.4.0...v2.5.0) (2020-12-02)
335
-
336
-
337
- ### Features
338
-
339
- * expose `getLatestReleaseCommit` ([827193b](https://github.com/CrowdStrike/monorepo-next/commit/827193b3b8617a074ebf63493bdcc8ab9072c276))
340
-
341
- ## [2.4.0](https://github.com/CrowdStrike/monorepo-next/compare/v2.3.2...v2.4.0) (2020-12-01)
342
-
343
-
344
- ### Features
345
-
346
- * pass `cached` option from `getChangelog` to `buildChangeGraph` ([fe72b65](https://github.com/CrowdStrike/monorepo-next/commit/fe72b6528c2bcfaffc43555a1654503bcb26597f))
347
- * support `fromCommit` in `getChangelog` ([2f1e238](https://github.com/CrowdStrike/monorepo-next/commit/2f1e23894cec4405f1b60cff02dda72cf57404ce))
348
-
349
- ### [2.3.2](https://github.com/CrowdStrike/monorepo-next/compare/v2.3.1...v2.3.2) (2020-11-30)
350
-
351
-
352
- ### Bug Fixes
353
-
354
- * **deps:** update dependency conventional-changelog to v3.1.24 ([77059ae](https://github.com/CrowdStrike/monorepo-next/commit/77059ae4ec7a5aeb8ad95d094cc0747aff73e6e5))
355
- * **deps:** update dependency conventional-recommended-bump to v6.0.11 ([e4d827f](https://github.com/CrowdStrike/monorepo-next/commit/e4d827f328e027f7784743c097511dffa2f32c87))
356
-
357
- ### [2.3.1](https://github.com/CrowdStrike/monorepo-next/compare/v2.3.0...v2.3.1) (2020-10-02)
358
-
359
-
360
- ### Bug Fixes
361
-
362
- * remove unused `sinceBranch` arg ([01b9986](https://github.com/CrowdStrike/monorepo-next/commit/01b9986ad83df9c2b99dd482643780a73981a970))
363
-
364
- ## [2.3.0](https://github.com/CrowdStrike/monorepo-next/compare/v2.2.0...v2.3.0) (2020-10-01)
365
-
366
-
367
- ### Features
368
-
369
- * implement `sinceBranch` ([47f8928](https://github.com/CrowdStrike/monorepo-next/commit/47f89284b4dcfd34f6c6cf876b73eb4b82464358))
370
-
371
- ## [2.2.0](https://github.com/CrowdStrike/monorepo-next/compare/v2.1.0...v2.2.0) (2020-10-01)
372
-
373
-
374
- ### Features
375
-
376
- * allow caching `fromCommit` too ([7085beb](https://github.com/CrowdStrike/monorepo-next/commit/7085beb2d2a2ba1add3c9e3f5b6fee18b0bf23a5))
377
-
378
- ## [2.1.0](https://github.com/CrowdStrike/monorepo-next/compare/v2.0.2...v2.1.0) (2020-09-28)
379
-
380
-
381
- ### Features
382
-
383
- * allow caching git operations ([0342b75](https://github.com/CrowdStrike/monorepo-next/commit/0342b754b90b1938cd98a9fb9921e462a58d41e5))
384
-
385
- ### [2.0.2](https://github.com/CrowdStrike/monorepo-next/compare/v2.0.1...v2.0.2) (2020-09-28)
386
-
387
-
388
- ### Bug Fixes
389
-
390
- * move `getCurrentCommit` to tests ([22c576a](https://github.com/CrowdStrike/monorepo-next/commit/22c576a44ab58c1b4ff32246e459c6e2a9939e08))
391
- * remove unnecessary `getCurrentCommit` call ([6598710](https://github.com/CrowdStrike/monorepo-next/commit/65987103fdb08dd751478b15b7e60d8e14ac7b47))
392
-
393
- ### [2.0.1](https://github.com/CrowdStrike/monorepo-next/compare/v2.0.0...v2.0.1) (2020-09-25)
394
-
395
-
396
- ### Bug Fixes
397
-
398
- * include dot in extension check ([3b5aa1b](https://github.com/CrowdStrike/monorepo-next/commit/3b5aa1b34c5372ac50f51b6015d6c9619a1796e4))
399
-
400
- ## [2.0.0](https://github.com/CrowdStrike/monorepo-next/compare/v1.1.0...v2.0.0) (2020-09-25)
401
-
402
-
403
- ### ⚠ BREAKING CHANGES
404
-
405
- * `ext` string is now `exts` array of strings
406
-
407
- ### Features
408
-
409
- * allow multiple extensions at once ([42a8078](https://github.com/CrowdStrike/monorepo-next/commit/42a8078d7eb01423f4442f2fb31dbe9adf8356af))
410
-
411
- ## [1.1.0](https://github.com/CrowdStrike/monorepo-next/compare/v1.0.0...v1.1.0) (2020-09-25)
412
-
413
-
414
- ### Features
415
-
416
- * allow calculating diff in reverse order ([df39504](https://github.com/CrowdStrike/monorepo-next/commit/df395045d7313b67e2357ec60598910b3afc3ff8))
417
-
418
- ## [1.0.0](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.47...v1.0.0) (2020-09-25)
419
-
420
-
421
- ### ⚠ BREAKING CHANGES
422
-
423
- * bump min node to 10
424
-
425
- ### Features
426
-
427
- * accept `fromCommit` from `changed` and `changedFiles` ([f1f8bb4](https://github.com/CrowdStrike/monorepo-next/commit/f1f8bb49b543e51eee5e740ecfa9d3541eff155b))
428
- * allow `buildChangeGraph` to take a `fromCommit` ([2a6dc32](https://github.com/CrowdStrike/monorepo-next/commit/2a6dc321f7f5dbba8e85e13cad7540cecdc671e7))
429
-
430
-
431
- ### Bug Fixes
432
-
433
- * **deps:** update dependency conventional-changelog to v3.1.23 ([05a7a5e](https://github.com/CrowdStrike/monorepo-next/commit/05a7a5e2ab844da7958b91c3715cc052598dfb86))
434
- * **deps:** update dependency conventional-recommended-bump to v6.0.10 ([a1c90dc](https://github.com/CrowdStrike/monorepo-next/commit/a1c90dce75c3bbd29e98871b161f7593a79d09b0))
435
- * **deps:** update dependency execa to v4 ([c144682](https://github.com/CrowdStrike/monorepo-next/commit/c144682f395d4d3e4958a04415d035062fae09e2))
436
- * **deps:** update dependency standard-version to v8 [security] ([14f9427](https://github.com/CrowdStrike/monorepo-next/commit/14f942788797f7952d44d1ccf199f69b9b1925ca))
437
- * **deps:** update dependency standard-version to v8.0.2 ([de4fd9e](https://github.com/CrowdStrike/monorepo-next/commit/de4fd9e2c2e824144b21497ee2707760a37b6527))
438
- * **deps:** update dependency standard-version to v9 ([14bf302](https://github.com/CrowdStrike/monorepo-next/commit/14bf30227353f8ff0dec6d0015268317b2814381))
439
- * **deps:** update dependency yargs to v16 ([bcaa60c](https://github.com/CrowdStrike/monorepo-next/commit/bcaa60c19c8a4d817b51d8abd183fa9a2346cd95))
440
-
441
-
442
- * track `standard-node-template` ([3c11090](https://github.com/CrowdStrike/monorepo-next/commit/3c110909fe3c7c5c131a3ef75a9f6ba4ffc4aa65))
443
-
444
- ### [0.2.47](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.46...v0.2.47) (2020-07-20)
445
-
446
-
447
- ### Features
448
-
449
- * **#114:** support wildcard versions ([#115](https://github.com/CrowdStrike/monorepo-next/issues/115)) ([86c5499](https://github.com/CrowdStrike/monorepo-next/commit/86c54993cf68c70301bf27b2964325abc77ef97f)), closes [#114](https://github.com/CrowdStrike/monorepo-next/issues/114) [#114](https://github.com/CrowdStrike/monorepo-next/issues/114)
450
-
451
- ### [0.2.46](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.45...v0.2.46) (2020-05-03)
452
-
453
-
454
- ### Bug Fixes
455
-
456
- * fix regression with `&&` in lifecycle script ([17b06ea](https://github.com/CrowdStrike/monorepo-next/commit/17b06ea7daf846f32f1c7eba252a99b2f786e851))
457
-
458
- ### [0.2.45](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.44...v0.2.45) (2020-05-03)
459
-
460
-
461
- ### Bug Fixes
462
-
463
- * retain empty version strings in `buildDAG` ([554f02f](https://github.com/CrowdStrike/monorepo-next/commit/554f02ff21f95b3dd4c308ab10a320e3f7be8561))
464
-
465
- ### [0.2.44](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.43...v0.2.44) (2020-04-30)
466
-
467
-
468
- ### Bug Fixes
469
-
470
- * handle mulitple root commits when package is new ([faafaf4](https://github.com/CrowdStrike/monorepo-next/commit/faafaf40f52eda557f68f63150ba16573eeee53f))
471
-
472
- ### [0.2.43](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.42...v0.2.43) (2020-04-29)
473
-
474
-
475
- ### Bug Fixes
476
-
477
- * ignore empty package dirs ([506112d](https://github.com/CrowdStrike/monorepo-next/commit/506112dfa3782285120bcf7d80df1411334b49c6))
478
-
479
- ### [0.2.42](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.41...v0.2.42) (2020-04-28)
480
-
481
-
482
- ### Features
483
-
484
- * support new packages without an existing version tag ([c44e744](https://github.com/CrowdStrike/monorepo-next/commit/c44e74495cde0b332c990a0e27d803d55f50748b))
485
-
486
- ### [0.2.41](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.40...v0.2.41) (2020-04-28)
487
-
488
-
489
- ### Bug Fixes
490
-
491
- * `getCurrentAtTag` => `getCommitAtTag` typo ([9e59968](https://github.com/CrowdStrike/monorepo-next/commit/9e5996897b1197a9eb200e8ca12b49edcf4d48e8))
492
- * extract some git operations to reusable functions ([00c7809](https://github.com/CrowdStrike/monorepo-next/commit/00c7809098dee4c6b99633918e7bf635b1f33444))
493
-
494
- ### [0.2.40](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.39...v0.2.40) (2020-04-28)
495
-
496
-
497
- ### Bug Fixes
498
-
499
- * only use `execa` for safety ([0275b6b](https://github.com/CrowdStrike/monorepo-next/commit/0275b6b34cd2871c989163585d0dcbd2df262686))
500
-
501
- ### [0.2.39](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.38...v0.2.39) (2020-04-01)
502
-
503
-
504
- ### Bug Fixes
505
-
506
- * handle changelogs where only the dep changed ([1922c56](https://github.com/CrowdStrike/monorepo-next/commit/1922c568658093419c9ae1bf29b5c1293ea97df0))
507
-
508
- ### [0.2.38](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.37...v0.2.38) (2020-03-27)
509
-
510
-
511
- ### Features
512
-
513
- * allow generating changelog for multiple versions ([2bd8580](https://github.com/CrowdStrike/monorepo-next/commit/2bd8580f65cadca4aab0e0f2ef4f55c154058614))
514
-
515
- ### [0.2.37](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.36...v0.2.37) (2020-03-27)
516
-
517
-
518
- ### Bug Fixes
519
-
520
- * uses previous version if no changes ([8d7e968](https://github.com/CrowdStrike/monorepo-next/commit/8d7e9683f2e4ffe020a1c7198800978db78f30a3))
521
-
522
- ### [0.2.36](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.35...v0.2.36) (2020-02-21)
523
-
524
-
525
- ### Features
526
-
527
- * add `getChangelog` ([3b7cda9](https://github.com/CrowdStrike/monorepo-next/commit/3b7cda9f3f91c44107a62ffc60446d5216aa704d))
528
-
529
-
530
- ### Bug Fixes
531
-
532
- * prevent circular requires ([fa8378c](https://github.com/CrowdStrike/monorepo-next/commit/fa8378c16b360babb76fc8be8d3e92095f0ba2fb))
533
-
534
- ### [0.2.35](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.34...v0.2.35) (2020-01-28)
535
-
536
-
537
- ### Bug Fixes
538
-
539
- * really add all ([ea8d50d](https://github.com/CrowdStrike/monorepo-next/commit/ea8d50d04c1f35f365cf4f4037622adcc707a48e))
540
-
541
- ### [0.2.34](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.33...v0.2.34) (2020-01-28)
542
-
543
-
544
- ### Features
545
-
546
- * handle `standard-version` lifecycle scripts if present ([5151258](https://github.com/CrowdStrike/monorepo-next/commit/51512587cfaee27bc51c0e9e92863bcad1997a31))
547
-
548
- ### [0.2.33](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.32...v0.2.33) (2020-01-23)
549
-
550
-
551
- ### Features
552
-
553
- * track dirty changes on top of committed ([24674e6](https://github.com/CrowdStrike/monorepo-next/commit/24674e6ad32fd34842b8b13dcbdfa2ee14a002b7))
554
-
555
- ### [0.2.32](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.31...v0.2.32) (2020-01-23)
556
-
557
-
558
- ### Bug Fixes
559
-
560
- * convert to spawn to allow strings in path ([43260ab](https://github.com/CrowdStrike/monorepo-next/commit/43260ab3dc5a97e8b0604a0c30821acfe7dee345))
561
-
562
- ### [0.2.31](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.30...v0.2.31) (2020-01-22)
563
-
564
-
565
- ### Bug Fixes
566
-
567
- * allow running with defaults ([291a67a](https://github.com/CrowdStrike/monorepo-next/commit/291a67a95f28b4a422a09b2eea8236409b8de443))
568
-
569
- ### [0.2.30](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.29...v0.2.30) (2020-01-22)
570
-
571
-
572
- ### Features
573
-
574
- * match `standard-version` release commit message ([2f4ba64](https://github.com/CrowdStrike/monorepo-next/commit/2f4ba64a2b4d501e351fa81f32d088ff3057a8ac))
575
-
576
- ### [0.2.29](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.28...v0.2.29) (2020-01-22)
577
-
578
-
579
- ### Bug Fixes
580
-
581
- * remove already applied options ([b651720](https://github.com/CrowdStrike/monorepo-next/commit/b651720530b34623f57a5a1d49167cd2302d5e38))
582
-
583
- ### [0.2.28](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.27...v0.2.28) (2020-01-22)
584
-
585
-
586
- ### Features
587
-
588
- * use sensible default for cwd ([7655f09](https://github.com/CrowdStrike/monorepo-next/commit/7655f098e1de7af30012e44617f5db7418656509))
589
-
590
- ### [0.2.27](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.26...v0.2.27) (2020-01-15)
591
-
592
-
593
- ### Bug Fixes
594
-
595
- * `non-fast-forward` error message ([6dbf7f4](https://github.com/CrowdStrike/monorepo-next/commit/6dbf7f42174c43df2348cd4f3e90a1c005ffc62b))
596
-
597
- ### [0.2.26](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.25...v0.2.26) (2020-01-15)
598
-
599
-
600
- ### Features
601
-
602
- * stop swallowing error codes ([bef73b8](https://github.com/CrowdStrike/monorepo-next/commit/bef73b8942482756fd00fdc580ab094fa7e7ff02))
603
-
604
- ### [0.2.25](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.24...v0.2.25) (2020-01-15)
605
-
606
-
607
- ### Bug Fixes
608
-
609
- * support non-atomic remotes ([440c03c](https://github.com/CrowdStrike/monorepo-next/commit/440c03cd74a446e5e0a9cd9ab21d397567b5ffd1))
610
-
611
- ### [0.2.24](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.23...v0.2.24) (2020-01-13)
612
-
613
-
614
- ### Bug Fixes
615
-
616
- * `bumpFiles` ([0e82614](https://github.com/CrowdStrike/monorepo-next/commit/0e826146535e6b742f96265822dab4d3f4ff3a52))
617
- * update standard-version ([ac3c005](https://github.com/CrowdStrike/monorepo-next/commit/ac3c0051d86390ed7db9f160a3802d5440e487df))
618
-
619
- ### [0.2.23](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.22...v0.2.23) (2020-01-13)
620
-
621
-
622
- ### Bug Fixes
623
-
624
- * remove npx call ([67167e5](https://github.com/CrowdStrike/monorepo-next/commit/67167e5f935a7998ca73f1d56cc42160ac388259))
625
-
626
- ### [0.2.22](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.21...v0.2.22) (2020-01-13)
627
-
628
-
629
- ### Features
630
-
631
- * forward `packageFiles` and `bumpFiles` options ([6d2c604](https://github.com/CrowdStrike/monorepo-next/commit/6d2c6040ad02e75b1b0995b6a4a6290e4cf42cee))
632
-
633
- ### [0.2.21](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.20...v0.2.21) (2020-01-13)
634
-
635
-
636
- ### Features
637
-
638
- * support pnpm workspaces ([2ab8bfe](https://github.com/CrowdStrike/monorepo-next/commit/2ab8bfe9f8d62c09bf9f28c7ed8d7885248e1965))
639
-
640
- ### [0.2.20](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.19...v0.2.20) (2020-01-13)
641
-
642
-
643
- ### Bug Fixes
644
-
645
- * pave the way for other monorepo support (pnpm, lerna) ([a8c9a54](https://github.com/CrowdStrike/monorepo-next/commit/a8c9a5450f146bf7cb16ca341e8745ab3e203cc3))
646
-
647
- ### [0.2.19](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.18...v0.2.19) (2020-01-06)
648
-
649
- ### [0.2.18](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.17...v0.2.18) (2020-01-06)
650
-
651
- ### [0.2.17](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.16...v0.2.17) (2019-12-11)
652
-
653
-
654
- ### Bug Fixes
655
-
656
- * treat `optionalDependencies` like other dependency types ([ce79937](https://github.com/CrowdStrike/monorepo-next/commit/ce799378fcf38d2fd74cedc5d11fd4fc4d2e40ce))
657
-
658
- ### [0.2.16](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.15...v0.2.16) (2019-12-11)
659
-
660
-
661
- ### Bug Fixes
662
-
663
- * private projects should track out of range too ([af5afce](https://github.com/CrowdStrike/monorepo-next/commit/af5afcef2505b19e2c6acaf4fc1d5ab3ebe05c49))
664
-
665
- ### [0.2.15](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.14...v0.2.15) (2019-12-11)
666
-
667
- ### [0.2.14](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.13...v0.2.14) (2019-12-11)
668
-
669
-
670
- ### Bug Fixes
671
-
672
- * track newly out of range ([a306115](https://github.com/CrowdStrike/monorepo-next/commit/a3061154fda37b3c4ec8dbfe65a08dff0103595a))
673
-
674
- ### [0.2.13](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.12...v0.2.13) (2019-12-11)
675
-
676
-
677
- ### Bug Fixes
678
-
679
- * fix `shouldInheritGreaterReleaseType` when no changes ([6d598eb](https://github.com/CrowdStrike/monorepo-next/commit/6d598ebd73cc3a916397a6a1e0c7e827b2ae992c))
680
-
681
- ### [0.2.12](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.11...v0.2.12) (2019-11-19)
682
-
683
-
684
- ### Bug Fixes
685
-
686
- * **deps:** update dependency standard-version to v7.0.1 ([d700319](https://github.com/CrowdStrike/monorepo-next/commit/d7003197fb91baed6e5fe202360f16b0ddfe5977))
687
-
688
- ### [0.2.11](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.10...v0.2.11) (2019-11-18)
689
-
690
-
691
- ### Bug Fixes
692
-
693
- * **deps:** update dependency conventional-recommended-bump to v6.0.5 ([2c62f77](https://github.com/CrowdStrike/monorepo-next/commit/2c62f777ca3d81b52fc0fd9cb8be78f80cfb053d))
694
-
695
- ### [0.2.10](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.9...v0.2.10) (2019-11-18)
696
-
697
-
698
- ### Bug Fixes
699
-
700
- * **deps:** update dependency yargs to v15 ([cc8fc4d](https://github.com/CrowdStrike/monorepo-next/commit/cc8fc4d3408156c708c58a53f543eba2df3b58e5))
701
-
702
- ### [0.2.9](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.8...v0.2.9) (2019-11-11)
703
-
704
-
705
- ### Bug Fixes
706
-
707
- * **deps:** update dependency conventional-recommended-bump to v6.0.4 ([89fc33c](https://github.com/CrowdStrike/monorepo-next/commit/89fc33c85497a543e76adc486aaf7d745dcdd76f))
708
-
709
- ### [0.2.8](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.7...v0.2.8) (2019-11-04)
710
-
711
-
712
- ### Bug Fixes
713
-
714
- * **deps:** update dependency conventional-recommended-bump to v6.0.2 ([5d5f24d](https://github.com/CrowdStrike/monorepo-next/commit/5d5f24d))
715
-
716
- ### [0.2.7](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.6...v0.2.7) (2019-11-04)
717
-
718
-
719
- ### Bug Fixes
720
-
721
- * **deps:** update dependency execa to v3 ([e725fab](https://github.com/CrowdStrike/monorepo-next/commit/e725fab))
722
-
723
- ### [0.2.6](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.5...v0.2.6) (2019-09-27)
724
-
725
-
726
- ### Features
727
-
728
- * pass through scripts option ([38fb781](https://github.com/CrowdStrike/monorepo-next/commit/38fb781))
729
-
730
- ### [0.2.5](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.4...v0.2.5) (2019-09-24)
731
-
732
- ### [0.2.4](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.3...v0.2.4) (2019-09-21)
733
-
734
-
735
- ### Bug Fixes
736
-
737
- * fix json formatting on Windows ([317c412](https://github.com/CrowdStrike/monorepo-next/commit/317c412))
738
-
739
- ### [0.2.3](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.2...v0.2.3) (2019-09-21)
740
-
741
-
742
- ### Bug Fixes
743
-
744
- * create annotated tag ([ed5f970](https://github.com/CrowdStrike/monorepo-next/commit/ed5f970))
745
-
746
- ### [0.2.2](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.1...v0.2.2) (2019-09-15)
747
-
748
-
749
- ### Bug Fixes
750
-
751
- * ignore unchanged packages ([48d3b75](https://github.com/CrowdStrike/monorepo-next/commit/48d3b75))
752
-
753
- ### [0.2.1](https://github.com/CrowdStrike/monorepo-next/compare/v0.2.0...v0.2.1) (2019-09-15)
754
-
755
- ## [0.2.0](https://github.com/CrowdStrike/monorepo-next/compare/v0.1.2...v0.2.0) (2019-09-15)
756
-
757
-
758
- ### Features
759
-
760
- * release options ([918fc8f](https://github.com/CrowdStrike/monorepo-next/commit/918fc8f))
761
-
762
- ### [0.1.2](https://github.com/CrowdStrike/monorepo-next/compare/v0.1.1...v0.1.2) (2019-09-12)
763
-
764
-
765
- ### Bug Fixes
766
-
767
- * fix non-package choice naming ([9789ab2](https://github.com/CrowdStrike/monorepo-next/commit/9789ab2))
768
-
769
- ### [0.1.1](https://github.com/CrowdStrike/monorepo-next/compare/v0.1.0...v0.1.1) (2019-09-12)
770
-
771
-
772
- ### Bug Fixes
773
-
774
- * add travis file ([c8389a2](https://github.com/CrowdStrike/monorepo-next/commit/c8389a2))
775
- * update commitlint ([7bfebde](https://github.com/CrowdStrike/monorepo-next/commit/7bfebde))
package/src/set.js DELETED
@@ -1,34 +0,0 @@
1
- 'use strict';
2
-
3
- function union(a, b) {
4
- return new Set([...a, ...b]);
5
- }
6
-
7
- function intersection(a, b) {
8
- let set = new Set();
9
-
10
- for (let elem of b) {
11
- if (a.has(elem)) {
12
- set.add(elem);
13
- }
14
- }
15
-
16
- return set;
17
- }
18
-
19
- function map(set, callback) {
20
- let newSet = new Set();
21
- let i = 0;
22
-
23
- for (let value of set) {
24
- newSet.add(callback(value, i++));
25
- }
26
-
27
- return newSet;
28
- }
29
-
30
- module.exports = {
31
- union,
32
- intersection,
33
- map,
34
- };