feat(core): update unpkg imported version
This commit is contained in:
parent
72874430a0
commit
065209a5ad
3 changed files with 9 additions and 9 deletions
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -3991,9 +3991,9 @@
|
|||
}
|
||||
},
|
||||
"packages/config/node_modules/@mcflyjs/core": {
|
||||
"version": "0.2.12",
|
||||
"resolved": "https://registry.npmjs.org/@mcflyjs/core/-/core-0.2.12.tgz",
|
||||
"integrity": "sha512-mA3EtjaSHSm+4OCGjPXYacAgr3U0u5NZURsae9crmSo7G1hRbZWEv/yyswZzpZIkXZ72HflFMPfiWv1N2qyExg==",
|
||||
"version": "0.2.13",
|
||||
"resolved": "https://registry.npmjs.org/@mcflyjs/core/-/core-0.2.13.tgz",
|
||||
"integrity": "sha512-BMuOoJzcsUla9Hrd4DoeOrAVjVads419r+vs/7d3+2Z72w5Yk00Vx8ebtcwQ9B3dKLLLhGSJiJPKg8IOomQKeQ==",
|
||||
"dependencies": {
|
||||
"esprima": "^4.0.1",
|
||||
"h3": "^1.8.2",
|
||||
|
@ -4002,7 +4002,7 @@
|
|||
},
|
||||
"packages/core": {
|
||||
"name": "@mcflyjs/core",
|
||||
"version": "0.2.13",
|
||||
"version": "0.2.14",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"esprima": "^4.0.1",
|
||||
|
@ -4066,9 +4066,9 @@
|
|||
}
|
||||
},
|
||||
"templates/basic/node_modules/@mcflyjs/core": {
|
||||
"version": "0.2.12",
|
||||
"resolved": "https://registry.npmjs.org/@mcflyjs/core/-/core-0.2.12.tgz",
|
||||
"integrity": "sha512-mA3EtjaSHSm+4OCGjPXYacAgr3U0u5NZURsae9crmSo7G1hRbZWEv/yyswZzpZIkXZ72HflFMPfiWv1N2qyExg==",
|
||||
"version": "0.2.13",
|
||||
"resolved": "https://registry.npmjs.org/@mcflyjs/core/-/core-0.2.13.tgz",
|
||||
"integrity": "sha512-BMuOoJzcsUla9Hrd4DoeOrAVjVads419r+vs/7d3+2Z72w5Yk00Vx8ebtcwQ9B3dKLLLhGSJiJPKg8IOomQKeQ==",
|
||||
"dependencies": {
|
||||
"esprima": "^4.0.1",
|
||||
"h3": "^1.8.2",
|
||||
|
|
|
@ -142,7 +142,7 @@ async function buildRegistry(usedCustomElements, type, storage) {
|
|||
!isBaseClassImported &&
|
||||
content.toString().includes("extends WebComponent")
|
||||
) {
|
||||
const baseClassImport = `import { WebComponent } from "https://unpkg.com/web-component-base@1.11.0/WebComponent.js";`;
|
||||
const baseClassImport = `import { WebComponent } from "https://unpkg.com/web-component-base@1.11.1/WebComponent.js";`;
|
||||
|
||||
registryScript += baseClassImport;
|
||||
isBaseClassImported = true;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@mcflyjs/core",
|
||||
"version": "0.2.13",
|
||||
"version": "0.2.14",
|
||||
"description": "McFly core package",
|
||||
"type": "module",
|
||||
"main": "index.js",
|
||||
|
|
Loading…
Reference in a new issue