Skip to content

CLI Reference

All configuration options can be passed as CLI flags, which take precedence over values in the config file. Run npx isolate --help for the full list.

Flags

FlagShortTypeConfig Key
--build-dir-name <name>-bstringbuildDirName
--include-dev-dependencies-dbooleanincludeDevDependencies
--isolate-dir-name <name>-ostringisolateDirName
--log-level <level>-lstringlogLevel
--target-package-path <path>-tstringtargetPackagePath
--tsconfig-path <path>-cstringtsconfigPath
--workspace-packages <glob>-wstring[]workspacePackages
--workspace-root <path>-rstringworkspaceRoot
--force-npmbooleanforceNpm
--pick-from-scripts <name>-pstring[]pickFromScripts
--omit-from-scripts <name>string[]omitFromScripts
--omit-package-managerbooleanomitPackageManager

Usage Notes

Array flags are repeatable, for example:

sh
npx isolate --pick-from-scripts build --pick-from-scripts start

Boolean flags support --no- negation, for example: --no-force-npm.

Released under the MIT License.