Skip to content

Commit

Permalink
exports map 에 types필드 추가 (#281)
Browse files Browse the repository at this point in the history
* fix: add types field

* Changeset

* fix: update nanobundle package version

* fix: remove comma end of json

* fix: remove source
  • Loading branch information
juyeong1260 committed Apr 25, 2023
1 parent 15ae12a commit cd0f24e
Show file tree
Hide file tree
Showing 41 changed files with 426 additions and 315 deletions.
6 changes: 6 additions & 0 deletions .changeset/wild-panthers-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@seed-design/design-token": patch
"@seed-design/react-theming": patch
---

add types field in exports map
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/design-token/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"publishConfig": {
"access": "public"
},
"source": "./src/index.ts",
"types": "./lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"require": "./lib/index.cjs",
"import": "./lib/index.mjs"
},
Expand All @@ -28,6 +28,6 @@
"build": "nanobundle build"
},
"devDependencies": {
"nanobundle": "^0.0.27"
"nanobundle": "^1.6.0"
}
}
2 changes: 1 addition & 1 deletion packages/design-token/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"moduleResolution": "NodeNext",
"rootDir": "src",
"outDir": "lib"
}
Expand Down
8 changes: 3 additions & 5 deletions packages/react-theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@
"email": "[email protected]"
}
],
"source": "./src/index.ts",
"main": "./lib/index.cjs",
"module": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"publishConfig": {
"access": "public",
"main": "./lib/index.mjs",
"module": "./lib/index.mjs"
"main": "./lib/index.mjs"
},
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.cjs"
},
Expand Down Expand Up @@ -50,7 +48,7 @@
},
"devDependencies": {
"@types/react": "^18.0.25",
"nanobundle": "^0.0.28",
"nanobundle": "^1.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.9.3"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"moduleResolution": "NodeNext",
"strict": true,
"composite": true,
"incremental": true
Expand Down
Loading

0 comments on commit cd0f24e

Please sign in to comment.