File tree 9 files changed +19
-9
lines changed
9 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 9
9
"outputs" : [" {projectRoot}/public/dist" ],
10
10
"executor" : " nx:run-commands" ,
11
11
"options" : {
12
- "commands" : [" tsc --noEmit" , " tsc --module es2022 --noEmit" ],
12
+ "commands" : [
13
+ " if [ \" $DEPLOYMENT_ENVIRONMENT\" != \" CDN\" ]; then tsc --noEmit; fi" ,
14
+ " if [ \" $DEPLOYMENT_ENVIRONMENT\" != \" CDN\" ]; then tsc --module es2022 --noEmit; fi"
15
+ ],
13
16
"parallel" : true ,
14
17
"cwd" : " packages/samples/atomic-react"
15
18
}
Original file line number Diff line number Diff line change 5
5
"cached:build" : {
6
6
"executor" : " nx:run-commands" ,
7
7
"options" : {
8
- "commands" : [" npm run build:client" ],
8
+ "commands" : [
9
+ " if [ \" $DEPLOYMENT_ENVIRONMENT\" != \" CDN\" ]; then npm run build:client; fi"
10
+ ],
9
11
"parallel" : true ,
10
12
"cwd" : " packages/samples/headless-commerce-react"
11
13
}
Original file line number Diff line number Diff line change 5
5
"cached:build" : {
6
6
"executor" : " nx:run-commands" ,
7
7
"options" : {
8
- "commands" : [" npm run build:client" ],
8
+ "commands" : [
9
+ " if [ \" $DEPLOYMENT_ENVIRONMENT\" != \" CDN\" ]; then npm run build:client; fi"
10
+ ],
9
11
"parallel" : true ,
10
12
"cwd" : " packages/samples/headless-react"
11
13
}
Original file line number Diff line number Diff line change 5
5
"cached:build" : {
6
6
"executor" : " nx:run-commands" ,
7
7
"options" : {
8
- "command" : " npm run build:next" ,
8
+ "command" : " if [ \" $DEPLOYMENT_ENVIRONMENT \" != \" CDN \" ]; then npm run build:next; fi " ,
9
9
"cwd" : " packages/samples/headless-ssr-commerce"
10
10
}
11
11
},
Original file line number Diff line number Diff line change 5
5
"cached:build" : {
6
6
"executor" : " nx:run-commands" ,
7
7
"options" : {
8
- "command" : " npm run build:next" ,
8
+ "command" : " if [ \" $DEPLOYMENT_ENVIRONMENT \" != \" CDN \" ]; then npm run build:next; fi " ,
9
9
"cwd" : " packages/samples/headless-ssr/app-router"
10
10
}
11
11
},
Original file line number Diff line number Diff line change 5
5
"cached:build" : {
6
6
"executor" : " nx:run-commands" ,
7
7
"options" : {
8
- "command" : " npm run build:next" ,
8
+ "command" : " if [ \" $DEPLOYMENT_ENVIRONMENT \" != \" CDN \" ]; then npm run build:next; fi " ,
9
9
"cwd" : " packages/samples/headless-ssr/pages-router"
10
10
}
11
11
},
Original file line number Diff line number Diff line change 10
10
"outputs" : [" {projectRoot}/www/cdn" ],
11
11
"executor" : " nx:run-commands" ,
12
12
"options" : {
13
- "command" : " npm run build:assets" ,
13
+ "command" : " if [ \" $DEPLOYMENT_ENVIRONMENT \" != \" CDN \" ]; then npm run build:assets; fi " ,
14
14
"cwd" : " packages/samples/iife"
15
15
}
16
16
},
Original file line number Diff line number Diff line change 14
14
"outputs" : [" {projectRoot}/www" , " {projectRoot}/src/components.d.ts" ],
15
15
"executor" : " nx:run-commands" ,
16
16
"options" : {
17
- "command" : " node --max_old_space_size=6144 ../../../node_modules/@stencil/core/bin/stencil build" ,
17
+ "command" : " if [ \" $DEPLOYMENT_ENVIRONMENT \" != \" CDN \" ]; then node --max_old_space_size=6144 ../../../node_modules/@stencil/core/bin/stencil build; fi " ,
18
18
"cwd" : " packages/samples/stencil"
19
19
}
20
20
},
Original file line number Diff line number Diff line change 6
6
"dependsOn" : [" ^build" , " clean" ],
7
7
"executor" : " nx:run-commands" ,
8
8
"options" : {
9
- "commands" : [" npm run build:assets" , " npm run build:vue" ],
9
+ "commands" : [
10
+ " if [ \" $DEPLOYMENT_ENVIRONMENT\" != \" CDN\" ]; then npm run build:assets; fi" ,
11
+ " if [ \" $DEPLOYMENT_ENVIRONMENT\" != \" CDN\" ]; then npm run build:vue; fi"
12
+ ],
10
13
"parallel" : false ,
11
14
"cwd" : " packages/samples/vuejs"
12
15
}
You can’t perform that action at this time.
0 commit comments