mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-03-15 07:20:49 +00:00
fix types in pnpm pipeline
This commit is contained in:
parent
aa83950fd6
commit
e719bf26d8
@ -1 +1 @@
|
||||
dist
|
||||
/dist/
|
@ -26,7 +26,7 @@
|
||||
"test:all": "jest",
|
||||
"test:unit": "jest --testPathPattern=src/__test__/unit",
|
||||
"test:integration": "jest --testPathPattern=src/__test__/integration",
|
||||
"build": "rollup -c rollup.config.js",
|
||||
"build": "rollup -c rollup.config.ts --configPlugin swc3",
|
||||
"build:docs": "typedoc"
|
||||
},
|
||||
"repository": "https://github.com/fluencelabs/fluence-js",
|
||||
@ -78,13 +78,10 @@
|
||||
"multiformats": "^9.6.5",
|
||||
"rollup": "^2.74.1",
|
||||
"rollup-plugin-clear": "^2.0.7",
|
||||
"rollup-plugin-dts": "^4.2.2",
|
||||
"rollup-plugin-preserve-shebang": "^1.0.1",
|
||||
"rollup-plugin-swc": "^0.2.1",
|
||||
"rollup-plugin-swc3": "^0.3.0",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"rollup-plugin-ts": "^2.0.7",
|
||||
"rollup-plugin-typescript": "^1.0.1",
|
||||
"rollup-plugin-typescript2": "^0.31.2",
|
||||
"ts-jest": "^28.0.2",
|
||||
"typedoc": "^0.22.15",
|
||||
"typescript": "^4.0.0"
|
||||
|
314
pnpm-lock.yaml
generated
314
pnpm-lock.yaml
generated
@ -38,13 +38,10 @@ specifiers:
|
||||
platform: ^1.3.6
|
||||
rollup: ^2.74.1
|
||||
rollup-plugin-clear: ^2.0.7
|
||||
rollup-plugin-dts: ^4.2.2
|
||||
rollup-plugin-preserve-shebang: ^1.0.1
|
||||
rollup-plugin-swc: ^0.2.1
|
||||
rollup-plugin-swc3: ^0.3.0
|
||||
rollup-plugin-terser: ^7.0.2
|
||||
rollup-plugin-ts: ^2.0.7
|
||||
rollup-plugin-typescript: ^1.0.1
|
||||
rollup-plugin-typescript2: ^0.31.2
|
||||
rxjs: ^7.5.5
|
||||
ts-jest: ^28.0.2
|
||||
ts-pattern: 3.3.3
|
||||
@ -95,13 +92,10 @@ devDependencies:
|
||||
multiformats: 9.6.5
|
||||
rollup: 2.75.3
|
||||
rollup-plugin-clear: 2.0.7
|
||||
rollup-plugin-dts: 4.2.2_nl2qxg2fxlgm6l264qcwjguuca
|
||||
rollup-plugin-preserve-shebang: 1.0.1
|
||||
rollup-plugin-swc: 0.2.1_dznaebvxzlgcq36zrzpd3nfs2a
|
||||
rollup-plugin-swc3: 0.3.0_nux4s62oux7eje2qunhyzaj53m
|
||||
rollup-plugin-terser: 7.0.2_rollup@2.75.3
|
||||
rollup-plugin-ts: 2.0.7_nux4s62oux7eje2qunhyzaj53m
|
||||
rollup-plugin-typescript: 1.0.1_typescript@4.7.2
|
||||
rollup-plugin-typescript2: 0.31.2_nl2qxg2fxlgm6l264qcwjguuca
|
||||
ts-jest: 28.0.3_7sa2e64agunq5kj4zcolhrnkbm
|
||||
typedoc: 0.22.16_typescript@4.7.2
|
||||
typescript: 4.7.2
|
||||
@ -1131,10 +1125,6 @@ packages:
|
||||
- utf-8-validate
|
||||
dev: false
|
||||
|
||||
/@mdn/browser-compat-data/4.2.1:
|
||||
resolution: {integrity: sha512-EWUguj2kd7ldmrF9F+vI5hUOralPd+sdsUnYbRy33vZTuZkduC1shE9TtEMEjAQwyfyMb4ole5KtjF8MsnQOlA==}
|
||||
dev: true
|
||||
|
||||
/@motrix/nat-api/0.3.2:
|
||||
resolution: {integrity: sha512-T3LSHnEUULbSU1o1zCZZ1ul8l8Jm98f0fz/0BeF7DhNvrV63YllLCD4vUR9hFZWu/+WTIVPnbH8dBK5Ckuveuw==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
@ -1592,17 +1582,9 @@ packages:
|
||||
resolution: {integrity: sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==}
|
||||
dev: true
|
||||
|
||||
/@types/node/16.11.36:
|
||||
resolution: {integrity: sha512-FR5QJe+TaoZ2GsMHkjuwoNabr+UrJNRr2HNOo+r/7vhcuntM6Ee/pRPOnRhhL2XE9OOvX9VLEq+BcXl3VjNoWA==}
|
||||
dev: true
|
||||
|
||||
/@types/node/17.0.36:
|
||||
resolution: {integrity: sha512-V3orv+ggDsWVHP99K3JlwtH20R7J4IhI1Kksgc+64q5VxgfRkQG8Ws3MFm/FZOKDYGy9feGFlZ70/HpCNe9QaA==}
|
||||
|
||||
/@types/object-path/0.11.1:
|
||||
resolution: {integrity: sha512-219LSCO9HPcoXcRTC6DbCs0FRhZgBnEMzf16RRqkT40WbkKx3mOeQuz3e2XqbfhOz/AHfbru0kzB1n1RCAsIIg==}
|
||||
dev: true
|
||||
|
||||
/@types/platform/1.3.4:
|
||||
resolution: {integrity: sha512-U0o4K+GNiK0PNxoDwd8xRnvLVe4kzei6opn3/FCjAriqaP+rfrDdSl1kP/hLL6Y3/Y3hhGnBwD4dCkkAqs1W/Q==}
|
||||
dev: true
|
||||
@ -1624,17 +1606,9 @@ packages:
|
||||
resolution: {integrity: sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g==}
|
||||
dev: false
|
||||
|
||||
/@types/semver/7.3.9:
|
||||
resolution: {integrity: sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ==}
|
||||
dev: true
|
||||
|
||||
/@types/stack-utils/2.0.1:
|
||||
resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==}
|
||||
|
||||
/@types/ua-parser-js/0.7.36:
|
||||
resolution: {integrity: sha512-N1rW+njavs70y2cApeIw1vLMYXRwfBy+7trgavGuuTfOd7j1Yh7QTRc/yqsPl6ncokt72ZXuxEU0PiCp9bSwNQ==}
|
||||
dev: true
|
||||
|
||||
/@types/uuid/8.3.4:
|
||||
resolution: {integrity: sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==}
|
||||
dev: true
|
||||
@ -1671,19 +1645,6 @@ packages:
|
||||
pako: 1.0.11
|
||||
tar-stream: 2.2.0
|
||||
|
||||
/@wessberg/stringutil/1.0.19:
|
||||
resolution: {integrity: sha512-9AZHVXWlpN8Cn9k5BC/O0Dzb9E9xfEMXzYrNunwvkUTvuK7xgQPVRZpLo+jWCOZ5r8oBa8NIrHuPEu1hzbb6bg==}
|
||||
engines: {node: '>=8.0.0'}
|
||||
dev: true
|
||||
|
||||
/@yarn-tool/resolve-package/1.0.47:
|
||||
resolution: {integrity: sha512-Zaw58gQxjQceJqhqybJi1oUDaORT8i2GTgwICPs8v/X/Pkx35FXQba69ldHVg5pQZ6YLKpROXgyHvBaCJOFXiA==}
|
||||
dependencies:
|
||||
pkg-dir: 5.0.0
|
||||
tslib: 2.4.0
|
||||
upath2: 3.1.13
|
||||
dev: true
|
||||
|
||||
/abort-controller/3.0.0:
|
||||
resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==}
|
||||
engines: {node: '>=6.5'}
|
||||
@ -2004,34 +1965,6 @@ packages:
|
||||
resolution: {integrity: sha512-+12sHB+Br8HIh6VAMVEG5r3UXCyESIgDW7kzk3BjIXa43DVqVwL7GC5TW3jeh+72dtcH99pPVpw0X8i0jt+/kw==}
|
||||
dev: true
|
||||
|
||||
/browserslist-generator/1.0.66:
|
||||
resolution: {integrity: sha512-aFDax4Qzh29DdyhHQBD2Yu2L5OvaDnvYFMbmpLrLwwaNK4H6dHEhC/Nxv93/+mfAA+a/t94ln0P2JZvHO6LZDA==}
|
||||
engines: {node: '>=8.0.0'}
|
||||
dependencies:
|
||||
'@mdn/browser-compat-data': 4.2.1
|
||||
'@types/object-path': 0.11.1
|
||||
'@types/semver': 7.3.9
|
||||
'@types/ua-parser-js': 0.7.36
|
||||
browserslist: 4.20.2
|
||||
caniuse-lite: 1.0.30001344
|
||||
isbot: 3.4.5
|
||||
object-path: 0.11.8
|
||||
semver: 7.3.7
|
||||
ua-parser-js: 1.0.2
|
||||
dev: true
|
||||
|
||||
/browserslist/4.20.2:
|
||||
resolution: {integrity: sha512-CQOBCqp/9pDvDbx3xfMi+86pr4KXIf2FDkTTdeuYw8OxS9t898LA1Khq57gtufFILXpfgsSx5woNgsBgvGjpsA==}
|
||||
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
caniuse-lite: 1.0.30001344
|
||||
electron-to-chromium: 1.4.142
|
||||
escalade: 3.1.1
|
||||
node-releases: 2.0.5
|
||||
picocolors: 1.0.0
|
||||
dev: true
|
||||
|
||||
/browserslist/4.20.3:
|
||||
resolution: {integrity: sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==}
|
||||
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
|
||||
@ -2210,16 +2143,6 @@ packages:
|
||||
resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==}
|
||||
dev: true
|
||||
|
||||
/compatfactory/0.0.13_typescript@4.7.2:
|
||||
resolution: {integrity: sha512-k9Sl/Qal3xQPnjAFZaRpl7jlCh0hDEhVaxyiTMfiHKC/w5TYn4Nds+7340X/v1OrAQC5xGBtaD2JpWgPhXWaAw==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
peerDependencies:
|
||||
typescript: '>=3.x || >= 4.x'
|
||||
dependencies:
|
||||
helpertypes: 0.0.18
|
||||
typescript: 4.7.2
|
||||
dev: true
|
||||
|
||||
/concat-map/0.0.1:
|
||||
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
|
||||
|
||||
@ -2244,13 +2167,6 @@ packages:
|
||||
shebang-command: 2.0.0
|
||||
which: 2.0.2
|
||||
|
||||
/crosspath/1.0.0:
|
||||
resolution: {integrity: sha512-mpjkSErNO6vioL/Cde2aF4UBysPFEMyn+1AN1t7Oc4yqvzSRWe8iBte4P8BHyjo64OmC+ZBxwjIqmpSpIWiQ7Q==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
dependencies:
|
||||
'@types/node': 16.11.36
|
||||
dev: true
|
||||
|
||||
/dashdash/1.14.1:
|
||||
resolution: {integrity: sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==}
|
||||
engines: {node: '>=0.10'}
|
||||
@ -2435,10 +2351,6 @@ packages:
|
||||
engines: {node: '>=4'}
|
||||
hasBin: true
|
||||
|
||||
/estree-walker/0.6.1:
|
||||
resolution: {integrity: sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==}
|
||||
dev: true
|
||||
|
||||
/estree-walker/1.0.1:
|
||||
resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==}
|
||||
dev: true
|
||||
@ -2527,15 +2439,6 @@ packages:
|
||||
dependencies:
|
||||
to-regex-range: 5.0.1
|
||||
|
||||
/find-cache-dir/3.3.2:
|
||||
resolution: {integrity: sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==}
|
||||
engines: {node: '>=8'}
|
||||
dependencies:
|
||||
commondir: 1.0.1
|
||||
make-dir: 3.1.0
|
||||
pkg-dir: 4.2.0
|
||||
dev: true
|
||||
|
||||
/find-up/4.1.0:
|
||||
resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}
|
||||
engines: {node: '>=8'}
|
||||
@ -2543,14 +2446,6 @@ packages:
|
||||
locate-path: 5.0.0
|
||||
path-exists: 4.0.0
|
||||
|
||||
/find-up/5.0.0:
|
||||
resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}
|
||||
engines: {node: '>=10'}
|
||||
dependencies:
|
||||
locate-path: 6.0.0
|
||||
path-exists: 4.0.0
|
||||
dev: true
|
||||
|
||||
/forever-agent/0.6.1:
|
||||
resolution: {integrity: sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==}
|
||||
dev: true
|
||||
@ -2581,15 +2476,6 @@ packages:
|
||||
/fs-constants/1.0.0:
|
||||
resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
|
||||
|
||||
/fs-extra/10.1.0:
|
||||
resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==}
|
||||
engines: {node: '>=12'}
|
||||
dependencies:
|
||||
graceful-fs: 4.2.10
|
||||
jsonfile: 6.1.0
|
||||
universalify: 2.0.0
|
||||
dev: true
|
||||
|
||||
/fs-monkey/0.3.3:
|
||||
resolution: {integrity: sha512-FNUvuTAJ3CqCQb5ELn+qCbGR/Zllhf2HtwsdAtBi59s1WeCjKMT81fHcSu7dwIskqGVK+MmOrb7VOBlq3/SItw==}
|
||||
|
||||
@ -2702,11 +2588,6 @@ packages:
|
||||
/hashlru/2.3.0:
|
||||
resolution: {integrity: sha512-0cMsjjIC8I+D3M44pOQdsy0OHXGLVz6Z0beRuufhKa0KfaD2wGwAev6jILzXsd3/vpnNQJmWyZtIILqM1N+n5A==}
|
||||
|
||||
/helpertypes/0.0.18:
|
||||
resolution: {integrity: sha512-XRhfbSEmR+poXUC5/8AbmYNJb2riOT6qPzjGJZr0S9YedHiaY+/tzPYzWMUclYMEdCYo/1l8PDYrQFCj02v97w==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
dev: true
|
||||
|
||||
/hmac-drbg/1.0.1:
|
||||
resolution: {integrity: sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==}
|
||||
dependencies:
|
||||
@ -3076,11 +2957,6 @@ packages:
|
||||
resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==}
|
||||
dev: true
|
||||
|
||||
/isbot/3.4.5:
|
||||
resolution: {integrity: sha512-+KD6q1BBtw0iK9aGBGSfxJ31/ZgizKRjhm8ebgJUBMx0aeeQuIJ1I72beCoIrltIZGrSm4vmrxRxrG5n1aUTtw==}
|
||||
engines: {node: '>=12'}
|
||||
dev: true
|
||||
|
||||
/isexe/2.0.0:
|
||||
resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
|
||||
|
||||
@ -3869,14 +3745,6 @@ packages:
|
||||
resolution: {integrity: sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==}
|
||||
dev: true
|
||||
|
||||
/jsonfile/6.1.0:
|
||||
resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
|
||||
dependencies:
|
||||
universalify: 2.0.0
|
||||
optionalDependencies:
|
||||
graceful-fs: 4.2.10
|
||||
dev: true
|
||||
|
||||
/jsprim/1.4.2:
|
||||
resolution: {integrity: sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==}
|
||||
engines: {node: '>=0.6.0'}
|
||||
@ -4156,13 +4024,6 @@ packages:
|
||||
dependencies:
|
||||
p-locate: 4.1.0
|
||||
|
||||
/locate-path/6.0.0:
|
||||
resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
|
||||
engines: {node: '>=10'}
|
||||
dependencies:
|
||||
p-locate: 5.0.0
|
||||
dev: true
|
||||
|
||||
/lodash.memoize/4.1.2:
|
||||
resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==}
|
||||
|
||||
@ -4541,11 +4402,6 @@ packages:
|
||||
resolution: {integrity: sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==}
|
||||
dev: true
|
||||
|
||||
/object-path/0.11.8:
|
||||
resolution: {integrity: sha512-YJjNZrlXJFM42wTBn6zgOJVar9KFJvzx6sTWDte8sWZF//cnjl0BxHNpfZx+ZffXX63A9q0b1zsFiBX4g4X5KA==}
|
||||
engines: {node: '>= 10.12.0'}
|
||||
dev: true
|
||||
|
||||
/observable-fns/0.6.1:
|
||||
resolution: {integrity: sha512-9gRK4+sRWzeN6AOewNBTLXir7Zl/i3GB6Yl26gK4flxz8BXVpD3kt8amREmWNb0mxYOGDotvE5a4N+PtGGKdkg==}
|
||||
|
||||
@ -4604,13 +4460,6 @@ packages:
|
||||
dependencies:
|
||||
p-try: 2.2.0
|
||||
|
||||
/p-limit/3.1.0:
|
||||
resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
|
||||
engines: {node: '>=10'}
|
||||
dependencies:
|
||||
yocto-queue: 0.1.0
|
||||
dev: true
|
||||
|
||||
/p-limit/4.0.0:
|
||||
resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==}
|
||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
@ -4624,13 +4473,6 @@ packages:
|
||||
dependencies:
|
||||
p-limit: 2.3.0
|
||||
|
||||
/p-locate/5.0.0:
|
||||
resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==}
|
||||
engines: {node: '>=10'}
|
||||
dependencies:
|
||||
p-limit: 3.1.0
|
||||
dev: true
|
||||
|
||||
/p-queue/6.6.2:
|
||||
resolution: {integrity: sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==}
|
||||
engines: {node: '>=8'}
|
||||
@ -4745,12 +4587,6 @@ packages:
|
||||
resolution: {integrity: sha1-F0uSaHNVNP+8es5r9TpanhtcX18=}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
||||
/path-is-network-drive/1.0.15:
|
||||
resolution: {integrity: sha512-bJGs1SxUne+q29P1xCLMkNBhMetku+vPN+yVQu8FGL/7diHesCSSIKoF4Wq42tcbwm7rK72XrGfK8FUXN00LLQ==}
|
||||
dependencies:
|
||||
tslib: 2.4.0
|
||||
dev: true
|
||||
|
||||
/path-key/3.1.1:
|
||||
resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
|
||||
engines: {node: '>=8'}
|
||||
@ -4758,12 +4594,6 @@ packages:
|
||||
/path-parse/1.0.7:
|
||||
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
|
||||
|
||||
/path-strip-sep/1.0.12:
|
||||
resolution: {integrity: sha512-EJZSC5WBjVlA9XHLCiluiyisYg6yzeMJ4nY3BQVCuedyEHA/I2crcHWdwuQ74h3V599U9nEbEZUTvvSxOK3vbQ==}
|
||||
dependencies:
|
||||
tslib: 2.4.0
|
||||
dev: true
|
||||
|
||||
/peer-id/0.15.4:
|
||||
resolution: {integrity: sha512-MDoBIMZYwQIAHaZQUwsIcvoFgdbIl5GtZMwSkXpIYvc5v0TSDv+u8WsTKrKt2Vv28tHFFDJQdVzu3T4qTPzK+w==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
@ -4806,13 +4636,6 @@ packages:
|
||||
dependencies:
|
||||
find-up: 4.1.0
|
||||
|
||||
/pkg-dir/5.0.0:
|
||||
resolution: {integrity: sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==}
|
||||
engines: {node: '>=10'}
|
||||
dependencies:
|
||||
find-up: 5.0.0
|
||||
dev: true
|
||||
|
||||
/platform/1.3.6:
|
||||
resolution: {integrity: sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg==}
|
||||
|
||||
@ -5008,23 +4831,26 @@ packages:
|
||||
rimraf: 2.7.1
|
||||
dev: true
|
||||
|
||||
/rollup-plugin-dts/4.2.2_nl2qxg2fxlgm6l264qcwjguuca:
|
||||
resolution: {integrity: sha512-A3g6Rogyko/PXeKoUlkjxkP++8UDVpgA7C+Tdl77Xj4fgEaIjPSnxRmR53EzvoYy97VMVwLAOcWJudaVAuxneQ==}
|
||||
engines: {node: '>=v12.22.11'}
|
||||
peerDependencies:
|
||||
rollup: ^2.55
|
||||
typescript: ^4.1
|
||||
dependencies:
|
||||
magic-string: 0.26.2
|
||||
rollup: 2.75.3
|
||||
typescript: 4.7.2
|
||||
optionalDependencies:
|
||||
'@babel/code-frame': 7.16.7
|
||||
dev: true
|
||||
|
||||
/rollup-plugin-preserve-shebang/1.0.1:
|
||||
resolution: {integrity: sha512-gk7ExGBqvUinhgrvldKHkAKXXwRkWMXMZymNkrtn50uBgHITlhRjhnKmbNGwAIc4Bzgl3yLv7/8Fhi/XeHhFKg==}
|
||||
dependencies:
|
||||
magic-string: 0.25.9
|
||||
dev: true
|
||||
|
||||
/rollup-plugin-swc/0.2.1_dznaebvxzlgcq36zrzpd3nfs2a:
|
||||
resolution: {integrity: sha512-wWRYt9tC0aIBvRQHNnVtwJ6DRPDj9XYpOAcOyFB11sKSkR/R+NAmbrjBACCPNVmZcxg6joV29wXgb5mU1DI7eA==}
|
||||
peerDependencies:
|
||||
'@swc/core': '>=1.0'
|
||||
rollup: '>=1.5.0'
|
||||
dependencies:
|
||||
'@rollup/pluginutils': 4.2.1
|
||||
'@swc/core': 1.2.194
|
||||
rollup: 2.75.3
|
||||
dev: true
|
||||
|
||||
/rollup-plugin-swc3/0.3.0_nux4s62oux7eje2qunhyzaj53m:
|
||||
resolution: {integrity: sha512-ZQK2XxYxSspmT8j6/Y4CaxRxAlZHbNnxI+m+yJ5I87ZLp5uH7CYL4hFlJk1jkcZ+Q2QC19jIg7AClB/7+XFljw==}
|
||||
engines: {node: '>=12'}
|
||||
@ -5055,81 +4881,6 @@ packages:
|
||||
terser: 5.14.0
|
||||
dev: true
|
||||
|
||||
/rollup-plugin-ts/2.0.7_nux4s62oux7eje2qunhyzaj53m:
|
||||
resolution: {integrity: sha512-M9sppRKX6y/b2KXbGdUdHid0tshAEK/sEeYLBHBJiBa4swukSsoFVXKGGZasLcjaXhgUnnizFuvFFj6znxwvSA==}
|
||||
engines: {node: '>=10.0.0', npm: '>=7.0.0', pnpm: '>=3.2.0', yarn: '>=1.13'}
|
||||
peerDependencies:
|
||||
'@babel/core': '>=6.x || >=7.x'
|
||||
'@babel/plugin-transform-runtime': '>=6.x || >=7.x'
|
||||
'@babel/preset-env': '>=6.x || >=7.x'
|
||||
'@babel/runtime': '>=6.x || >=7.x'
|
||||
'@swc/core': '>=1.x'
|
||||
'@swc/helpers': '>=0.2'
|
||||
rollup: '>=1.x || >=2.x'
|
||||
typescript: '>=3.2.x || >= 4.x'
|
||||
peerDependenciesMeta:
|
||||
'@babel/core':
|
||||
optional: true
|
||||
'@babel/plugin-transform-runtime':
|
||||
optional: true
|
||||
'@babel/preset-env':
|
||||
optional: true
|
||||
'@babel/runtime':
|
||||
optional: true
|
||||
'@swc/core':
|
||||
optional: true
|
||||
'@swc/helpers':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@rollup/pluginutils': 4.2.1
|
||||
'@swc/core': 1.2.194
|
||||
'@wessberg/stringutil': 1.0.19
|
||||
browserslist: 4.20.3
|
||||
browserslist-generator: 1.0.66
|
||||
chalk: 4.1.2
|
||||
compatfactory: 0.0.13_typescript@4.7.2
|
||||
crosspath: 1.0.0
|
||||
magic-string: 0.26.2
|
||||
rollup: 2.75.3
|
||||
ts-clone-node: 0.3.32_typescript@4.7.2
|
||||
tslib: 2.4.0
|
||||
typescript: 4.7.2
|
||||
dev: true
|
||||
|
||||
/rollup-plugin-typescript/1.0.1_typescript@4.7.2:
|
||||
resolution: {integrity: sha512-rwJDNn9jv/NsKZuyBb/h0jsclP4CJ58qbvZt2Q9zDIGILF2LtdtvCqMOL+Gq9IVq5MTrTlHZNrn8h7VjQgd8tw==}
|
||||
deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-typescript.
|
||||
peerDependencies:
|
||||
tslib: '*'
|
||||
typescript: '>=2.1.0'
|
||||
dependencies:
|
||||
resolve: 1.22.0
|
||||
rollup-pluginutils: 2.8.2
|
||||
typescript: 4.7.2
|
||||
dev: true
|
||||
|
||||
/rollup-plugin-typescript2/0.31.2_nl2qxg2fxlgm6l264qcwjguuca:
|
||||
resolution: {integrity: sha512-hRwEYR1C8xDGVVMFJQdEVnNAeWRvpaY97g5mp3IeLnzhNXzSVq78Ye/BJ9PAaUfN4DXa/uDnqerifMOaMFY54Q==}
|
||||
peerDependencies:
|
||||
rollup: '>=1.26.3'
|
||||
typescript: '>=2.4.0'
|
||||
dependencies:
|
||||
'@rollup/pluginutils': 4.2.1
|
||||
'@yarn-tool/resolve-package': 1.0.47
|
||||
find-cache-dir: 3.3.2
|
||||
fs-extra: 10.1.0
|
||||
resolve: 1.22.0
|
||||
rollup: 2.75.3
|
||||
tslib: 2.4.0
|
||||
typescript: 4.7.2
|
||||
dev: true
|
||||
|
||||
/rollup-pluginutils/2.8.2:
|
||||
resolution: {integrity: sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==}
|
||||
dependencies:
|
||||
estree-walker: 0.6.1
|
||||
dev: true
|
||||
|
||||
/rollup/2.75.3:
|
||||
resolution: {integrity: sha512-YA29fLU6MAYSaDxIQYrGGOcbXlDmG96h0krGGYObroezcQ0KgEPM3+7MtKD/qeuUbFuAJXvKZee5dA1dpwq1PQ==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
@ -5452,16 +5203,6 @@ packages:
|
||||
dependencies:
|
||||
utf8-byte-length: 1.0.4
|
||||
|
||||
/ts-clone-node/0.3.32_typescript@4.7.2:
|
||||
resolution: {integrity: sha512-YYGvoWy2Ba98/YC/0leD7IRsU/q5pu/KRg9dD8omzkbgoZ8g7gfYfED9mWMTyNp7J3CQiiKyvM62B7mXXHKU7Q==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
peerDependencies:
|
||||
typescript: ^3.x || ^4.x
|
||||
dependencies:
|
||||
compatfactory: 0.0.13_typescript@4.7.2
|
||||
typescript: 4.7.2
|
||||
dev: true
|
||||
|
||||
/ts-jest/27.1.5_7sa2e64agunq5kj4zcolhrnkbm:
|
||||
resolution: {integrity: sha512-Xv6jBQPoBEvBq/5i2TeSG9tt/nqkbpcurrEG1b+2yfBrcJelOZF9Ml6dmyMh7bcW9JyFbRYpR5rxROSlBLTZHA==}
|
||||
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
|
||||
@ -5643,10 +5384,6 @@ packages:
|
||||
engines: {node: '>=4.2.0'}
|
||||
hasBin: true
|
||||
|
||||
/ua-parser-js/1.0.2:
|
||||
resolution: {integrity: sha512-00y/AXhx0/SsnI51fTc0rLRmafiGOM4/O+ny10Ps7f+j/b8p/ZY11ytMgznXkOVo4GQ+KwQG5UQLkLGirsACRg==}
|
||||
dev: true
|
||||
|
||||
/uint8arraylist/1.5.1:
|
||||
resolution: {integrity: sha512-UpPGcVlTVc7Brtwt4W2MfTqvJQsr8owHMKBnICsueSImiarVAHf8NGMjhMklFtgbCZN1/9S9oW5k1JwlalGHoA==}
|
||||
engines: {node: '>=16.0.0', npm: '>=7.0.0'}
|
||||
@ -5665,24 +5402,10 @@ packages:
|
||||
dependencies:
|
||||
multiformats: 9.6.5
|
||||
|
||||
/universalify/2.0.0:
|
||||
resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==}
|
||||
engines: {node: '>= 10.0.0'}
|
||||
dev: true
|
||||
|
||||
/unordered-array-remove/1.0.2:
|
||||
resolution: {integrity: sha1-xUbo+I4xegzyZEyX7LV9umbSUO8=}
|
||||
dev: true
|
||||
|
||||
/upath2/3.1.13:
|
||||
resolution: {integrity: sha512-M88uBoqgzrkXvXrF/+oSIPsTmL21uRwGhPVJKODrl+3lXkQ5NPKrTYuSBZVa+lgPGFoI6qYyHlSKACFHO0AoNw==}
|
||||
dependencies:
|
||||
'@types/node': 17.0.36
|
||||
path-is-network-drive: 1.0.15
|
||||
path-strip-sep: 1.0.12
|
||||
tslib: 2.4.0
|
||||
dev: true
|
||||
|
||||
/uri-js/4.4.1:
|
||||
resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
|
||||
dependencies:
|
||||
@ -5868,11 +5591,6 @@ packages:
|
||||
engines: {node: '>=6'}
|
||||
dev: false
|
||||
|
||||
/yocto-queue/0.1.0:
|
||||
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
|
||||
engines: {node: '>=10'}
|
||||
dev: true
|
||||
|
||||
/yocto-queue/1.0.0:
|
||||
resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==}
|
||||
engines: {node: '>=12.20'}
|
||||
|
@ -1,71 +0,0 @@
|
||||
commonjs({ include: '../../node_modules/.pnpm/registry.npmjs.org/**' });
|
||||
|
||||
import { nodeResolve } from '@rollup/plugin-node-resolve';
|
||||
// import ts from 'rollup-plugin-ts';
|
||||
import typescript from 'rollup-plugin-typescript2';
|
||||
import commonjs from '@rollup/plugin-commonjs';
|
||||
import clear from 'rollup-plugin-clear';
|
||||
import shebang from 'rollup-plugin-preserve-shebang';
|
||||
import { terser } from 'rollup-plugin-terser';
|
||||
// import swc from 'rollup-plugin-swc';
|
||||
import { swc } from 'rollup-plugin-swc3';
|
||||
|
||||
const plugins = [
|
||||
// typescript({}),
|
||||
swc({
|
||||
// All options are optional
|
||||
include: /\.[jt]sx?$/, // default
|
||||
exclude: /node_modules/, // default
|
||||
tsconfig: 'tsconfig.json', // default
|
||||
// And add your swc configuration here!
|
||||
// "filename" will be ignored since it is handled by rollup
|
||||
jsc: {},
|
||||
}),
|
||||
// ts({
|
||||
// preserveSymlinks: true,
|
||||
// }),
|
||||
nodeResolve({
|
||||
preserveSymlinks: true,
|
||||
}),
|
||||
commonjs({
|
||||
preserveSymlinks: true,
|
||||
}),
|
||||
terser(),
|
||||
clear({
|
||||
targets: ['dist'],
|
||||
}),
|
||||
];
|
||||
|
||||
export default [
|
||||
{
|
||||
preserveSymlinks: true,
|
||||
input: {
|
||||
index: 'src/index.ts',
|
||||
services: 'src/services.ts',
|
||||
'internal/compilerSupport/v2': 'src/internal/compilerSupport/v2.ts',
|
||||
'internal/compilerSupport/v3': 'src/internal/compilerSupport/v3.ts',
|
||||
},
|
||||
output: [
|
||||
{
|
||||
dir: 'dist/cjs',
|
||||
format: 'cjs',
|
||||
},
|
||||
{
|
||||
dir: 'dist/esm',
|
||||
format: 'esm',
|
||||
},
|
||||
],
|
||||
plugins: plugins,
|
||||
},
|
||||
/*
|
||||
{
|
||||
preserveSymlinks: true,
|
||||
input: 'src/tools/copyMarine.ts',
|
||||
output: {
|
||||
file: 'dist/copyMarine.js',
|
||||
format: 'cjs',
|
||||
},
|
||||
plugins: [shebang(), ts()],
|
||||
},
|
||||
*/
|
||||
];
|
59
rollup.config.ts
Normal file
59
rollup.config.ts
Normal file
@ -0,0 +1,59 @@
|
||||
import { nodeResolve } from '@rollup/plugin-node-resolve';
|
||||
import commonjs from '@rollup/plugin-commonjs';
|
||||
import clear from 'rollup-plugin-clear';
|
||||
import shebang from 'rollup-plugin-preserve-shebang';
|
||||
import { swc, minify } from 'rollup-plugin-swc3';
|
||||
import dts from 'rollup-plugin-dts';
|
||||
|
||||
const commonPlugins = [
|
||||
swc({
|
||||
sourceMaps: true,
|
||||
}),
|
||||
minify(),
|
||||
clear({
|
||||
targets: ['dist'],
|
||||
}),
|
||||
];
|
||||
|
||||
const commonInput = {
|
||||
index: 'src/index.ts',
|
||||
services: 'src/services.ts',
|
||||
'internal/compilerSupport/v2': 'src/internal/compilerSupport/v2.ts',
|
||||
'internal/compilerSupport/v3': 'src/internal/compilerSupport/v3.ts',
|
||||
};
|
||||
|
||||
export default [
|
||||
{
|
||||
input: commonInput,
|
||||
output: [
|
||||
{
|
||||
dir: 'dist/types',
|
||||
},
|
||||
],
|
||||
plugins: [dts()],
|
||||
},
|
||||
{
|
||||
input: commonInput,
|
||||
output: [
|
||||
{
|
||||
sourcemap: true,
|
||||
dir: 'dist/cjs',
|
||||
format: 'cjs',
|
||||
},
|
||||
{
|
||||
sourcemap: true,
|
||||
dir: 'dist/esm',
|
||||
format: 'esm',
|
||||
},
|
||||
],
|
||||
plugins: [nodeResolve(), commonjs(), ...commonPlugins],
|
||||
},
|
||||
{
|
||||
input: 'src/tools/copyMarine.ts',
|
||||
output: {
|
||||
file: 'dist/copyMarine.js',
|
||||
format: 'cjs',
|
||||
},
|
||||
plugins: [shebang(), ...commonPlugins],
|
||||
},
|
||||
];
|
Loading…
x
Reference in New Issue
Block a user