buncargo 1.0.13 → 1.0.17

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/package.json CHANGED
@@ -1,142 +1,142 @@
1
1
  {
2
- "name": "buncargo",
3
- "version": "1.0.13",
4
- "description": "A Bun-powered development environment CLI for managing Docker Compose services, dev servers, and environment variables",
5
- "type": "module",
6
- "module": "./dist/index.js",
7
- "main": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
9
- "license": "MIT",
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/HansKristoffer/buncargo.git"
13
- },
14
- "author": "Kristoffer Hansen",
15
- "keywords": [
16
- "bun",
17
- "dev-tools",
18
- "docker",
19
- "docker-compose",
20
- "development",
21
- "cli",
22
- "monorepo",
23
- "dev-server",
24
- "environment"
25
- ],
26
- "engines": {
27
- "bun": ">=1.0.0"
28
- },
29
- "files": [
30
- "*.ts",
31
- "core/*.ts",
32
- "dist",
33
- "!*.test.ts",
34
- "!core/*.test.ts"
35
- ],
36
- "bin": {
37
- "dev-tools": "./dist/bin.js",
38
- "buncargo": "./dist/bin.js"
39
- },
40
- "exports": {
41
- ".": {
42
- "types": "./dist/index.d.ts",
43
- "bun": "./index.ts",
44
- "import": "./dist/index.js",
45
- "default": "./dist/index.js"
46
- },
47
- "./types": {
48
- "types": "./dist/types.d.ts",
49
- "bun": "./types.ts",
50
- "import": "./dist/types.js",
51
- "default": "./dist/types.js"
52
- },
53
- "./config": {
54
- "types": "./dist/config.d.ts",
55
- "bun": "./config.ts",
56
- "import": "./dist/config.js",
57
- "default": "./dist/config.js"
58
- },
59
- "./environment": {
60
- "types": "./dist/environment.d.ts",
61
- "bun": "./environment.ts",
62
- "import": "./dist/environment.js",
63
- "default": "./dist/environment.js"
64
- },
65
- "./core/ports": {
66
- "types": "./dist/core/ports.d.ts",
67
- "bun": "./core/ports.ts",
68
- "import": "./dist/core/ports.js",
69
- "default": "./dist/core/ports.js"
70
- },
71
- "./core/docker": {
72
- "types": "./dist/core/docker.d.ts",
73
- "bun": "./core/docker.ts",
74
- "import": "./dist/core/docker.js",
75
- "default": "./dist/core/docker.js"
76
- },
77
- "./core/network": {
78
- "types": "./dist/core/network.d.ts",
79
- "bun": "./core/network.ts",
80
- "import": "./dist/core/network.js",
81
- "default": "./dist/core/network.js"
82
- },
83
- "./core/process": {
84
- "types": "./dist/core/process.d.ts",
85
- "bun": "./core/process.ts",
86
- "import": "./dist/core/process.js",
87
- "default": "./dist/core/process.js"
88
- },
89
- "./core/watchdog": {
90
- "types": "./dist/core/watchdog.d.ts",
91
- "bun": "./core/watchdog.ts",
92
- "import": "./dist/core/watchdog.js",
93
- "default": "./dist/core/watchdog.js"
94
- },
95
- "./core/utils": {
96
- "types": "./dist/core/utils.d.ts",
97
- "bun": "./core/utils.ts",
98
- "import": "./dist/core/utils.js",
99
- "default": "./dist/core/utils.js"
100
- },
101
- "./cli": {
102
- "types": "./dist/cli.d.ts",
103
- "bun": "./cli.ts",
104
- "import": "./dist/cli.js",
105
- "default": "./dist/cli.js"
106
- },
107
- "./lint": {
108
- "types": "./dist/lint.d.ts",
109
- "bun": "./lint.ts",
110
- "import": "./dist/lint.js",
111
- "default": "./dist/lint.js"
112
- },
113
- "./loader": {
114
- "types": "./dist/loader.d.ts",
115
- "bun": "./loader.ts",
116
- "import": "./dist/loader.js",
117
- "default": "./dist/loader.js"
118
- }
119
- },
120
- "scripts": {
121
- "build": "bun run build:js && bun run build:types",
122
- "build:js": "bun build ./index.ts ./bin.ts ./cli.ts ./config.ts ./environment.ts ./lint.ts ./loader.ts ./prisma.ts ./types.ts ./core/docker.ts ./core/index.ts ./core/network.ts ./core/ports.ts ./core/process.ts ./core/utils.ts ./core/watchdog.ts ./core/watchdog-runner.ts --outdir ./dist --target node --packages external --splitting",
123
- "build:types": "tsc -p tsconfig.build.json",
124
- "prepublishOnly": "bun run build",
125
- "publish:patch": "npm version patch && npm publish",
126
- "publish:minor": "npm version minor && npm publish",
127
- "publish:major": "npm version major && npm publish",
128
- "lint": "bun run typecheck && biome check",
129
- "lint:write": "bun run typecheck && biome check --fix && biome format",
130
- "typecheck": "tsgo --incremental"
131
- },
132
- "devDependencies": {
133
- "@types/bun": "1.3.2",
134
- "@biomejs/biome": "2.3.4",
135
- "@typescript/native-preview": "7.0.0-dev.20260127.1",
136
- "typescript": "^5.7.0"
137
- },
138
- "dependencies": {
139
- "fast-glob": "^3.3.3",
140
- "picocolors": "^1.1.1"
141
- }
2
+ "name": "buncargo",
3
+ "version": "1.0.17",
4
+ "description": "A Bun-powered development environment CLI for managing Docker Compose services, dev servers, and environment variables",
5
+ "type": "module",
6
+ "module": "./dist/index.js",
7
+ "main": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/HansKristoffer/buncargo.git"
13
+ },
14
+ "author": "Kristoffer Hansen",
15
+ "keywords": [
16
+ "bun",
17
+ "dev-tools",
18
+ "docker",
19
+ "docker-compose",
20
+ "development",
21
+ "cli",
22
+ "monorepo",
23
+ "dev-server",
24
+ "environment"
25
+ ],
26
+ "engines": {
27
+ "bun": ">=1.0.0"
28
+ },
29
+ "files": [
30
+ "*.ts",
31
+ "core/*.ts",
32
+ "dist",
33
+ "!*.test.ts",
34
+ "!core/*.test.ts"
35
+ ],
36
+ "bin": {
37
+ "dev-tools": "./dist/bin.js",
38
+ "buncargo": "./dist/bin.js"
39
+ },
40
+ "exports": {
41
+ ".": {
42
+ "types": "./dist/index.d.ts",
43
+ "bun": "./index.ts",
44
+ "import": "./dist/index.js",
45
+ "default": "./dist/index.js"
46
+ },
47
+ "./types": {
48
+ "types": "./dist/types.d.ts",
49
+ "bun": "./types.ts",
50
+ "import": "./dist/types.js",
51
+ "default": "./dist/types.js"
52
+ },
53
+ "./config": {
54
+ "types": "./dist/config.d.ts",
55
+ "bun": "./config.ts",
56
+ "import": "./dist/config.js",
57
+ "default": "./dist/config.js"
58
+ },
59
+ "./environment": {
60
+ "types": "./dist/environment.d.ts",
61
+ "bun": "./environment.ts",
62
+ "import": "./dist/environment.js",
63
+ "default": "./dist/environment.js"
64
+ },
65
+ "./core/ports": {
66
+ "types": "./dist/core/ports.d.ts",
67
+ "bun": "./core/ports.ts",
68
+ "import": "./dist/core/ports.js",
69
+ "default": "./dist/core/ports.js"
70
+ },
71
+ "./core/docker": {
72
+ "types": "./dist/core/docker.d.ts",
73
+ "bun": "./core/docker.ts",
74
+ "import": "./dist/core/docker.js",
75
+ "default": "./dist/core/docker.js"
76
+ },
77
+ "./core/network": {
78
+ "types": "./dist/core/network.d.ts",
79
+ "bun": "./core/network.ts",
80
+ "import": "./dist/core/network.js",
81
+ "default": "./dist/core/network.js"
82
+ },
83
+ "./core/process": {
84
+ "types": "./dist/core/process.d.ts",
85
+ "bun": "./core/process.ts",
86
+ "import": "./dist/core/process.js",
87
+ "default": "./dist/core/process.js"
88
+ },
89
+ "./core/watchdog": {
90
+ "types": "./dist/core/watchdog.d.ts",
91
+ "bun": "./core/watchdog.ts",
92
+ "import": "./dist/core/watchdog.js",
93
+ "default": "./dist/core/watchdog.js"
94
+ },
95
+ "./core/utils": {
96
+ "types": "./dist/core/utils.d.ts",
97
+ "bun": "./core/utils.ts",
98
+ "import": "./dist/core/utils.js",
99
+ "default": "./dist/core/utils.js"
100
+ },
101
+ "./cli": {
102
+ "types": "./dist/cli.d.ts",
103
+ "bun": "./cli.ts",
104
+ "import": "./dist/cli.js",
105
+ "default": "./dist/cli.js"
106
+ },
107
+ "./lint": {
108
+ "types": "./dist/lint.d.ts",
109
+ "bun": "./lint.ts",
110
+ "import": "./dist/lint.js",
111
+ "default": "./dist/lint.js"
112
+ },
113
+ "./loader": {
114
+ "types": "./dist/loader.d.ts",
115
+ "bun": "./loader.ts",
116
+ "import": "./dist/loader.js",
117
+ "default": "./dist/loader.js"
118
+ }
119
+ },
120
+ "scripts": {
121
+ "build": "bun run build:js && bun run build:types",
122
+ "build:js": "bun build ./index.ts ./bin.ts ./cli.ts ./config.ts ./environment.ts ./lint.ts ./loader.ts ./prisma.ts ./types.ts ./core/docker.ts ./core/index.ts ./core/network.ts ./core/ports.ts ./core/process.ts ./core/utils.ts ./core/watchdog.ts ./core/watchdog-runner.ts --outdir ./dist --target node --packages external --splitting",
123
+ "build:types": "tsc -p tsconfig.build.json",
124
+ "prepublishOnly": "bun run build",
125
+ "publish:patch": "npm version patch && npm publish",
126
+ "publish:minor": "npm version minor && npm publish",
127
+ "publish:major": "npm version major && npm publish",
128
+ "lint": "bun run typecheck && biome check",
129
+ "lint:write": "bun run typecheck && biome check --fix && biome format",
130
+ "typecheck": "tsgo --incremental"
131
+ },
132
+ "devDependencies": {
133
+ "@types/bun": "1.3.2",
134
+ "@biomejs/biome": "2.3.4",
135
+ "@typescript/native-preview": "7.0.0-dev.20260127.1",
136
+ "typescript": "^5.7.0"
137
+ },
138
+ "dependencies": {
139
+ "fast-glob": "^3.3.3",
140
+ "picocolors": "^1.1.1"
141
+ }
142
142
  }
package/readme.md CHANGED
@@ -62,6 +62,7 @@ bunx buncargo dev # Start containers + dev servers
62
62
  bunx buncargo dev --up-only # Start containers only
63
63
  bunx buncargo dev --down # Stop containers
64
64
  bunx buncargo dev --reset # Stop and remove volumes
65
+ bunx buncargo typecheck # Run TypeScript typecheck across workspaces
65
66
  bunx buncargo prisma studio # Run prisma with correct DATABASE_URL
66
67
  bunx buncargo env # Print ports/urls as JSON
67
68
  ```
@@ -73,6 +74,7 @@ Or add scripts to `package.json`:
73
74
  "scripts": {
74
75
  "dev": "bunx buncargo dev",
75
76
  "dev:docker:down": "bunx buncargo dev --down",
77
+ "typecheck": "bunx buncargo typecheck",
76
78
  "prisma": "bunx buncargo prisma"
77
79
  }
78
80
  }
@@ -154,6 +156,7 @@ Containers automatically stop after 10 minutes of inactivity when running via CL
154
156
  ```
155
157
  COMMANDS:
156
158
  dev Start the development environment
159
+ typecheck Run TypeScript typecheck across workspaces
157
160
  prisma <args> Run Prisma CLI with correct DATABASE_URL
158
161
  env Print environment info as JSON
159
162
  help Show help
@@ -165,7 +168,6 @@ DEV OPTIONS:
165
168
  --reset Stop containers and remove volumes
166
169
  --migrate Run migrations only
167
170
  --seed Run seeders
168
- --lint Run typecheck (no Docker required)
169
171
  ```
170
172
 
171
173
  ## Environment Variables