Skip to content

Commit

Permalink
chore!: drop cjs (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge authored Feb 7, 2024
1 parent f1e0791 commit 34d0414
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 42 deletions.
7 changes: 7 additions & 0 deletions .changeset/empty-shirts-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@t3-oss/env-nextjs": minor
"@t3-oss/env-core": minor
"@t3-oss/env-nuxt": minor
---

chore!: drop cjs
16 changes: 2 additions & 14 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,20 @@
"url": "https://github.com/t3-oss/t3-env",
"directory": "packages/core"
},
"main": "dist/index.js",
"module": "dist/index.js",
"require": "dist/index.cjs",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./presets": {
"import": {
"types": "./dist/presets.d.ts",
"default": "./dist/presets.js"
},
"require": {
"types": "./dist/presets.d.cts",
"default": "./dist/presets.cjs"
}
},
"./package.json": "./package.json"
}
},
"files": ["dist", "package.json", "LICENSE", "README.md"],
"scripts": {
Expand Down
16 changes: 2 additions & 14 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,20 @@
"url": "https://github.com/t3-oss/t3-env",
"directory": "packages/nextjs"
},
"main": "dist/index.js",
"module": "dist/index.js",
"require": "dist/index.cjs",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./presets": {
"import": {
"types": "./dist/presets.d.ts",
"default": "./dist/presets.js"
},
"require": {
"types": "./dist/presets.d.cts",
"default": "./dist/presets.cjs"
}
},
"./package.json": "./package.json"
}
},
"files": ["dist", "package.json", "LICENSE", "README.md"],
"scripts": {
Expand Down
16 changes: 2 additions & 14 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,20 @@
"url": "https://github.com/t3-oss/t3-env",
"directory": "packages/nuxt"
},
"main": "dist/index.js",
"module": "dist/index.js",
"require": "dist/index.cjs",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./presets": {
"import": {
"types": "./dist/presets.d.ts",
"default": "./dist/presets.js"
},
"require": {
"types": "./dist/presets.d.cts",
"default": "./dist/presets.cjs"
}
},
"./package.json": "./package.json"
}
},
"files": ["dist", "package.json", "LICENSE", "README.md"],
"scripts": {
Expand Down

0 comments on commit 34d0414

Please sign in to comment.