Skip to content

Commit

Permalink
Merge pull request #7 from AP-Atul/feat/env-vars
Browse files Browse the repository at this point in the history
Added support for single `.env`
  • Loading branch information
rushidhanwant authored Mar 1, 2023
2 parents cb19b0f + ee47000 commit 2aa4a77
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 17 deletions.
35 changes: 18 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,28 @@
"packages/*"
],
"scripts": {
"clean": "turbo run clean",
"start": "turbo run start",
"build": "turbo run build",
"start:bot": "turbo run start:bot",
"start:web": "turbo run start:web",
"dev:web": "turbo run dev:web",
"dev:bot": "turbo run dev:bot",
"dev": "turbo run dev --parallel",
"lint": "turbo run lint",
"clean": "dotenv -- turbo run clean",
"start": "dotenv -- turbo run start",
"build": "dotenv -- turbo run build",
"start:bot": "dotenv -- turbo run start:bot",
"start:web": "dotenv -- turbo run start:web",
"dev:web": "dotenv -- turbo run dev:web",
"dev:bot": "dotenv -- turbo run dev:bot",
"dev": "dotenv -- turbo run dev --parallel",
"lint": "dotenv -- turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"generate": "turbo run generate",
"db:push": "turbo run db:push",
"daemon": "turbo run daemon",
"studio": "turbo run studio",
"composedb:daemon": "turbo run composedb:daemon",
"composedb:server": "turbo run composedb:server",
"composedb:server:docker": "turbo run composedb:server:docker"
"generate": "dotenv -- turbo run generate",
"db:push": "dotenv -- turbo run db:push",
"daemon": "dotenv -- turbo run daemon",
"studio": "dotenv -- turbo run studio",
"composedb:daemon": "dotenv -- turbo run composedb:daemon",
"composedb:server": "dotenv -- turbo run composedb:server",
"composedb:server:docker": "dotenv -- turbo run composedb:server:docker"
},
"devDependencies": {
"prettier": "^2.8.1",
"turbo": "^1.6.3"
"turbo": "^1.6.3",
"dotenv-cli": "latest"
},
"engines": {
"npm": ">=7.0.0",
Expand Down
15 changes: 15 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6387,6 +6387,21 @@ dotenv-cli@^6.0.0:
dotenv-expand "^8.0.1"
minimist "^1.2.5"

dotenv-cli@latest:
version "7.0.0"
resolved "https://registry.yarnpkg.com/dotenv-cli/-/dotenv-cli-7.0.0.tgz#b24e842a4c00928ec91d051ab152cd927c66ad97"
integrity sha512-XfMzVdpdDTRnlcgvFLg3lSyiLXqFxS4tH7RbK5IxkC4XIUuxPyrGoDufkfLjy/dA28EILzEu+mros6h8aQmyGg==
dependencies:
cross-spawn "^7.0.3"
dotenv "^16.0.0"
dotenv-expand "^10.0.0"
minimist "^1.2.6"

dotenv-expand@^10.0.0:
version "10.0.0"
resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-10.0.0.tgz#12605d00fb0af6d0a592e6558585784032e4ef37"
integrity sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==

dotenv-expand@^8.0.1:
version "8.0.3"
resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-8.0.3.tgz#29016757455bcc748469c83a19b36aaf2b83dd6e"
Expand Down

0 comments on commit 2aa4a77

Please sign in to comment.