@willbooster/wb 10.0.0 → 10.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +34 -11
  2. package/dist/index.js +2 -2
  3. package/package.json +8 -8
package/README.md CHANGED
@@ -9,17 +9,40 @@ designed primarily for WillBooster Inc. but with potential utility for other pro
9
9
  wb <command>
10
10
 
11
11
  Commands:
12
- wb setup Setup development environment
13
- wb buildIfNeeded Build code if changes are detected
14
- wb optimizeForDockerBuild Optimize configuration when building a Docker image
15
- wb prisma Run prisma commands
16
- wb start Start app
17
- wb test Test project
18
- wb typecheck Run type checking
12
+ wb buildIfNeeded Build code if changes are detected
13
+ wb lint [files...] Lint code on Bun
14
+ wb optimizeForDockerBuild Optimize configuration when building a Docker
15
+ image
16
+ wb prisma Run prisma commands
17
+ wb retry [command] [args...] Retry the given command until it succeeds
18
+ wb setup Setup development environment. .env files are
19
+ ignored.
20
+ wb start [args..] Start app
21
+ wb test [targets...] Test project. If you pass no arguments, it will
22
+ run all tests.
23
+ wb test-on-ci Test project on CI with no options.
24
+ wb typecheck Run type checking. .env files are ignored.
25
+ wb tc Run type checking. .env files are ignored.
19
26
 
20
27
  Options:
21
- --version Show version number [boolean]
22
- -e, --env .env files to be loaded. [array]
23
- -w, --working-dir A working directory [string]
24
- --help Show help [boolean]
28
+ --env .env files to be loaded. [array]
29
+ --cascade-env Environment to load cascading .env files (e.g.,
30
+ `.env`, `.env.<environment>`, `.env.local` and
31
+ `.env.<environment>.local`). Preferred over
32
+ `cascade-node-env` and `auto-cascade-env`. [string]
33
+ --cascade-node-env Same with --cascade-env=<NODE_ENV || "development">.
34
+ Preferred over `auto-cascade-env`. [boolean]
35
+ --auto-cascade-env Same with --cascade-env=<WB_ENV || NODE_ENV ||
36
+ "development">. [boolean] [default: true]
37
+ --include-root-env Include .env files in root directory if the project is
38
+ in a monorepo and --env option is not used.
39
+ [boolean] [default: true]
40
+ --check-env Check whether the keys of the loaded .env files are
41
+ same with the given .env file.
42
+ [string] [default: ".env.example"]
43
+ -v, --verbose Whether to show verbose information [boolean]
44
+ -w, --working-dir A working directory [string]
45
+ -d, --dry-run, --dry Whether to skip actual command execution [boolean]
46
+ --version Show version number [boolean]
47
+ --help Show help [boolean]
25
48
  ```