Skip to content

Commit 67921a4

Browse files
authored
Merge pull request #11 from expatfile/development
chore: 🔖 release stable version
2 parents ebd5e6d + f18f404 commit 67921a4

10 files changed

+176
-89
lines changed

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,19 @@ development, and Next.js is no exception.
2121

2222
Next.js supports [environment variables][nextjs-env-vars], but only at
2323
build time. This means you must rebuild your app for each target environment,
24-
which violates the principle. And it is the most common approach nowadays. But
25-
what if you want, or need, to follow the build once, deploy many principle?
24+
which violates the principle. But what if you want, or need, to follow the build
25+
once, deploy many principle?
2626

2727
### The solution 🤓
2828

2929
`next-runtime-env` solves this problem by generating a JavaScript file that is
3030
loaded by the browser and contains the environment variables. We generate this
3131
file at runtime, so you don't have to declare your environment variables at
32-
build time. This approach is also compatible with
33-
[static site generation][static-generation-link], and it works on the server as
34-
well. It also supports middleware, so you can use it to populate your
35-
environment variables in your API routes.
32+
build time.
33+
34+
Our approach is compatible with
35+
[static site generation][static-generation-link], and it also supports
36+
middleware.
3637

3738
### Getting started 🚀
3839

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,15 @@
3131
"url": "https://github.com/expatfile/next-runtime-env/issues"
3232
},
3333
"homepage": "https://github.com/expatfile/next-runtime-env#readme",
34+
"dependencies": {
35+
"chalk": "^4.1.2"
36+
},
3437
"devDependencies": {
3538
"@types/eslint": "^8.37.0",
3639
"@types/jest": "^29.5.1",
3740
"@types/node": "^18.16.3",
38-
"@typescript-eslint/eslint-plugin": "^5.59.1",
39-
"@typescript-eslint/parser": "^5.59.1",
41+
"@typescript-eslint/eslint-plugin": "^5.59.2",
42+
"@typescript-eslint/parser": "^5.59.2",
4043
"audit-ci": "^6.6.1",
4144
"eslint-config-airbnb-base": "^15.0.0",
4245
"eslint-config-prettier": "^8.8.0",

pnpm-lock.yaml

+58-59
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)