File tree Expand file tree Collapse file tree 8 files changed +22
-25
lines changed
governance/xc_admin/packages/xc_admin_frontend
packages/component-library Expand file tree Collapse file tree 8 files changed +22
-25
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,4 @@ __pycache__
24
24
.next
25
25
.turbo /
26
26
.cursorrules
27
+ .corepack
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://openapi.vercel.sh/vercel.json" ,
3
- "ignoreCommand" : " pnpm dlx turbo-ignore --fallback=HEAD^" ,
4
- "env" : {
5
- "ENABLE_EXPERIMENTAL_COREPACK" : " 1"
6
- }
3
+ "ignoreCommand" : " ../../vercel-ignore.sh"
7
4
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://openapi.vercel.sh/vercel.json" ,
3
- "ignoreCommand" : " pnpm dlx turbo-ignore --fallback=HEAD^" ,
4
- "env" : {
5
- "ENABLE_EXPERIMENTAL_COREPACK" : " 1"
6
- }
3
+ "ignoreCommand" : " ../../vercel-ignore.sh"
7
4
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://openapi.vercel.sh/vercel.json" ,
3
- "ignoreCommand" : " pnpm dlx turbo-ignore --fallback=HEAD^" ,
4
- "env" : {
5
- "ENABLE_EXPERIMENTAL_COREPACK" : " 1"
6
- }
3
+ "ignoreCommand" : " ../../vercel-ignore.sh"
7
4
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://openapi.vercel.sh/vercel.json" ,
3
- "ignoreCommand" : " pnpm dlx turbo-ignore --fallback=HEAD^" ,
4
- "env" : {
5
- "ENABLE_EXPERIMENTAL_COREPACK" : " 1"
6
- }
3
+ "ignoreCommand" : " ../../vercel-ignore.sh"
7
4
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://openapi.vercel.sh/vercel.json" ,
3
- "ignoreCommand" : " pnpm dlx turbo-ignore --fallback=HEAD^" ,
4
- "env" : {
5
- "ENABLE_EXPERIMENTAL_COREPACK" : " 1"
6
- }
3
+ "ignoreCommand" : " ../../../../vercel-ignore.sh"
7
4
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://openapi.vercel.sh/vercel.json" ,
3
3
"buildCommand" : " turbo --filter @pythnetwork/component-library build:storybook" ,
4
- "ignoreCommand" : " pnpm dlx turbo -ignore --fallback=HEAD^ " ,
4
+ "ignoreCommand" : " ../../vercel -ignore.sh " ,
5
5
"framework" : null ,
6
- "outputDirectory" : " storybook-static" ,
7
- "env" : {
8
- "ENABLE_EXPERIMENTAL_COREPACK" : " 1"
9
- }
6
+ "outputDirectory" : " storybook-static"
10
7
}
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # Vercel currently does not properly enable corepack when running the
4
+ # ignoreCommand. This was recommended as a stopgap by Vercel support until they
5
+ # fix that issue.
6
+ COREPACK_ROOT=" $PWD /.corepack"
7
+ COREPACK_SHIM=" $COREPACK_ROOT /shim"
8
+ export COREPACK_HOME=" $COREPACK_ROOT /home"
9
+ export PATH=" $COREPACK_SHIM :$PATH "
10
+ mkdir -p " $COREPACK_HOME "
11
+ mkdir -p " $COREPACK_SHIM "
12
+ corepack enable --install-directory " $COREPACK_SHIM "
13
+
14
+ exec pnpm dlx turbo-ignore --fallback=HEAD^
You can’t perform that action at this time.
0 commit comments