-
Notifications
You must be signed in to change notification settings - Fork 41
Package Script Targets
Runs lerna-changelog
.
Recursively runs the build
target in all packages using lerna
.
🔔 You should first run clean
to remove stale data in the packages' dist
folders.
Use
npm run build -- --scope=<package>
to build specific package[s] only.
Recursively runs the clean
target in all packages using lerna
.
🔔 This prepares [all] packages for a clean build
.
Use
npm run clean -- --scope=<package>
to clean specific package[s] only.
Recursively runs the clean-all
target in all packages using lerna
.
Important: Do not scope this.
🔔 This prepares the working directory for a clean npm install
.
🔔 You have to use this whenever you switch between branches unless these branches have the same dependencies.
🔔 Use this to get rid of fringe errors.
Deletes node_modules
from the root package.
Bootstraps lerna
and all packages after that npm install
was run.
Runs clean-all
, install
, and build
before lerna-publish
.
Runs lerna-publish
.
Recursively runs the lint
target in all packages using lerna
.
Use
npm run lint -- --scope=<package>
to lint specific package[s] only.
Recursively runs the lint-fix
target in all packages using lerna
.
Use
npm run lint-fix -- --scope=<package>
to fix linter issues for specific package[s] only.
Recursively runs the test
target in all packages using lerna
.
Use
npm run test -- --scope=<package>
to test specific package[s] only.
Runs tsc
. This will create the dist
folder which contains all transpiled sources including tests and also the generated type definitions.
Deletes the .nyc_output
, coverage
, and dist
folders from the package.
Runs clean
and also deletes node_modules
from the package.
clean-all
from the root package instead.
🔔 lerna
established links to other testdeck packages and other, commonly shared packages that will be lost when running this target directly.
Runs eslint
.
Runs eslint --fix
.
Runs clean
, lint
, and build
before test
.
Runs tsc
. This will create the dist
folder which contains all transpiled sources including tests and also the generated type definitions.
Deletes the .nyc_output
, coverage
, and dist
folders from the package.
Runs clean
and also deletes node_modules
from the package.
clean-all
from the root package instead.
🔔 lerna
established links to other testdeck packages and other, commonly shared packages that will be lost when running this target directly.
Runs eslint
.
Runs eslint --fix
.
Runs clean
, lint
, and build
before test
.
Runs tsc
. This will create the dist
folder which contains all transpiled sources including tests and also the generated type definitions.
Deletes the .nyc_output
, coverage
, and dist
folders from the package.
Runs clean
and also deletes node_modules
from the package.
clean-all
from the root package instead.
🔔 lerna
established links to other testdeck packages and other, commonly shared packages that will be lost when running this target directly.
Runs eslint
.
Runs eslint --fix
.
Runs clean
, lint
, and build
before test
.
Runs tsc
. This will create the dist
folder which contains all transpiled sources including tests and also the generated type definitions.
Deletes the .nyc_output
, coverage
, and dist
folders from the package.
Runs clean
and also deletes node_modules
from the package.
clean-all
from the root package instead.
🔔 lerna
established links to other testdeck packages and other, commonly shared packages that will be lost when running this target directly.
Runs eslint
.
Runs eslint --fix
.
Runs clean
, lint
, and build
before test
.
Runs tsc
. This will create the dist
folder which contains all transpiled sources including tests and also the generated type definitions.
Deletes the .nyc_output
, coverage
, and dist
folders from the package.
Runs clean
and also deletes node_modules
from the package.
clean-all
from the root package instead.
🔔 lerna
established links to other testdeck packages and other, commonly shared packages that will be lost when running this target directly.
Runs eslint
.
Runs eslint --fix
.
Runs clean
, lint
, and build
before test
.
Runs test:standard
, test:focus
, and test:coverage
.
Runs nyc mocha
for all tests in test/
.
Runs nyc mocha
for all tests in test/focus
without cleaning the coverage data.
Runs a nyc report
coverage check.
Runs tsc
. This will create the dist
folder which contains all transpiled sources including tests and also the generated type definitions.
Deletes the .nyc_output
, coverage
, and dist
folders from the package.
Runs clean
and also deletes node_modules
from the package.
clean-all
from the root package instead.
🔔 lerna
established links to other testdeck packages and other, commonly shared packages that will be lost when running this target directly.
Runs eslint
.
Runs eslint --fix
.
Runs clean
, lint
, and build
before test
.
Runs vitest
with coverage check.