Skip to content

Commit

Permalink
Merge pull request #12 from ssssota/types-versions
Browse files Browse the repository at this point in the history
Types versions
  • Loading branch information
ssssota authored Feb 18, 2023
2 parents d7b4dc2 + 728995f commit a0facc9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/giant-students-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"unplugin-typedotenv": patch
---

Better types
3 changes: 3 additions & 0 deletions packages/unplugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

typedotenv with [unplugin](https://github.com/unjs/unplugin).

You can generate TypeScript code from `.env` file.
When you edit the `.env` file, the file is re-created.

[read more](../../README.md)

## Setup
Expand Down
12 changes: 11 additions & 1 deletion packages/unplugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
},
"./*": "./*"
},
"typesVersions": {
"*": {
"*": [
"./dist/*"
]
}
},
"files": [
"dist"
],
Expand All @@ -51,7 +58,10 @@
"dotenv",
"typescript",
"code-generator",
"unplugin"
"unplugin",
"plugin",
"webpack",
"vite"
],
"author": "TOMIKAWA Sotaro",
"license": "Apache-2.0",
Expand Down

0 comments on commit a0facc9

Please sign in to comment.