Skip to content

Commit

Permalink
chore: upgrade wepack loade plugins, dependencies:
Browse files Browse the repository at this point in the history
webpack-manifest-plugin
tslint-loader
less-loader
eslint-loader
extract-text-webpack-plugin
  • Loading branch information
efloden committed Apr 6, 2018
1 parent 1f18b5f commit a8e8c3b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 31 deletions.
16 changes: 8 additions & 8 deletions server/zanata-frontend/src/package.json
Expand Up @@ -12,10 +12,10 @@
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('You must use Yarn to install, not NPM')\"",
"check": "node scripts/check-engines",
"js": "yarn run check && webpack",
"build": "yarn run check && node scripts/build --mode production",
"draft": "yarn run check && node scripts/build --draft --mode development",
"build": "yarn run check && node scripts/build",
"draft": "yarn run check && node scripts/build --draft",
"extract-messages": "yarn run check && node scripts/extract-messages",
"watch": "yarn run check && node scripts/dev-server",
"watch": "yarn run check && node scripts/dev-server --mode development",
"watch:editor": "yarn run check && node scripts/dev-server --editor",
"styleguide-server": "yarn run check && styleguidist server",
"styleguide-build": "yarn run check && styleguidist build",
Expand Down Expand Up @@ -102,18 +102,18 @@
"eslint-config-standard": "5.3.1",
"eslint-config-standard-react": "2.5.0",
"eslint-config-zanata": "2.0.1",
"eslint-loader": "1.9.0",
"eslint-loader": "2.0.0",
"eslint-plugin-no-console-log": "1.0.0",
"eslint-plugin-promise": "1.3.2",
"eslint-plugin-react": "4.2.3",
"eslint-plugin-standard": "1.3.2",
"extract-text-webpack-plugin": "3.0.2",
"extract-text-webpack-plugin": "4.0.0-beta.0",
"faucet": "0.0.1",
"flow-bin": "0.54.1",
"isomorphic-fetch": "2.2.1",
"jest-cli": "22.1.1",
"less": "2.7.3",
"less-loader": "2.2.3",
"less-loader": "4.1.0",
"postcss-bem-linter": "3.1.0",
"postcss-calc": "6.0.1",
"postcss-color-function": "4.0.1",
Expand All @@ -136,11 +136,11 @@
"storybook-host": "4.1.5",
"style-loader": "0.19.1",
"tslint": "^5.9.1",
"tslint-loader": "^3.5.3",
"tslint-loader": "^3.6.0",
"typescript": "^2.7.1",
"webpack": "4.5.0",
"webpack-dev-server": "2.11.0",
"webpack-manifest-plugin": "1.3.2",
"webpack-manifest-plugin": "^2.0.0-rc.2",
"webpack-merge": "4.1.1"
},
"dependencies": {
Expand Down
4 changes: 0 additions & 4 deletions server/zanata-frontend/src/webpack.config.js
Expand Up @@ -277,10 +277,6 @@ module.exports = function (env, isEditor, devServerPort) {

fullBuild ? new webpack.HashedModuleIdsPlugin() : undefined,

storybook || dev ? undefined : new webpack.optimize.CommonsChunkPlugin({
name: 'runtime'
}),

// Convert source (en) and translated strings to the format the app
// can consume, in the dist directory.
fullBuild
Expand Down
40 changes: 21 additions & 19 deletions server/zanata-frontend/src/yarn.lock
Expand Up @@ -3833,9 +3833,9 @@ eslint-config-zanata@2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/eslint-config-zanata/-/eslint-config-zanata-2.0.1.tgz#2e21ac9fe824fe2cba8ff60f5e46bef6c0a2d61b"

eslint-loader@1.9.0:
version "1.9.0"
resolved "https://registry.yarnpkg.com/eslint-loader/-/eslint-loader-1.9.0.tgz#7e1be9feddca328d3dcfaef1ad49d5beffe83a13"
eslint-loader@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/eslint-loader/-/eslint-loader-2.0.0.tgz#d136619b5c684e36531ffc28c60a56e404608f5d"
dependencies:
loader-fs-cache "^1.0.0"
loader-utils "^1.0.2"
Expand Down Expand Up @@ -4112,14 +4112,14 @@ extglob@^2.0.2, extglob@^2.0.4:
snapdragon "^0.8.1"
to-regex "^3.0.1"

extract-text-webpack-plugin@3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/extract-text-webpack-plugin/-/extract-text-webpack-plugin-3.0.2.tgz#5f043eaa02f9750a9258b78c0a6e0dc1408fb2f7"
extract-text-webpack-plugin@4.0.0-beta.0:
version "4.0.0-beta.0"
resolved "https://registry.yarnpkg.com/extract-text-webpack-plugin/-/extract-text-webpack-plugin-4.0.0-beta.0.tgz#f7361d7ff430b42961f8d1321ba8c1757b5d4c42"
dependencies:
async "^2.4.1"
loader-utils "^1.1.0"
schema-utils "^0.3.0"
webpack-sources "^1.0.1"
schema-utils "^0.4.5"
webpack-sources "^1.1.0"

extract-zip@^1.6.5:
version "1.6.6"
Expand Down Expand Up @@ -6181,11 +6181,13 @@ left-pad@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.2.0.tgz#d30a73c6b8201d8f7d8e7956ba9616087a68e0ee"

less-loader@2.2.3:
version "2.2.3"
resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-2.2.3.tgz#b6d8f8139c8493df09d992a93a00734b08f84528"
less-loader@4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-4.1.0.tgz#2c1352c5b09a4f84101490274fd51674de41363e"
dependencies:
loader-utils "^0.2.5"
clone "^2.1.1"
loader-utils "^1.1.0"
pify "^3.0.0"

less@2.7.3:
version "2.7.3"
Expand Down Expand Up @@ -6250,7 +6252,7 @@ loader-runner@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2"

loader-utils@^0.2.11, loader-utils@^0.2.14, loader-utils@^0.2.16, loader-utils@^0.2.5, loader-utils@~0.2.2:
loader-utils@^0.2.11, loader-utils@^0.2.14, loader-utils@^0.2.16, loader-utils@~0.2.2:
version "0.2.17"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348"
dependencies:
Expand Down Expand Up @@ -10607,9 +10609,9 @@ tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0:
version "1.9.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.0.tgz#e37a86fda8cbbaf23a057f473c9f4dc64e5fc2e8"

tslint-loader@^3.5.3:
version "3.5.3"
resolved "https://registry.yarnpkg.com/tslint-loader/-/tslint-loader-3.5.3.tgz#343f74122d94f356b689457d3f59f64a69ab606f"
tslint-loader@^3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/tslint-loader/-/tslint-loader-3.6.0.tgz#12ed4d5ef57d68be25cd12692fb2108b66469d76"
dependencies:
loader-utils "^1.0.2"
mkdirp "^0.5.1"
Expand Down Expand Up @@ -11148,9 +11150,9 @@ webpack-hot-middleware@^2.21.0:
querystring "^0.2.0"
strip-ansi "^3.0.0"

webpack-manifest-plugin@1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/webpack-manifest-plugin/-/webpack-manifest-plugin-1.3.2.tgz#5ea8ee5756359ddc1d98814324fe43496349a7d4"
webpack-manifest-plugin@^2.0.0-rc.2:
version "2.0.0-rc.2"
resolved "https://registry.yarnpkg.com/webpack-manifest-plugin/-/webpack-manifest-plugin-2.0.0-rc.2.tgz#7e12abb805795fe256b085a214a15d9568f0e692"
dependencies:
fs-extra "^0.30.0"
lodash ">=3.5 <5"
Expand Down

0 comments on commit a8e8c3b

Please sign in to comment.