Skip to content

Commit fbb277e

Browse files
committed
minor(repo): add create:env to yarn run init before building
1 parent b8b8d7a commit fbb277e

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

scripts/initialize.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ fi
2121

2222
git submodule update --init --recursive
2323
yarn install --ignore-scripts --frozen-lockfile
24+
yarn turbo run create:env
2425
yarn turbo run build
2526
yarn install --force --frozen-lockfile
2627
NUXT_TELEMETRY_DISABLED=1 yarn turbo run init

turbo.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
"!.next/cache/**"
3232
]
3333
},
34+
"create:env": {
35+
"cache": false,
36+
"outputs": [
37+
".env"
38+
]
39+
},
3440
"init": {
3541
"dependsOn": [
3642
"^build",

0 commit comments

Comments
 (0)