@manifoldco/web-components
Advanced tools
Comparing version 0.0.2 to 0.0.6
@@ -5,8 +5,8 @@ 'use strict'; | ||
const index = require('./index-bdeac204.js'); | ||
const index = require('./index-126751eb.js'); | ||
const defineCustomElements = (win, options) => index.patchEsm().then(() => { | ||
return index.bootstrapLazy([["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
return index.bootstrapLazy([["manifold-plan-table.cjs",[[1,"manifold-plan-table",{"slug":[1],"product":[32],"client":[32]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
}); | ||
exports.defineCustomElements = defineCustomElements; |
@@ -5,8 +5,6 @@ 'use strict'; | ||
const index = require('./index-bdeac204.js'); | ||
const index = require('./index-126751eb.js'); | ||
function format(first, middle, last) { | ||
return ((first || '') + | ||
(middle ? ` ${middle}` : '') + | ||
(last ? ` ${last}` : '')); | ||
return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''); | ||
} | ||
@@ -13,0 +11,0 @@ |
{ | ||
"entries": [ | ||
"./components/manifold-plan-table/manifold-plan-table.js", | ||
"./components/my-component/my-component.js" | ||
@@ -4,0 +5,0 @@ ], |
export function format(first, middle, last) { | ||
return ((first || '') + | ||
(middle ? ` ${middle}` : '') + | ||
(last ? ` ${last}` : '')); | ||
return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''); | ||
} |
@@ -1,6 +0,4 @@ | ||
import { r as registerInstance, h } from './index-5a8922dc.js'; | ||
import { r as registerInstance, h } from './index-d678b9b3.js'; | ||
function format(first, middle, last) { | ||
return ((first || '') + | ||
(middle ? " " + middle : '') + | ||
(last ? " " + last : '')); | ||
return (first || '') + (middle ? " " + middle : '') + (last ? " " + last : ''); | ||
} | ||
@@ -7,0 +5,0 @@ var myComponentCss = ":host{display:block}"; |
@@ -1,7 +0,5 @@ | ||
import { r as registerInstance, h } from './index-5a8922dc.js'; | ||
import { r as registerInstance, h } from './index-d678b9b3.js'; | ||
function format(first, middle, last) { | ||
return ((first || '') + | ||
(middle ? ` ${middle}` : '') + | ||
(last ? ` ${last}` : '')); | ||
return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''); | ||
} | ||
@@ -8,0 +6,0 @@ |
@@ -9,2 +9,5 @@ /* eslint-disable */ | ||
export namespace Components { | ||
interface ManifoldPlanTable { | ||
"slug": string; | ||
} | ||
interface MyComponent { | ||
@@ -26,2 +29,8 @@ /** | ||
declare global { | ||
interface HTMLManifoldPlanTableElement extends Components.ManifoldPlanTable, HTMLStencilElement { | ||
} | ||
var HTMLManifoldPlanTableElement: { | ||
prototype: HTMLManifoldPlanTableElement; | ||
new (): HTMLManifoldPlanTableElement; | ||
}; | ||
interface HTMLMyComponentElement extends Components.MyComponent, HTMLStencilElement { | ||
@@ -34,2 +43,3 @@ } | ||
interface HTMLElementTagNameMap { | ||
"manifold-plan-table": HTMLManifoldPlanTableElement; | ||
"my-component": HTMLMyComponentElement; | ||
@@ -39,2 +49,5 @@ } | ||
declare namespace LocalJSX { | ||
interface ManifoldPlanTable { | ||
"slug"?: string; | ||
} | ||
interface MyComponent { | ||
@@ -55,2 +68,3 @@ /** | ||
interface IntrinsicElements { | ||
"manifold-plan-table": ManifoldPlanTable; | ||
"my-component": MyComponent; | ||
@@ -63,2 +77,3 @@ } | ||
interface IntrinsicElements { | ||
"manifold-plan-table": LocalJSX.ManifoldPlanTable & JSXBase.HTMLAttributes<HTMLManifoldPlanTableElement>; | ||
"my-component": LocalJSX.MyComponent & JSXBase.HTMLAttributes<HTMLMyComponentElement>; | ||
@@ -65,0 +80,0 @@ } |
{ | ||
"name": "web-components-loader", | ||
"name": "manifold-loader", | ||
"typings": "./index.d.ts", | ||
@@ -4,0 +4,0 @@ "module": "./index.mjs", |
{ | ||
"name": "@manifoldco/web-components", | ||
"version": "0.0.2", | ||
"description": "Stencil Component Starter", | ||
"version": "0.0.6", | ||
"description": "Manifold's Web Components", | ||
"main": "dist/index.js", | ||
@@ -22,8 +22,37 @@ "module": "dist/index.mjs", | ||
"test.watch": "stencil test --spec --e2e --watchAll", | ||
"generate": "stencil generate" | ||
"generate": "stencil generate", | ||
"generate:gql": "graphql-codegen --config codegen.yml", | ||
"lint": "npm run lint:js && npm run lint:css", | ||
"lint:css": "stylelint 'src/**/*.(css|scss)'", | ||
"lint:js": "eslint --ext .js,.ts,.tsx src", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"devDependencies": { | ||
"@stencil/core": "^1.12.2" | ||
"@graphql-codegen/cli": "^1.15.3", | ||
"@graphql-codegen/typescript": "^1.15.3", | ||
"@graphql-codegen/typescript-operations": "^1.15.3", | ||
"@manifoldco/mercury": "^0.2.4", | ||
"@stencil/core": "^1.12.2", | ||
"@stencil/sass": "^1.3.1", | ||
"@types/jest": "^26.0.0", | ||
"@typescript-eslint/eslint-plugin": "^3.3.0", | ||
"@typescript-eslint/parser": "^3.3.0", | ||
"eslint": "^7.2.0", | ||
"eslint-config-airbnb-base": "^14.2.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-import-resolver-typescript": "^2.0.0", | ||
"eslint-plugin-import": "^2.21.2", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"graphql": "^15.1.0", | ||
"prettier": "^2.0.5", | ||
"rollup-pluginutils": "^2.8.2", | ||
"stylelint": "^13.6.1", | ||
"stylelint-config-prettier": "^8.0.1", | ||
"stylelint-config-rational-order": "^0.1.2", | ||
"stylelint-config-standard": "^20.0.0" | ||
}, | ||
"license": "MIT" | ||
"license": "MIT", | ||
"dependencies": { | ||
"urql": "^1.9.8" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1410730
81
23690
1
22
5
17
+ Addedurql@^1.9.8
+ Added@graphql-typed-document-node/core@3.2.0(transitive)
+ Added@urql/core@1.16.2(transitive)
+ Addedgraphql@15.9.0(transitive)
+ Addedreact@19.0.0(transitive)
+ Addedurql@1.11.6(transitive)
+ Addedwonka@4.0.15(transitive)