Skip to content

Commit

Permalink
refactor(fenge): optimize tsconfig exports and rename tsconfig.json t…
Browse files Browse the repository at this point in the history
…o index.json
  • Loading branch information
zanminkian committed Nov 26, 2024
1 parent 5adeeed commit 4c6fa59
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-monkeys-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fenge": minor
---

refactor(fenge): optimize tsconfig exports and rename tsconfig.json to index.json
9 changes: 6 additions & 3 deletions packages/fenge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@
"./types": {
"types": "./types/index.d.ts"
},
"./tsconfig": "./tsconfig/tsconfig.json",
"./tsconfig/*": "./tsconfig/*.json",
"./tsconfig/*.json": "./tsconfig/*.json"
"./tsconfig": "./tsconfig/index.json",
"./tsconfig.json": "./tsconfig/index.json",
"./tsconfig/esm": "./tsconfig/esm.json",
"./tsconfig/esm.json": "./tsconfig/esm.json",
"./tsconfig/cjs": "./tsconfig/cjs.json",
"./tsconfig/cjs.json": "./tsconfig/cjs.json"
},
"bin": "./src/bin/cli.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/fenge/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "./tsconfig/tsconfig.json"
"extends": "./tsconfig/index.json"
}
File renamed without changes.

0 comments on commit 4c6fa59

Please sign in to comment.