bob-esbuild-cli
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -9,3 +9,3 @@ 'use strict'; | ||
const WatchCommand = new commander.Command("watch").description("Watch using rollup+esbuild, all these flags override the bob-esbuild.config"); | ||
WatchCommand.option("--cwd <dir>", "Change target current directory").option("-i --input <file...>", "Input pattern files, if not specified, it reads '**/*.ts'").option("--bundle", "Enable bundling every entry point (With no support for code-splitting)").option("--clean", "DEFAULT=false. Clean the output files before writing the new build, by default it's set as 'true' by the global config", false).option("--skipTsc", "Skip TSC build").option("--onlyCJS", "Only build for CJS").option("--onlyESM", "Only build for ESM").option("--onSuccess <cmd>", "Execute script after successful JS build").action(async ({ cwd, input: inputFiles, bundle, clean, onSuccess, onlyCJS, onlyESM, skipTsc }) => { | ||
WatchCommand.option("--cwd <dir>", "Change target current directory").option("-i --input <file...>", "Input pattern files, if not specified, it reads '**/*.ts'").option("--bundle", "Enable bundling every entry point (With no support for code-splitting)").option("--clean", "DEFAULT=false. Clean the output files before writing the new build, by default it's set as 'true' by the global config", false).option("--skipTsc", "Skip TSC build").option("--onlyCJS", "Only build for CJS").option("--onlyESM", "Only build for ESM").option("--onSuccess <cmd>", "Execute script after successful JS build").option("--skipValidate", "Skip package.json validation").action(async ({ cwd, input: inputFiles, bundle, clean, onSuccess, onlyCJS, onlyESM, skipTsc, skipValidate }) => { | ||
const { watcher } = await watch.startWatch({ | ||
@@ -19,3 +19,4 @@ rollup: { | ||
onlyCJS, | ||
onlyESM | ||
onlyESM, | ||
skipValidate | ||
}, | ||
@@ -22,0 +23,0 @@ onSuccessCommand: onSuccess |
{ | ||
"name": "bob-esbuild-cli", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"homepage": "https://github.com/PabloSzx/bob-esbuild", | ||
@@ -37,3 +37,3 @@ "bugs": "https://github.com/PabloSzx/bob-esbuild/issues", | ||
"devDependencies": { | ||
"bob-esbuild": "^3.0.0", | ||
"bob-esbuild": "^3.1.1", | ||
"changesets-github-release": "^0.0.4", | ||
@@ -46,3 +46,3 @@ "typescript": "^4.4.4" | ||
"peerDependencies": { | ||
"bob-esbuild": "^3.0.0" | ||
"bob-esbuild": "^3.1.1" | ||
}, | ||
@@ -49,0 +49,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
8642
166