@deot/dev-releaser 2.9.1 → 2.9.3
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/index.cjs +4 -2
- package/dist/index.js +4 -2
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -362,7 +362,7 @@ ${newLog}`);
|
|
|
362
362
|
} else {
|
|
363
363
|
devShared.Logger.log(chalk.yellow("Test..."));
|
|
364
364
|
}
|
|
365
|
-
await devShared.Shell.exec(`npm run test -- --package-name ${this.packageName}`);
|
|
365
|
+
await devShared.Shell.exec(`npm run test -- --package-name ${this.packageName}${commandOptions.coverage ? "" : " --no-coverage"}`);
|
|
366
366
|
}
|
|
367
367
|
async build() {
|
|
368
368
|
if (!this.isChanged()) return;
|
|
@@ -455,6 +455,7 @@ const release = (options, commandOptions) => {
|
|
|
455
455
|
|
|
456
456
|
const run = (options) => devShared.Utils.autoCatch(async () => {
|
|
457
457
|
options = {
|
|
458
|
+
coverage: true,
|
|
458
459
|
dryRun: true,
|
|
459
460
|
tag: true,
|
|
460
461
|
publish: true,
|
|
@@ -468,7 +469,8 @@ const run = (options) => devShared.Utils.autoCatch(async () => {
|
|
|
468
469
|
options.skipUpdateName = devShared.Locals.getRealPackageName(options.skipUpdateName);
|
|
469
470
|
if (options.dryRun) {
|
|
470
471
|
devShared.Logger.log(
|
|
471
|
-
chalk.magenta(`DRY RUN: `) + "No files will be modified."
|
|
472
|
+
chalk.magenta(`DRY RUN: `) + "No files will be modified.",
|
|
473
|
+
options
|
|
472
474
|
);
|
|
473
475
|
}
|
|
474
476
|
let inputs = [];
|
package/dist/index.js
CHANGED
|
@@ -339,7 +339,7 @@ ${newLog}`);
|
|
|
339
339
|
} else {
|
|
340
340
|
Logger.log(chalk.yellow("Test..."));
|
|
341
341
|
}
|
|
342
|
-
await Shell.exec(`npm run test -- --package-name ${this.packageName}`);
|
|
342
|
+
await Shell.exec(`npm run test -- --package-name ${this.packageName}${commandOptions.coverage ? "" : " --no-coverage"}`);
|
|
343
343
|
}
|
|
344
344
|
async build() {
|
|
345
345
|
if (!this.isChanged()) return;
|
|
@@ -432,6 +432,7 @@ const release = (options, commandOptions) => {
|
|
|
432
432
|
|
|
433
433
|
const run = (options) => Utils.autoCatch(async () => {
|
|
434
434
|
options = {
|
|
435
|
+
coverage: true,
|
|
435
436
|
dryRun: true,
|
|
436
437
|
tag: true,
|
|
437
438
|
publish: true,
|
|
@@ -445,7 +446,8 @@ const run = (options) => Utils.autoCatch(async () => {
|
|
|
445
446
|
options.skipUpdateName = Locals.getRealPackageName(options.skipUpdateName);
|
|
446
447
|
if (options.dryRun) {
|
|
447
448
|
Logger.log(
|
|
448
|
-
chalk.magenta(`DRY RUN: `) + "No files will be modified."
|
|
449
|
+
chalk.magenta(`DRY RUN: `) + "No files will be modified.",
|
|
450
|
+
options
|
|
449
451
|
);
|
|
450
452
|
}
|
|
451
453
|
let inputs = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deot/dev-releaser",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@deot/dev-shared": "^2.9.
|
|
23
|
-
"conventional-commits-parser": "^6.
|
|
24
|
-
"chalk": "^5.
|
|
25
|
-
"fs-extra": "^11.3.
|
|
26
|
-
"inquirer": "^12.
|
|
27
|
-
"semver": "^7.7.
|
|
22
|
+
"@deot/dev-shared": "^2.9.2",
|
|
23
|
+
"conventional-commits-parser": "^6.2.0",
|
|
24
|
+
"chalk": "^5.6.2",
|
|
25
|
+
"fs-extra": "^11.3.2",
|
|
26
|
+
"inquirer": "^12.9.6",
|
|
27
|
+
"semver": "^7.7.3"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"cross-env": "^
|
|
30
|
+
"cross-env": "^10.1.0"
|
|
31
31
|
}
|
|
32
32
|
}
|