Bump deps (#5044)
* Bump deps * lockfile * Bumps * valueToText (entries for keys) * Production builds
This commit is contained in:
parent
7a4c8eec16
commit
fc854757bf
36
package.json
36
package.json
@ -4,7 +4,7 @@
|
||||
"main": "packages/apps-electron/build/electron.js",
|
||||
"description": "An Apps portal into the Polkadot network",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"version": "0.86.3-49",
|
||||
"version": "0.86.3-48",
|
||||
"license": "Apache-2",
|
||||
"private": true,
|
||||
"homepage": ".",
|
||||
@ -12,20 +12,20 @@
|
||||
"packages/*"
|
||||
],
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^4.4.2-1",
|
||||
"@polkadot/api-contract": "^4.4.2-1",
|
||||
"@polkadot/api": "^4.4.2-2",
|
||||
"@polkadot/api-contract": "^4.4.2-2",
|
||||
"@polkadot/hw-ledger": "^6.0.5",
|
||||
"@polkadot/keyring": "^6.0.5",
|
||||
"@polkadot/networks": "^6.0.5",
|
||||
"@polkadot/phishing": "^0.6.65",
|
||||
"@polkadot/types": "^4.4.2-1",
|
||||
"@polkadot/phishing": "^0.6.71",
|
||||
"@polkadot/types": "^4.4.2-2",
|
||||
"@polkadot/util": "^6.0.5",
|
||||
"@polkadot/util-crypto": "^6.0.5",
|
||||
"@polkadot/wasm-crypto": "^4.0.2",
|
||||
"@polkadot/x-rxjs": "^6.0.5",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"styled-components": "^5.2.0",
|
||||
"typescript": "^4.2.2"
|
||||
"typescript": "^4.2.4"
|
||||
},
|
||||
"scripts": {
|
||||
"analyze": "yarn clean && BUILD_ANALYZE=1 yarn run build:code && yarn source-map-explorer packages/apps/build/main.*.js",
|
||||
@ -64,20 +64,20 @@
|
||||
"start:electron": "yarn clean:electronBuild && concurrently 'yarn build:devElectronMain && cd packages/apps-electron && electron ./build/electron.js' 'yarn build:devElectronRenderer'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.13.10",
|
||||
"@babel/register": "^7.13.8",
|
||||
"@babel/core": "^7.13.14",
|
||||
"@babel/register": "^7.13.14",
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@crustio/crust-pin": "^0.0.1",
|
||||
"@pinata/sdk": "^1.1.13",
|
||||
"@polkadot/dev": "^0.62.7",
|
||||
"@polkadot/ts": "^0.3.62",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
"@types/chart.js": "^2.9.31",
|
||||
"@types/chart.js": "^2.9.32",
|
||||
"@types/file-saver": "^2.0.1",
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/jest": "^26.0.22",
|
||||
"@types/react-beautiful-dnd": "^13.0.0",
|
||||
"@types/react-copy-to-clipboard": "^5.0.0",
|
||||
"@types/react-dom": "^17.0.2",
|
||||
"@types/react-dom": "^17.0.3",
|
||||
"@types/react-router-dom": "^5.1.7",
|
||||
"@types/store": "^2.0.2",
|
||||
"@types/styled-components": "^5.1.9",
|
||||
@ -85,19 +85,19 @@
|
||||
"concurrently": "^5.3.0",
|
||||
"devtron": "^1.4.0",
|
||||
"dnslink-cloudflare": "^3.0.0",
|
||||
"electron": "^11.2.0",
|
||||
"electron": "^12.0.2",
|
||||
"electron-builder": "^22.10.5",
|
||||
"electron-builder-notarize": "^1.2.0",
|
||||
"i18next-scanner": "^3.0.0",
|
||||
"react": "^17.0.1",
|
||||
"react-dom": "^17.0.1",
|
||||
"react-is": "^17.0.1",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-is": "^17.0.2",
|
||||
"source-map-explorer": "^2.5.2",
|
||||
"styled-components": "^5.2.1",
|
||||
"styled-components": "^5.2.3",
|
||||
"stylelint": "^13.12.0",
|
||||
"stylelint-config-recommended": "^4.0.0",
|
||||
"stylelint-config-styled-components": "^0.1.1",
|
||||
"webpack": "^5.25.1",
|
||||
"webpack-cli": "^4.5.0"
|
||||
"webpack": "^5.31.0",
|
||||
"webpack-cli": "^4.6.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,15 +11,15 @@
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@crustio/type-definitions": "0.0.5",
|
||||
"@darwinia/types": "^1.1.0-alpha.6",
|
||||
"@edgeware/node-types": "^3.3.2",
|
||||
"@edgeware/node-types": "^3.3.4",
|
||||
"@equilab/definitions": "1.0.3",
|
||||
"@interlay/polkabtc-types": "^0.6.2",
|
||||
"@laminar/type-definitions": "^0.3.1",
|
||||
"@polkadot/networks": "^6.0.5",
|
||||
"@snowfork/snowbridge-types": "^0.2.3",
|
||||
"@sora-substrate/type-definitions": "^0.6.11",
|
||||
"@subsocial/types": "^0.4.35-beta.2",
|
||||
"@zeitgeistpm/type-defs": "^0.1.35",
|
||||
"@sora-substrate/type-definitions": "^0.8.0",
|
||||
"@subsocial/types": "^0.4.36",
|
||||
"@zeitgeistpm/type-defs": "^0.1.36",
|
||||
"moonbeam-types-bundle": "1.1.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -4,23 +4,23 @@
|
||||
"version": "0.86.3-49",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.13.10",
|
||||
"@babel/core": "^7.13.14",
|
||||
"@babel/polyfill": "^7.12.1",
|
||||
"@polkadot/dev": "^0.62.7",
|
||||
"@polkadot/react-components": "^0.86.3-49",
|
||||
"electron-log": "^4.3.2",
|
||||
"electron-log": "^4.3.3",
|
||||
"electron-updater": "^4.3.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-dom": "^17.0.2",
|
||||
"@types/react-dom": "^17.0.3",
|
||||
"@types/tmp": "^0.2.0",
|
||||
"babel-loader": "^8.2.2",
|
||||
"copy-webpack-plugin": "^7.0.0",
|
||||
"html-webpack-plugin": "^4.5.2",
|
||||
"react": "^17.0.1",
|
||||
"react-dom": "^17.0.1",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"thread-loader": "^3.0.1",
|
||||
"tmp": "^0.2.1",
|
||||
"webpack": "^5.25.1"
|
||||
"webpack": "^5.31.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"homepage": ".",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.13.10",
|
||||
"@babel/core": "^7.13.14",
|
||||
"@babel/polyfill": "^7.12.1",
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@polkadot/apps-config": "^0.86.3-49",
|
||||
@ -26,20 +26,20 @@
|
||||
"buffer": "^6.0.3",
|
||||
"copy-webpack-plugin": "^7.0.0",
|
||||
"crypto-browserify": "^3.12.0",
|
||||
"css-loader": "^5.1.2",
|
||||
"css-loader": "^5.2.0",
|
||||
"empty": "^0.10.1",
|
||||
"file-loader": "^6.2.0",
|
||||
"html-loader": "^1.3.2",
|
||||
"html-webpack-plugin": "^4.5.2",
|
||||
"markdown-loader": "^6.0.0",
|
||||
"mini-css-extract-plugin": "^1.3.9",
|
||||
"mini-css-extract-plugin": "^1.4.1",
|
||||
"null-loader": "^4.0.1",
|
||||
"path-browserify": "^1.0.1",
|
||||
"process": "^0.11.10",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"url-loader": "^4.1.1",
|
||||
"webpack": "^5.25.1",
|
||||
"webpack-cli": "^4.5.0",
|
||||
"webpack": "^5.31.0",
|
||||
"webpack-cli": "^4.6.0",
|
||||
"webpack-dev-server": "^4.0.0-beta.0",
|
||||
"webpack-merge": "^5.7.3"
|
||||
}
|
||||
|
||||
@ -152,7 +152,7 @@ function createWebpack (context, mode = 'production') {
|
||||
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
|
||||
NODE_ENV: JSON.stringify(mode),
|
||||
VERSION: JSON.stringify(pkgJson.version),
|
||||
WS_URL: JSON.stringify(process.env.WS_URL)
|
||||
}
|
||||
|
||||
@ -5,9 +5,9 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@polkadot/phishing": "^0.6.65",
|
||||
"@polkadot/phishing": "^0.6.71",
|
||||
"@polkadot/react-components": "^0.86.3-49",
|
||||
"@polkadot/vanitygen": "^0.30.2-2",
|
||||
"@polkadot/vanitygen": "^0.30.2-3",
|
||||
"detect-browser": "^5.2.0",
|
||||
"file-saver": "^2.0.5"
|
||||
},
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
"file-saver": "^2.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/react": "^11.2.5",
|
||||
"@testing-library/react": "^11.2.6",
|
||||
"testcontainers": "^6.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
@ -5,6 +5,6 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@polkadot/api-contract": "^4.4.2-1"
|
||||
"@polkadot/api-contract": "^4.4.2-2"
|
||||
}
|
||||
}
|
||||
|
||||
@ -5,9 +5,9 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@polkadot/api": "^4.4.2-1",
|
||||
"@polkadot/api": "^4.4.2-2",
|
||||
"@polkadot/extension-dapp": "^0.37.3-11",
|
||||
"@polkadot/x-rxjs": "^6.0.5",
|
||||
"fflate": "^0.6.7"
|
||||
"fflate": "^0.6.9"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,32 +0,0 @@
|
||||
// Copyright 2017-2021 @polkadot/react-query authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const ENV = process.env.NODE_ENV || 'development';
|
||||
const isProd = ENV === 'production';
|
||||
|
||||
module.exports = {
|
||||
context: __dirname,
|
||||
devtool: isProd ? 'source-map' : 'cheap-eval-source-map',
|
||||
entry: './src/demo.tsx',
|
||||
mode: ENV,
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
exclude: /(node_modules)/,
|
||||
test: /\.(js|ts|tsx)$/,
|
||||
use: {
|
||||
loader: 'babel-loader'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
output: {
|
||||
filename: './demo.js',
|
||||
path: __dirname
|
||||
},
|
||||
plugins: [],
|
||||
resolve: {
|
||||
alias: {},
|
||||
extensions: ['.js', '.jsx', '.ts', '.tsx']
|
||||
}
|
||||
};
|
||||
@ -5,35 +5,35 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.13.10",
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.34",
|
||||
"@fortawesome/free-solid-svg-icons": "^5.15.2",
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
||||
"@fortawesome/free-solid-svg-icons": "^5.15.3",
|
||||
"@fortawesome/react-fontawesome": "^0.1.14",
|
||||
"@polkadot/keyring": "^6.0.5",
|
||||
"@polkadot/react-api": "^0.86.3-49",
|
||||
"@polkadot/react-identicon": "^0.72.1",
|
||||
"@polkadot/react-qr": "^0.72.1",
|
||||
"@polkadot/react-identicon": "^0.72.2-0",
|
||||
"@polkadot/react-qr": "^0.72.2-0",
|
||||
"@polkadot/react-query": "^0.86.3-49",
|
||||
"@polkadot/ui-keyring": "^0.72.1",
|
||||
"@polkadot/ui-settings": "^0.72.1",
|
||||
"@polkadot/ui-keyring": "^0.72.2-0",
|
||||
"@polkadot/ui-settings": "^0.72.2-0",
|
||||
"@polkadot/util": "^6.0.5",
|
||||
"@polkadot/util-crypto": "^6.0.5",
|
||||
"chart.js": "^2.9.4",
|
||||
"codeflask": "^1.4.1",
|
||||
"i18next": "^19.9.2",
|
||||
"i18next-browser-languagedetector": "^6.0.1",
|
||||
"i18next-browser-languagedetector": "^6.1.0",
|
||||
"owasp-password-strength-test": "^1.3.0",
|
||||
"react": "^17.0.1",
|
||||
"react-beautiful-dnd": "^13.0.0",
|
||||
"react": "^17.0.2",
|
||||
"react-beautiful-dnd": "^13.1.0",
|
||||
"react-chartjs-2": "^2.11.1",
|
||||
"react-copy-to-clipboard": "^5.0.3",
|
||||
"react-dom": "^17.0.1",
|
||||
"react-dropzone": "^11.3.1",
|
||||
"react-i18next": "^11.8.10",
|
||||
"react-is": "^17.0.1",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-dropzone": "^11.3.2",
|
||||
"react-i18next": "^11.8.12",
|
||||
"react-is": "^17.0.2",
|
||||
"react-markdown": "^5.0.3",
|
||||
"react-router": "^5.2.0",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react-tooltip": "^4.2.15",
|
||||
"react-tooltip": "^4.2.17",
|
||||
"semantic-ui-css": "^2.4.1",
|
||||
"semantic-ui-react": "^0.88.2",
|
||||
"store": "^2.0.12",
|
||||
|
||||
@ -52,7 +52,7 @@ export default function valueToText (type: string, value: Codec | undefined | nu
|
||||
|
||||
return div(
|
||||
{},
|
||||
['Bytes', 'Raw', 'Option<Keys>', 'Keys'].includes(type)
|
||||
['Bytes', 'Raw', 'Option<Keys>', 'Keys'].includes(type) && isFunction(value.toU8a)
|
||||
? u8aToHex(value.toU8a(true), contentShorten ? 512 : -1)
|
||||
// HACK Handle Keys as hex-only (this should go away once the node value is
|
||||
// consistently swapped to `Bytes`)
|
||||
|
||||
@ -1,32 +0,0 @@
|
||||
// Copyright 2017-2021 @polkadot/react-query authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const ENV = process.env.NODE_ENV || 'development';
|
||||
const isProd = ENV === 'production';
|
||||
|
||||
module.exports = {
|
||||
context: __dirname,
|
||||
devtool: isProd ? 'source-map' : 'cheap-eval-source-map',
|
||||
entry: './src/demo.tsx',
|
||||
mode: ENV,
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
exclude: /(node_modules)/,
|
||||
test: /\.(js|ts|tsx)$/,
|
||||
use: {
|
||||
loader: 'babel-loader'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
output: {
|
||||
filename: './demo.js',
|
||||
path: __dirname
|
||||
},
|
||||
plugins: [],
|
||||
resolve: {
|
||||
alias: {},
|
||||
extensions: ['.js', '.jsx', '.ts', '.tsx']
|
||||
}
|
||||
};
|
||||
@ -4,11 +4,11 @@
|
||||
"version": "0.86.3-49",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@testing-library/react": "^11.2.5",
|
||||
"@testing-library/react": "^11.2.6",
|
||||
"testcontainers": "^6.4.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/jest-dom": "^5.11.9",
|
||||
"@testing-library/jest-dom": "^5.11.10",
|
||||
"ts-node": "^9.1.1",
|
||||
"tsconfig-paths": "^3.9.0"
|
||||
}
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
import { ApiPromise, WsProvider } from '@polkadot/api';
|
||||
import { Metadata } from '@polkadot/metadata';
|
||||
import metaStatic from '@polkadot/metadata/static';
|
||||
import { TypeRegistry } from '@polkadot/types/create';
|
||||
import { TypeRegistry } from '@polkadot/types';
|
||||
|
||||
export function createAugmentedApi (): ApiPromise {
|
||||
const registry = new TypeRegistry();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user