@@ -55,6 +55,7 @@ const hintDocumentationPaths = [
55
55
] ;
56
56
57
57
const resources = [
58
+ 'configuration' ,
58
59
'connector' ,
59
60
'extension' ,
60
61
'formatter' ,
@@ -168,14 +169,14 @@ const getResourcesFiles = async () => {
168
169
const imageFiles = [ ] ;
169
170
170
171
for ( const resource of resources ) {
171
- const images = await globby ( [ `${ constants . dirs . NODE_MODULES } /@hint/{${ resource } -*,configuration-* /node_modules/@hint/${ resource } -*}/images/**/*` ] , { absolute : true } ) ;
172
+ const images = await globby ( [ `${ constants . dirs . NODE_MODULES } /@hint/{${ resource } -*,configuration-all /node_modules/@hint/${ resource } -*}/images/**/*` ] , { absolute : true } ) ;
172
173
173
174
images . forEach ( ( image ) => {
174
175
imageFiles . push ( getImageItemFromResource ( image , resource ) ) ;
175
176
} ) ;
176
177
}
177
178
178
- const docs = await globby ( [ `${ constants . dirs . NODE_MODULES } /@hint/{${ resources . join ( ',' ) } ,configuration-* /node_modules/@hint/{${ resources . join ( ',' ) } }}-*/{README.md,docs/*.md}` ] , { absolute : true } ) ;
179
+ const docs = await globby ( [ `${ constants . dirs . NODE_MODULES } /@hint/{${ resources . join ( ',' ) } ,configuration-all /node_modules/@hint/{${ resources . join ( ',' ) } }}-*/{README.md,docs/*.md}` ] , { absolute : true } ) ;
179
180
180
181
const promises = docs . map ( async ( doc ) => {
181
182
const { content, frontMatter } = await getExistingContent ( doc ) ;
@@ -724,7 +725,7 @@ const createHintCategories = (files) => {
724
725
} ;
725
726
726
727
const updateChangelog = async ( ) => {
727
- const files = await globby ( [ `${ constants . dirs . HINT_PACKAGES } /* /CHANGELOG.md` ] ) ;
728
+ const files = await globby ( [ `${ constants . dirs . NODE_MODULES } /{hint,@hint/{ ${ resources . join ( ',' ) } ,configuration-all/node_modules/@hint/{ ${ resources . join ( ',' ) } }}-*} /CHANGELOG.md` ] ) ;
728
729
729
730
const changelog = await files . reduce ( async ( totalPromise , file ) => {
730
731
const total = await totalPromise ;
0 commit comments