Skip to content

Commit

Permalink
fix: add types to package.json#exports (#12)
Browse files Browse the repository at this point in the history
* fix: add types to package.json#exports

* chore: add changeset

---------

Co-authored-by: Julius Marminge <julius0216@outlook.com>
  • Loading branch information
stefanprobst and juliusmarminge committed Apr 25, 2023
1 parent a2921cc commit c17f462
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/four-pears-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@t3-oss/env-nextjs": patch
"@t3-oss/env-core": patch
---

add types to package.json exports map
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
Expand Down

1 comment on commit c17f462

@vercel
Copy link

@vercel vercel bot commented on c17f462 Apr 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

t3-env – ./

t3-env-git-main-t3-oss.vercel.app
t3-env-t3-oss.vercel.app
env.t3.gg
t3-env.vercel.app

Please sign in to comment.