@exadev/semantic-release-workspace 1.0.0 → 1.0.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/dist/cli.js +3 -2
- package/dist/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -13,7 +13,7 @@ import validateNpmPackageName from "validate-npm-package-name";
|
|
|
13
13
|
import { glob } from "tinyglobby";
|
|
14
14
|
import { parse } from "yaml";
|
|
15
15
|
//#region package.json
|
|
16
|
-
var version = "1.0.
|
|
16
|
+
var version = "1.0.1";
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/errors.ts
|
|
19
19
|
/**
|
|
@@ -634,6 +634,7 @@ async function releaseWorkspace(options = {}) {
|
|
|
634
634
|
const root = resolve(options.root ?? process.cwd());
|
|
635
635
|
const log = options.log ?? console.log;
|
|
636
636
|
const dryRun = options.dryRun === true;
|
|
637
|
+
const env = options.env ?? process.env;
|
|
637
638
|
const workspace = await discoverWorkspace(root);
|
|
638
639
|
const graph = buildDependencyGraph(workspace.packages);
|
|
639
640
|
validateDependencyRangeShapes(graph);
|
|
@@ -655,7 +656,7 @@ async function releaseWorkspace(options = {}) {
|
|
|
655
656
|
generateNotesConfig,
|
|
656
657
|
bumpsForThisPackage,
|
|
657
658
|
dryRun,
|
|
658
|
-
env
|
|
659
|
+
env,
|
|
659
660
|
branches: options.branches
|
|
660
661
|
});
|
|
661
662
|
const nextRelease = result === false ? void 0 : result.nextRelease;
|
package/dist/index.cjs
CHANGED
|
@@ -647,6 +647,7 @@ async function releaseWorkspace(options = {}) {
|
|
|
647
647
|
const root = (0, node_path.resolve)(options.root ?? process.cwd());
|
|
648
648
|
const log = options.log ?? console.log;
|
|
649
649
|
const dryRun = options.dryRun === true;
|
|
650
|
+
const env = options.env ?? process.env;
|
|
650
651
|
const workspace = await discoverWorkspace(root);
|
|
651
652
|
const graph = buildDependencyGraph(workspace.packages);
|
|
652
653
|
validateDependencyRangeShapes(graph);
|
|
@@ -668,7 +669,7 @@ async function releaseWorkspace(options = {}) {
|
|
|
668
669
|
generateNotesConfig,
|
|
669
670
|
bumpsForThisPackage,
|
|
670
671
|
dryRun,
|
|
671
|
-
env
|
|
672
|
+
env,
|
|
672
673
|
branches: options.branches
|
|
673
674
|
});
|
|
674
675
|
const nextRelease = result === false ? void 0 : result.nextRelease;
|
package/dist/index.js
CHANGED
|
@@ -622,6 +622,7 @@ async function releaseWorkspace(options = {}) {
|
|
|
622
622
|
const root = resolve(options.root ?? process.cwd());
|
|
623
623
|
const log = options.log ?? console.log;
|
|
624
624
|
const dryRun = options.dryRun === true;
|
|
625
|
+
const env = options.env ?? process.env;
|
|
625
626
|
const workspace = await discoverWorkspace(root);
|
|
626
627
|
const graph = buildDependencyGraph(workspace.packages);
|
|
627
628
|
validateDependencyRangeShapes(graph);
|
|
@@ -643,7 +644,7 @@ async function releaseWorkspace(options = {}) {
|
|
|
643
644
|
generateNotesConfig,
|
|
644
645
|
bumpsForThisPackage,
|
|
645
646
|
dryRun,
|
|
646
|
-
env
|
|
647
|
+
env,
|
|
647
648
|
branches: options.branches
|
|
648
649
|
});
|
|
649
650
|
const nextRelease = result === false ? void 0 : result.nextRelease;
|
package/package.json
CHANGED