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 1.0.0-next.14 to 1.0.0-next.15

2

package.json
{
"name": "@patternfly/create-element",
"version": "1.0.0-next.14",
"version": "1.0.0-next.15",
"description": "Scaffold web components monorepos based on PatternFly Elements",

@@ -5,0 +5,0 @@ "author": "Benny Powers <bennyp@redhat.com>",

import { pfeCustomElementsManifestConfig } from '@patternfly/pfe-tools/custom-elements-manifest.js';
export default pfeCustomElementsManifestConfig({
globs: ['<%= tagPrefix %>-*.ts'],
globs: ['<%= tagPrefix %>-*.ts', 'Base*.ts'],
});
import '<%= importSpecifier %>';
const root = document.querySelector('[data-demo="<%= tagName %>"]')?.shadowRoot ?? document;
root.querySelector('<%= tagName %>');
const element = document.querySelector('<%= tagName %>');
import { LitElement, html } from 'lit';
import { customElement } from 'lit/decorators.js';
import { pfelement } from '@patternfly/pfe-core/decorators.js';
import styles from '<%= cssRelativePath %>';

@@ -12,6 +10,4 @@

*/
@customElement('<%= tagName %>') @pfelement()
@customElement('<%= tagName %>')
export class <%= className %> extends LitElement {
static readonly version = '{{version}}';
static readonly styles = [styles];

@@ -29,3 +25,3 @@

'<%= tagName %>': <%= className %>;
}
}
}

Sorry, the diff of this file is not supported yet

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