File tree Expand file tree Collapse file tree 3 files changed +13
-17
lines changed
Expand file tree Collapse file tree 3 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 88 "dependsOn" : [
99 " ^build" ,
1010 " generate-docs" ,
11- " ts-patch " ,
12- { "projects" : " zod2md-jsdocs" , "target" : " build " }
11+ { "projects" : " zod2md-jsdocs " , "target" : " build " } ,
12+ { "projects" : " zod2md-jsdocs" , "target" : " ts-patch " }
1313 ]
1414 },
1515 "lint" : {},
Original file line number Diff line number Diff line change 66 "targets" : {
77 "lint" : {},
88 "build" : {},
9- "unit-test" : {}
9+ "unit-test" : {},
10+ "ts-patch" : {
11+ "command" : " ts-patch install" ,
12+ "cache" : true ,
13+ "inputs" : [
14+ " sharedGlobals" ,
15+ {
16+ "runtime" : " ts-patch check"
17+ }
18+ ]
19+ }
1020 }
1121}
Original file line number Diff line number Diff line change 11const path = require ( 'node:path' ) ;
22
33const ZOD2MD_CONFIG_FILE = 'zod2md.config.ts' ;
4- const TS_PATCH_TARGET_NAME = 'ts-patch' ;
54const GENERATE_DOCS_TARGET_NAME = 'generate-docs' ;
65
7- /**
8- * Creates the ts-patch target configuration
9- * @returns {object } ts-patch target configuration
10- */
11- const createTsPatchTargetConfig = {
12- command : 'ts-patch install' ,
13- cache : true ,
14- inputs : [ 'sharedGlobals' , { runtime : 'ts-patch check' } ] ,
15- } ;
16-
176/**
187 * Creates the docs generation target configuration
198 * @param {object } params - Configuration parameters
@@ -56,9 +45,6 @@ const createNodesV2 = [
5645 projects : {
5746 [ normalizedProjectRoot ] : {
5847 targets : {
59- ...( jsDocsTypesAugmentation
60- ? { [ TS_PATCH_TARGET_NAME ] : createTsPatchTargetConfig }
61- : { } ) ,
6248 [ docsTargetName ] : createDocsTargetConfig ( {
6349 config,
6450 output,
You can’t perform that action at this time.
0 commit comments