Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bob-esbuild-cli

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bob-esbuild-cli - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

5

lib/commands/watch.js

@@ -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

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc