Skip to content

Commit

Permalink
fix: tsconfig include + clean script (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge authored Aug 23, 2022
1 parent a8a2fd8 commit 8ee2ea0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/six-bikes-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-t3-app": patch
---

Include `cjs` and `mjs` files in tsconfig. Thanks @timfee for reporting!
8 changes: 1 addition & 7 deletions cli/template/base/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@
"incremental": true,
"noUncheckedIndexedAccess": true
},
"include": [
"next-env.d.ts",
"next-auth.d.ts",
"**/*.ts",
"**/*.tsx",
"**/*.js"
],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs"],
"exclude": ["node_modules"]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"start:www": "turbo run start --filter www",
"dev:cli": "pnpm --filter create-t3-app dev",
"dev:www": "turbo run dev --filter=www",
"clean": "find . -name node_modules -o -name .turbo -o -name dist -o -name build -type d -prune | xargs rm -rf",
"lint": "eslint . --cache --cache-strategy content",
"lint:fix": "pnpm lint --fix",
"format": "prettier --write --plugin-search-dir=. \"**/*.{ts,tsx,md,mdx,json,js,mjs,cjs,astro}\"",
Expand Down

1 comment on commit 8ee2ea0

@vercel
Copy link

@vercel vercel bot commented on 8ee2ea0 Aug 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

create-t3-app – ./

create-t3-app-nu.vercel.app
create-t3-app-git-main-t3-oss.vercel.app
create-t3-app-t3-oss.vercel.app

Please sign in to comment.