pkgbld 1.2.16 → 1.2.19
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.js +4 -4
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -221,7 +221,7 @@ function processPackage(pkg, config) {
|
|
|
221
221
|
const input = [];
|
|
222
222
|
const logger$1 = logger.createLogger();
|
|
223
223
|
if (typeof pkg.name !== 'string') {
|
|
224
|
-
logger$1.finish('expecting name to be a string in package.json', 3 /* error */);
|
|
224
|
+
logger$1.finish('expecting name to be a string in package.json', 3 /* LogLevel.error */);
|
|
225
225
|
process.exit(-1);
|
|
226
226
|
}
|
|
227
227
|
if (!Array.isArray(pkg.files)) {
|
|
@@ -305,17 +305,17 @@ async function execute() {
|
|
|
305
305
|
for (const config of rollupConfigs) {
|
|
306
306
|
const logger$1 = logger.createLogger();
|
|
307
307
|
const time = Date.now();
|
|
308
|
-
logger$1.start(`building ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')}`, 1 /* info */);
|
|
308
|
+
logger$1.start(`building ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')}`, 1 /* LogLevel.info */);
|
|
309
309
|
const bundle = await rollup.rollup(config);
|
|
310
310
|
await Promise.all(toArray(config.output).map(config => bundle.write(config)));
|
|
311
311
|
await bundle.close();
|
|
312
|
-
logger$1.finish(`finished ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')} in ${getTimeDiff(time)}`, 1 /* info */);
|
|
312
|
+
logger$1.finish(`finished ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')} in ${getTimeDiff(time)}`, 1 /* LogLevel.info */);
|
|
313
313
|
}
|
|
314
314
|
await writePackage(pkgPath, pkg);
|
|
315
315
|
await createSubpackages(inputs, config);
|
|
316
316
|
}
|
|
317
317
|
catch (e) {
|
|
318
|
-
logger.createLogger().finish(`${e}}`, 3 /* error */);
|
|
318
|
+
logger.createLogger().finish(`${e}}`, 3 /* LogLevel.error */);
|
|
319
319
|
process.exit(-1);
|
|
320
320
|
}
|
|
321
321
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.2.
|
|
2
|
+
"version": "1.2.19",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"name": "pkgbld",
|
|
5
5
|
"author": {
|
|
@@ -43,20 +43,20 @@
|
|
|
43
43
|
"@typescript-eslint/parser": "5.8.0",
|
|
44
44
|
"conventional-changelog-angular": "5.0.13",
|
|
45
45
|
"eslint": "8.5.0",
|
|
46
|
-
"semantic-release": "
|
|
46
|
+
"semantic-release": "19.0.3",
|
|
47
47
|
"rimfar": "3.0.2-omega"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@niceties/logger": "1.1.3",
|
|
51
51
|
"is-builtin-module": "3.1.0",
|
|
52
52
|
"lodash": "4.17.21",
|
|
53
|
-
"rollup": "2.
|
|
53
|
+
"rollup": "2.75.0",
|
|
54
54
|
"rollup-plugin-terser": "7.0.2",
|
|
55
55
|
"rollup-plugin-typescript2": "0.31.2",
|
|
56
56
|
"rollup-plugin-preprocess": "0.0.4",
|
|
57
57
|
"@rollup/plugin-commonjs": "21.1.0",
|
|
58
58
|
"@rollup/plugin-node-resolve": "13.3.0",
|
|
59
|
-
"typescript": "4.
|
|
59
|
+
"typescript": "4.7.2",
|
|
60
60
|
"minimist": "1.2.6"
|
|
61
61
|
}
|
|
62
62
|
}
|