Skip to content

Commit

Permalink
refactor: add env-cli and config
Browse files Browse the repository at this point in the history
  • Loading branch information
hariscs committed Feb 24, 2024
1 parent f39c20d commit b5916ef
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 2 deletions.
File renamed without changes.
37 changes: 37 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
"scripts": {
"build": "turbo run build",
"clean": "turbo run clean",
"dev": "turbo run dev",
"dev": "dotenv -- turbo run dev",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint": "turbo run lint",
"test": "turbo run test",
"typecheck": "turbo run typecheck"
},
"devDependencies": {
"dotenv-cli": "^7.3.0",
"prettier": "^3.1.1",
"turbo": "latest"
},
Expand Down
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"globalEnv": ["PORT"],
"globalDotEnv": [".env"],
"pipeline": {
"build": {
// "outputs" are defined in Workspace Configurations: https://turbo.build/repo/docs/core-concepts/monorepos/configuring-workspaces
"dependsOn": ["^build"]
},
"test": {
Expand Down

0 comments on commit b5916ef

Please sign in to comment.