diff --git a/templates/cli-starter/package.json b/templates/cli-starter/package.json index e3ff4dd..98e8446 100644 --- a/templates/cli-starter/package.json +++ b/templates/cli-starter/package.json @@ -6,6 +6,10 @@ "author": "peterroe", "license": "MIT", "type": "module", + "files": [ + "dist", + "package.json" + ], "keywords": [ "cli", "typescript", diff --git a/templates/ts-starter-vite/package.json b/templates/ts-starter-vite/package.json index c94e39f..1e56260 100644 --- a/templates/ts-starter-vite/package.json +++ b/templates/ts-starter-vite/package.json @@ -6,6 +6,10 @@ "author": "peterroe", "license": "MIT", "type": "module", + "files": [ + "dist", + "package.json" + ], "keywords": [ "typescript" ], @@ -32,7 +36,7 @@ "fix": "eslint --fix \"**/*.{ts,js}\"", "start": "esno src/index.ts", "test": "vitest", - "release": "pnpm build bumpp && npm publish", + "release": "pnpm build && bumpp && npm publish", "typecheck": "tsc --noEmit", "git-hook-init": "git init && husky install && husky add .husky/pre-commit 'npm run lint && npm run typecheck'" }, diff --git a/templates/ts-starter/package.json b/templates/ts-starter/package.json index 05c95ba..ecb564c 100644 --- a/templates/ts-starter/package.json +++ b/templates/ts-starter/package.json @@ -6,6 +6,10 @@ "author": "peterroe", "license": "MIT", "type": "module", + "files": [ + "dist", + "package.json" + ], "keywords": [ "typescript", "template" @@ -33,7 +37,7 @@ "fix": "eslint --fix \"**/*.{ts,js}\"", "start": "esno src/index.ts", "test": "vitest", - "release": "pnpm build bumpp && npm publish", + "release": "pnpm build && bumpp && npm publish", "typecheck": "tsc --noEmit", "git-hook-init": "git init && husky install && husky add .husky/pre-commit 'npm run lint && npm run typecheck'" },