diff --git a/package.json b/package.json index 2d79545..6da8923 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "@antfu/eslint-config": "^2.6.3", "@changesets/cli": "^2.27.1", "eslint": "~8.56.0", - "eslint-plugin-format": "^0.1.0" + "eslint-plugin-format": "^0.1.0", + "typescript": "^5.3.3" } } diff --git a/packages/button/tsup.config.ts b/packages/button/tsup.config.ts index 1dfc225..e1be655 100644 --- a/packages/button/tsup.config.ts +++ b/packages/button/tsup.config.ts @@ -1,9 +1,9 @@ -import { defineConfig } from 'tsup'; +import { defineConfig } from "tsup" export default defineConfig({ - entry: ['./src/index.ts'], + entry: ["./src/index.ts"], clean: true, - format: ['esm', 'cjs'], + format: ["esm", "cjs"], dts: true, - outDir: './dist', -}); \ No newline at end of file + outDir: "./dist", +}) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 27e3da7..67399c0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,6 +20,9 @@ importers: eslint-plugin-format: specifier: ^0.1.0 version: 0.1.0(eslint@8.56.0) + typescript: + specifier: ^5.3.3 + version: 5.3.3 apps/playground: dependencies: