Comparing version 1.2.17 to 1.2.18
@@ -224,3 +224,3 @@ #!/usr/bin/env node | ||
if (typeof pkg.name !== 'string') { | ||
logger$1.finish('expecting name to be a string in package.json', 3 /* error */); | ||
logger$1.finish('expecting name to be a string in package.json', 3 /* LogLevel.error */); | ||
process.exit(-1); | ||
@@ -309,7 +309,7 @@ } | ||
const time = Date.now(); | ||
logger$1.start(`building ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')}`, 1 /* info */); | ||
logger$1.start(`building ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')}`, 1 /* LogLevel.info */); | ||
const bundle = await rollup.rollup(config); | ||
await Promise.all(toArray(config.output).map(config => bundle.write(config))); | ||
await bundle.close(); | ||
logger$1.finish(`finished ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')} in ${getTimeDiff(time)}`, 1 /* info */); | ||
logger$1.finish(`finished ${formatInput(config.input)} → ${formatOutput(config.output, 'dir')}, ${formatOutput(config.output, 'format')} in ${getTimeDiff(time)}`, 1 /* LogLevel.info */); | ||
} | ||
@@ -320,3 +320,3 @@ await writePackage(pkgPath, pkg); | ||
catch (e) { | ||
logger.createLogger().finish(`${e}}`, 3 /* error */); | ||
logger.createLogger().finish(`${e}}`, 3 /* LogLevel.error */); | ||
process.exit(-1); | ||
@@ -323,0 +323,0 @@ } |
{ | ||
"version": "1.2.17", | ||
"version": "1.2.18", | ||
"license": "MIT", | ||
@@ -59,5 +59,5 @@ "name": "pkgbld", | ||
"@rollup/plugin-node-resolve": "13.3.0", | ||
"typescript": "4.6.4", | ||
"typescript": "4.7.2", | ||
"minimist": "1.2.6" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19516
+ Addedtypescript@4.7.2(transitive)
- Removedtypescript@4.6.4(transitive)
Updatedtypescript@4.7.2