beachball 2.30.1 → 2.30.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPackageOptions.d.ts","sourceRoot":"","sources":["../../src/options/getPackageOptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAM3D;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,oBAAoB,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"getPackageOptions.d.ts","sourceRoot":"","sources":["../../src/options/getPackageOptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAM3D;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,oBAAoB,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,cAAc,CAWvG;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAS9E"}
|
|
@@ -15,8 +15,9 @@ const path_1 = __importDefault(require("path"));
|
|
|
15
15
|
*/
|
|
16
16
|
function getCombinedPackageOptions(actualPackageOptions) {
|
|
17
17
|
const defaultOptions = getDefaultOptions_1.getDefaultOptions();
|
|
18
|
-
|
|
19
|
-
const
|
|
18
|
+
// Don't use options from process.argv or the beachball repo in tests
|
|
19
|
+
const cliOptions = process.env.NODE_ENV !== 'test' && getCliOptions_1.getCliOptions(process.argv);
|
|
20
|
+
const repoOptions = cliOptions && getRepoOptions_1.getRepoOptions(cliOptions);
|
|
20
21
|
return {
|
|
21
22
|
...defaultOptions,
|
|
22
23
|
...repoOptions,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPackageOptions.js","sourceRoot":"","sources":["../../src/options/getPackageOptions.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA8C;AAE9C,mDAAgD;AAChD,qDAAkD;AAClD,2DAAwD;AACxD,gDAAwB;AAExB;;;GAGG;AACH,SAAgB,yBAAyB,CAAC,oBAA6C;IACrF,MAAM,cAAc,GAAG,qCAAiB,EAAE,CAAC;IAC3C,MAAM,UAAU,GAAG,6BAAa,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"getPackageOptions.js","sourceRoot":"","sources":["../../src/options/getPackageOptions.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA8C;AAE9C,mDAAgD;AAChD,qDAAkD;AAClD,2DAAwD;AACxD,gDAAwB;AAExB;;;GAGG;AACH,SAAgB,yBAAyB,CAAC,oBAA6C;IACrF,MAAM,cAAc,GAAG,qCAAiB,EAAE,CAAC;IAC3C,qEAAqE;IACrE,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,MAAM,IAAI,6BAAa,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAClF,MAAM,WAAW,GAAG,UAAU,IAAI,+BAAc,CAAC,UAAU,CAAC,CAAC;IAC7D,OAAO;QACL,GAAG,cAAc;QACjB,GAAG,WAAW;QACd,GAAG,oBAAoB;QACvB,GAAG,UAAU;KACd,CAAC;AACJ,CAAC;AAXD,8DAWC;AAED;;GAEG;AACH,SAAgB,iBAAiB,CAAC,WAAmB;IACnD,MAAM,cAAc,GAAG,6BAAe,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IACtE,IAAI;QACF,MAAM,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,cAAI,CAAC,IAAI,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC;QAC5E,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;KAC1C;IAAC,OAAO,CAAC,EAAE;QACV,0DAA0D;QAC1D,OAAO,EAAE,CAAC;KACX;AACH,CAAC;AATD,8CASC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beachball",
|
|
3
|
-
"version": "2.30.
|
|
3
|
+
"version": "2.30.2",
|
|
4
4
|
"description": "The Sunniest Semantic Version Bumper",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,11 +31,13 @@
|
|
|
31
31
|
"release": "node ./lib/cli.js publish -y",
|
|
32
32
|
"release:docs": "yarn docs:build && yarn gh-pages -d docs/.vuepress/dist --dotfiles",
|
|
33
33
|
"start": "tsc -w --preserveWatchOutput",
|
|
34
|
-
"test": "
|
|
35
|
-
"test:
|
|
36
|
-
"test:
|
|
34
|
+
"test": "jest",
|
|
35
|
+
"test:all": "yarn test:unit && yarn test:func && yarn test:e2e",
|
|
36
|
+
"test:e2e": "jest --selectProjects e2e",
|
|
37
|
+
"test:func": "jest --selectProjects functional",
|
|
38
|
+
"test:unit": "jest --selectProjects unit",
|
|
37
39
|
"test:watch": "jest --watch",
|
|
38
|
-
"update-snapshots": "yarn test:unit -u && yarn test:e2e -u"
|
|
40
|
+
"update-snapshots": "yarn test:unit -u && yarn test:func -u && yarn test:e2e -u"
|
|
39
41
|
},
|
|
40
42
|
"dependencies": {
|
|
41
43
|
"cosmiconfig": "^7.0.0",
|
|
@@ -47,16 +49,16 @@
|
|
|
47
49
|
"prompts": "^2.1.0",
|
|
48
50
|
"semver": "^7.0.0",
|
|
49
51
|
"toposort": "^2.0.2",
|
|
50
|
-
"uuid": "^
|
|
51
|
-
"workspace-tools": "^0.
|
|
52
|
+
"uuid": "^9.0.0",
|
|
53
|
+
"workspace-tools": "^0.27.0",
|
|
52
54
|
"yargs-parser": "^21.0.0"
|
|
53
55
|
},
|
|
54
56
|
"devDependencies": {
|
|
57
|
+
"@jest/globals": "28.1.3",
|
|
55
58
|
"@types/cosmiconfig": "6.0.0",
|
|
56
59
|
"@types/execa": "2.0.0",
|
|
57
60
|
"@types/fs-extra": "9.0.13",
|
|
58
|
-
"@types/
|
|
59
|
-
"@types/lodash": "4.14.183",
|
|
61
|
+
"@types/lodash": "4.14.185",
|
|
60
62
|
"@types/minimatch": "3.0.5",
|
|
61
63
|
"@types/node": "12.20.55",
|
|
62
64
|
"@types/p-limit": "2.2.0",
|
|
@@ -69,6 +71,7 @@
|
|
|
69
71
|
"find-free-port": "2.0.0",
|
|
70
72
|
"gh-pages": "4.0.0",
|
|
71
73
|
"jest": "28.1.3",
|
|
74
|
+
"jest-mock": "28.1.3",
|
|
72
75
|
"prettier": "2.7.1",
|
|
73
76
|
"tmp": "0.2.1",
|
|
74
77
|
"ts-jest": "28.0.8",
|