Skip to content

Commit

Permalink
chore: move to tsup for generating definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed May 12, 2024
1 parent b40ee05 commit 6e71e76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/inertia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"build": "tsup-node && tsc --emitDeclarationOnly --declaration",
"build": "tsup-node",
"test": "c8 node --enable-source-maps --loader ts-node/esm bin/test.ts",
"quick:test": "node --enable-source-maps --loader ts-node/esm bin/test.ts",
"checks": "pnpm lint && pnpm typecheck"
Expand Down Expand Up @@ -60,7 +60,7 @@
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": false,
"dts": true,
"target": "esnext"
}
}
2 changes: 1 addition & 1 deletion packages/inertia/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"jsx": "preserve",
"lib": ["DOM", "ESNext"],
"rootDir": "./src",
"rootDir": "./",
"types": [],
"outDir": "./build"
}
Expand Down

0 comments on commit 6e71e76

Please sign in to comment.