Enable source maps 9584c205
Bun ignores `tspconfig.json` and `.npmignore` when package.json contains `files`, so I've updated the node scripts accordingly.

Since I did this to also enable debugging via VSCode, I added it to the `.gitignore` file as well.
Heath Stewart · 2026-05-23 11:31 2 file(s) · +5 −2
.gitignore +3 −0
27 27
.cache
28 28
*.tsbuildinfo
29 29
30 +
# VSCode
31 +
.vscode
32 +
30 33
# IntelliJ based IDEs
31 34
.idea
32 35
packages/cli/package.json +2 −2
17 17
	"scripts": {
18 18
		"lint": "biome lint --write",
19 19
		"format": "biome format --write",
20 -
		"build": "bun build src/index.ts --target node --outdir dist && mkdir -p dist/components && cp src/components/*.js dist/components/",
20 +
		"build": "bun build src/index.ts --target node --outdir dist --sourcemap && mkdir -p dist/components && cp src/components/*.js dist/components/",
21 21
		"test": "bun test",
22 22
		"dev": "bun run build && bun link",
23 -
		"deploy": "bun run build && bun publish"
23 +
		"deploy": "bun run build && rm -f dist/*.map && bun publish"
24 24
	},
25 25
	"devDependencies": {
26 26
		"@biomejs/biome": "^2.3.13",