Commit Graph

3108 Commits

Author SHA1 Message Date
Clark Du
0393bf781c feat: use understandable file names for analyze mode (#4014)
* feat: use understandable file names for analyze mode

* test: asset name for analyze mode

* refactor: add warning message for analyze mode

* refactor: move analyze warning to builder

* test: analyze warning message
2018-09-30 18:11:20 +02:00
Pooya Parsa
8f06a187db feat(builder): allow to customize or disable minimizer plugins (#4018)
* feat(builder): allow to customize or disable minimizer plugins

* feat: support optimization.minimize

https://webpack.js.org/configuration/optimization/#optimization-minimize

* fix typos
2018-09-30 18:09:06 +02:00
Clark Du
1bf6385d48 fix: wrong extension for dev mode css file 2018-09-29 21:40:04 +01:00
Clark Du
f08cc76055 exmaple: remove unnecessary transpile for vuetify 2018-09-29 21:18:33 +01:00
Lajos Veres
74eb5a6302 * Typofixes - https://github.com/vlajos/misspell-fixer (#4013) 2018-09-29 22:05:20 +02:00
Pooya Parsa
0c1d94a2c7 fix(cli): apply default value for NODE_ENV environment variable (#4003) 2018-09-28 18:23:25 +02:00
Pooya Parsa
d7fa66ddde
meta: improve github templates (#4004) 2018-09-28 13:56:13 +03:30
Sébastien Chopin
bb78a92709 fix: vue-meta version to 1.5.3 2018-09-27 16:31:49 +02:00
renovate[bot]
1fef39d488 fix(deps): update dependency cssnano to ^4.1.4 (#3990) 2018-09-27 17:21:05 +03:30
renovate[bot]
163cfab240 chore(deps): update all non-major dependencies (#3986) 2018-09-27 11:05:12 +03:30
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
renovate[bot]
931bc88b12 chore: configure renovate bot (#3959) 2018-09-27 01:38:21 +03:30
Sébastien Chopin
1ab2483622
Update package.json 2018-09-26 19:10:46 +02:00
Dmitry Molotkov
4061b6fd87 dont allow to cache error pages (#3962) 2018-09-25 17:16:15 +02:00
Dmitry Molotkov
ccc9e7e174 add missing dep for legacy and start (#3963) 2018-09-25 17:15:19 +02:00
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
Tatsuyuki Ishi
55a153c7d0 fix: expose loading.throttle as an option (#3953) 2018-09-24 18:30:22 +01:00
Alexander Lichter
c8693da621 chore: update core team info (#3950) 2018-09-24 17:39:15 +02:00
Alexander Lichter
054ea7931a refactor: client store code style (#3683) 2018-09-24 02:15:44 +03:30
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
Dmitry Molotkov
9c3702c819 fix: use options.server values port, host, socket (#3942)
* user options.server values port, host, socket

* fix: Remove default value
2018-09-23 10:49:51 +01:00
Sébastien Chopin
7a68e1dde1
contributors: Add two new members 2018-09-20 22:57:16 +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
Pooya Parsa
e4d7bc7018 chore: sync nuxt-legacy and nuxt-start versions 2018-09-21 01:04:18 +04:30
Pooya Parsa
a7be6349f5 chore(package): automatically sort dependencies 2018-09-21 01:04:08 +04:30
Pooya Parsa
2f781eadbb chore(yarn.lock): update postcss-custom-properties to 8.0.4 2018-09-21 00:58:16 +04:30
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
Sean
73d1b9d846 fix: correct typo in "Auth External API" example (#3919)
<!--- 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: -->
- [x] 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" -->

Corrected `crendentials` to `credentials` in the ["Auth External API" example](https://github.com/nuxt/nuxt.js/tree/dev/examples/auth-jwt). Text-only change.

## 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-20 10:15:16 +01:00
Sébastien Chopin
879ea846a4 fix: Display stack when unhandled error when generating a route 2018-09-19 12:40:05 +02:00
Clark Du
411bb1904e refactor: always use process.client instead of process.browser (#3910) 2018-09-19 13:30:23 +04:30
Clark Du
1c34651baa fix: css-loader 1.0 removed alias (#3741)
BREAKING CHANGE
2018-09-19 13:16:21 +04:30
Sébastien Chopin
65432e6aa2
examples: Upgrade to nuxt-edge (#3911) 2018-09-18 18:26:25 +02:00
Tatsuyuki Ishi
d1f6f0dc09 loading: add throttle option to skip progress for fast loads (#3886)
* loading: add throttle option to skip progress for fast loads

* Disable some tests relying on internals
2018-09-18 18:16:27 +02:00
Dmitry Molotkov
5af65527b0 allow plugin in directory with index.js file (#3908)
* allow plugin in directory with index.js file

* add test for plugin in dir

* fix: refacto plugins key
2018-09-18 18:06:55 +02:00
Jee Hyuk Won (Tony)
16898f8cfa fix: ByLine component props error fixed and other some errors fixed in with-amp example (#3871)
* ByLine component props error fixed and other some errors fixed

* linting problem fixed

* export nuxt config by esmodule

* upgrade dependency
2018-09-18 17:34:01 +02:00
Sébastien Chopin
6975655d78
feat: Overwrite store.registerModule (#3909)
* feat: Overwrite store.registerModule

Make `store.registerModule` works seamlessly with server-side rendering.

* fix: test failure
2018-09-18 17:21:25 +02:00
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
2dd2f2aea9 fix: build failure 2018-09-17 12:14:17 +01:00
Sébastien Chopin
c2cca17cc7
Delete LICENSE.md 2018-09-17 12:39:08 +02:00
Sébastien Chopin
034fdab060
Create LICENSE 2018-09-17 12:38:17 +02:00
Sébastien Chopin
0d4f95ea0f
readme: Add Tidelift support 2018-09-17 12:32:57 +02:00
Pim
226b90d4ae fix: prevent removing project by mistake due to build or generate paths (#3869) 2018-09-14 11:36:44 +04:30
Clark Du
40ad691f60 chore(release, ci): use npm audit instead of nsp (#3883) 2018-09-14 11:12:50 +04:30
Alexander Lichter
6fc78ea024 Fix legacy gzip warning (#3884)
Fix legacy gzip warning. Thanks to @liam-potter for pointing that out!

Related PR: #3863 

## Types of changes

- [x] Bug fix (non-breaking change which fixes an issue)

## Checklist:
- [x] All new and existing tests passed.
2018-09-13 16:07:34 +01:00
Clark Du
2ee5a2982a chore: update packages 2018-09-13 10:27:56 +01:00
Clark Du
0318a82177 fix: no-ssr 1.0 supports placeholder tag 2018-09-13 10:11:29 +01:00
Clark Du
281e2dc600 test: skip sockets test in windows platform 2018-09-13 10:07:34 +01:00