@patternfly/create-element
Advanced tools
Comparing version 0.0.2-next.4 to 0.0.2-next.5
# @patternfly/create-element | ||
## 0.0.2-next.5 | ||
### Patch Changes | ||
- 56baa0ec: update components entrypoint filename | ||
- a6253d3c: Generate the single-file bundle entrypoint at runtime | ||
## 0.0.2-next.4 | ||
@@ -4,0 +11,0 @@ |
@@ -238,10 +238,2 @@ import type { GenerateElementOptions } from '../main'; | ||
async function updateDocsBundle(options: GenerateElementOptions): Promise<void> { | ||
const pathname = join(process.cwd(), 'docs', 'demo', 'bundle.ts'); | ||
const content = await readFile(pathname, 'utf8'); | ||
await writeFile(pathname, `${content}\nimport '@patternfly/${options.tagName}';`, 'utf8'); | ||
await execaCommand(`npx eslint --fix ${pathname}`); | ||
} | ||
/** | ||
@@ -263,5 +255,4 @@ * Generate an Element | ||
await updateTsconfig(options); | ||
await updateDocsBundle(options); | ||
await execaCommand('npm install'); | ||
} | ||
} |
{ | ||
"name": "@patternfly/create-element", | ||
"version": "0.0.2-next.4", | ||
"version": "0.0.2-next.5", | ||
"description": "Scaffold web components monorepos based on PatternFly Elements", | ||
@@ -5,0 +5,0 @@ "author": "Benny Powers <bennyp@redhat.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55766
576