@hypothesis/frontend-build
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -37,7 +37,7 @@ import { mkdirSync, writeFileSync } from 'fs'; | ||
) | ||
.option('--watch', 'Continuously run tests (default: false)', false) | ||
.option('--live', 'Continuously run tests (default: false)', false) | ||
.parse(process.argv); | ||
const { grep, watch } = program.opts(); | ||
const singleRun = !watch; | ||
const { grep, live } = program.opts(); | ||
const singleRun = !live; | ||
@@ -44,0 +44,0 @@ // Generate an entry file for the test bundle. This imports all the test |
{ | ||
"name": "@hypothesis/frontend-build", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Hypothesis frontend build scripts", | ||
@@ -19,3 +19,3 @@ "type": "module", | ||
"@types/karma": "^6.3.1", | ||
"@types/node": "^18.0.0", | ||
"@types/node": "^20.1.0", | ||
"@types/sass": "^1.16.1", | ||
@@ -22,0 +22,0 @@ "@types/tailwindcss": "^3.0.2", |
@@ -113,3 +113,3 @@ # @hypothesis/frontend-build | ||
This command supports filtering which tests are run | ||
by using the `--grep <file pattern>` CLI argument. If the `--watch` CLI flag is | ||
by using the `--grep <file pattern>` CLI argument. If the `--live` CLI flag is | ||
set, the test runner watches for changes and rebuild and re-runs the tests if | ||
@@ -116,0 +116,0 @@ the input files change. |
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
15578