File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function isCustomElementDeclaration(decl: M.Declaration): decl is M.CustomElemen
88 return ! ! ( decl as M . CustomElementDeclaration ) . customElement ;
99}
1010
11- const RE = / ^ h t t p s : \/ \/ p a t t e r n f l y e l e m e n t s \. c o m \/ c o m p o n e n t s \/ (?< slug > [ \w - ] + ) \/ / ;
11+ const RE = / ^ h t t p s : \/ \/ p a t t e r n f l y e l e m e n t s \. o r g \/ c o m p o n e n t s \/ (?< slug > [ \w - ] + ) \/ / ;
1212
1313const copy = structuredClone ( manifest ) as M . Package ;
1414
@@ -33,7 +33,7 @@ await writeFile('custom-elements.json', JSON.stringify({
3333 declarations : module . declarations ?. map ( decl => ( {
3434 ...decl ,
3535 demos :
36- ! isCustomElementDeclaration ( decl ) ? decl
36+ ! isCustomElementDeclaration ( decl ) ? undefined
3737 : decl . demos ?. map ( demo => isMainDemo ( demo ) ? ( {
3838 ...demo ,
3939 url : `https://patternflyelements.com/components/${ getSlug ( demo ) } /demo/` ,
You can’t perform that action at this time.
0 commit comments