Single module bundle via rollup (#3731)

* Single module bundle via rollup

* use createBundle

* override all

* Update rollup.config.mjs

* Add bundle import

* Remove x-* packages

* Adjust

* Adjust

* Rebuild

* Internal helpers

* Adjust locations

* Bump common

* CHANGELOG

* Update rollup.config.mjs
This commit is contained in:
Jaco
2021-07-07 20:39:49 +02:00
committed by GitHub
parent 8d7b18526c
commit 3c59a4d417
16 changed files with 312 additions and 167 deletions
+8 -8
View File
@@ -20,14 +20,14 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
"dependencies": {
"@babel/runtime": "^7.14.6",
"@polkadot/api-derive": "4.17.2-11",
"@polkadot/keyring": "^6.11.2-9",
"@polkadot/rpc-core": "4.17.2-11",
"@polkadot/rpc-provider": "4.17.2-11",
"@polkadot/types": "4.17.2-11",
"@polkadot/types-known": "4.17.2-11",
"@polkadot/util": "^6.11.2-9",
"@polkadot/util-crypto": "^6.11.2-9",
"@polkadot/api-derive": "4.17.2-10",
"@polkadot/keyring": "^6.11.2-10",
"@polkadot/rpc-core": "4.17.2-10",
"@polkadot/rpc-provider": "4.17.2-10",
"@polkadot/types": "4.17.2-10",
"@polkadot/types-known": "4.17.2-10",
"@polkadot/util": "^6.11.2-10",
"@polkadot/util-crypto": "^6.11.2-10",
"eventemitter3": "^4.0.7",
"rxjs": "^7.2.0"
}
+1 -1
View File
@@ -8,7 +8,7 @@ import { jest } from '@jest/globals';
import { createPair } from '@polkadot/keyring/pair';
import { createTestKeyring } from '@polkadot/keyring/testing';
import { MockProvider } from '@polkadot/rpc-provider/mock';
import { TypeRegistry } from '@polkadot/types/create';
import { TypeRegistry } from '@polkadot/types';
import { hexToU8a } from '@polkadot/util';
import { SingleAccountSigner } from '../../test/util';