728d82663c
We currently use `dotenv-expand@5` in `@next/env`, which does not support default expansion. It was added in v6 (https://github.com/motdotla/dotenv-expand/pull/39). Upgrading to the latest version of `dotenv-expand` and fixing an import, the added test passed. Fixes #34718 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
36 lines
937 B
JSON
36 lines
937 B
JSON
{
|
|
"name": "@next/env",
|
|
"version": "12.1.1-canary.6",
|
|
"keywords": [
|
|
"react",
|
|
"next",
|
|
"next.js",
|
|
"dotenv"
|
|
],
|
|
"description": "Next.js dotenv file loading",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/vercel/next.js",
|
|
"directory": "packages/next-env"
|
|
},
|
|
"author": "Next.js Team <support@vercel.com>",
|
|
"license": "MIT",
|
|
"main": "dist/index.js",
|
|
"types": "types/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"types"
|
|
],
|
|
"scripts": {
|
|
"dev": "ncc build ./index.ts -w -o dist/",
|
|
"prerelease": "rimraf ./dist/",
|
|
"types": "tsc index.ts --declaration --emitDeclarationOnly --declarationDir types --esModuleInterop",
|
|
"release": "ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register",
|
|
"prepublish": "yarn release && yarn types"
|
|
},
|
|
"devDependencies": {
|
|
"@vercel/ncc": "0.33.1",
|
|
"dotenv": "10.0.0",
|
|
"dotenv-expand": "8.0.1"
|
|
}
|
|
}
|