@vnejs/monorepo 0.1.0 → 0.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/monorepo",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Monorepo tooling for @vnejs",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/bump/index.js CHANGED
@@ -133,6 +133,8 @@ module.exports = async (version, options = {}) => {
133
133
 
134
134
  console.log(`\n=== Phase 2: sync-deps --all (${packages.length} packages) ===`);
135
135
 
136
+ if (!dryRun) await confirm("Continue? [y/N] ");
137
+
136
138
  syncDeps({
137
139
  cwd: options.cwd,
138
140
  all: true,
@@ -145,6 +147,8 @@ module.exports = async (version, options = {}) => {
145
147
  if (phases.includes("patch")) {
146
148
  console.log(`\n=== Phase 3: publish:changed:patch ===`);
147
149
 
150
+ if (!dryRun) await confirm("Continue? [y/N] ");
151
+
148
152
  await runChanged({
149
153
  script: "publish:patch",
150
154
  ref: options.ref ?? "HEAD",
@@ -2,7 +2,7 @@ const readPackageJson = require("./read-package-json");
2
2
  const matchVersion = require("./match-version");
3
3
  const isStubTestScript = require("./is-stub-test-script");
4
4
 
5
- const DEFAULT_EXCLUDED_DIRS = ["cli"];
5
+ const DEFAULT_EXCLUDED_DIRS = [];
6
6
 
7
7
  const isExcludedDir = (dir, excludedDirs) =>
8
8
  excludedDirs.some((excluded) => dir === excluded || dir.startsWith(`${excluded}/`));