chore: Added templates to final dist during build a4f0150f
Steve · 2025-08-09 23:13 2 file(s) · +3 −4
package.json +2 −3
9 9
		"create-bhvr": "./dist/index.js"
10 10
	},
11 11
	"files": [
12 -
		"dist",
13 -
		"src/templates"
12 +
		"dist"
14 13
	],
15 14
	"scripts": {
16 -
		"build": "bun build src/index.ts --outdir dist --target node",
15 +
		"build": "bun build src/index.ts --outdir dist --target node && cp -r src/templates dist/",
17 16
		"start": "bun ./dist/index.js",
18 17
		"test": "bun test",
19 18
		"test:watch": "bun test --watch",
src/utils/constants.ts +1 −1
1 1
export const DEFAULT_REPO = "stevedylandev/bhvr";
2 -
export const EXTRAS_DIR = "./src/templates/extras";
2 +
export const EXTRAS_DIR = "./dist/templates/extras";