Commit Graph

3124 Commits

Author SHA1 Message Date
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
Clark Du
85c9c00b73 fix: no-ssr test error 2018-09-13 10:02:49 +01:00
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
Clark Du
c77fa479f6 feat(webpack, builder): allow extending loader options (#3799) 2018-09-10 12:57:01 +04:30
Alexander Lichter
1e0219543a feat: automatically include env variables starting with NUXT_ENV_ (#3862) 2018-09-09 01:38:25 +04:30
Alexander Lichter
f87992530e feat(webpack/client): minify extracted css assets (#3857) 2018-09-09 01:18:46 +04:30
Alexander Lichter
b74d537cba feat(renderer): make compression middleware customizable (#3863) 2018-09-09 00:48:14 +04:30
Sébastien Chopin
baaf67def6 Revert "env: Add NUXT_ROOT_DIR env to work with pm2"
This reverts commit 17275d52df.
2018-09-06 14:35:51 +02:00
Sébastien Chopin
17275d52df
env: Add NUXT_ROOT_DIR env to work with pm2 2018-09-06 14:27:56 +02:00
Clark Du
14e608bf43 refactor: tiny change on filename escape pattern 2018-09-05 16:13:35 +01:00
Clark Du
3ca2f02674
fix: move babel polyfill to dependencies 2018-09-04 22:05:19 +01:00
Alexander Lichter
3a0f094a7a chore: add a PR template (#3840) 2018-09-03 10:30:25 +01:00
Alexander Lichter
31ec2a24d4 feat: replace opencollective-cli with @nuxtjs/opencollective (#3836) 2018-09-02 17:19:18 +02:00
Alexander Lichter
6e8a51509c feat(builder, module): allow error layouts to be added through addLayout. closes #3194. (#3834) 2018-09-02 13:52:10 +04:30
Jonas Galvez
72479687d9 feat(core, cli): builtin support of https and unix sockets (#3831)
Co-authored-by: Aurélien Chrétien <aurelien@manager.one>
Co-authored-by: Rémy Sanchez <remy.sanchez@hyperthese.net>
2018-09-02 13:50:25 +04:30
Pooya Parsa
4f6a048a4b fix(ci): use registry.npmjs.org instead of registry.yarnpkg.com 2018-09-02 13:27:44 +04:30
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
Dmitry Molotkov
00ea57937e fix(nuxt-start): add missing dependencies (#3832) 2018-09-02 00:57:10 +04:30
Ahad Birang
bceddf5bcf feat(router): add support for props and alias (#3818) 2018-09-01 09:03:28 +04:30
Indrek Ardel
674e9ed545 feat(builder, webpack): allow loading webp images as assets (#3827) 2018-09-01 08:56:10 +04:30
Clark Du
40aae73d5b
feat: enable runtimeChunk for extracting manifest chunk 2018-08-31 22:47:49 +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
Clark Du
fa01cd76ff
fix: type of buildSuffix 2018-08-31 20:56:21 +01:00
Clark Du
76d6ab4190
refactor: make build suffix dynamically 2018-08-31 20:55:13 +01:00
Clark Du
510c9e2dc4
fix: convertTo suffix log 2018-08-31 20:52:24 +01:00
Clark Du
783ef46cff
refactor: simplify package.js 2018-08-31 20:48:33 +01:00
Clark Du
c20034b994
refactor: use logger in package.js 2018-08-31 20:32:30 +01:00
Clark Du
fe2dd22c14
refactor: resolve packageJS one time 2018-08-31 20:26:51 +01:00
Pooya Parsa
4ad1528b84 perf(circleCI): build edge on release step
Without this we have to persist everything again at build step which adds ~1min
2018-08-31 23:35:55 +04:30
Pooya Parsa
2e5edaa572 fix(circleci): persist all changes for release step 2018-08-31 23:26:37 +04:30
Pooya Parsa
fdd88547f7 fix(build/package): trim logs 2018-08-31 23:26:26 +04:30
Pooya Parsa
f85465386c
feat: move nuxt-legacy and nuxt-start into packages (#3824) 2018-08-31 22:51:41 +04:30
Clark Du
4311aca5cb refactor: update nuxt-start dependencies dynamically (#3816) 2018-08-30 20:47:41 +04:30
Clark Du
aeb33e0c94 fix: nuxt-start-edge missing resources 2018-08-29 07:45:19 +01:00