Bump deps (#757)

* Bump deps

* yarn start, well, starts again
This commit is contained in:
Jaco Greeff 2019-02-26 18:10:42 +01:00 committed by GitHub
parent 84f4af6edd
commit 3989c8c7c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 2773 additions and 2397 deletions

View File

@ -12,22 +12,22 @@
"resolutions": {
"babel-core": "^7.0.0-bridge.0",
"rxjs": "^6.4.0",
"typescript": "^3.3.3"
"typescript": "^3.3.3333"
},
"scripts": {
"analyze": "yarn run build && cd packages/apps && yarn run source-map-explorer build/main.*.js",
"build": "polkadot-dev-build-ts",
"build": "NODE_ENV=production polkadot-dev-build-ts",
"check": "tslint --project . && tsc --noEmit --pretty",
"clean": "polkadot-dev-clean-build",
"postinstall": "polkadot-dev-yarn-only",
"test": "echo \"skipping tests\"",
"deploy:ghpages": "gh-pages --dist packages/apps/build --remove locales,static,*.css,*.js,*.json,*.map,*.md",
"vanitygen": "node packages/app-accounts/scripts/vanitygen.js",
"start": "cd packages/apps && webpack-serve --config webpack.config.js --port 3000"
"start": "cd packages/apps && webpack --config webpack.config.js"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@polkadot/dev-react": "^0.24.2",
"@babel/core": "^7.3.3",
"@polkadot/dev-react": "^0.25.4",
"@polkadot/ts": "^0.1.53",
"autoprefixer": "^9.4.8",
"empty": "^0.10.1",

View File

@ -14,7 +14,7 @@
"dependencies": {
"@babel/runtime": "^7.2.0",
"@polkadot/ui-app": "^0.24.16",
"@polkadot/ui-assets": "^0.28.1",
"@polkadot/ui-assets": "^0.28.3",
"@polkadot/ui-signer": "^0.24.16"
}
}

View File

@ -9,6 +9,7 @@ const webpack = require('webpack');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const { WebpackPluginServe } = require('webpack-plugin-serve');
const packages = [
'app-accounts',
@ -46,7 +47,12 @@ function createWebpack ({ alias = {}, context, name = 'index' }) {
return {
context,
devtool: isProd ? 'source-map' : 'cheap-eval-source-map',
entry: `./src/${name}.tsx`,
entry: [
`./src/${name}.tsx`,
isProd
? null
: 'webpack-plugin-serve/client'
].filter((entry) => entry),
mode: ENV,
output: {
chunkFilename: `[name].[chunkhash:8].js`,
@ -172,6 +178,12 @@ function createWebpack ({ alias = {}, context, name = 'index' }) {
hints: false
},
plugins: plugins.concat([
isProd
? null
: new WebpackPluginServe({
port: 3000,
static: path.join(process.cwd(), '/build')
}),
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
new webpack.DefinePlugin({
'process.env': {
@ -193,7 +205,8 @@ function createWebpack ({ alias = {}, context, name = 'index' }) {
new MiniCssExtractPlugin({
filename: `[name].[contenthash:8].css`
})
])
]).filter((entry) => entry),
watch: !isProd
};
}

View File

@ -31,8 +31,8 @@
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme",
"dependencies": {
"@babel/runtime": "^7.2.0",
"@polkadot/api": "^0.45.12",
"@polkadot/ui-util": "^0.28.1",
"@polkadot/api": "^0.45.15",
"@polkadot/ui-util": "^0.28.3",
"rxjs-compat": "^6.3.2"
}
}

View File

@ -12,11 +12,11 @@
"dependencies": {
"@babel/runtime": "^7.2.0",
"@polkadot/ui-api": "^0.24.16",
"@polkadot/ui-identicon": "^0.28.1",
"@polkadot/ui-keyring": "^0.28.1",
"@polkadot/ui-identicon": "^0.28.3",
"@polkadot/ui-keyring": "^0.28.3",
"@polkadot/ui-reactive": "^0.24.16",
"@polkadot/ui-settings": "^0.28.1",
"@polkadot/ui-util": "^0.28.1",
"@polkadot/ui-settings": "^0.28.3",
"@polkadot/ui-util": "^0.28.3",
"@types/chart.js": "^2.7.45",
"@types/i18next": "^12.1.0",
"@types/i18next-browser-languagedetector": "^2.0.2",

5129
yarn.lock

File diff suppressed because it is too large Load Diff