Commit Graph

602 Commits

Author SHA1 Message Date
renovate[bot]
c097598da3 chore(deps): update dependency babel-eslint to v10 (#3984) 2018-09-27 10:30:28 +03:30
renovate[bot]
e413dff491 chore(deps): update dependency webpack-bundle-analyzer to ^3.0.2 (#3983) 2018-09-27 10:28:12 +03:30
Dmitry Molotkov
df148a896e fix: properly serialize undefined in vuex store (#3913)
* allow to serialize undefined variable in vuex store

* test properly

* fix test

* lock
2018-09-25 10:51:07 +02:00
Alexander Lichter
c8693da621 chore: update core team info (#3950) 2018-09-24 17:39:15 +02:00
Alexander Lichter
bc1cecf4a6 chore: update dependencies (#3947) 2018-09-23 19:19:09 +03:30
Alexander Lichter
dabc60c44d chore: update vue-meta version (#3946) 2018-09-23 11:39:02 +01:00
Pooya Parsa
b69cabef88 hotfix: use terser-webpack-plugin (#3928)
<!--- Provide a general summary of your changes in the title above -->

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)


## Description
Webpack requires `uglifyjs-webpack-plugin@1.x`. thus `uglifyjs-webpack-plugin@2.x` may not resolve correctly. Also, the webpack team decided to go with `terser-webpack-plugin` (https://github.com/webpack/webpack/pull/8036).


## Checklist:
<!--- Put an `x` in all the boxes that apply. -->
<!--- If your change requires a documentation PR, please link it appropriately -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly. (PR: #)
- [ ] I have added tests to cover my changes (if not applicable, please state why)
- [ ] All new and existing tests passed.
2018-09-20 22:49:43 +01:00
Clark Du
5c0e9d6316
feat: upgade to postcss7 (#3679)
- [ ] https://github.com/csstools/postcss-preset-env/issues/58
- [ ] examples
2018-09-20 21:22:19 +01:00
Pooya Parsa
6f5137cd30
chore: upgrade dependencies (babel 7.1) (#3926) 2018-09-21 00:27:37 +04:30
Clark Du
1c34651baa fix: css-loader 1.0 removed alias (#3741)
BREAKING CHANGE
2018-09-19 13:16:21 +04:30
Pim
88c9bae57b feat: add tests to check for changed files (#3893)
* feat: add tests to check for changed files

Make sure that if we are building or generating only files in buildDir and generate.dir are changed. If files in another location would also be changed due to a new config option, those locations should be guarded in lib/common/options so you cant set them lower then rootDir or srcDir.

* fix running tests inBand

use simpler path comparisons

* add debug logs for ci

use process.hrtime for waitFor test

* add debug logs for ci

use process.hrtime for waitFor test

* use writeFileSync should probably help

* use forEach instead of map when not returning a value

update waitFor test to compare values with jest

* fix appeveyor

* use lower limit than delay in waitFor test

revert isAppveyor export
2018-09-18 16:26:41 +02:00
Clark Du
40ad691f60 chore(release, ci): use npm audit instead of nsp (#3883) 2018-09-14 11:12:50 +04:30
Clark Du
1c585f9628 chore: upgrade dependecies 2018-09-13 10:02:19 +01:00
Alexander Lichter
653f4c20ff chore: add missing package deps & upgrade to webpack-bundle-analyzer@3 (#3878)
<!--- Provide a general summary of your changes in the title above -->

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)


## Description
<!--- Describe your changes in detail -->
<!--- Why is this change required? What problem does it solve? -->
<!--- If it resolves an open issue, please link to the issue here. For example "Resolves: #1337" -->



## Checklist:
<!--- Put an `x` in all the boxes that apply. -->
<!--- If your change requires a documentation PR, please link it appropriately -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly. (PR: #)
- [ ] I have added tests to cover my changes (if not applicable, please state why)
- [x] All new and existing tests passed.
2018-09-13 09:15:18 +01:00
Alexander Lichter
f87992530e feat(webpack/client): minify extracted css assets (#3857) 2018-09-09 01:18:46 +04:30
Clark Du
3ca2f02674
fix: move babel polyfill to dependencies 2018-09-04 22:05:19 +01:00
Alexander Lichter
31ec2a24d4 feat: replace opencollective-cli with @nuxtjs/opencollective (#3836) 2018-09-02 17:19:18 +02:00
Dmitry Molotkov
9a702809ee fix: window nuxt build by using cross-spawn (#3833)
node spawnSync have issues on windows and building fails with it with ENOENT error
2018-09-01 21:44:57 +01:00
Clark Du
b11e9c0e51
feat: upgrade eslint to 5.x (#3494)
- [ ] babel-eslint https://github.com/babel/babel-eslint/issues/664
- [x] eslint-config-standard-jsx https://github.com/standard/eslint-config-standard-jsx/issues/32
- [x] eslint-config-standard to be stable release https://github.com/standard/eslint-config-standard/issues/123
- [x] eslint-plugin-html
- [x] eslint-plugin-import
- [x] eslint-plugin-jest
- [x] eslint-plugin-node
- [x] eslint-plugin-promise
- [x] eslint-plugin-standard https://github.com/standard/eslint-plugin-standard/issues/29
- [x] eslint-plugin-vue https://github.com/vuejs/eslint-plugin-vue/pull/504
- [x] eslint-plugin-react https://github.com/yannickcr/eslint-plugin-react/releases/tag/v7.10.0
2018-08-31 21:34:12 +01:00
Pooya Parsa
f85465386c
feat: move nuxt-legacy and nuxt-start into packages (#3824) 2018-08-31 22:51:41 +04:30
Clark Du
7e77c82c5b
feat: upgrade babel to 7.0.0 (#3814) 2018-08-28 21:57:17 +01:00
Pooya Parsa
ac841edf62 use exact version for @babel/preset-env 2018-08-24 20:26:55 +04:30
Pooya Parsa
f7ca6cd2a2 chore: update dependencies (#3794)
Remaining:

- For `css-loader`: #3741
- For `eslint`: #3494
- For `postcss`: #3679
2018-08-24 16:53:30 +01:00
Sébastien Chopin
feaa07e208 pkg: Upgrade vue-meta to 1.5.3 2018-08-20 13:07:35 +02:00
Clark Du
8890441a54
chore: upgrade esm (#3768) 2018-08-20 10:47:38 +01:00
Clark Du
a7262f74cb
chore: upgrade webpackbar 2018-08-18 22:43:02 +01:00
Clark Du
21b80c4c5f
fix: module error due to esm 3.0.77 2018-08-18 22:19:37 +01:00
Clark Du
c64a7ea4b5
chore: upgrade dependencies 2018-08-18 21:14:25 +01:00
Clark Du
432720b8c8 fix: appveyor test failure (#3754)
* fix: appveyor test failure

* ci: bring back yarn cache

* ci: turn off matrix

* refactor: use babel instead of esm in jest

* refactor: use es modules in fixtures
2018-08-17 22:25:23 +02:00
Nathan Chase
5b98c1ccee updated style-resources-loader to version 1.2.1, added "css" as supported filetype in docs (#3738) 2018-08-16 14:48:26 +02:00
Clark Du
6bfa68d6fd fix: downgrade css-loader to 0.28.11 2018-08-16 12:05:51 +01:00
Clark Du
128dcbe266 refactor: add build.postcss.preset config 2018-08-15 15:22:26 +01:00
Clark Du
d73688292e
chore: upgrade webpackbar 2018-08-12 15:10:00 +01:00
Clark Du
ba2b63e131 refactor: keep error logs in quiet mode 2018-08-12 14:35:24 +01:00
Clark Du
7c7701d622 refactor: lint scripts and benchmarks 2018-08-10 15:18:54 +01:00
Clark Du
efb1d85f89 chore: upgrade dependencies 2018-08-10 15:08:30 +01:00
Clark Du
9b060f3be1
feat: upgrade to Babel 7 (#3667) 2018-08-10 14:45:58 +01:00
Clark Du
7ced73ebdb
refactor: lint files under bin folder (#3669) 2018-08-09 22:49:07 +01:00
Sébastien Chopin
d1f4deb448 license: Add banner on build and add our contributors to the list 2018-08-08 17:56:12 +02:00
Sébastien Chopin
a3926d5266 core: Show ip address if hostname is 0.0.0.0 2018-08-08 12:45:49 +02:00
Sébastien Chopin
823c298046 pkg: Add fancy keywords 2018-08-08 03:08:52 +02:00
HANATANI Takuma
ba7e6c735b Use original vue-ssr instead of copy (#3644) 2018-08-07 02:58:33 +02:00
Clark Du
b37855a217 chore: upgrade dependencies 2018-08-06 20:55:24 +01:00
Clark Du
e946df1dcf feat: upgrade css-loader to 1.0 2018-08-06 18:42:23 +01:00
Clark Du
fceb30b7a3
fix: upgrade vue modules 2018-08-01 20:55:26 +01:00
Clark Du
fbfea88f38
fix: upgrade vue for fixing ssr vulnerability 2018-08-01 20:48:29 +01:00
Clark Du
7998516b85
refactor: enable css thread pool (#3598) 2018-07-29 20:02:06 +01:00
Clark Du
cff76965f6 refactor: worker-pool uses default count and not collect coverage in appveyor 2018-07-24 11:44:08 +01:00
Clark Du
364be8dc68 refactor: extract common jest config 2018-07-24 11:44:08 +01:00
Clark Du
2b5c367efa refactor: use eslint-plugin-vue instead of eslint-plugin-html (#3517) 2018-07-12 14:03:50 +02:00
Sébastien Chopin
d31aeaad6c pkg: Upgrade vue-meta to 1.5.2 2018-07-05 18:17:03 +02:00
Clark Du
1dc8b067ab
chore: update dependencies (#3495) 2018-07-04 11:23:02 +01:00
Clark Du
feabdcafaa
chore: add detectOpenHandles for tracking down more jest exist details 2018-06-13 10:54:32 +01:00
Pooya Parsa
8acef8d01e feat: use postcss-preset-env instead of postcss-cssnext (#3291)
https://moox.io/blog/deprecating-cssnext
2018-06-02 01:41:55 +04:30
Pooya Parsa
3d2a7b29d1 use pify instead of utils.promisify for legacy build support 2018-06-01 16:54:37 +04:30
Pooya Parsa
727ef16920 fix(rollup): fix build warnings 2018-06-01 16:30:17 +04:30
Tatsuyuki Ishi
c954ad4763 feat(packaging): rollup build improvements (#3402)
* Add missing devDependencies

This avoids relying on transitively installed dependencies.

* rollup: avoid bundling any NPM module

This is a hack relying on how rollup-plugin-node-resolve filters the path, but it works as intended.
2018-06-01 15:59:10 +04:30
Pooya Parsa
7540213996 chore: upgrade dependencies and yarn.lock 2018-06-01 15:21:25 +04:30
Reza Haidari .A
0d0d83cbc9 fix(package): upgrade vue-loader (#3388) 2018-05-29 12:54:51 +04:30
yoyo837
8c2a69f9a9 chore: update dependencies 2018-05-24 09:07:36 +08:00
Clark Du
aaf44cf20a
fix: use esm@3.0.34 for now 2018-05-21 20:47:16 +01:00
Clark Du
28447ec9bd
chore: upgrade dependencies 2018-05-21 11:30:37 +01:00
Clark Du
e15790ad0c chore: upgrade dependencies 2018-05-13 21:11:40 +01:00
Clark Du
929817741b
chore: upgrade dependencies 2018-05-08 17:55:52 +01:00
Pooya Parsa
21882caa50 chore: upgrade dependencies 2018-05-02 12:52:36 +04:30
Clark Du
c5880cc1fb
chore: upgrade vue-loader to 15.0.5 2018-05-01 08:44:00 +01:00
Clark Du
b4a4a5527d
chore: upgrade dependencies 2018-04-27 21:35:49 +01:00
Pooya Parsa
c2c0a48705 upgrade dependencies 2018-04-25 13:42:11 +04:30
Pooya Parsa
db572a2f35 chore: update dependencies 2018-04-22 12:15:00 +04:30
Alexandre Villeneuve
85cfc625ee feat: optional pug support (#3206) 2018-04-21 11:57:48 +04:30
Clark Du
a4c84eced3
misc: move forceExit forward 2018-04-20 11:46:06 +08:00
xtx1130
fd79abfc19 test: add forceExit argv 2018-04-19 14:43:02 +08:00
Pooya Parsa
0aa6e9b2bf misc: update dependencies (webpack 4.6.0) 2018-04-18 11:02:37 +04:30
Pooya Parsa
8097d9af00 consola 1.3.0
fix: support fatal error when modules using different consola version
2018-04-15 12:22:39 +04:30
Clark Du
a565cff3f3
fix: Unknown word error when import css 2018-04-11 21:58:51 +08:00
Pooya Parsa
1ceccfca93 chore: update dependencies (vue-loader rc) 2018-04-09 12:08:24 +04:30
Clark Du
2be9d136d9
fix: expand is cli option rather than configuration 2018-04-08 22:43:04 +08:00
Pooya Parsa
14a6cd1237 webpack 4.5.0 2018-04-05 00:48:19 +04:30
Pooya Parsa
97cc10230d misc: update dependencies 2018-04-04 12:31:58 +04:30
Pooya Parsa
857da68786 chore: update dependencies 2018-04-02 15:28:48 +04:30
Pooya Parsa
d6d5ae26af chore: update dependencies 2018-04-01 23:58:31 +04:30
Pooya Parsa
ba18127d68 misc: update deps 2018-04-01 01:05:03 +04:30
Pooya Parsa
a5373f2464 revert showCursor 2018-04-01 00:29:53 +04:30
Pooya Parsa
5e595e7e66 misc: improve cli 2018-04-01 00:26:38 +04:30
Pooya Parsa
526a647ce1 misc: improve cli 2018-03-31 23:28:04 +04:30
Pooya Parsa
923164ec25 misc: stable consola version 2018-03-31 21:52:45 +04:30
Pooya Parsa
84774daa3f misc: update webpackbar to 2.2.0 for consola integration 2018-03-31 21:37:08 +04:30
Pooya Parsa
6894cd5026 misc: update consola to 0.1.0
jsdom compability
2018-03-31 21:20:32 +04:30
Pooya Parsa
59ff0df052 feat: use consola for logging 2018-03-31 20:52:14 +04:30
Pooya Parsa
38b70d4f23 chore: update dependencies 2018-03-29 23:23:05 +04:30
Pooya Parsa
948d56622e misc: improve onReady CLI experience (#3143) 2018-03-29 02:35:27 +04:30
Pooya Parsa
c42ef4c0af misc: improve progressbar consistency (#3143) 2018-03-29 01:21:31 +04:30
Pooya Parsa
7f6b7d8588 feat: mini-css-extract-plugin 0.3.0 and [contenthash] 2018-03-28 23:04:38 +04:30
Pooya Parsa
b5c3eabbaa fix: add misssing dependencies 2018-03-28 09:55:16 +04:30
Clark Du
ef7a42649d misc: improve coverage and packaging (#3121)
nuxt-start and nuxt/legacy are also coming!
2018-03-28 02:58:17 +04:30
Pooya Parsa
a8fae42c3a update dependencies (webpack 4.3.0) 2018-03-27 17:02:17 +04:30
Pooya Parsa
f08c075290 misc: update dependencies
vue-loader 15.0.0-beta.7 and webpackbar 1.1.3
2018-03-25 21:26:28 +04:30
Pooya Parsa
d8be95f295 feat: webpackbar 1.1.0 and profiler 2018-03-24 21:53:03 +04:30
Pooya Parsa
06067bf099 use webpackbar 2018-03-24 17:32:04 +04:30
Pooya Parsa
4ce0669c6e misc: update to vue-loader@15.0.0-beta.4 2018-03-24 12:04:31 +04:30
Pooya Parsa
1f3b69869d misc: update to vue-loader@15.0.0-beta.3 2018-03-24 01:18:27 +04:30
Clark Du
b70ff8710f fix: build fixtures show logs and exit process when error occurred 2018-03-23 13:53:37 +04:30
Pooya Parsa
ca80e0614d chore: update dependencies 2018-03-23 10:12:18 +04:30
Pooya Parsa
88bab354b0 perf(builder): experimental thread-loader and cache-loader 2018-03-23 01:51:17 +04:30
Pooya Parsa
7e308f9340 perf: speed up uglify-js by using parallel and cache options 2018-03-23 01:00:51 +04:30
Pooya Parsa
417e0bff40 misc(cli): improve loader 2018-03-22 23:59:05 +04:30
Pooya Parsa
d5462ea65a misc: vue-loader@15.0.0-beta.2 2018-03-22 20:30:23 +04:30
Pooya Parsa
de847a7cd0 remove webpack-stylish
more compact results and prevent duplicate warning and errors
2018-03-22 20:30:23 +04:30
Clark Du
4a5e1e1ad5 feat: upgrade vue-loader to 15.x.x 2018-03-22 20:30:23 +04:30
Clark Du
d828cbd04c feat: migrate to mini-css-extract-plugin 2018-03-21 15:37:34 +03:30
Pooya Parsa
b2e7fb624b misc(dependencies): webpack 4.2.0
https://github.com/webpack/webpack/releases/tag/v4.2.0
2018-03-21 15:36:18 +03:30
Pooya Parsa
4b26c68c3b perf: chunk splitting improvements 2018-03-21 13:33:57 +03:30
Pooya Parsa
13d17d241e feat: minimal logger for CI/Test environments 2018-03-21 01:41:30 +03:30
Pooya Parsa
db1ee4bc31 misc(package): update dependencies 2018-03-21 01:06:07 +03:30
Sébastien Chopin
d1d637f0c4
Merge pull request #3060 from nuxt/feat/asyncChunks
feat: make optimization and splitChunks configurable
2018-03-20 13:31:32 +01:00
Pooya Parsa
6a68e381b6 perf(spa): inline runtime chunk 2018-03-20 13:39:47 +03:30
Clark Du
027d204a13
fix: progress not accurate due to extra logs 2018-03-20 15:25:06 +08:00
Sébastien Chopin
e5a516bfaf
Merge pull request #3044 from dotnetCarpenter/webworker
web worker example
2018-03-19 19:00:50 +01:00
Pooya Parsa
3eea48899b update puppeteer to 1.2.0 2018-03-19 19:39:22 +03:30
Pooya Parsa
79d97b2be2 fix(ci): report coverage only for unit tests
jest + puppeteer: https://circleci.com/gh/nuxt/nuxt.js/581
2018-03-19 19:27:48 +03:30
Clark Du
db637c4d32
refactor: move tests to unit folder 2018-03-19 18:06:45 +08:00
Pooya Parsa
a4b4688f7c split e2e tests 2018-03-19 11:52:00 +03:30
Pooya Parsa
4500abc1a8 set maxWorkers=2 for test:unit 2018-03-19 11:27:28 +03:30
Pooya Parsa
731ce56067 add circleCI pipeline 2018-03-19 10:46:22 +03:30
Clark Du
322caa4305
refactor: temporarily remove --coverage in jest 2018-03-19 14:32:52 +08:00
Clark Du
c12c5502ee
refactor: test and coverage script 2018-03-19 13:53:48 +08:00
Clark Du
f537abe067
refactor: build-fixtures 2018-03-19 13:17:48 +08:00
Clark Du
b4727eb4c4
test: refactor generate tests 2018-03-19 12:21:04 +08:00
Pooya Parsa
05e3da6e51 fix build scripts 2018-03-19 04:37:47 +03:30
Pooya Parsa
0b5824a765 fix windows 2018-03-19 04:29:54 +03:30
Pooya Parsa
19775d58f7 perf(build-fixtures): parallel builds 2018-03-19 04:21:06 +03:30
Pooya Parsa
584b943688 fix test script 2018-03-19 03:23:36 +03:30
Pooya Parsa
c4068c3a70 working tests 2018-03-19 03:11:14 +03:30
Pooya Parsa
07c40a913a build-fixtures script 2018-03-18 23:41:43 +03:30
Pooya Parsa
ed22e78a75 basic migration to jest 2018-03-18 23:01:32 +03:30
Pooya Parsa
42a23f98d1 add jest 2018-03-18 11:26:41 +03:30
dotnetCarpenter
1ef0286e9a added missing eslint-plugin-vue - fixes #3045 and CI tests 2018-03-18 01:52:06 +01:00
Pooya Parsa
4886df22dc Merge branch 'dev' into feat/esm 2018-03-17 13:56:17 +03:30
Pooya Parsa
986c545627 ava: remove -s 2018-03-17 13:32:42 +03:30
Pooya Parsa
8ad328f8a9 ci: increase timeout 2018-03-17 13:22:57 +03:30
Pooya Parsa
7fbc8f9eec try to prevent random ci fails 2018-03-17 13:20:34 +03:30
Pooya Parsa
46216e6548 improve eslint 2018-03-16 23:22:03 +03:30
Pooya Parsa
f20ad95b2b remove pretty-error
https://github.com/standard-things/esm/wiki/improved-errors
2018-03-16 20:32:56 +03:30
Pooya Parsa
5abf524b15 Merge branch 'dev' into feat/esm 2018-03-16 19:48:57 +03:30
Pooya Parsa
53e98a958c feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
Clark Du
52068dcb88 refactor: use @nuxtjs/friendly-errors-webpack-plugin 2018-03-16 17:59:18 +08:00
Pooya Parsa
b0f25cbadf deps: add esm 2018-03-16 13:03:41 +03:30
Clark Du
4896820390
chore: upgrade dependencies and remove unnecessary ones 2018-03-15 15:43:02 +08:00
Clark Du
0591a10184
chore: upgrade vue to 2.5.16 2018-03-15 14:59:42 +08:00
Clark Du
f7d9a6eb96
chore: upgrade vue-meta to 1.4.4 for fixing offsetParent TypeError 2018-03-14 11:05:37 +08:00