This repository was archived by the owner on Dec 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
scripts/generate/source/generators/module Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ function setPackageReadmeFileActions(paths: Paths): Array<ActionType> {
141
141
const appendToReadmeLinksAction = defineAppendAction ( {
142
142
path : readmeFilePath ,
143
143
templateFile : readmeLinksTemplatePath ,
144
- pattern : ` <!-- MODULES LINKS -->` ,
144
+ pattern : / < ! - - M O D U L E S L I N K S - - > / ,
145
145
} ) ;
146
146
const appendToReadmeTableAction = defineAppendAction ( {
147
147
path : readmeFilePath ,
@@ -157,5 +157,10 @@ function setPackageReadmeFileActions(paths: Paths): Array<ActionType> {
157
157
return `Formatted: ${ readmeFilePath } ` ;
158
158
} ;
159
159
160
- return [ appendToReadmeTableAction , appendToReadmeLinksAction , formatReadmeFileAction ] ;
160
+ /* prettier-ignore */
161
+ return [
162
+ appendToReadmeTableAction ,
163
+ appendToReadmeLinksAction ,
164
+ formatReadmeFileAction ,
165
+ ] ;
161
166
}
Original file line number Diff line number Diff line change 1
- [`@terminal-nerds/snippets-{{ kebabCase packageName }} /{{ kebabCase moduleName }} `] | ![{{ kebabCase moduleName }} size gzip badge] ![{{ kebabCase moduleName }} size brotli badge]
1
+ [`@terminal-nerds/snippets-{{ kebabCase packageName }} /{{ kebabCase moduleName }} `] | ![{{ kebabCase moduleName }} size gzip badge] ![{{ kebabCase moduleName }} size brotli badge]
You can’t perform that action at this time.
0 commit comments