mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
chore: upgrade dependencies (babel 7.1) (#3926)
This commit is contained in:
parent
73d1b9d846
commit
6f5137cd30
24
package.json
24
package.json
@ -63,9 +63,9 @@
|
||||
"npm": ">=5.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0",
|
||||
"@babel/core": "^7.1.0",
|
||||
"@babel/polyfill": "^7.0.0",
|
||||
"@nuxtjs/babel-preset-app": "^0.6.1",
|
||||
"@nuxtjs/babel-preset-app": "^0.7.0",
|
||||
"@nuxtjs/friendly-errors-webpack-plugin": "^2.0.2",
|
||||
"@nuxtjs/opencollective": "^0.1.0",
|
||||
"@nuxtjs/youch": "^4.2.3",
|
||||
@ -80,7 +80,7 @@
|
||||
"css-loader": "^1.0.0",
|
||||
"cssnano": "^4.0.5",
|
||||
"debug": "^4.0.1",
|
||||
"esm": "^3.0.82",
|
||||
"esm": "^3.0.84",
|
||||
"etag": "^1.8.1",
|
||||
"file-loader": "^2.0.0",
|
||||
"fresh": "^0.5.2",
|
||||
@ -94,7 +94,7 @@
|
||||
"lodash": "^4.17.11",
|
||||
"lru-cache": "^4.1.3",
|
||||
"memory-fs": "^0.4.1",
|
||||
"mini-css-extract-plugin": "^0.4.2",
|
||||
"mini-css-extract-plugin": "^0.4.3",
|
||||
"minimist": "^1.2.0",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
||||
"pify": "^4.0.0",
|
||||
@ -112,7 +112,7 @@
|
||||
"style-resources-loader": "^1.2.1",
|
||||
"thread-loader": "^1.2.0",
|
||||
"time-fix-plugin": "^2.0.3",
|
||||
"uglifyjs-webpack-plugin": "^1.3.0",
|
||||
"uglifyjs-webpack-plugin": "^2.0.1",
|
||||
"upath": "^1.1.0",
|
||||
"url-loader": "^1.1.1",
|
||||
"vue": "^2.5.17",
|
||||
@ -123,15 +123,15 @@
|
||||
"vue-server-renderer": "^2.5.17",
|
||||
"vue-template-compiler": "^2.5.17",
|
||||
"vuex": "^3.0.1",
|
||||
"webpack": "^4.18.0",
|
||||
"webpack": "^4.19.1",
|
||||
"webpack-bundle-analyzer": "^3.0.1",
|
||||
"webpack-dev-middleware": "^3.3.0",
|
||||
"webpack-hot-middleware": "^2.23.1",
|
||||
"webpack-hot-middleware": "^2.24.1",
|
||||
"webpack-node-externals": "^1.7.2",
|
||||
"webpackbar": "^2.6.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.0.0",
|
||||
"@babel/preset-env": "^7.1.0",
|
||||
"babel-core": "^7.0.0-0",
|
||||
"babel-eslint": "^9.0.0",
|
||||
"babel-jest": "^23.6.0",
|
||||
@ -139,7 +139,7 @@
|
||||
"codecov": "^3.1.0",
|
||||
"cross-env": "^5.2.0",
|
||||
"cross-spawn": "^6.0.5",
|
||||
"eslint": "^5.5.0",
|
||||
"eslint": "^5.6.0",
|
||||
"eslint-config-standard": "^12.0.0",
|
||||
"eslint-config-standard-jsx": "^6.0.2",
|
||||
"eslint-plugin-import": "^2.14.0",
|
||||
@ -161,10 +161,10 @@
|
||||
"request": "^2.88.0",
|
||||
"request-promise-native": "^1.0.5",
|
||||
"rimraf": "^2.6.2",
|
||||
"rollup": "^0.65.2",
|
||||
"rollup": "^0.66.1",
|
||||
"rollup-plugin-babel": "^4.0.3",
|
||||
"rollup-plugin-commonjs": "^9.1.5",
|
||||
"rollup-plugin-json": "^3.0.0",
|
||||
"rollup-plugin-commonjs": "^9.1.8",
|
||||
"rollup-plugin-json": "^3.1.0",
|
||||
"rollup-plugin-license": "^0.7.0"
|
||||
},
|
||||
"collective": {
|
||||
|
@ -49,9 +49,9 @@
|
||||
"npm": ">=5.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0",
|
||||
"@babel/core": "^7.1.0",
|
||||
"@babel/polyfill": "^7.0.0",
|
||||
"@nuxtjs/babel-preset-app": "^0.6.1",
|
||||
"@nuxtjs/babel-preset-app": "^0.7.0",
|
||||
"@nuxtjs/friendly-errors-webpack-plugin": "^2.0.2",
|
||||
"@nuxtjs/opencollective": "^0.1.0",
|
||||
"@nuxtjs/youch": "^4.2.3",
|
||||
@ -63,10 +63,10 @@
|
||||
"compression": "^1.7.3",
|
||||
"connect": "^3.6.5",
|
||||
"consola": "^1.4.3",
|
||||
"css-loader": "0.28.11",
|
||||
"css-loader": "^1.0.0",
|
||||
"cssnano": "^4.0.5",
|
||||
"debug": "^4.0.1",
|
||||
"esm": "^3.0.82",
|
||||
"esm": "^3.0.84",
|
||||
"etag": "^1.8.1",
|
||||
"file-loader": "^2.0.0",
|
||||
"fresh": "^0.5.2",
|
||||
@ -80,7 +80,7 @@
|
||||
"lodash": "^4.17.11",
|
||||
"lru-cache": "^4.1.3",
|
||||
"memory-fs": "^0.4.1",
|
||||
"mini-css-extract-plugin": "^0.4.2",
|
||||
"mini-css-extract-plugin": "^0.4.3",
|
||||
"minimist": "^1.2.0",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
||||
"pify": "^4.0.0",
|
||||
@ -98,7 +98,7 @@
|
||||
"style-resources-loader": "^1.2.1",
|
||||
"thread-loader": "^1.2.0",
|
||||
"time-fix-plugin": "^2.0.3",
|
||||
"uglifyjs-webpack-plugin": "^1.3.0",
|
||||
"uglifyjs-webpack-plugin": "^2.0.1",
|
||||
"upath": "^1.1.0",
|
||||
"url-loader": "^1.1.1",
|
||||
"vue": "^2.5.17",
|
||||
@ -109,10 +109,10 @@
|
||||
"vue-server-renderer": "^2.5.17",
|
||||
"vue-template-compiler": "^2.5.17",
|
||||
"vuex": "^3.0.1",
|
||||
"webpack": "^4.18.0",
|
||||
"webpack": "^4.19.1",
|
||||
"webpack-bundle-analyzer": "^3.0.1",
|
||||
"webpack-dev-middleware": "^3.3.0",
|
||||
"webpack-hot-middleware": "^2.23.1",
|
||||
"webpack-hot-middleware": "^2.24.1",
|
||||
"webpack-node-externals": "^1.7.2",
|
||||
"webpackbar": "^2.6.3"
|
||||
}
|
||||
|
@ -54,8 +54,8 @@
|
||||
"vue-router": "^3.0.1",
|
||||
"vuex": "^3.0.1",
|
||||
"lodash": "^4.17.11",
|
||||
"hash-sum": "^1.0.2",
|
||||
"consola": "^1.4.3",
|
||||
"hash-sum": "^1.0.2",
|
||||
"std-env": "^1.3.1",
|
||||
"vue": "^2.5.17",
|
||||
"vue-meta": "^1.5.3",
|
||||
@ -71,7 +71,7 @@
|
||||
"launch-editor-middleware": "^2.2.1",
|
||||
"server-destroy": "^1.0.1",
|
||||
"chalk": "^2.4.1",
|
||||
"esm": "^3.0.82",
|
||||
"esm": "^3.0.84",
|
||||
"ip": "^1.1.5",
|
||||
"compression": "^1.7.3"
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ const readFile = promisify(fs.readFile)
|
||||
|
||||
describe('extract css', () => {
|
||||
test('Verify global.css has been extracted and minified', async () => {
|
||||
const pathToMinifiedGlobalCss = resolve(__dirname, '..', 'fixtures/extract-css/.nuxt/dist/client/90516105347f397aade6.css')
|
||||
const pathToMinifiedGlobalCss = resolve(__dirname, '..', 'fixtures/extract-css/.nuxt/dist/client/09b0b6942acf2c3ab923.css')
|
||||
const content = await readFile(pathToMinifiedGlobalCss, 'utf-8')
|
||||
const expectedContent = 'h1[data-v-180e2718]{color:red}.container[data-v-180e2718]{-ms-grid-columns:60px 60px 60px 60px 60px;-ms-grid-rows:30px 30px;display:-ms-grid;display:grid;grid-auto-flow:row;grid-template-columns:60px 60px 60px 60px 60px;grid-template-rows:30px 30px}'
|
||||
expect(content).toBe(expectedContent)
|
||||
|
Loading…
Reference in New Issue
Block a user