Skip to content

Commit 4158f23

Browse files
authored
Merge pull request #2067 from cprussin/dont-pull-env-in-ci
fix(turbo): turbo repo fixes
2 parents 79e1742 + dccf989 commit 4158f23

File tree

7 files changed

+19
-5
lines changed

7 files changed

+19
-5
lines changed

apps/api-reference/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "next build",
1111
"fix:format": "prettier --write .",
1212
"fix:lint": "eslint --fix .",
13-
"pull:env": "[ $VERCEL ] || VERCEL_ORG_ID=team_BKQrg3JJFLxZyTqpuYtIY0rj VERCEL_PROJECT_ID=prj_gbljYVzp0m5EpCuOF6nZpM4WMFM6 vercel env pull",
13+
"pull:env": "[ $CI ] || VERCEL_ORG_ID=team_BKQrg3JJFLxZyTqpuYtIY0rj VERCEL_PROJECT_ID=prj_gbljYVzp0m5EpCuOF6nZpM4WMFM6 vercel env pull",
1414
"start:dev": "next dev --port 3002",
1515
"start:prod": "next start --port 3002",
1616
"test:format": "jest --selectProjects format",

apps/staking/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "next build",
1111
"fix:format": "prettier --write .",
1212
"fix:lint": "eslint --fix .",
13-
"pull:env": "[ $VERCEL ] || VERCEL_ORG_ID=team_BKQrg3JJFLxZyTqpuYtIY0rj VERCEL_PROJECT_ID=prj_3TIYzlYYncZx7wRtfmzG2YUsNzKp vercel env pull",
13+
"pull:env": "[ $CI ] || VERCEL_ORG_ID=team_BKQrg3JJFLxZyTqpuYtIY0rj VERCEL_PROJECT_ID=prj_3TIYzlYYncZx7wRtfmzG2YUsNzKp vercel env pull",
1414
"start:dev": "next dev --port 3001",
1515
"start:prod": "next start --port 3001",
1616
"test:format": "jest --selectProjects format",

governance/xc_admin/packages/xc_admin_frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"scripts": {
99
"build": "next build",
10-
"pull:env": "[ $VERCEL ] || VERCEL_ORG_ID=team_BKQrg3JJFLxZyTqpuYtIY0rj VERCEL_PROJECT_ID=prj_TCjesnm3pxM7Ay8oxlTH4xLkkmP9 vercel env pull",
10+
"pull:env": "[ $CI ] || VERCEL_ORG_ID=team_BKQrg3JJFLxZyTqpuYtIY0rj VERCEL_PROJECT_ID=prj_TCjesnm3pxM7Ay8oxlTH4xLkkmP9 vercel env pull",
1111
"start:dev": "next dev --port 3003",
1212
"start:prod": "next start --port 3003",
1313
"test:lint": "next lint"

packages/component-library/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
storybook-static

packages/component-library/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build:storybook": "storybook build",
88
"fix:format": "prettier --write .",
99
"fix:lint": "eslint --fix .",
10-
"start:storybook": "storybook dev --port 4000 --no-open",
10+
"start:dev": "storybook dev --port 4000 --no-open",
1111
"test:format": "prettier --check .",
1212
"test:lint": "jest --selectProjects lint",
1313
"test:types": "tsc"

packages/component-library/turbo.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "https://turbo.build/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"build:storybook": {
6+
"outputs": ["storybook-static/**"]
7+
},
8+
"start:dev": {
9+
"persistent": true,
10+
"cache": false
11+
}
12+
}
13+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"buildCommand": "cd ../.. && pnpm --filter component-library build:storybook",
2+
"buildCommand": "turbo --filter @pythnetwork/component-library build:storybook",
33
"framework": null,
44
"outputDirectory": "storybook-static"
55
}

0 commit comments

Comments
 (0)