0.1.4 • Published 2 months ago

@wurk/command-test v0.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

Wurk Test Command

Test workspaces using auto-detected tools.

Getting Started

Install the command in your root workspace.

npm install --save-dev @wurk/command-test

Run the command.

wurk test

Test tools are only invoked if they are present in the root workspace package.json file devDependencies map. Vitest will only include workspaces that contain a vitest.config.* or vite.config.* file.

Options

  • --no-build
    • Do not run the root workspace build script before testing.
    • In a monorepo it is usually required to build before testing so that dependencies can successfully be imported.
  • --no-include-dependents
    • Do not include dependents of selected workspaces.
    • It's a good idea to test dependents which may include integration testing with their dependencies.
  • --depcheck-dev
    • Show Depcheck unused devDependencies.
    • Development dependencies are both more difficult to check reliably, and less important to remove.
  • --depcheck-missing
    • Show Depcheck missing dependencies.
    • Missing dependencies are better checked by ESLint, and dev dependencies are commonly maintained at the root workspace level which causes Depcheck to report false positives.
0.1.4

2 months ago

0.1.2

2 months ago

0.1.1

2 months ago

0.1.3

2 months ago

0.1.0

2 months ago