diff --git a/cli/package.json b/cli/package.json index 49ed5d5..b370641 100644 --- a/cli/package.json +++ b/cli/package.json @@ -22,6 +22,15 @@ "bin": { "create-t3-app": "./dist/index.js" }, + "files": [ + "dist", + "template", + "README.md", + "LICENSE", + "CHANGELOG.md", + ".yarnrc.yml", + "package.json" + ], "engines": { "node": ">=14.16" }, diff --git a/cli/tsup.config.ts b/cli/tsup.config.ts index 94937b3..a7c6d53 100644 --- a/cli/tsup.config.ts +++ b/cli/tsup.config.ts @@ -4,12 +4,9 @@ const isDev = process.env.npm_lifecycle_event === "dev"; export default defineConfig({ clean: true, - dts: true, entry: ["src/index.ts"], format: ["esm"], minify: !isDev, - metafile: !isDev, - sourcemap: true, target: "esnext", outDir: "dist", onSuccess: isDev ? "node dist/index.js" : undefined,