create-typescript-app 2.68.0 → 2.68.1

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.
@@ -4,6 +4,7 @@ import { blockDevelopmentDocs } from "./blockDevelopmentDocs.mjs";
4
4
  import { blockPackageJson } from "./blockPackageJson.mjs";
5
5
  import { blockCSpell } from "./blockCSpell.mjs";
6
6
  import { blockESLint } from "./blockESLint.mjs";
7
+ import { blockGitignore } from "./blockGitignore.mjs";
7
8
  import { blockPrettier } from "./blockPrettier.mjs";
8
9
  import { z } from "zod";
9
10
  //#region src/blocks/blockNcc.ts
@@ -33,7 +34,7 @@ pnpm build --watch
33
34
  `,
34
35
  innerSections: [{
35
36
  contents: `
36
- Run [\`@vercel/ncc\`](https://github.com/vercel/ncc) to create an output \`dist/\` to be used in production.
37
+ Run [\`@vercel/ncc\`](https://github.com/vercel/ncc) to clear and recreate an output \`dist/\` to be used in production.
37
38
 
38
39
  \`\`\`shell
39
40
  pnpm build:release
@@ -61,11 +62,12 @@ if [ -n "$changes" ]; then
61
62
  fi
62
63
  ` }]
63
64
  }] }),
65
+ blockGitignore({ ignores: ["/dist/**/*.d.ts", "/dist/**/*.d.ts.map"] }),
64
66
  blockPackageJson({ properties: {
65
67
  devDependencies: { "@vercel/ncc": "^0.38.3" },
66
68
  scripts: {
67
69
  build: "tsc",
68
- "build:release": `ncc build ${entry} -o dist`
70
+ "build:release": `rm -rf dist && ncc build ${entry} -o dist`
69
71
  }
70
72
  } }),
71
73
  blockPrettier({ ignores: ["/dist"] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-typescript-app",
3
- "version": "2.68.0",
3
+ "version": "2.68.1",
4
4
  "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
5
5
  "repository": {
6
6
  "type": "git",