bgrun 3.12.21 → 3.12.23

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.
package/README.md CHANGED
@@ -42,11 +42,14 @@ bunx bgrun --help
42
42
  ## Quick Start
43
43
 
44
44
  ```bash
45
- # Run without a global install
46
- bunx bgrun --help
47
-
48
- # Start a process
49
- bunx bgrun --name my-api --directory ./my-project --command "bun run server.ts"
45
+ # Run without a global install
46
+ bunx bgrun --help
47
+
48
+ # Skip automatic .config.toml loading for one-off commands
49
+ bunx bgrun --no-config -- bun run script.ts
50
+
51
+ # Start a process
52
+ bunx bgrun --name my-api --directory ./my-project --command "bun run server.ts"
50
53
 
51
54
  # Start a managed process with an auto-generated date name
52
55
  bunx bgrun -- bun run server.ts
package/dist/index.js CHANGED
@@ -2893,6 +2893,7 @@ async function showHelp() {
2893
2893
  --command <string> Process command (required for new)
2894
2894
  --directory <path> Working directory (required for new)
2895
2895
  --config <path> Config file (default: .config.toml)
2896
+ --no-config Disable automatic .config.toml loading
2896
2897
  --env Print shell export commands from config and exit
2897
2898
  --shell <type> Shell for --env: powershell | cmd | sh | json
2898
2899
  --watch Watch for file changes and auto-restart
@@ -2914,6 +2915,7 @@ async function showHelp() {
2914
2915
 
2915
2916
  ${chalk7.yellow("Examples:")}
2916
2917
  bunx bgrun -- bun run dev
2918
+ bunx bgrun --no-config -- bun run script.ts
2917
2919
  bunx bgrun --force -- bun run server.ts
2918
2920
  bunx bgrun inline -- bun run dev
2919
2921
  Invoke-Expression (bunx bgrun --env)
@@ -2931,6 +2933,7 @@ var cliArgOptions = {
2931
2933
  command: { type: "string" },
2932
2934
  directory: { type: "string" },
2933
2935
  config: { type: "string" },
2936
+ "no-config": { type: "boolean" },
2934
2937
  env: { type: "boolean" },
2935
2938
  shell: { type: "string" },
2936
2939
  watch: { type: "boolean" },
@@ -3006,7 +3009,7 @@ async function run2() {
3006
3009
  name: autoName,
3007
3010
  command: inlineCommand,
3008
3011
  directory,
3009
- configPath: values2.config,
3012
+ configPath: values2["no-config"] ? "" : values2.config,
3010
3013
  force: values2.force,
3011
3014
  fetch: values2.fetch,
3012
3015
  remoteName: "",
@@ -3042,7 +3045,7 @@ async function run2() {
3042
3045
  name: autoName,
3043
3046
  command: implicitCommand,
3044
3047
  directory,
3045
- configPath: values.config,
3048
+ configPath: values["no-config"] ? "" : values.config,
3046
3049
  force: values.force,
3047
3050
  fetch: values.fetch,
3048
3051
  remoteName: "",
@@ -3353,7 +3356,7 @@ async function run2() {
3353
3356
  name,
3354
3357
  command: values.command,
3355
3358
  directory: values.directory,
3356
- configPath: values.config,
3359
+ configPath: values["no-config"] ? "" : values.config,
3357
3360
  force: values.force,
3358
3361
  fetch: values.fetch,
3359
3362
  remoteName: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bgrun",
3
- "version": "3.12.21",
3
+ "version": "3.12.23",
4
4
  "description": "bgrun — A lightweight process manager for Bun",
5
5
  "type": "module",
6
6
  "main": "./dist/api.js",