Commit Graph

496 Commits

Author SHA1 Message Date
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