Update detectPackage to use packgeInfo.ts (#3182)
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/api": "3.9.3",
|
||||
"@polkadot/types": "3.9.3",
|
||||
"@polkadot/util": "^5.6.2",
|
||||
"@polkadot/x-rxjs": "^5.6.2",
|
||||
"@polkadot/util": "^5.6.3",
|
||||
"@polkadot/x-rxjs": "^5.6.3",
|
||||
"bn.js": "^4.11.9"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', version: '3.9.3' };
|
||||
@@ -16,13 +16,13 @@
|
||||
"@polkadot/api": "3.9.3",
|
||||
"@polkadot/rpc-core": "3.9.3",
|
||||
"@polkadot/types": "3.9.3",
|
||||
"@polkadot/util": "^5.6.2",
|
||||
"@polkadot/util-crypto": "^5.6.2",
|
||||
"@polkadot/x-rxjs": "^5.6.2",
|
||||
"@polkadot/util": "^5.6.3",
|
||||
"@polkadot/util-crypto": "^5.6.3",
|
||||
"@polkadot/x-rxjs": "^5.6.3",
|
||||
"bn.js": "^4.11.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^5.6.2",
|
||||
"@polkadot/keyring": "^5.6.3",
|
||||
"@polkadot/rpc-provider": "3.9.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', version: '3.9.3' };
|
||||
@@ -17,15 +17,15 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/api-derive": "3.9.3",
|
||||
"@polkadot/keyring": "^5.6.2",
|
||||
"@polkadot/keyring": "^5.6.3",
|
||||
"@polkadot/metadata": "3.9.3",
|
||||
"@polkadot/rpc-core": "3.9.3",
|
||||
"@polkadot/rpc-provider": "3.9.3",
|
||||
"@polkadot/types": "3.9.3",
|
||||
"@polkadot/types-known": "3.9.3",
|
||||
"@polkadot/util": "^5.6.2",
|
||||
"@polkadot/util-crypto": "^5.6.2",
|
||||
"@polkadot/x-rxjs": "^5.6.2",
|
||||
"@polkadot/util": "^5.6.3",
|
||||
"@polkadot/util-crypto": "^5.6.3",
|
||||
"@polkadot/x-rxjs": "^5.6.3",
|
||||
"bn.js": "^4.11.9",
|
||||
"eventemitter3": "^4.0.7"
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
|
||||
import packageInfo from './package-info.json';
|
||||
import { packageInfo } from './packageInfo';
|
||||
|
||||
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname);
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', version: '3.9.3' };
|
||||
@@ -18,11 +18,11 @@
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/types": "3.9.3",
|
||||
"@polkadot/types-known": "3.9.3",
|
||||
"@polkadot/util": "^5.6.2",
|
||||
"@polkadot/util-crypto": "^5.6.2",
|
||||
"@polkadot/util": "^5.6.3",
|
||||
"@polkadot/util-crypto": "^5.6.3",
|
||||
"bn.js": "^4.11.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^5.6.2"
|
||||
"@polkadot/keyring": "^5.6.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
|
||||
import packageInfo from './package-info.json';
|
||||
import { packageInfo } from './packageInfo';
|
||||
|
||||
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname);
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/metadata', version: '3.9.3' };
|
||||
@@ -16,10 +16,10 @@
|
||||
"@polkadot/metadata": "3.9.3",
|
||||
"@polkadot/rpc-provider": "3.9.3",
|
||||
"@polkadot/types": "3.9.3",
|
||||
"@polkadot/util": "^5.6.2",
|
||||
"@polkadot/x-rxjs": "^5.6.2"
|
||||
"@polkadot/util": "^5.6.3",
|
||||
"@polkadot/x-rxjs": "^5.6.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^5.6.2"
|
||||
"@polkadot/keyring": "^5.6.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', version: '3.9.3' };
|
||||
@@ -14,16 +14,16 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/types": "3.9.3",
|
||||
"@polkadot/util": "^5.6.2",
|
||||
"@polkadot/util-crypto": "^5.6.2",
|
||||
"@polkadot/x-fetch": "^5.6.2",
|
||||
"@polkadot/x-global": "^5.6.2",
|
||||
"@polkadot/x-ws": "^5.6.2",
|
||||
"@polkadot/util": "^5.6.3",
|
||||
"@polkadot/util-crypto": "^5.6.3",
|
||||
"@polkadot/x-fetch": "^5.6.3",
|
||||
"@polkadot/x-global": "^5.6.3",
|
||||
"@polkadot/x-ws": "^5.6.3",
|
||||
"bn.js": "^4.11.9",
|
||||
"eventemitter3": "^4.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^5.6.2",
|
||||
"@polkadot/keyring": "^5.6.3",
|
||||
"@polkadot/metadata": "3.9.3",
|
||||
"mock-socket": "^9.0.3",
|
||||
"nock": "^13.0.7"
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', version: '3.9.3' };
|
||||
@@ -19,15 +19,15 @@
|
||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.12.13",
|
||||
"@babel/core": "^7.12.16",
|
||||
"@babel/register": "^7.12.13",
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/api": "3.9.3",
|
||||
"@polkadot/metadata": "3.9.3",
|
||||
"@polkadot/rpc-provider": "3.9.3",
|
||||
"@polkadot/types": "3.9.3",
|
||||
"@polkadot/util": "^5.6.2",
|
||||
"handlebars": "^4.7.6",
|
||||
"@polkadot/util": "^5.6.3",
|
||||
"handlebars": "^4.7.7",
|
||||
"websocket": "^1.0.33",
|
||||
"yargs": "^16.2.0"
|
||||
},
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', version: '3.9.3' };
|
||||
@@ -13,9 +13,9 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/networks": "^5.6.2",
|
||||
"@polkadot/networks": "^5.6.3",
|
||||
"@polkadot/types": "3.9.3",
|
||||
"@polkadot/util": "^5.6.2",
|
||||
"@polkadot/util": "^5.6.3",
|
||||
"bn.js": "^4.11.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', version: '3.9.3' };
|
||||
@@ -17,13 +17,13 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/metadata": "3.9.3",
|
||||
"@polkadot/util": "^5.6.2",
|
||||
"@polkadot/util-crypto": "^5.6.2",
|
||||
"@polkadot/x-rxjs": "^5.6.2",
|
||||
"@polkadot/util": "^5.6.3",
|
||||
"@polkadot/util-crypto": "^5.6.3",
|
||||
"@polkadot/x-rxjs": "^5.6.3",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
"bn.js": "^4.11.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^5.6.2"
|
||||
"@polkadot/keyring": "^5.6.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
|
||||
import packageInfo from './package-info.json';
|
||||
import { packageInfo } from './packageInfo';
|
||||
|
||||
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname);
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Auto-generated by @polkadot/dev, do not edit
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', version: '3.9.3' };
|
||||
Reference in New Issue
Block a user