Skip to content

Commit f6132ae

Browse files
committed
[fix] Type Building error
1 parent 8f35aca commit f6132ae

File tree

5 files changed

+76
-75
lines changed

5 files changed

+76
-75
lines changed

MobX/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobx-web-cell",
3-
"version": "0.4.0-rc.0",
3+
"version": "0.4.0-rc.1",
44
"license": "LGPL-3.0",
55
"author": "[email protected]",
66
"description": "MobX adaptor for WebCell v2",
@@ -24,7 +24,7 @@
2424
},
2525
"dependencies": {
2626
"mobx": ">4.0.0 <6.0.0",
27-
"web-cell": "^2.4.0-rc.1"
27+
"web-cell": "^2.4.0-rc.2"
2828
},
2929
"devDependencies": {
3030
"@parcel/packager-ts": "^2.2.1",

MobX/tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"compilerOptions": {
3+
"target": "ES5",
34
"esModuleInterop": true,
45
"experimentalDecorators": true,
56
"jsx": "react",
67
"jsxFactory": "createCell",
8+
"jsxFragmentFactory": "Fragment",
79
"lib": ["ES2021", "DOM"]
810
},
911
"include": ["./source/*"]

MobX/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5281,10 +5281,10 @@ weak-lru-cache@^1.2.1:
52815281
resolved "https://registry.yarnpkg.com/weak-lru-cache/-/weak-lru-cache-1.2.1.tgz#6b4f2da7e1701f845e71522417f1df1e39503df8"
52825282
integrity sha512-O5ag1F0Xk6ui+Fg5LlosTcVAyHs6DeyiDDbOapNtFCx/KjZ82B3U9stM9hvzbVclKWn9ABPjaINX/nQkGkJkKg==
52835283

5284-
5285-
version "2.4.0-rc.0"
5286-
resolved "https://registry.yarnpkg.com/web-cell/-/web-cell-2.4.0-rc.0.tgz#ec0f534bcbc784eb5875d3ba5289f4f6f48b3f6c"
5287-
integrity sha512-i3IHAswYUiXfMUUkLPA2/xkWTxkTFltMO22P2Z+PClwQ6ZNelKao8mN7na/MxIW8Ob3izBYv5YXKvWv19+KmjA==
5284+
web-cell@^2.4.0-rc.1:
5285+
version "2.4.0-rc.1"
5286+
resolved "https://registry.yarnpkg.com/web-cell/-/web-cell-2.4.0-rc.1.tgz#4ad2917fb350cbc6283a0c753ccce7a5f190d19e"
5287+
integrity sha512-JABI6/9afMxXuhBckoswhJ1xr7w13zCj1JUpxvewR+gLyTi7jeCeeke1TBB6ESHondtQxR35UbvH0IBMj9Zijw==
52885288
dependencies:
52895289
"@swc/helpers" "^0.3.2"
52905290
snabbdom "^3.3.1"

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-cell",
3-
"version": "2.4.0-rc.1",
3+
"version": "2.4.0-rc.2",
44
"description": "Web Components engine based on JSX & TypeScript",
55
"keywords": [
66
"web",
@@ -59,10 +59,9 @@
5959
"prepare": "husky install",
6060
"lint": "lint-staged",
6161
"test": "npm run lint && jest",
62-
"pack-type": "tsc && rm -f dist/*.{js,map} dist/**/*.{js,map}",
63-
"pack-dist": "rm -rf dist/ && parcel build source/index.ts",
62+
"pack-dist": "tsc --emitDeclarationOnly && parcel build source/index.ts",
6463
"pack-docs": "rm -rf docs/ && typedoc source/",
65-
"build": "npm run pack-type && npm run pack-dist && npm run pack-docs",
64+
"build": "rm -rf dist/ && npm run pack-dist && npm run pack-docs",
6665
"start": "npm run pack-docs && open-cli docs/index.html",
6766
"prepublishOnly": "npm test && npm run build"
6867
},

yarn.lock

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,9 +1393,9 @@
13931393
integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==
13941394

13951395
"@types/node@*":
1396-
version "17.0.13"
1397-
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.13.tgz#5ed7ed7c662948335fcad6c412bb42d99ea754e3"
1398-
integrity sha512-Y86MAxASe25hNzlDbsviXl8jQHb0RDvKt4c40ZJQ1Don0AAL0STLZSs4N+6gLEO55pedy7r2cLwS+ZDxPm/2Bw==
1396+
version "17.0.14"
1397+
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.14.tgz#33b9b94f789a8fedd30a68efdbca4dbb06b61f20"
1398+
integrity sha512-SbjLmERksKOGzWzPNuW7fJM7fk3YXVTFiZWB/Hs99gwhk+/dnrQRPBQjPW9aO+fi1tAffi9PrwFvsmOKmDTyng==
13991399

14001400
"@types/normalize-package-data@^2.4.0":
14011401
version "2.4.1"
@@ -1440,13 +1440,13 @@
14401440
"@types/yargs-parser" "*"
14411441

14421442
"@typescript-eslint/eslint-plugin@^5.10.1":
1443-
version "5.10.1"
1444-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.10.1.tgz#870195d0f2146b36d11fc71131b75aba52354c69"
1445-
integrity sha512-xN3CYqFlyE/qOcy978/L0xLR2HlcAGIyIK5sMOasxaaAPfQRj/MmMV6OC3I7NZO84oEUdWCOju34Z9W8E0pFDQ==
1443+
version "5.10.2"
1444+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.10.2.tgz#f8c1d59fc37bd6d9d11c97267fdfe722c4777152"
1445+
integrity sha512-4W/9lLuE+v27O/oe7hXJKjNtBLnZE8tQAFpapdxwSVHqtmIoPB1gph3+ahNwVuNL37BX7YQHyGF9Xv6XCnIX2Q==
14461446
dependencies:
1447-
"@typescript-eslint/scope-manager" "5.10.1"
1448-
"@typescript-eslint/type-utils" "5.10.1"
1449-
"@typescript-eslint/utils" "5.10.1"
1447+
"@typescript-eslint/scope-manager" "5.10.2"
1448+
"@typescript-eslint/type-utils" "5.10.2"
1449+
"@typescript-eslint/utils" "5.10.2"
14501450
debug "^4.3.2"
14511451
functional-red-black-tree "^1.0.1"
14521452
ignore "^5.1.8"
@@ -1455,68 +1455,68 @@
14551455
tsutils "^3.21.0"
14561456

14571457
"@typescript-eslint/parser@^5.10.1":
1458-
version "5.10.1"
1459-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.10.1.tgz#4ce9633cc33fc70bc13786cb793c1a76fe5ad6bd"
1460-
integrity sha512-GReo3tjNBwR5RnRO0K2wDIDN31cM3MmDtgyQ85oAxAmC5K3j/g85IjP+cDfcqDsDDBf1HNKQAD0WqOYL8jXqUA==
1458+
version "5.10.2"
1459+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.10.2.tgz#b6076d27cc5499ce3f2c625f5ccde946ecb7db9a"
1460+
integrity sha512-JaNYGkaQVhP6HNF+lkdOr2cAs2wdSZBoalE22uYWq8IEv/OVH0RksSGydk+sW8cLoSeYmC+OHvRyv2i4AQ7Czg==
14611461
dependencies:
1462-
"@typescript-eslint/scope-manager" "5.10.1"
1463-
"@typescript-eslint/types" "5.10.1"
1464-
"@typescript-eslint/typescript-estree" "5.10.1"
1462+
"@typescript-eslint/scope-manager" "5.10.2"
1463+
"@typescript-eslint/types" "5.10.2"
1464+
"@typescript-eslint/typescript-estree" "5.10.2"
14651465
debug "^4.3.2"
14661466

1467-
"@typescript-eslint/[email protected].1":
1468-
version "5.10.1"
1469-
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.10.1.tgz#f0539c73804d2423506db2475352a4dec36cd809"
1470-
integrity sha512-Lyvi559Gvpn94k7+ElXNMEnXu/iundV5uFmCUNnftbFrUbAJ1WBoaGgkbOBm07jVZa682oaBU37ao/NGGX4ZDg==
1467+
"@typescript-eslint/[email protected].2":
1468+
version "5.10.2"
1469+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.10.2.tgz#92c0bc935ec00f3d8638cdffb3d0e70c9b879639"
1470+
integrity sha512-39Tm6f4RoZoVUWBYr3ekS75TYgpr5Y+X0xLZxXqcZNDWZdJdYbKd3q2IR4V9y5NxxiPu/jxJ8XP7EgHiEQtFnw==
14711471
dependencies:
1472-
"@typescript-eslint/types" "5.10.1"
1473-
"@typescript-eslint/visitor-keys" "5.10.1"
1472+
"@typescript-eslint/types" "5.10.2"
1473+
"@typescript-eslint/visitor-keys" "5.10.2"
14741474

1475-
"@typescript-eslint/[email protected].1":
1476-
version "5.10.1"
1477-
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.10.1.tgz#5e526c00142585e40ab1503e83f1ff608c367405"
1478-
integrity sha512-AfVJkV8uck/UIoDqhu+ptEdBoQATON9GXnhOpPLzkQRJcSChkvD//qsz9JVffl2goxX+ybs5klvacE9vmrQyCw==
1475+
"@typescript-eslint/[email protected].2":
1476+
version "5.10.2"
1477+
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.10.2.tgz#ad5acdf98a7d2ab030bea81f17da457519101ceb"
1478+
integrity sha512-uRKSvw/Ccs5FYEoXW04Z5VfzF2iiZcx8Fu7DGIB7RHozuP0VbKNzP1KfZkHBTM75pCpsWxIthEH1B33dmGBKHw==
14791479
dependencies:
1480-
"@typescript-eslint/utils" "5.10.1"
1480+
"@typescript-eslint/utils" "5.10.2"
14811481
debug "^4.3.2"
14821482
tsutils "^3.21.0"
14831483

1484-
"@typescript-eslint/[email protected].1":
1485-
version "5.10.1"
1486-
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.10.1.tgz#dca9bd4cb8c067fc85304a31f38ec4766ba2d1ea"
1487-
integrity sha512-ZvxQ2QMy49bIIBpTqFiOenucqUyjTQ0WNLhBM6X1fh1NNlYAC6Kxsx8bRTY3jdYsYg44a0Z/uEgQkohbR0H87Q==
1484+
"@typescript-eslint/[email protected].2":
1485+
version "5.10.2"
1486+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.10.2.tgz#604d15d795c4601fffba6ecb4587ff9fdec68ce8"
1487+
integrity sha512-Qfp0qk/5j2Rz3p3/WhWgu4S1JtMcPgFLnmAKAW061uXxKSa7VWKZsDXVaMXh2N60CX9h6YLaBoy9PJAfCOjk3w==
14881488

1489-
"@typescript-eslint/[email protected].1":
1490-
version "5.10.1"
1491-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.10.1.tgz#b268e67be0553f8790ba3fe87113282977adda15"
1492-
integrity sha512-PwIGnH7jIueXv4opcwEbVGDATjGPO1dx9RkUl5LlHDSe+FXxPwFL5W/qYd5/NHr7f6lo/vvTrAzd0KlQtRusJQ==
1489+
"@typescript-eslint/[email protected].2":
1490+
version "5.10.2"
1491+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.10.2.tgz#810906056cd3ddcb35aa333fdbbef3713b0fe4a7"
1492+
integrity sha512-WHHw6a9vvZls6JkTgGljwCsMkv8wu8XU8WaYKeYhxhWXH/atZeiMW6uDFPLZOvzNOGmuSMvHtZKd6AuC8PrwKQ==
14931493
dependencies:
1494-
"@typescript-eslint/types" "5.10.1"
1495-
"@typescript-eslint/visitor-keys" "5.10.1"
1494+
"@typescript-eslint/types" "5.10.2"
1495+
"@typescript-eslint/visitor-keys" "5.10.2"
14961496
debug "^4.3.2"
14971497
globby "^11.0.4"
14981498
is-glob "^4.0.3"
14991499
semver "^7.3.5"
15001500
tsutils "^3.21.0"
15011501

1502-
"@typescript-eslint/[email protected].1":
1503-
version "5.10.1"
1504-
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.10.1.tgz#fa682a33af47080ba2c4368ee0ad2128213a1196"
1505-
integrity sha512-RRmlITiUbLuTRtn/gcPRi4202niF+q7ylFLCKu4c+O/PcpRvZ/nAUwQ2G00bZgpWkhrNLNnvhZLbDn8Ml0qsQw==
1502+
"@typescript-eslint/[email protected].2":
1503+
version "5.10.2"
1504+
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.10.2.tgz#1fcd37547c32c648ab11aea7173ec30060ee87a8"
1505+
integrity sha512-vuJaBeig1NnBRkf7q9tgMLREiYD7zsMrsN1DA3wcoMDvr3BTFiIpKjGiYZoKPllfEwN7spUjv7ZqD+JhbVjEPg==
15061506
dependencies:
15071507
"@types/json-schema" "^7.0.9"
1508-
"@typescript-eslint/scope-manager" "5.10.1"
1509-
"@typescript-eslint/types" "5.10.1"
1510-
"@typescript-eslint/typescript-estree" "5.10.1"
1508+
"@typescript-eslint/scope-manager" "5.10.2"
1509+
"@typescript-eslint/types" "5.10.2"
1510+
"@typescript-eslint/typescript-estree" "5.10.2"
15111511
eslint-scope "^5.1.1"
15121512
eslint-utils "^3.0.0"
15131513

1514-
"@typescript-eslint/[email protected].1":
1515-
version "5.10.1"
1516-
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.10.1.tgz#29102de692f59d7d34ecc457ed59ab5fc558010b"
1517-
integrity sha512-NjQ0Xinhy9IL979tpoTRuLKxMc0zJC7QVSdeerXs2/QvOy2yRkzX5dRb10X5woNUdJgU8G3nYRDlI33sq1K4YQ==
1514+
"@typescript-eslint/[email protected].2":
1515+
version "5.10.2"
1516+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.10.2.tgz#fdbf272d8e61c045d865bd6c8b41bea73d222f3d"
1517+
integrity sha512-zHIhYGGGrFJvvyfwHk5M08C5B5K4bewkm+rrvNTKk1/S15YHR+SA/QUF8ZWscXSfEaB8Nn2puZj+iHcoxVOD/Q==
15181518
dependencies:
1519-
"@typescript-eslint/types" "5.10.1"
1519+
"@typescript-eslint/types" "5.10.2"
15201520
eslint-visitor-keys "^3.0.0"
15211521

15221522
abab@^2.0.3, abab@^2.0.5:
@@ -1968,11 +1968,11 @@ callsites@^3.0.0:
19681968
integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
19691969

19701970
camelcase-keys@^7.0.0:
1971-
version "7.0.1"
1972-
resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-7.0.1.tgz#5a57e6dfb3f6c7929dad15599ee4476a7e9a3b2d"
1973-
integrity sha512-P331lEls98pW8JLyodNWfzuz91BEDVA4VpW2/SwXnyv2K495tq1N777xzDbFgnEigfA7UIY0xa6PwR/H9jijjA==
1971+
version "7.0.2"
1972+
resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-7.0.2.tgz#d048d8c69448745bb0de6fc4c1c52a30dfbe7252"
1973+
integrity sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==
19741974
dependencies:
1975-
camelcase "^6.2.0"
1975+
camelcase "^6.3.0"
19761976
map-obj "^4.1.0"
19771977
quick-lru "^5.1.1"
19781978
type-fest "^1.2.1"
@@ -1982,7 +1982,7 @@ camelcase@^5.3.1:
19821982
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
19831983
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
19841984

1985-
camelcase@^6.2.0:
1985+
camelcase@^6.2.0, camelcase@^6.3.0:
19861986
version "6.3.0"
19871987
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
19881988
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
@@ -1998,9 +1998,9 @@ caniuse-api@^3.0.0:
19981998
lodash.uniq "^4.5.0"
19991999

20002000
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001286:
2001-
version "1.0.30001303"
2002-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001303.tgz#9b168e4f43ccfc372b86f4bc5a551d9b909c95c9"
2003-
integrity sha512-/Mqc1oESndUNszJP0kx0UaQU9kEv9nNtJ7Kn8AdA0mNnH8eR1cj0kG+NbNuC1Wq/b21eA8prhKRA3bbkjONegQ==
2001+
version "1.0.30001304"
2002+
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001304.tgz#38af55ed3fc8220cb13e35e6e7309c8c65a05559"
2003+
integrity sha512-bdsfZd6K6ap87AGqSHJP/s1V+U6Z5lyrcbBu3ovbCCf8cSYpwTtGrCBObMpJqwxfTbLW6YTIdbb1jEeTelcpYQ==
20042004

20052005
chalk@^2.0.0, chalk@^2.4.2:
20062006
version "2.4.2"
@@ -2635,9 +2635,9 @@ ejs@^3.1.6:
26352635
jake "^10.6.1"
26362636

26372637
electron-to-chromium@^1.4.17:
2638-
version "1.4.56"
2639-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.56.tgz#f660fd2c6739b341d8922fe3a441a5a2804911a1"
2640-
integrity sha512-0k/S0FQqRRpJbX7YUjwCcLZ8D42RqGKtaiq90adXBOYgTIWwLA/g3toO8k9yEpqU8iC4QyaWYYWSTBIna8WV4g==
2638+
version "1.4.59"
2639+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.59.tgz#657f2588c048fb95975779f8fea101fad854de89"
2640+
integrity sha512-AOJ3cAE0TWxz4fQ9zkND5hWrQg16nsZKVz9INOot1oV//u4wWu5xrj9CQMmPTYskkZRunSRc9sAnr4EkexXokg==
26412641

26422642
element-internals-polyfill@^0.1.54:
26432643
version "0.1.54"
@@ -4335,9 +4335,9 @@ lint-staged@^12.3.2:
43354335
yaml "^1.10.2"
43364336

43374337
listr2@^4.0.1:
4338-
version "4.0.1"
4339-
resolved "https://registry.yarnpkg.com/listr2/-/listr2-4.0.1.tgz#e050c1fd390276e191f582603d6e3531cd6fd2b3"
4340-
integrity sha512-D65Nl+zyYHL2jQBGmxtH/pU8koPZo5C8iCNE8EoB04RwPgQG1wuaKwVbeZv9LJpiH4Nxs0FCp+nNcG8OqpniiA==
4338+
version "4.0.2"
4339+
resolved "https://registry.yarnpkg.com/listr2/-/listr2-4.0.2.tgz#04d66f8c8694a14920d7df08ebe01568948fb500"
4340+
integrity sha512-YcgwfCWpvPbj9FLUGqvdFvd3hrFWKpOeuXznRgfWEJ7RNr8b/IKKIKZABHx3aU+4CWN/iSAFFSReziQG6vTeIA==
43414341
dependencies:
43424342
cli-truncate "^2.1.0"
43434343
colorette "^2.0.16"
@@ -5042,9 +5042,9 @@ pkg-dir@^4.2.0:
50425042
find-up "^4.0.0"
50435043

50445044
postcss-calc@^8.2.0:
5045-
version "8.2.2"
5046-
resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-8.2.2.tgz#9706e7399e8ec8b61a47830dcf1f21391af23373"
5047-
integrity sha512-B5R0UeB4zLJvxNt1FVCaDZULdzsKLPc6FhjFJ+xwFiq7VG4i9cuaJLxVjNtExNK8ocm3n2o4unXXLiVX1SCqxA==
5045+
version "8.2.3"
5046+
resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-8.2.3.tgz#53b95ce93de19213c2a5fdd71277a81690ef41d0"
5047+
integrity sha512-EGM2EBBWqP57N0E7N7WOLT116PJ39dwHVU01WO4XPPQLJfkL2xVgkMZ+TZvCfapj/uJH07UEfKHQNPHzSw/14Q==
50485048
dependencies:
50495049
postcss-selector-parser "^6.0.2"
50505050
postcss-value-parser "^4.0.2"

0 commit comments

Comments
 (0)