Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@patternfly/create-element

Package Overview
Dependencies
Maintainers
16
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patternfly/create-element - npm Package Compare versions

Comparing version 0.0.2-next.4 to 0.0.2-next.5

7

CHANGELOG.md
# @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 @@

9

generator/element.ts

@@ -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');
}
}

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc