@deot/dev-updater 2.5.0 → 2.6.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.
- package/dist/index.cjs +3 -1
- package/dist/{index.es.js → index.js} +3 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -209,7 +209,8 @@ ${message}`);
|
|
|
209
209
|
devShared.Logger.log(`${chalk.cyan(key)}: ${chalk.yellow(version)} -> ${chalk.green(changed[key][version])}`);
|
|
210
210
|
});
|
|
211
211
|
});
|
|
212
|
-
const
|
|
212
|
+
const { all } = this.commandOptions;
|
|
213
|
+
const packageFolderNames = all ? ["*"] : await this.updatePackageOptions(changed);
|
|
213
214
|
message = `chore${packageFolderNames.length ? "(" : ""}${packageFolderNames.join(",")}${packageFolderNames.length ? ")" : ""}: ${message}`;
|
|
214
215
|
await this.updateLock();
|
|
215
216
|
await this.test();
|
|
@@ -238,6 +239,7 @@ const run = (options) => devShared.Utils.autoCatch(async () => {
|
|
|
238
239
|
major: false,
|
|
239
240
|
minor: false,
|
|
240
241
|
patch: false,
|
|
242
|
+
all: false,
|
|
241
243
|
...options
|
|
242
244
|
};
|
|
243
245
|
if (process.env.NODE_ENV === "UNIT")
|
|
@@ -186,7 +186,8 @@ ${message}`);
|
|
|
186
186
|
Logger.log(`${chalk.cyan(key)}: ${chalk.yellow(version)} -> ${chalk.green(changed[key][version])}`);
|
|
187
187
|
});
|
|
188
188
|
});
|
|
189
|
-
const
|
|
189
|
+
const { all } = this.commandOptions;
|
|
190
|
+
const packageFolderNames = all ? ["*"] : await this.updatePackageOptions(changed);
|
|
190
191
|
message = `chore${packageFolderNames.length ? "(" : ""}${packageFolderNames.join(",")}${packageFolderNames.length ? ")" : ""}: ${message}`;
|
|
191
192
|
await this.updateLock();
|
|
192
193
|
await this.test();
|
|
@@ -215,6 +216,7 @@ const run = (options) => Utils.autoCatch(async () => {
|
|
|
215
216
|
major: false,
|
|
216
217
|
minor: false,
|
|
217
218
|
patch: false,
|
|
219
|
+
all: false,
|
|
218
220
|
...options
|
|
219
221
|
};
|
|
220
222
|
if (process.env.NODE_ENV === "UNIT")
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deot/dev-updater",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.2",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "dist/index.
|
|
5
|
+
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
-
"import": "./dist/index.
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
10
|
"require": "./dist/index.cjs",
|
|
11
11
|
"types": "./dist/index.d.ts"
|
|
12
12
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@deot/dev-shared": "^2.
|
|
22
|
+
"@deot/dev-shared": "^2.6.2",
|
|
23
23
|
"chalk": "^5.3.0",
|
|
24
24
|
"fs-extra": "^11.1.1",
|
|
25
25
|
"ora": "^7.0.1",
|