File tree Expand file tree Collapse file tree 8 files changed +33
-58
lines changed
Expand file tree Collapse file tree 8 files changed +33
-58
lines changed Original file line number Diff line number Diff line change 55 "projectType" : " library" ,
66 "tags" : [" library" , " theme" ],
77 "targets" : {
8+ "build:tsc" : {
9+ "executor" : " @nx/js:tsc" ,
10+ "options" : {
11+ "outputPath" : " ../../dist" ,
12+ "tsConfig" : " packages/theme/tsconfig.build.json" ,
13+ "main" : " packages/theme/src/index.ts"
14+ },
15+ "outputs" : [" {workspaceRoot}/dist" ],
16+ "cache" : true ,
17+ "inputs" : [
18+ " production" ,
19+ " {projectRoot}/src/**/*" ,
20+ " {projectRoot}/tsconfig.build.json" ,
21+ " {projectRoot}/package.json"
22+ ]
23+ },
824 "build" : {
925 "executor" : " nx:run-commands" ,
1026 "options" : {
1127 "commands" : [
12- " pnpm exec tsup " ,
13- " tsc --project tsconfig.build.json "
28+ " nx run @ifla/theme:build:tsc " ,
29+ " pnpm exec tsup "
1430 ],
1531 "cwd" : " packages/theme" ,
1632 "parallel" : false
2339 " {projectRoot}/tsup.config.ts" ,
2440 " {projectRoot}/tsconfig.build.json" ,
2541 " {projectRoot}/package.json"
26- ]
42+ ],
43+ "dependsOn" : [" build:tsc" ]
2744 },
2845 "test" : {
2946 "executor" : " @nx/vite:test" ,
Original file line number Diff line number Diff line change 1313 },
1414 "outputs" : [" {projectRoot}/build" ],
1515 "cache" : true ,
16- "dependsOn" : [
17- " ^build" ,
18- {
19- "target" : " build" ,
20- "projects" : [" @ifla/theme" ]
21- }
22- ],
23- "inputs" : [" production" , " ^production" , " docusaurus-no-theme" ]
16+ "dependsOn" : [" ^build" ],
17+ "inputs" : [" production" , " ^production" , " docusaurus" ]
2418 },
2519 "start" : {
2620 "executor" : " nx:run-commands" ,
Original file line number Diff line number Diff line change 1313 },
1414 "outputs" : [" {projectRoot}/build" ],
1515 "cache" : true ,
16- "dependsOn" : [
17- " ^build" ,
18- {
19- "target" : " build" ,
20- "projects" : [" @ifla/theme" ]
21- }
22- ],
23- "inputs" : [" production" , " ^production" , " docusaurus-no-theme" ]
16+ "dependsOn" : [" ^build" ],
17+ "inputs" : [" production" , " ^production" , " docusaurus" ]
2418 },
2519 "start" : {
2620 "executor" : " nx:run-commands" ,
Original file line number Diff line number Diff line change 1313 },
1414 "outputs" : [" {projectRoot}/build" ],
1515 "cache" : true ,
16- "dependsOn" : [
17- " ^build" ,
18- {
19- "target" : " build" ,
20- "projects" : [" @ifla/theme" ]
21- }
22- ],
23- "inputs" : [" production" , " ^production" , " docusaurus-no-theme" ]
16+ "dependsOn" : [" ^build" ],
17+ "inputs" : [" production" , " ^production" , " docusaurus" ]
2418 },
2519 "start" : {
2620 "executor" : " nx:run-commands" ,
Original file line number Diff line number Diff line change 1313 },
1414 "outputs" : [" {projectRoot}/build" ],
1515 "cache" : true ,
16- "dependsOn" : [
17- " ^build" ,
18- {
19- "target" : " build" ,
20- "projects" : [" @ifla/theme" ]
21- }
22- ],
23- "inputs" : [" production" , " ^production" , " docusaurus-no-theme" ]
16+ "dependsOn" : [" ^build" ],
17+ "inputs" : [" production" , " ^production" , " docusaurus" ]
2418 },
2519 "start" : {
2620 "executor" : " nx:run-commands" ,
Original file line number Diff line number Diff line change 3030 },
3131 "outputs" : [" {projectRoot}/build" ],
3232 "cache" : true ,
33- "dependsOn" : [
34- " ^build" ,
35- {
36- "target" : " build" ,
37- "projects" : [" @ifla/theme" ]
38- }
39- ],
40- "inputs" : [" production" , " ^production" , " docusaurus-no-theme" ]
33+ "dependsOn" : [" ^build" ],
34+ "inputs" : [" production" , " ^production" , " docusaurus" ]
4135 },
4236 "start" : {
4337 "executor" : " nx:run-commands" ,
Original file line number Diff line number Diff line change 1313 },
1414 "outputs" : [" {projectRoot}/build" ],
1515 "cache" : true ,
16- "dependsOn" : [
17- " ^build" ,
18- {
19- "target" : " build" ,
20- "projects" : [" @ifla/theme" ]
21- }
22- ],
16+ "dependsOn" : [" ^build" ],
2317 "inputs" : [" production" , " ^production" , " docusaurus" ]
2418 },
2519 "start" : {
Original file line number Diff line number Diff line change 1313 },
1414 "outputs" : [" {projectRoot}/build" ],
1515 "cache" : true ,
16- "dependsOn" : [
17- " ^build" ,
18- {
19- "target" : " build" ,
20- "projects" : [" @ifla/theme" ]
21- }
22- ],
23- "inputs" : [" production" , " ^production" , " docusaurus-no-theme" ]
16+ "dependsOn" : [" ^build" ],
17+ "inputs" : [" production" , " ^production" , " docusaurus" ]
2418 },
2519 "start" : {
2620 "executor" : " nx:run-commands" ,
You can’t perform that action at this time.
0 commit comments