create-kofi-stack 1.2.21 → 1.2.22

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -11
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -901,14 +901,14 @@ async function generateTsConfig(appDir) {
901
901
  moduleResolution: "bundler",
902
902
  resolveJsonModule: true,
903
903
  isolatedModules: true,
904
- jsx: "preserve",
904
+ jsx: "react-jsx",
905
905
  incremental: true,
906
906
  plugins: [{ name: "next" }],
907
907
  paths: {
908
908
  "@/*": ["./src/*"]
909
909
  }
910
910
  },
911
- include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
911
+ include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
912
912
  exclude: ["node_modules"]
913
913
  };
914
914
  await writeJSON(path3.join(appDir, "tsconfig.json"), tsConfig);
@@ -3122,7 +3122,7 @@ async function generateSharedConfigs(targetDir) {
3122
3122
  const nextTs = {
3123
3123
  extends: "./base.json",
3124
3124
  compilerOptions: {
3125
- jsx: "preserve",
3125
+ jsx: "react-jsx",
3126
3126
  plugins: [{ name: "next" }]
3127
3127
  }
3128
3128
  };
@@ -4232,14 +4232,14 @@ async function generatePayloadTsConfig(marketingDir) {
4232
4232
  moduleResolution: "bundler",
4233
4233
  resolveJsonModule: true,
4234
4234
  isolatedModules: true,
4235
- jsx: "preserve",
4235
+ jsx: "react-jsx",
4236
4236
  incremental: true,
4237
4237
  plugins: [{ name: "next" }],
4238
4238
  paths: {
4239
4239
  "@/*": ["./src/*"]
4240
4240
  }
4241
4241
  },
4242
- include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
4242
+ include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
4243
4243
  exclude: ["node_modules"]
4244
4244
  };
4245
4245
  await writeJSON(path15.join(marketingDir, "tsconfig.json"), tsConfig);
@@ -4416,7 +4416,7 @@ async function generateTsConfig2(appDir) {
4416
4416
  moduleResolution: "bundler",
4417
4417
  resolveJsonModule: true,
4418
4418
  isolatedModules: true,
4419
- jsx: "preserve",
4419
+ jsx: "react-jsx",
4420
4420
  incremental: true,
4421
4421
  plugins: [{ name: "next" }],
4422
4422
  paths: {
@@ -4425,7 +4425,7 @@ async function generateTsConfig2(appDir) {
4425
4425
  "@repo/ui/*": ["../../packages/ui/src/*"]
4426
4426
  }
4427
4427
  },
4428
- include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
4428
+ include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
4429
4429
  exclude: ["node_modules"]
4430
4430
  };
4431
4431
  await writeJSON(path16.join(appDir, "tsconfig.json"), tsConfig);
@@ -6608,14 +6608,14 @@ async function updateWebTsConfig(webDir) {
6608
6608
  moduleResolution: "bundler",
6609
6609
  resolveJsonModule: true,
6610
6610
  isolatedModules: true,
6611
- jsx: "preserve",
6611
+ jsx: "react-jsx",
6612
6612
  incremental: true,
6613
6613
  plugins: [{ name: "next" }],
6614
6614
  paths: {
6615
6615
  "@/*": ["./src/*"]
6616
6616
  }
6617
6617
  },
6618
- include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
6618
+ include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
6619
6619
  exclude: ["node_modules"]
6620
6620
  };
6621
6621
  await writeFile(
@@ -6732,14 +6732,14 @@ export default function RootLayout({
6732
6732
  moduleResolution: "bundler",
6733
6733
  resolveJsonModule: true,
6734
6734
  isolatedModules: true,
6735
- jsx: "preserve",
6735
+ jsx: "react-jsx",
6736
6736
  incremental: true,
6737
6737
  plugins: [{ name: "next" }],
6738
6738
  paths: {
6739
6739
  "@/*": ["./src/*"]
6740
6740
  }
6741
6741
  },
6742
- include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
6742
+ include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
6743
6743
  exclude: ["node_modules"]
6744
6744
  };
6745
6745
  await writeFile(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kofi-stack",
3
- "version": "1.2.21",
3
+ "version": "1.2.22",
4
4
  "description": "Scaffold opinionated full-stack projects with Next.js, Convex, Better-Auth, and more",
5
5
  "type": "module",
6
6
  "bin": {