Jonas Galvez
14f43da9b2
fix: serialize external function ( #4916 )
2019-02-01 17:01:16 +03:30
Alexander Lichter
569b6aab9c
refactor: typos ( #4922 )
2019-02-01 16:38:47 +03:30
Kevin Marrec
d7b57e0d97
improvement(ts): transpileOnly when using nuxt-ts start
( #4906 )
2019-02-01 16:35:03 +03:30
Xin Du (Clark)
0223e56dd4
fix: remove cache-loader for external resources ( #4915 )
2019-02-01 16:33:32 +03:30
Xin Du (Clark)
f70645e5aa
fix: revert templatFiles name ( #4924 )
2019-02-01 15:26:26 +03:30
Clark Du
fb13b41cf1
Merge remote-tracking branch 'upstream/2.x' into dev
2019-01-30 20:24:13 +00:00
Xin Du (Clark)
4c5a59e149
refactor: generate routes and template files in builder ( #4883 )
2019-01-30 16:54:26 +00:00
Clark Du
32b0f155c9
v2.4.2
2019-01-30 15:15:05 +00:00
Pooya Parsa
3348cd6cd5
release: 2.4.1 ( #4889 )
...
# Bugfixes
* Handle `async` components correctly when using `nuxt-ts` (PR #4886 )
* Fix `extractCSS` in `dev` mode (PR #4888 )
* Correctly apply class when using `linkPrefetchedClass` (PR #4893 )
2019-01-30 14:09:09 +00:00
Clark Du
ade4bbe486
v2.4.1
2019-01-30 14:07:33 +00:00
phof
b2abb499f8
Fixes #4882 ( #4893 )
2019-01-30 14:01:39 +00:00
phof
0088b333f8
Fixes #4882 ( #4893 )
2019-01-30 11:34:33 +00:00
Xin Du (Clark)
a614fd3f81
hotfix: extractCSS error in dev mode ( #4892 )
2019-01-30 01:37:55 +03:30
Xin Du (Clark)
de6ca3a4f9
hotfix: extractCSS error in dev mode ( #4892 )
2019-01-30 01:37:13 +03:30
Xin Du (Clark)
2b30915950
hotfix: disable extract-css-chunks-webpack-plugin in dev mode ( #4888 )
2019-01-29 23:59:43 +03:30
Xin Du (Clark)
928a230f91
hotfix: disable extract-css-chunks-webpack-plugin in dev mode ( #4888 )
2019-01-29 23:59:21 +03:30
Kevin Marrec
792e9f4763
fix tsconfig + remove forgotten duplicated test ( #4886 )
2019-01-29 23:04:23 +03:30
Xin Du (Clark)
96bab9f09c
test: unit tests for @nuxt/util ( #4880 )
2019-01-29 22:53:42 +03:30
Kevin Marrec
774823ba41
fix tsconfig + remove forgotten duplicated test ( #4886 )
2019-01-29 22:49:21 +03:30
renovate[bot]
1501592581
chore(deps): update all non-major dependencies ( #4872 )
2019-01-29 11:07:10 +00:00
Xin Du (Clark)
e22a282eab
test: unit tests for generator ( #4857 )
2019-01-29 10:16:45 +00:00
Xin Du (Clark)
59be77a2f3
feat: .nuxtignore ( #4647 )
2019-01-29 09:31:14 +00:00
Clark Du
5f221b4b7e
v2.4.0
2019-01-28 17:41:28 +00:00
Kevin Marrec
f18ce4e5d4
fix(ts): better tsconfig.json
handling & improve tests ( #4856 )
...
* fix(ts): make ts-node register the right `tsconfig.json`
* setup guard & change require in nuxt-ts bin
* improve tests + test guard
* remove typescript-custom fixture
* Move TS unit test from `test/unit` to `packages/typescript/test`
* fix tests
2019-01-28 16:59:13 +03:30
renovate[bot]
3d0bc199ed
chore(deps): update all non-major dependencies ( #4864 )
2019-01-28 00:09:39 +03:30
renovate[bot]
4325feb072
chore(deps): update all non-major dependencies ( #4860 )
2019-01-27 18:25:52 +03:30
renovate[bot]
351f5c7bac
chore(deps): update all non-major dependencies ( #4851 )
2019-01-25 14:28:14 +03:30
Xin Du (Clark)
43ce8e97bc
fix: match subdir under node_module in transpile ( #4850 )
2019-01-24 16:42:02 +01:00
Clark Du
a51ba8dd93
fix: remove unnecessary isDev in template/server
2019-01-24 14:01:33 +00:00
Kevin Marrec
55dc7f4475
fix(ts): keep baseUrl property in generated tsconfig.json ( #4843 )
2019-01-24 14:14:02 +03:30
Kevin Marrec
c39cf841a3
fix(ts): fix default tsconfig.json
( #4842 )
...
[release]
2019-01-24 01:11:00 +03:30
andoshin11
762305b468
feat(webpack): options.build.loaders.vueStyle ( #4837 )
2019-01-23 22:18:02 +03:30
renovate[bot]
ec732ee1ac
chore(deps): update all non-major dependencies ( #4835 )
2019-01-23 22:17:17 +03:30
Kevin Marrec
e57c20a5e8
fix(ts): missing tsconfig.json
on npm published version ( #4840 )
2019-01-23 22:15:37 +03:30
Kevin Marrec
2a1ee96a4b
feat(ts): auto generate tsconfig.json ( #4776 )
...
* Bundle `@types/node` into `nuxt-ts` distribution
* feat(ts): Autogenerated tsconfig.json
* fix(examples): Update typescript examples
* fix(ts): Add `dist` & `tsconfig.json` to `pakage.json` files
* fix: add missing new line at the end of generated `tsconfig.json`
* add suffix if needed to `tsconfig.json` types during package build
* use `readJSON` over `readJSONSync`
* fix indentation in `nuxt-ts/tsconfig.json`
* use writeJson instead of writeFile
* split `nuxt-ts/src` in 2 functions + rootDir parametr + add tests
* add `fs-extra` to dependencies to prevent build warning
* JSON everywhere instead of JSON/Json
* fix: missing call to generateTsConfigIfMissing
* ask confirmation for tsconfig.json generation
* improvement: let compilerOptions.module as default
* improvements
* move from github link to friendly linkable local path
* add resolveJsonModule in default config
Co-Authored-By: kevinmarrec <kevin@marrec.io>
* Move `nuxt-ts` logic to `@nuxt/typescript`
* Upgrade to `ts-node@8.0.1`
2019-01-23 10:53:52 +01:00
Kevin Marrec
06a18ca09e
fix(config): define once default nuxt config filename ( #4814 )
2019-01-22 23:22:43 +03:30
renovate[bot]
675e3b6e99
chore(deps): update all non-major dependencies ( #4829 )
2019-01-22 17:18:18 +00:00
renovate[bot]
4ab3524551
chore(deps): update all non-major dependencies ( #4816 )
2019-01-21 23:40:08 +03:30
Xin Du (Clark)
e3cc28c31e
refactor: encapsulate pages validation into a separate function ( #4826 )
...
* refactor: encapsulate pages validation into a separate function
* refactor: remove else
2019-01-21 22:10:37 +03:30
Xin Du (Clark)
3966b265f9
fix: watch custom patterns only when it exists ( #4823 )
2019-01-21 15:14:17 +00:00
Xingkai Wang
fe57a5a929
fix: $nuxt is used instead of globalName ( #4743 )
2019-01-21 16:53:07 +03:30
Xingkai Wang
dcdbaba710
feat(webpack): support build.hotMiddleware.client
( #4796 )
2019-01-21 15:25:49 +03:30
Sébastien Chopin
5f0b34fcd4
fix: hotfix for vuex hmr ( #4801 )
...
* hotfix: Vuex HMR and warning when exporting an object for state
* hotfix: Handle sub modules too
* Update store.js
2019-01-21 11:42:06 +01:00
Kevin Marrec
6a68f4e981
fix(webpack): prevent terser mangling html/vue reserved tags ( #4821 )
2019-01-21 00:49:53 +03:30
Xin Du (Clark)
b23f5c9b4b
feat(server): timing option for Server-Timing
header ( #4800 )
2019-01-19 21:44:54 +03:30
Dmitry Molotkov
a7ba73ed13
fix: exit with proper error code on errors ( #4806 )
2019-01-19 16:19:57 +03:30
Clark Du
9b3e7be3e7
fix: invalid plugin mode warning for all
2019-01-19 12:27:15 +00:00
Amos Wong
602cf12216
fix(server): allow listening on number 0 port ( #4781 )
2019-01-19 15:53:18 +03:30
Kevin Marrec
45afc3fc3a
fix(ts): fix missing process type definitions and refactor types tests ( #4798 )
...
* fix(ts): add missing `process.mode` & `process.modern` typedefs
* refactor types tests + add tests for process typedefs
2019-01-19 15:50:06 +03:30
Kevin Marrec
b202361a1b
fix(ts): prevent checking types twice in modern mode & use consola as logger ( #4803 )
2019-01-19 15:40:21 +03:30
Xin Du (Clark)
a616c09b22
feat(test): unit tests for core/config module ( #4760 )
...
* feat(test): enable tests in packages
* fix: wait error hook
* test: entry and hookable in core
* fix(test): options snapshot in windows
* refactor(test): simpilify jest.fn
* test: module in core
* test: complete module test
* test: add test for resolver in core
* test: update config snapshot
* test: nuxt in core module
2019-01-19 13:00:51 +01:00
Sébastien Chopin
deadc48f19
fix(vue-app): Fix Vuex HMR & refactor for better modules usage ( #4791 )
...
* fix(vue-app): Refactor store for better modules usage
* Update packages/vue-app/template/store.js
Co-Authored-By: Atinux <seb@orion.sh>
* fix: tests and code style
2019-01-18 12:28:34 +01:00
renovate[bot]
7e5cb42275
chore(deps): update all non-major dependencies ( #4785 )
2019-01-18 00:50:00 +03:30
Alexander Lichter
40fbe5ba47
refactor: cleanups and code style improvements ( #4788 )
2019-01-18 00:48:29 +03:30
Kevin Marrec
db4001dae1
fix(ts): Add missing loading
property to Component options ( #4786 )
2019-01-17 18:29:41 +01:00
Kevin Marrec
6694cf706b
fix(ts): fix $nuxt.$loading
typedefs ( #4778 )
...
* feat(ts): improve typedefs of `$nuxt.$loading`
* fix: remove useless new line
2019-01-17 18:29:01 +01:00
Pim
9eab5589c0
fix: add iron browser as modern ( #4775 )
2019-01-17 00:15:46 +03:30
Pim
0c64410c6d
chore: don't show stable version number when running from git/source ( #4756 )
2019-01-16 21:23:14 +03:30
Xin Du (Clark)
9c9d519576
refactor: simplify return value in addModule ( #4766 )
2019-01-16 21:20:45 +03:30
renovate[bot]
381e0af52f
chore(deps): update dependency esm to ^3.1.0 ( #4772 )
2019-01-16 21:16:02 +03:30
Alexander Lichter
ec17804c48
feat: add exclude regex array for generated pages ( #4754 )
2019-01-16 21:13:56 +03:30
Clark Du
5f6361f6db
fix: not use deprecated option esm in resolver
2019-01-16 17:24:36 +00:00
renovate[bot]
a1782600f7
chore(deps): update all non-major dependencies ( #4761 )
...
TODO: Remove warn fix for rollup-plugin-license
2019-01-16 14:54:15 +03:30
Clark Du
36ca945d00
fix: wait error hook
2019-01-15 11:02:44 +00:00
Clark Du
e594f09914
test: mock require.main
2019-01-14 20:31:39 +00:00
Clark Du
d02eb2f958
fix(test): remove local paths
2019-01-14 19:47:00 +00:00
Clark Du
bd1ae0b9df
test: add unit tests for @nuxt/config
2019-01-14 17:40:15 +00:00
Clark Du
746d4ffb0a
test: cli list
2019-01-14 11:56:30 +00:00
renovate[bot]
dbf2711f0a
chore(deps): update all non-major dependencies ( #4742 )
2019-01-13 00:08:21 +03:30
Xin Du (Clark)
ef05e005a6
refactor: add module not found fatal message in cli/imports ( #4741 )
2019-01-12 23:51:43 +03:30
Kevin Marrec
dfaffc0183
feat(nuxt-ts): typescript support improvements ( #4750 )
2019-01-12 23:51:21 +03:30
Kevin Marrec
8c915887f4
chore(deps): fix yarn.lock ( #4747 )
...
* chore(deps): fix yarn.lock
* Bump @vue/babel-preset-jsx to 1.0.0-beta.2
* yarn.lock bump
2019-01-12 07:43:22 +00:00
Alexander Lichter
4b9e8e75d8
fix: require postcss module via resolver ( #4737 )
2019-01-11 15:09:22 +00:00
renovate[bot]
4587a221df
chore(deps): update all non-major dependencies ( #4733 )
2019-01-11 13:10:33 +03:30
Xin Du (Clark)
da8a3d84bb
feat: replace babel-plugin-transform-vue-jsx with @vue/babel-preset-jsx ( #4740 )
2019-01-11 09:39:07 +00:00
Sébastien Chopin
3ebd6b707e
hotfix(layout): Hot fix for layout middleware
2019-01-10 19:57:32 +01:00
Sébastien Chopin
521ac20e29
fix(layout-middleware): Fix issue #4724
2019-01-10 18:59:56 +01:00
renovate[bot]
2bde11f77d
chore(deps): update all non-major dependencies ( #4731 )
2019-01-10 19:46:42 +03:30
Clark Du
0a21d4b34c
fix: undefined script in modern mode
2019-01-10 11:17:28 +00:00
William Chong
68d8d54e83
fix: use case insensitive regex for webpack loader rules ( #4728 )
2019-01-09 23:18:34 +03:30
Xin Du (Clark)
f85ac94a87
fix(builder, module): addLayout and nuxt.config precedence over auto-scanned layouts ( #4702 )
2019-01-09 14:27:46 +03:30
Pim
9c6df495d8
fix: add option to rewatch on path after raw fs event ( #4717 )
2019-01-09 14:18:28 +03:30
Alexander Lichter
eef2af35e4
fix: no false positives for plugins with index.js ( #4714 )
...
resolves #4713 [release]
2019-01-08 22:55:56 +03:30
Clark Du
ecf76d91f1
fix: SafariFix is not injected in client modern mode
2019-01-08 13:21:13 +00:00
renovate[bot]
a053e58534
chore(deps): update dependency postcss to ^7.0.8 ( #4709 )
2019-01-08 15:39:16 +03:30
renovate[bot]
51c018acd3
chore(deps): update all non-major dependencies ( #4704 )
2019-01-08 10:48:49 +03:30
Xin Du (Clark)
af76e07b56
fix(builder): js layout ( #4701 )
...
[release]
2019-01-07 15:44:51 +03:30
Kevin Marrec
b38e0aac43
feat(ts): typescript examples + improve vue-app
typings ( #4695 )
2019-01-06 12:37:17 +03:30
renovate[bot]
3ccfcedb65
chore(deps): update all non-major dependencies ( #4692 )
2019-01-06 12:36:24 +03:30
Ricardo Gobbo de Souza
6436e3b080
fix(builder): layouts condition ( #4641 )
2019-01-06 11:35:11 +03:30
Alexander Lichter
78433b599e
refactor: use is prefix for booleans ( #4674 )
2019-01-06 11:32:28 +03:30
Pim
605b76073b
chore: lint vue-app templates ( #4689 )
2019-01-06 11:26:59 +03:30
renovate[bot]
d063cb09e8
chore(deps): update all non-major dependencies ( #4691 )
2019-01-04 23:46:28 +00:00
Pooya Parsa
ee0096bf59
feat: nuxt-ts ( #4658 )
...
[release]
2019-01-04 23:00:28 +03:30
renovate[bot]
6168c3c9f3
chore(deps): update dependency webpack-dev-middleware to ^3.5.0 ( #4690 )
2019-01-04 21:49:16 +03:30
renovate[bot]
e40022138e
chore(deps): update all non-major dependencies ( #4687 )
2019-01-04 17:06:53 +00:00
Clark Du
89f88669c1
fix: server build failed in dev mode
2019-01-04 16:33:50 +00:00
Clark Du
30fef5d7a0
fix: enable FriendlyErrorsPlugin when build.friendlyErrors is true
2019-01-04 16:09:10 +00:00
pooya parsa
6178c470ba
perf(ssr): remove extra imprts from server.js
2019-01-04 00:17:06 +03:30
Pooya Parsa
bdb6791e40
feat(webpack,cli): standalone build mode ( #4661 )
...
* feat(webpack,cli): standalone build mode
* revert typo
2019-01-03 23:57:50 +03:30
Clark Du
0c15b29f7a
fix: wrong type checking for loading.duration
...
[release]
2019-01-03 13:33:29 +00:00
Clark Du
e77c2db93e
fix: use triple equals in loading.throttle [release]
2019-01-03 13:31:00 +00:00
Clark Du
2d7480457d
fix: loading.throttle can not be 0
2019-01-03 13:24:56 +00:00
renovate[bot]
438b430a2e
chore(deps): update all non-major dependencies ( #4670 )
2019-01-03 01:22:25 +03:30
Dmitry Molotkov
d3b939690c
fix(server): process browser version with non semver versions ( #4673 )
2019-01-03 01:22:09 +03:30
Alexander Lichter
471a32a1a8
feat: add styleExtensions ( #4671 )
2019-01-03 01:00:19 +03:30
Pooya Parsa
7dd33fedd2
feat(builder): validate vue-app dependencies and suggest fix ( #4669 )
2019-01-02 14:17:19 +00:00
Xin Du (Clark)
7ff4058318
fix: Vue.component(RouterLink) is undefined in vue-router 3.0.0 ( #4668 )
2019-01-02 13:06:47 +01:00
renovate[bot]
b210724e60
chore(deps): update all non-major dependencies ( #4662 )
2019-01-02 12:06:24 +03:30
Alexander Lichter
867e8e1e84
fix: plugins for modern mode ( #4659 )
2018-12-30 14:28:42 +00:00
Alexander Lichter
8786ff7317
fix: require serverMiddleware object with path and handler ( #4656 )
2018-12-30 01:04:47 +03:30
renovate[bot]
d93a3e28b6
chore(deps): update dependency webpack to ^4.28.3 ( #4654 )
2018-12-29 16:30:46 +03:30
renovate[bot]
cf451ebb9b
chore(deps): update all non-major dependencies ( #4640 )
2018-12-29 13:51:23 +03:30
Sébastien Chopin
f319033928
feat(nuxt-link): Smart prefetching and $nuxt.isOffline ( #4574 )
...
* feat(nuxt-link): Improve <n-link> and add automatic prefetch
* Update packages/vue-app/template/components/nuxt-link.js
Co-Authored-By: Atinux <seb@orion.sh>
* add missing space
* feat(nuxt-link): Split in two components for smaller bundle
* fix(vue-app): Use requestIdleCallback
* chore(vue-app): Improve nuxt prefetch strategy for nuxt links
* chore(vue-app): Add .isOnline and handle it for prefetch
* chore(vue-app): Add .isOffline and use it
* chore(vue-app): Add .isOffline
* chore(server): Check is options.modern is given in dev mode
* chore(vue-app): Add intersection-observer polyfill if router.prefetchLinks is 'polyfill'
* chore(vue-app): Remove polyfill
* chore(vue-app): Use only process.client
* chore(vue-app): Add TS typings for .isOnline and isOffline
* chore(vue-app): Update typings by @kevinmarrec
* chore(vue-app): Reorder names
* examples(nuxt-prefetch): Add Nuxt prefetching example
* chore(vue-app): Add router.linkPrefetchedClass
* lint(vue-app): Fix lint
* chore(vue-app): Use intersectionRatio, recommend by @maoberlehner
* fix(lint): Fix linting issues
* lint(vue-app): Fix again (lol)
* types(vue-app): Update TS typings
* chore(vue-app): Update Vetur tags description
* fix(vue-app): Use prefetchClass
* chore(vue-app): Disable linkPrefetchedClass by default
2018-12-28 17:27:03 +01:00
Clark Du
35151150fd
fix: wrong devMiddleware in non-modern dev mode
2018-12-28 13:26:46 +00:00
renovate[bot]
197be144ba
chore(deps): update dependency terser-webpack-plugin to ^1.2.1 ( #4637 )
...
don't crash when no extracted comments
2018-12-27 20:55:43 +03:30
renovate[bot]
61dc2dfec9
chore(deps): update dependency css-loader to ^2.1.0 ( #4628 )
2018-12-25 23:57:25 +03:30
Xin Du (Clark)
df9b32a1c4
fix: hmr in modern mode ( #4623 )
2018-12-24 19:56:39 +03:30
renovate[bot]
8cd19f0bd4
chore(deps): update dependency serialize-javascript to ^1.6.0 ( #4625 )
2018-12-24 19:10:45 +03:30
Sébastien Chopin
498c4f11d3
feat: better stack traces for SSR error, show error with correct URL and use eventsource-polyfill ( #4600 )
...
[release]
2018-12-23 12:10:36 +03:30
Kevin Marrec
f1377a7f8d
feat(ts): provide type checking through fork-ts-checker-webpack-plugin
( #4611 )
2018-12-23 11:13:51 +03:30
Dmitry Molotkov
8dc15d07b7
fix: allow keepAliveProps for nuxt component ( #4610 )
...
[skip ci]
2018-12-23 11:13:36 +03:30
renovate[bot]
bf4803af19
chore(deps): update dependency cache-loader to v2 ( #4608 )
2018-12-23 02:18:22 +03:30
Kevin Marrec
4d5274215a
feat(ts): add TSX support ( #4613 )
2018-12-23 02:12:20 +03:30
renovate[bot]
a17bb1704d
chore(deps): update all non-major dependencies ( #4605 )
...
[skip release]
2018-12-23 01:33:22 +03:30
Xin Du (Clark)
324135df51
refactor: @nuxt/utils ( #4609 )
2018-12-23 00:35:13 +03:30
Kevin Marrec
5458ba5b10
chore: fix dependencies order ( #4612 )
...
[skip ci]
2018-12-22 01:44:16 +03:30
renovate[bot]
c432ec4ec7
chore(deps): update dependency file-loader to v3 ( #4599 )
2018-12-21 19:38:47 +00:00
Clark Du
90f42a618e
refactor: remove unused properties in base config
2018-12-21 15:18:14 +00:00
Clark Du
15ad7d03c9
refactor: remove unused properties in style-loader
2018-12-21 15:15:48 +00:00
renovate[bot]
0491c8a7e7
chore(deps): update dependency webpack to ^4.28.1 ( #4602 )
...
[skip ci]
2018-12-20 22:44:35 +03:30
Andrey Shertsinger
b1b9e0bcbc
feat(vue-app): support named views ( #4410 )
...
* support named views for extendRoutes config
* fix lint errors
* fix lint errors 2
* some refactoring
* var rename
* fixture & unit tests
* fix: style
* nuxt-child named view example and test
* nuxt element with named view in layout
* lint
2018-12-20 16:50:22 +01:00
Ricardo Gobbo de Souza
add80004ba
feat(router): custom route name splitter ( #4598 )
2018-12-20 13:42:42 +01:00
renovate[bot]
9877c72f5d
chore(deps): update all non-major dependencies to ^7.2.3 ( #4597 )
...
[skip release]
2018-12-20 15:01:22 +03:30
Jonas Galvez
0145551c3a
feat(cli): improvements and external commands ( #4314 )
2018-12-20 14:45:48 +03:30
Pooya Parsa
8b366fd216
chore: use @nuxt for all core dependencies ( #4596 )
...
[skip release]
2018-12-20 14:45:12 +03:30
renovate[bot]
46f0eee83d
chore(deps): update dependency @nuxtjs/devalue to ^1.2.0 ( #4595 )
2018-12-20 14:33:57 +03:30
Xin Du (Clark)
e71c4559ff
feat: mode for plugins ( #4592 )
2018-12-20 12:58:10 +03:30
renovate[bot]
40928967ac
chore(deps): update all non-major dependencies ( #4594 )
...
[skip ci]
2018-12-20 12:32:17 +03:30
renovate[bot]
e1c1701d03
chore(deps): update all non-major dependencies ( #4588 )
2018-12-20 12:27:40 +03:30
Clark Du
4fb220c911
fix: thread-loader slow building
2018-12-19 21:44:08 +00:00
Clark Du
d34a9e24ae
fix: thread-loader memory leak
2018-12-19 19:30:25 +00:00
Sébastien Chopin
96892c5341
fix(vue-app): Fix default error handler in production
2018-12-19 19:39:38 +01:00
Sébastien Chopin
7812d8d87d
Merge branch 'missing-chunk-reload' of https://github.com/aldarund/nuxt.js into aldarund-missing-chunk-reload
...
Conflicts:
packages/vue-app/template/client.js
2018-12-19 18:48:38 +01:00
Sébastien Chopin
951e745e54
fix(vue-app): Set window. equals to window.{globalName} when defined
2018-12-19 18:29:45 +01:00
Sébastien Chopin
6c4280f87f
fix(vue-app): Call Vue.config.errorHandler instead of simply logging the error
2018-12-19 18:12:39 +01:00
Sébastien Chopin
59aee74a88
feat(vue-app): add vetur helpers for components auto-complete on VS Code ( #4524 )
...
* feat(vue-app): Add vetur helpers for components auto-complete on VS Code
* update vetur helper
* Update nuxt-attributes.json
* Update nuxt-tags.json
2018-12-19 17:31:10 +01:00
Alexander Lichter
81cf09cb76
fix: apply store HMR to whole store ( #4589 )
2018-12-19 17:26:58 +01:00
Sébastien Chopin
c8b920a145
feat(vue-app): Add deprecating for classic mode and handle mutations/actions HMR to store/index.js
2018-12-19 17:15:01 +01:00
Alexander Lichter
b2eee1772e
feat: add store module HMR ( #4582 )
...
* feat: add store module HMR
* fix: replace export with window.$nuxt
Thanks to @pi0 for the suggestion :)
* refactor: apply only in dev mode on client side
* test: make store module test more descriptive
* fix: clear modules to apply HMR
* fix: remove console.log
* fix: e2e tests
* refactor: use void
2018-12-19 16:22:00 +01:00
Jonas Galvez
5b58272d1a
fix: prevent matching native statements in serializeFunction ( #4585 )
2018-12-19 11:46:00 +03:30
renovate[bot]
186b3cb233
chore(deps): update all non-major dependencies ( #4581 )
...
[skip release]
2018-12-18 20:32:05 +03:30
renovate[bot]
ebd2b1b0a0
chore(deps): update dependency thread-loader to v2 ( #4583 )
...
[skip release]
2018-12-18 20:30:17 +03:30
Xin Du (Clark)
e7df65be1a
fix: detect plugin without extension ( #4579 )
2018-12-18 17:49:38 +03:30
sh
2f0ed8571f
feat(server): export Listener ( #4577 )
2018-12-18 13:46:41 +00:00
Jonas Galvez
25d26ba42f
chore(vue-app): use serializeFunction when appropriate ( #4575 )
2018-12-17 17:26:23 +00:00
Clark Du
afd1cd3247
refactor: remove static class hotfix since it has been fixed in vue
2018-12-17 15:56:01 +00:00
Xin Du (Clark)
d723e49b2b
feat: attach ts-loader options on build.loaders.ts ( #4572 )
2018-12-17 15:45:01 +00:00
Kevin Marrec
75e3df6be5
fix(ts): switch from babel preset to ts-loader ( #4563 )
2018-12-17 15:21:53 +00:00
renovate[bot]
6e8c4b7b83
chore(deps): update all non-major dependencies ( #4566 )
...
[skip ci]
2018-12-17 18:41:16 +03:30
Mark
85b53593fa
fix(resolver): resolve dir if no index found #4568 ( #4569 )
...
[skip release]
2018-12-17 18:40:39 +03:30
Jonas Galvez
669fecc6a3
feat: allow scrollToTop to be explicitly disabled ( #4564 )
...
Co-authored-by: James Homer <jameshomer85@gmail.com>
2018-12-16 13:32:39 +03:30
renovate[bot]
a32947c68c
chore(deps): update all non-major dependencies to ^7.2.2 ( #4561 )
...
[skip ci]
2018-12-16 13:30:40 +03:30
Jonas Galvez
6b95eff81d
fix(pkg): add serialize-javascript to common/package.json ( #4565 )
...
[skip ci]
2018-12-16 13:30:08 +03:30
Jonas Galvez
7831e57943
fix: properly serialize head functions ( #4558 )
...
#4079
2018-12-15 12:07:31 +03:30
renovate[bot]
e6ca79969a
chore(deps): update all non-major dependencies ( #4551 )
...
[skip release]
2018-12-15 11:01:59 +03:30
Kevin Marrec
7145c1ab5d
feat(builder): optional typescript support ( #4557 )
2018-12-15 10:25:08 +03:30
Ricardo Gobbo de Souza
99614535b5
feat(vue-app, vue-renderer): support meta headAttrs
( #4536 )
2018-12-14 17:36:26 +03:30
Hartmut
da0a3794ef
fix(vue-app): add type definition for ComponentOptions.middleware
( #4531 )
2018-12-14 06:01:25 +03:30
Mark
b413bc14fb
fix(resolver): resolvedPath/index.[ext] resolution ( #4548 )
2018-12-13 22:09:42 +03:30
Xin Du (Clark)
d0c8fcbaa5
fix: duplicate style in extractCSS ( #4546 )
...
[skip ci]
2018-12-13 22:07:47 +03:30
renovate[bot]
eda33bc48a
chore(deps): update all non-major dependencies ( #4537 )
2018-12-13 00:59:27 +03:30
Xin Du (Clark)
657a6cc7c9
chore: tiny refactoring ( #4534 )
2018-12-12 10:47:54 +00:00
Clark Du
28300ee0f9
refactor: remove extendedConfig.devtool check
2018-12-12 10:10:24 +00:00
Clark Du
8d728da3c7
refactor: remove unnecessary env
2018-12-12 09:38:06 +00:00
Alexander Lichter
f1ff6341ea
feat: add process.modern ( #4532 )
2018-12-12 13:03:19 +03:30
Alexander Lichter
c60b1945e8
chore: cleanup ( #4529 )
2018-12-12 10:01:49 +03:30
William Chong
683dbba4f7
fix: csp SHA hashes accumulate when using custom script-src rules ( #4519 )
...
[skip ci]
2018-12-12 09:59:28 +03:30
renovate[bot]
13c7b6d671
chore(deps): vue v2.5.21 ( #4523 )
2018-12-12 09:57:26 +03:30
Alexander Lichter
8e0b5081f2
fix: allow pcss ending for webpack loader ( #4530 )
...
[skip ci]
2018-12-12 09:52:43 +03:30
Alexander Lichter
88668f0fc4
chore: add plugin suffix for ExtractCssChunksPlugin ( #4528 )
2018-12-11 20:56:28 +00:00
Alexander Lichter
c6d820aad8
feat(webpack): add experimental HardSourceWebpackPlugin support ( #4527 )
2018-12-12 00:19:16 +03:30
Sébastien Chopin
15051978f0
feat(vue-app): <n-link> and <n-child> component aliases ( #4525 )
2018-12-11 20:37:04 +03:30
Sébastien Chopin
8a200f7e91
fix(server): Cannot read property client of null when webpackHMR & restarting Nuxt
2018-12-11 16:20:59 +01:00
ousiri
431cc15617
fix: keepAliveProps broken in <nuxt-child> ( #4521 )
2018-12-11 11:11:15 +01:00
Dmitry Molotkov
51e4488dd4
feat(common): add yandex and vivaldi to modern browsers ( #4516 )
2018-12-11 10:41:28 +03:30
Ryan Lindskog
29c5bb6513
refactor: remove caniuse-lite dependency ( #4419 )
2018-12-11 01:05:04 +03:30
Dmitry Molotkov
33edef2d40
fix(webpack): allow changing devtool with extend ( #4515 )
2018-12-11 01:04:41 +03:30
renovate[bot]
b07c27a843
chore(deps): update all non-major dependencies to ^2.5.20 ( #4514 )
2018-12-10 22:09:04 +03:30
Dmitry Molotkov
c3128eaced
fix(server): allow rendering urls with unicode characters ( #4512 )
2018-12-10 16:48:23 +00:00
renovate[bot]
b47a993429
chore(deps): update dependency caniuse-lite to ^1.0.30000918 ( #4510 )
2018-12-10 16:05:30 +00:00
Pooya Parsa
f0cb654a5d
fix(vue-renderer): improve ready handling ( #4511 )
2018-12-10 12:16:05 +00:00
renovate[bot]
6d8aeec81c
chore(deps): update vue to v2.5.19 ( #4509 )
2018-12-10 01:47:40 +03:30
Jonas Galvez
655f11cefd
chore: update code to meet new curly-all rule ( #4505 )
...
[skip ci]
2018-12-10 01:30:48 +03:30
Pooya Parsa
1162f2ddc1
feat: use runInNewContext: true for nuxt dev ( #4508 )
2018-12-09 21:37:36 +00:00
Sébastien Chopin
45be638479
fix(vue-app): Fix route meta to handle order
2018-12-09 13:07:06 +01:00
Sébastien Chopin
25dea5f52a
fix(dev): Show correct path when webpack watched files changed
2018-12-09 12:47:57 +01:00
Pooya Parsa
fe0516978a
fix: improvements for build and dev stability ( #4470 )
2018-12-09 14:12:22 +03:30
Xin Du (Clark)
669ffa51ed
refactor: migrate to extract-css-chunks-webpack-plugin ( #4495 )
...
fixes #4131 .
2018-12-09 13:58:08 +03:30
Jonas Galvez
af9b30cab7
feat: upgrade css loader to v2 ( #4503 )
...
* use new exportOnlyLocals option
* upgrade css-loader in package.json
2018-12-09 13:45:48 +03:30
Alexander Lichter
f1b2ca3d60
feat: add an option to disable FriendlyErrorsWebpackPlugin ( #4498 )
2018-12-09 13:38:59 +03:30
renovate[bot]
7c820d9262
chore(deps): update all non-major dependencies ( #4497 )
...
* chore(deps): update all non-major dependencies
* pin vue to 2.5.17
2018-12-09 12:28:49 +03:30
renovate[bot]
ff20bbbbb5
chore(deps): update all non-major dependencies ( #4483 )
2018-12-07 13:53:50 +00:00
Clark Du
e6808c57ef
fest: add build.corssorgin ( #4472 )
2018-12-05 19:51:58 +03:30
renovate[bot]
9c15c18d1b
chore(deps): update all non-major dependencies ( #4475 )
2018-12-04 15:58:15 +03:30
Clark Du
5a8e6e4bdf
fix: merge route.meta into options.meta ( #4479 )
...
[skip release]
2018-12-04 15:49:05 +03:30
Clark Du
14fe6792ae
feat: check modern build file in modern mode ( #4467 )
...
[skip release]
2018-12-04 15:41:18 +03:30
Clark Du
e2ab1b4896
fix(vue-app): router.meta is null on extendRoutes( #4478 )
...
fixes #4154
2018-12-03 14:21:17 +03:30
Pooya Parsa
6589670864
fix(server): delete all non-js assets
2018-12-01 14:29:26 +03:30
Pooya Parsa
4b643b9528
fix(renderer): ignore invalid sourcemaps
2018-12-01 14:21:10 +03:30
Pooya Parsa
c0721c0174
fix(vue-renderer): parse JSON values before passing to bundle-renderer
...
prevent error that occuers in rare cases: TypeError: Cannot read property 'sections' of undefined
Related to #4439
2018-12-01 14:11:10 +03:30
Pooya Parsa
0f104aa588
feat: improve SSR bundle ( #4439 )
...
- Better insights and inspection for server bundle
- Remove all vue related dependencies from vue-renderer package as much as possible to reduce install size of nuxt-start
- Support for single file distributions (serverless)
- Remove server-bundle.json and use the standard .js files for dist/server
- Mitigate CALL_AND_RETRY_LAST Allocation failed errors. Most of the cases happen on JSON.parse() the part when loading bundle. (#4225 , #3465 , #1728 , #1601 , #1481 )
- Reduce server dist size by removing escape characters caused by JSON serialize
- Faster dev reloads and production start by removing extra JSON.serialize/JSON.parse time
- Less memory usage
- General performance improvements and refactors
2018-12-01 13:43:28 +03:30
Pooya Parsa
06ddfbb77b
fix(webpack): deepClone before calling extendConfig ( #4464 )
2018-11-30 20:22:53 +00:00
Dmitry Molotkov
a6fed0acbd
fix(vue-app): allow passing custom props to error function ( #4462 )
...
Resolves #4460 .
2018-11-30 22:45:29 +03:30
Ricardo Gobbo de Souza
1d78027e2b
fix: offer a new port and listen if already used, use consola on server error ( #4428 )
...
* Use consola on server error
* fix style
* ignore coverage
* use `consola.error(e)`
* formatting server error
* fix style
* offer a new port and listen
* fix style
* simplify return
* Revert "fix style"
This reverts commit 770347adb9
.
* Revert "simplify return"
This reverts commit 26f2588b2f
.
* simplified tests
* remove dependency `get-port`
* using port `0` to assign a random free port
* update `this.port` value with `address.port`
* For production, use `consola.fatal`
* pass options.dev from server to listener constructor
* add dev on constructor
* improve serverErrorHandler and close
* Update listener.js
* improve serverErrorHandler
* improve the way to handle listen errors
* fix missed line
* fully close old server before listening on a random port
* update listen.test
2018-11-30 16:32:15 +01:00
Alexander Lichter
71136fc9b6
feat: allow lang="postcss"
in Vue SFCs ( #4417 )
...
* fix: allow postcss lang as tag
* refactor: own postcss rule
2018-11-30 16:23:44 +01:00
Clark Du
8baf574254
refactor: improve babel preset ( #4446 )
2018-11-29 16:54:38 +00:00
Pooya Parsa
d66e1ec896
fix: replace nuxtDir with module.paths ( #4448 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.ir>
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2018-11-29 13:16:46 +00:00
Clark Du
18b9b750f5
Merge remote-tracking branch 'origin/2.x' into dev
2018-11-28 16:36:36 +00:00
Dmitry Molotkov
6ed3ecacc7
hotfix(vue-app): ReferenceError error passed with routeChanged ( #4444 )
2018-11-28 17:30:40 +01:00
renovate[bot]
ee139253f1
chore(deps): update all non-major dependencies ( #4434 )
...
[skip release]
2018-11-28 13:48:20 +00:00
Clark Du
fe492d8363
feat(modern): auto detect modern mode ( #4422 )
2018-11-26 22:49:47 +00:00
Pooya Parsa
8cc954d48e
merge 2.x changes into dev
...
commit 0f28f9cdb6
Author: Pooya Parsa <pyapar@gmail.com>
Date: Mon Nov 26 21:23:55 2018 +0330
add simple release script
commit 16c5b892fa
Author: Pooya Parsa <pyapar@gmail.com>
Date: Mon Nov 26 21:20:03 2018 +0330
v2.3.4
commit e4a02a51ac
Author: Pooya Parsa <pyapar@gmail.com>
Date: Mon Nov 26 21:17:40 2018 +0330
whitelist CHANGELOG files
commit c96e9f4996
Author: Pooya Parsa <pyapar@gmail.com>
Date: Mon Nov 26 21:14:29 2018 +0330
lerna auto tag
commit be126bd962
Author: Pooya Parsa <pyapar@gmail.com>
Date: Mon Nov 26 21:12:22 2018 +0330
remove extra gitHead
commit eefa13033f
Author: Pooya Parsa <pyapar@gmail.com>
Date: Mon Nov 26 21:09:31 2018 +0330
hotfix: build on prepublish hook
commit d0af6a4736
Author: Sébastien Chopin <seb@chopin.io>
Date: Mon Nov 26 18:37:12 2018 +0100
bump: Bump to v2.3.3
commit 2e90166f2a
Author: Pooya Parsa <pyapar@gmail.com>
Date: Mon Nov 26 20:32:11 2018 +0330
update @nuxtjs/opencollective to 0.2.0
commit f10c9829a8
Author: renovate[bot] <renovate[bot]@users.noreply.github.com>
Date: Mon Nov 26 20:24:49 2018 +0330
chore(deps): update dependency vue-meta to ^1.5.6 (#4427 )
commit b7285fe8f3
Author: Pooya Parsa <pyapar@gmail.com>
Date: Mon Nov 26 20:05:18 2018 +0330
remove build with devtools tests as feature is not merged yet
commit b582e706fc
Author: Pooya Parsa <pyapar@gmail.com>
Date: Mon Nov 26 19:58:34 2018 +0330
update patch-only dependencies
commit 289d30f836
Author: Pooya Parsa <pyapar@gmail.com>
Date: Mon Nov 26 19:55:51 2018 +0330
remove typings
commit 7e1beed9b8
Author: Dmitry Molotkov <aldarund@gmail.com>
Date: Sun Nov 25 17:48:13 2018 +0300
perf(pkg): remove lodash dependency from packages (#4411 )
commit 4a85c0311f
Author: Pooya Parsa <pyapar@gmail.com>
Date: Sun Nov 25 22:46:19 2018 +0330
fix(pkg): move opencollective dependency nuxt and nuxt-legacy (#4415 )
commit d1877935a3
Author: Dmitry Molotkov <aldarund@gmail.com>
Date: Sun Nov 25 17:52:37 2018 +0300
fix(server, vue-app): allow unicode page names (#4402 )
commit e1c1240b8d
Author: Alexander Lichter <manniL@gmx.net>
Date: Sun Nov 25 14:51:32 2018 +0000
fix(server, jsdom): fix timeout error message (#4412 )
[skip release]
commit 0c6c69b011
Author: Alexander Lichter <manniL@gmx.net>
Date: Sat Nov 24 21:35:43 2018 +0000
fix(scrollBehavior): emit triggerScroll event after changing layer (#4399 )
resolves : #4080
commit 8030ca1a3d
Author: Alexander Lichter <manniL@gmx.net>
Date: Sat Nov 24 18:30:28 2018 +0000
fix(progress-bar): allow 0 for values and remove duplicate defaults (#4397 )
commit 54d273720c
Author: Clark Du <clark.duxin@gmail.com>
Date: Sat Nov 24 00:02:13 2018 +0000
fix: router Expected "0" to be defined (#4394 )
commit 47f02ae5ca
Author: Clark Du <clark.duxin@gmail.com>
Date: Fri Nov 23 22:34:05 2018 +0000
fix: empty error message in dev mode
commit ff7c083dda
Author: Clark Du <clark.duxin@gmail.com>
Date: Thu Nov 22 15:48:26 2018 +0000
fix: modern=true or false not work as expected (#4378 )
2018-11-26 21:32:10 +03:30
Pooya Parsa
16c5b892fa
v2.3.4
2018-11-26 21:20:03 +03:30
Pooya Parsa
be126bd962
remove extra gitHead
2018-11-26 21:12:22 +03:30
Sébastien Chopin
d0af6a4736
bump: Bump to v2.3.3
2018-11-26 18:37:12 +01:00
renovate[bot]
f10c9829a8
chore(deps): update dependency vue-meta to ^1.5.6 ( #4427 )
2018-11-26 20:48:50 +03:30
Pooya Parsa
b7285fe8f3
remove build with devtools tests as feature is not merged yet
2018-11-26 20:48:50 +03:30
Pooya Parsa
b582e706fc
update patch-only dependencies
2018-11-26 20:48:50 +03:30
Pooya Parsa
289d30f836
remove typings
2018-11-26 20:48:50 +03:30
Dmitry Molotkov
7e1beed9b8
perf(pkg): remove lodash dependency from packages ( #4411 )
2018-11-26 20:48:50 +03:30
Pooya Parsa
4a85c0311f
fix(pkg): move opencollective dependency nuxt and nuxt-legacy ( #4415 )
2018-11-26 20:48:50 +03:30
Dmitry Molotkov
d1877935a3
fix(server, vue-app): allow unicode page names ( #4402 )
2018-11-26 20:48:50 +03:30
Alexander Lichter
e1c1240b8d
fix(server, jsdom): fix timeout error message ( #4412 )
...
[skip release]
2018-11-26 20:48:50 +03:30
Alexander Lichter
0c6c69b011
fix(scrollBehavior): emit triggerScroll event after changing layer ( #4399 )
...
resolves : #4080
2018-11-26 20:48:50 +03:30
Alexander Lichter
8030ca1a3d
fix(progress-bar): allow 0 for values and remove duplicate defaults ( #4397 )
2018-11-26 20:48:50 +03:30
Clark Du
54d273720c
fix: router Expected "0" to be defined ( #4394 )
2018-11-26 20:48:50 +03:30
Clark Du
47f02ae5ca
fix: empty error message in dev mode
2018-11-26 20:48:50 +03:30
Clark Du
ff7c083dda
fix: modern=true or false not work as expected ( #4378 )
2018-11-26 20:48:50 +03:30
renovate[bot]
a24bb08746
chore(deps): update dependency vue-meta to ^1.5.6 ( #4427 )
2018-11-26 20:24:49 +03:30
Clark Du
6990efc1bc
fix: correct renderer.noSSR name
2018-11-26 13:01:00 +00:00
Clark Du
701190d796
feat: preload and push modern resources in modern mode ( #4362 )
2018-11-26 12:09:30 +00:00
renovate[bot]
6f78bcdfea
chore(deps): update all non-major dependencies ( #4416 )
2018-11-26 01:05:31 +03:30
Pooya Parsa
f680e36eca
fix(pkg): move opencollective dependency nuxt and nuxt-legacy ( #4415 )
2018-11-25 22:46:19 +03:30
Dmitry Molotkov
949785f58e
fix(server, vue-app): allow unicode page names ( #4402 )
2018-11-25 18:22:37 +03:30
Alexander Lichter
ab6367b97d
fix(server, jsdom): fix timeout error message ( #4412 )
...
[skip release]
2018-11-25 18:21:32 +03:30
Dmitry Molotkov
d7851b3385
perf(pkg): remove lodash dependency from packages ( #4411 )
2018-11-25 18:18:13 +03:30
Alexander Lichter
330301cacf
fix(scrollBehavior): emit triggerScroll event after changing layer ( #4399 )
...
resolves : #4080
2018-11-25 01:05:43 +03:30
Clark Du
52a92fbc48
refactor: use PascalCase for components names ( #4396 )
2018-11-24 22:19:19 +03:30
Alexander Lichter
ecdc7bcc25
fix(progress-bar): allow 0 for values and remove duplicate defaults ( #4397 )
2018-11-24 22:00:28 +03:30
Clark Du
39b1b8e5e0
fix: router Expected "0" to be defined ( #4394 )
2018-11-24 00:02:13 +00:00
renovate[bot]
744f4025f5
chore(deps): update all non-major dependencies ( #4393 )
2018-11-23 23:30:43 +00:00
Clark Du
3d990fe606
fix: empty error message in dev mode
2018-11-23 22:34:05 +00:00
renovate[bot]
4adbf29e18
chore(deps): update all non-major dependencies ( #4385 )
2018-11-23 11:56:11 +00:00
Clark Du
4c2708849f
fix: modern=true or false not work as expected ( #4378 )
2018-11-22 15:48:26 +00:00
renovate[bot]
6f91f8e9f2
chore(deps): update dependency caniuse-lite to ^1.0.30000910 ( #4379 )
...
[skip ci]
2018-11-21 19:38:27 +03:30
Alexander Lichter
e4140cee04
feat: disable compressor if set to false/undefined ( #4381 )
2018-11-21 18:03:03 +03:30
Clark Du
ccbe6c3b1f
chore: upgrade lru-cache to v5 ( #4380 )
2018-11-21 17:02:13 +03:30
Clark Du
70f0dc3825
refactor: spa renderer ( #4316 )
2018-11-21 16:38:03 +03:30
Pooya Parsa
d590858ff5
Merge branch '2.x' into dev
2018-11-21 13:43:26 +03:30
Sébastien Chopin
205c9d3815
bump: Bump to v2.3.2
2018-11-20 21:48:46 +01:00
renovate[bot]
a7a52b03b2
fix(deps): update dependency vue-no-ssr to ^1.1.0 ( #4372 )
...
[skip ci]
2018-11-20 22:58:24 +03:30
renovate[bot]
991e191c12
fix(deps): update all non-major dependencies ( #4358 )
...
[skip ci]
2018-11-20 22:58:20 +03:30
Alexander Lichter
9aeeb2276e
fix: fall back to default value when publicPath
is falsy ( #4365 )
...
* test: let tests fail
* fix: add falsy default fallback
* fix(publicPath): force adding trailing slash
* fix: also change _publicPath
2018-11-20 22:56:45 +03:30
Pooya Parsa
cebed3509f
fix(builder): add lodash inside templates ( #4368 )
2018-11-20 22:56:45 +03:30
Pooya Parsa
b472e47466
[skip ci] remove changelogs
2018-11-20 22:56:45 +03:30
Pooya Parsa
5372fe46e6
fix(common): remove extra @nuxt/config dependency
...
[skip ci]
2018-11-20 22:56:45 +03:30
Pooya Parsa
c3318644c1
[skip ci] use dependent versioning
2018-11-20 22:56:45 +03:30
renovate[bot]
e731250e13
fix(deps): update dependency vue-no-ssr to ^1.1.0 ( #4372 )
...
[skip ci]
2018-11-20 22:22:13 +03:30
renovate[bot]
45fdae0a2d
fix(deps): update all non-major dependencies ( #4358 )
...
[skip ci]
2018-11-20 22:21:13 +03:30
Alexander Lichter
e0537d54be
fix: fall back to default value when publicPath
is falsy ( #4365 )
...
* test: let tests fail
* fix: add falsy default fallback
* fix(publicPath): force adding trailing slash
* fix: also change _publicPath
2018-11-20 18:12:05 +01:00
Pooya Parsa
27e79be285
fix(builder): add lodash inside templates ( #4368 )
2018-11-20 09:21:17 +00:00
Yuki Takemoto
e6f73b596a
feat(cli): add --devtools
option for build and generate ( #4357 )
2018-11-17 23:05:51 +00:00
Pooya Parsa
33d4e89925
[skip ci] remove changelogs
2018-11-18 02:14:02 +03:30
Pooya Parsa
a2d42704d4
fix(common): remove extra @nuxt/config dependency
...
[skip ci]
2018-11-18 02:05:52 +03:30
Pooya Parsa
3e48de906a
[skip ci] use dependent versioning
2018-11-18 01:49:27 +03:30
Kevin Marrec
d5716eb3db
feat(ts): provide type definitions ( #4164 )
2018-11-17 14:22:21 +03:30
Sébastien Chopin
2f7ba13084
fix: Bump to v2.3.1
2018-11-16 09:30:11 -05:00
Sébastien Chopin
fcea3ebbc6
bump: Nuxt v2.3.0
2018-11-16 09:15:00 -05:00
Clark Du
3abc9e815e
fix: transpile server not work ( #4338 )
2018-11-15 22:02:55 +00:00
Pooya Parsa
ca5d53850b
fix(pkg): stick @nuxt dependency versions ( #4339 )
2018-11-15 21:32:51 +00:00
Sébastien Chopin
e883c51cef
fix: Add render.http2.pushAssets default value
2018-11-15 16:28:29 -05:00
Sébastien Chopin
aa7b9da2bb
fix: Fix typo
2018-11-15 16:27:31 -05:00
Pooya Parsa
992849ee1a
fix(cli): prefer require dependencies from local node_modules ( #4337 )
2018-11-16 00:18:47 +03:30
Pooya Parsa
c9459e7aa9
fix(distributions): add bin to all distributions ( #4336 )
2018-11-16 00:18:30 +03:30
Amos Wong
ae8dc96669
feat: Process transpile path ( #4335 )
2018-11-15 15:50:55 +00:00
renovate[bot]
bfb6d6a22a
fix(deps): update all non-major dependencies ( #4310 )
2018-11-14 23:58:17 +03:30
Pooya Parsa
68523b95bc
feat(server): fallback option ( #4323 )
2018-11-14 23:02:07 +03:30
Dmitry Molotkov
9fbd581557
fix: handle errors that are not error instances ( #4321 )
2018-11-14 22:47:44 +03:30
Pim
846455e2f7
fix(core): stable route sorting ( #4331 )
2018-11-14 16:50:06 +00:00
Clark Du
3702dfe5dc
refactor: add node_env in webpack DefinePlugin ( #4330 )
2018-11-14 12:00:12 +00:00
Clark Du
853ca4e7d4
refactor: styleLoader and postcss ( #4318 )
2018-11-12 21:18:50 +00:00
Sébastien Chopin
5f8d26175a
fix: Double escaping ( fix #4312 )
2018-11-12 17:58:35 +01:00
Jonas Galvez
3b7958b99a
fix: dev tools detection of custom global name ( #4305 )
2018-11-11 14:52:50 +03:30
Alexander Lichter
d280bd8d5b
chore(config): warn on unknown mode ( #4303 )
2018-11-11 14:51:53 +03:30
renovate[bot]
f9b199873f
chore(deps): update webpackbar to v3.1.2 ( #4307 )
2018-11-10 03:37:54 +03:30
Alexander Lichter
692493f5aa
chore: warn when styleResources is used without the community module ( #4302 )
...
[skip ci]
2018-11-10 03:29:40 +03:30
Clark Du
18e613106b
Revert "fix: make generate default value be false in build command"
2018-11-09 17:14:26 +00:00
Clark Du
81c77bd111
test: fix build.test
2018-11-09 16:48:28 +00:00
Clark Du
e4fe2409f5
fix: make generate default value be false in build command
2018-11-09 16:32:04 +00:00
Clark Du
2c4bd57101
refactor: perf loader ( #4299 )
2018-11-08 22:26:52 +00:00
Pooya Parsa
57f66726d0
fix: fix typo
2018-11-09 01:43:39 +03:30
Pooya Parsa
141ea823b8
fix: update webpackbar to 3.0.3
2018-11-09 01:27:53 +03:30
Pooya Parsa
663c00ddd4
fix(webpack): use env.minimalCLI
2018-11-09 01:24:24 +03:30
renovate[bot]
16c8237f1c
chore(deps): update all non-major dependencies ( #4298 )
...
[skip ci]
2018-11-09 01:18:29 +03:30
Clark Du
31ef70e560
fix: auto transform and warning for @nuxtjs/babel-preset-app ( #4297 )
2018-11-09 00:17:53 +03:30
Alexander Lichter
f5bf24ab83
fix(server): don't accept ranges ( #3870 ) ( #4295 )
2018-11-08 22:13:14 +03:30
renovate[bot]
b290c078f2
fix(deps): update dependency consola to ^2.2.3 ( #4293 )
2018-11-08 15:20:55 +03:30
Pooya Parsa
c62c9656ab
fix(dev): better icon for windows support
2018-11-08 14:55:48 +03:30
Pooya Parsa
c39c7cd51e
update webpack/base for webpackbar 3.0.2
2018-11-08 14:46:07 +03:30
Pooya Parsa
e8aabac197
hotfix: update webpackbar to 3.0.2
2018-11-08 14:40:47 +03:30
Pooya Parsa
dc00980308
chore: fix dependencies and lock
2018-11-08 13:42:15 +03:30
Clark Du
78de0956cc
fix: --modern not trigger modern build
2018-11-08 09:19:09 +00:00
Pooya Parsa
7c4e77ffb9
feat: dx improvements ( #4259 )
2018-11-08 12:45:56 +03:30
Clark Du
64839313a9
refactor: use modernMode instead of isModernBrowser for more semantic
2018-11-07 23:50:33 +00:00
Clark Du
2a36dbad22
feat: client mode modern and support dev/generate ( #4264 )
2018-11-07 23:37:06 +00:00
renovate[bot]
dd114ff74f
fix(deps): update all non-major dependencies ( #4271 )
2018-11-08 02:09:37 +03:30
Alexander Lichter
b3eb4278a5
fix: serialize config head fn shorthand correctly ( #4283 )
...
[skip ci]
2018-11-08 02:03:09 +03:30
Alexander Lichter
10c608a649
chore(vue-app): deprecate callback-based asyncData, fetch and middleware ( #4256 )
2018-11-06 16:32:07 +03:30
Clark Du
3953eef271
refactor(builder): make plugins in BuildContext update dynamically ( #4280 )
2018-11-06 16:23:15 +03:30
Clark Du
3f2b10ea0c
fix: Duplicate declaration plugin when add/remove file in dev mode ( #4278 )
2018-11-06 10:50:38 +00:00
renovate[bot]
1a154e8188
fix(deps): update all non-major dependencies ( #4270 )
2018-11-05 02:29:06 +03:30
renovate[bot]
47f67cc26a
fix(deps): update dependency consola to ^2.2.0 ( #4269 )
2018-11-04 22:18:39 +03:30
Clark Du
7d34f2ef26
refactor: persist isModernBrowser on http connection ( #4268 )
2018-11-04 14:47:56 +00:00
renovate[bot]
f10f860292
fix(deps): update all non-major dependencies ( #4253 )
2018-11-03 22:16:58 +03:30
xxRockOnxx
2f78f87c06
[skip ci] move misleading comment ( #4265 )
2018-11-03 15:55:41 +03:30
Clark Du
17e0890c90
fix(cli): remove duplicate error message in start and build ( #4258 )
2018-11-02 17:24:58 +03:30
Sébastien Chopin
12151d81d6
feat: add --modern to nuxt start ( #4254 )
2018-11-02 09:07:39 +00:00
Jonas Galvez
19287cce96
feat(cli): add help command ( #4248 )
...
* add commands/help
* simply cmds in run()
* refinement
* simply cmds in run() (2)
* simply cmds in run() (3)
* lint
* cmd.showHelp()
* check for cmd / uknown cmd
* final fix
* fixes
* remove Set
* Add NuxtCommand.load()
* updated tests
* lint
2018-11-02 05:35:32 +01:00
renovate[bot]
e9b63deba4
fix(deps): update all non-major dependencies ( #4229 )
2018-11-01 05:13:12 +01:00
Clark Du
78e3563687
feat: terser compress es6 forms in modern build ( #4241 )
2018-11-01 04:59:17 +01:00
Jonas Galvez
6dadadfa25
feat(cli): list commands ( #4245 )
...
* add listCommands to cli/run
* add listCommands to cli/run (2)
* lint
* lint
* lint
* fix
* fixes
* fix
* lint
* maxCharsPerLine = process.stdout.columns * 80 / 100
* fix test
* fix imports
* refactor foldLines()
* default process.stdout.columns to 80
* default to 80
* fix
* fix test
* lint
* fix test
* add help flags to main usage
* fix
* fix
* fix
2018-11-01 04:53:06 +01:00
Pooya Parsa
1dd32d0d21
feat: update to consola 2 ( #4247 )
...
* add ~> addReporter
* remove badge
* withScope ~> withTag
* update to consola 2
* update build tests
2018-11-01 04:50:07 +01:00
Clark Du
bed0714fad
feat: modern build ( #4231 )
...
* feat: modern build
* refactor: use single module import for lodash
* refactor: add credit comment for modern plugin
* feat: ssr modern build
* fix: not null check for request
* fix: not null check for request.headers
* feat: add modern argument on build command
* refactor: simpilfy filenames for modern
* refactor: use packages/webpack src instead of dist in test
* test: add feature test for modern build
2018-10-31 15:52:35 +00:00
Jonas Galvez
c86dfbf43f
fix: typo in cli/commands/build ( #4236 )
...
Good catch @clarkdo :)
2018-10-31 15:27:15 +00:00
Sébastien Chopin
965c2a6c55
page: Update Nuxt uvp
2018-10-31 09:34:17 +01:00
Sébastien Chopin
b5522f627b
page: Update Nuxt uvp and tweaks on CSS
2018-10-31 09:34:17 +01:00
Pooya Parsa
39b558f59c
refactor core into sub-packages ( #4202 )
2018-10-31 00:12:53 +03:30
Jonas Galvez
4503d42d54
refactor(cli): cleanups and improvements ( #4222 )
2018-10-30 01:46:16 +03:30
renovate[bot]
2e2b32b547
[skip ci] update all non-major dependencies ( #4223 )
2018-10-30 01:31:32 +03:30
Pim
72961acabd
feat: nuxt-loading enhancenments ( #3891 )
2018-10-29 19:18:40 +03:30
Pooya Parsa
d4a370cecc
fix(webpack): add missing glob dependency
2018-10-29 14:22:11 +03:30
Pooya Parsa
10aeaef110
hotfix(cli, common, core): add missing @nuxt/config dependency
2018-10-29 14:21:34 +03:30
Jonas Galvez
f90110af26
fix: nuxt/config imports/exports ( #4217 )
2018-10-28 01:32:43 +03:30
Jonas Galvez
007ca05174
refactor: move config files to @nuxt/config ( #4212 )
2018-10-27 23:57:16 +03:30
Jonas Galvez
ec7794c5cd
refactor(common): nuxt.config.js and dynamic server options to use latest process.env ( #4208 )
2018-10-27 20:18:23 +03:30
renovate[bot]
00e83e3874
fix(deps): update dependency time-fix-plugin to ^2.0.5 ( #4210 )
2018-10-27 20:12:27 +03:30
Paul Gascou-Vaillancourt
208eba3867
fix(app): Throw error only if value is undefined ( #4206 )
2018-10-27 20:11:42 +03:30
Pooya Parsa
1adad4676b
hotfix: add missing publishConfig for @nuxt/babel-preset-app
2018-10-27 00:20:41 +03:30
renovate[bot]
930f8b273c
fix(deps): update all non-major dependencies ( #4200 )
2018-10-27 00:17:37 +03:30
Sibbngheid
ad020e66fd
fix(common): set defaults for port and host values ( #4207 )
2018-10-26 23:11:28 +03:30
awronski
c9fd78048f
feat(core): custom pushAssets function to control http2 push headers ( #4198 )
...
Resolves #4011
Resolves #4161
2018-10-26 21:29:12 +03:30
Clark Du
ae9de93a45
feat: move @nuxtjs/babel-preset-app into nuxt mono-repo ( #4205 )
2018-10-26 21:28:21 +03:30
renovate[bot]
6c5d89dead
fix(deps): update all non-major dependencies ( #4189 )
2018-10-25 19:19:17 +03:30
Pim
4b7afcc218
feat(cli): add imports mock and cleanup ( #4195 )
2018-10-25 19:10:55 +03:30
Pooya Parsa
46103e72ea
chore: packaging and development improvements ( #4193 )
2018-10-25 14:52:31 +03:30
Alexander Lichter
48393b33c7
refactor: small improvements ( #4194 )
2018-10-25 14:27:52 +03:30
Dmitry Molotkov
a3ba6e96ca
fix: check styleResources for existence ( #4155 )
2018-10-25 14:25:05 +03:30
Pim
0669b68c91
refactor(cli): better consistency and easier unit testing ( #4160 )
2018-10-25 11:13:42 +03:30
Clark Du
9df5f49e07
feat: split builder into more refined modules ( #4171 )
...
New packages:
- `@nuxt/webpack`
- `@nuxt/generator`
2018-10-24 20:25:18 +03:30
Pim
972c3a7b10
fix: remove extra text ( #4187 )
2018-10-24 20:06:53 +03:30
Przemysław Pietras
23228db73c
fix(app): add deprecation warning on using process.browser ( #4174 )
2018-10-24 17:17:14 +03:30
Pim
96bdcaba01
fix(app): lint all templates ( #4175 )
2018-10-24 17:16:06 +03:30
renovate[bot]
1cb7ce59e6
fix(deps): update all non-major dependencies ( #4172 )
2018-10-23 10:24:57 +03:30
Pooya Parsa
60dbc6ddc5
fix(builder): use require.resolve to get the path of babel-loader ( #4150 )
2018-10-23 01:18:06 +03:30
renovate[bot]
ff6385f5a0
fix(deps): update all non-major dependencies ( #4156 )
2018-10-23 01:17:42 +03:30
Kenta Suzuki
f5530ad653
fix(app): throw an error when layout property is not string ( #4142 )
2018-10-20 23:17:47 +03:30
Pooya Parsa
cc8c6e2555
fix(core): add resolveAlias and resolvePath for b.w compatibility
2018-10-18 20:05:44 +03:30
Alexander Lichter
f27939d4a7
feat(cli): support async nuxt.config.js ( #4021 )
2018-10-18 19:27:35 +03:30
Alexander Lichter
ab5af540e0
perf: cherry-pick only used lodash imports ( #4099 )
2018-10-18 19:13:44 +03:30
renovate[bot]
119d349478
deps(builder): update all non-major dependencies ( #4133 )
...
- cssnano/cssnano
- webpack-contrib/mini-css-extract-plugin
- csstools/postcss-preset-env
- webpack-contrib/url-loader
- webpack/webpack
- webpack-contrib/webpack-bundle-analyzer
2018-10-18 10:44:49 +03:30
Pooya Parsa
fe0be628ac
remove extra description
2018-10-18 02:11:56 +03:30
Pooya Parsa
39a31a8627
hotfix(common): prevent converting globalName to nuxt-edge
2018-10-18 02:05:43 +03:30
Pooya Parsa
28b246dca2
fix(publish): set each package's publishConfig to public
...
Scoped packages are private by default on npm. lerna/lerna#178 (comment)
2018-10-18 01:44:54 +03:30
Pooya Parsa
2d05e0b7b7
revet: changelog and version bumps to 2.2.0
...
Lerna should handle it itself
2018-10-18 01:28:11 +03:30
Pooya Parsa
9c1e0d1743
feat: migrate nuxt into monorepo ( #4051 )
...
Co-authored-by: Clark Du <clark.duxin@gmail.com>
Co-authored-by: Pooya Parsa <pooya@pi0.ir>
2018-10-18 00:58:25 +03:30
renovate[bot]
519a46fd6a
feat(deps): upgrade devalue, time-fix-plugin ( #4118 )
...
nuxt-community/devalue:
- fix: properly log message for symbolic keys
- feat: env vars to adjust warning behaviour
2018-10-16 13:09:50 +03:30
Sébastien Chopin
95428c2466
version: Bump to v2.2.0
2018-10-13 21:08:38 +02:00
renovate[bot]
9e0d15096e
fix(deps): update dependency consola to ^1.4.4 ( #4114 )
2018-10-13 19:15:06 +03:30
renovate[bot]
c1028ea647
chore(deps): update all non-major dependencies ( #4077 )
2018-10-12 22:17:53 +03:30
Dmitry Molotkov
d35fc8f015
fix: warn for non serializable data instead of Error ( #4046 )
...
* use @nuxtjs/devalue
* use @nuxtjs/devalue
* lock file
* lock file
* fix test
2018-10-11 23:18:04 +01:00
renovate[bot]
963b4ddd0f
chore(deps): update all non-major dependencies ( #4069 )
2018-10-09 15:57:02 +03:30
renovate[bot]
c2fde1958a
fix(deps): update all non-major dependencies ( #4064 )
2018-10-08 20:51:34 +03:30
renovate[bot]
d962504dde
fix(deps): update dependency std-env to v2.0.2 ( #4056 )
...
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| std-env | dependencies | major | `^1.3.1` -> `^2.0.2` | [source](https://renovatebot.com/gh/blindmedia/std-env ) |
---
### Release Notes
<details>
<summary>blindmedia/std-env</summary>
### [`v2.0.2`](https://renovatebot.com/gh/blindmedia/std-env/compare/v2.0.1...v2.0.2 )
[Compare Source](https://renovatebot.com/gh/blindmedia/std-env/compare/v2.0.1...v2.0.2 )
### [`v2.0.1`](https://renovatebot.com/gh/blindmedia/std-env/compare/v2.0.0...v2.0.1 )
[Compare Source](https://renovatebot.com/gh/blindmedia/std-env/compare/v2.0.0...v2.0.1 )
### [`v2.0.0`](https://renovatebot.com/gh/blindmedia/std-env/compare/v1.3.1...v2.0.0 )
[Compare Source](https://renovatebot.com/gh/blindmedia/std-env/compare/v1.3.1...v2.0.0 )
</details>
---
### Renovate configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate ). View repository job log [here](https://renovatebot.com/dashboard#nuxt/nuxt.js ).
2018-10-05 13:23:29 +01:00
Clark Du
ea8c2a6505
feat: move build to packages ( #4031 )
...
* feat: move build to packages
* fix: remove build in eslint
* refactor: rename nuxt-build to nuxt-pack
2018-10-03 19:50:22 +01:00
Renovate Bot
32f395d7e8
fix(deps): update all non-major dependencies
2018-10-03 13:30:58 +03:30
renovate[bot]
6a88e06c45
fix(deps): update dependency postcss-preset-env to ^6.0.8 ( #4029 )
...
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| postcss-preset-env | dependencies | patch | `^6.0.7` -> `^6.0.8` | [source](https://renovatebot.com/gh/csstools/postcss-preset-env ) |
---
### Release Notes
<details>
<summary>csstools/postcss-preset-env</summary>
### [`v6.0.8`](https://renovatebot.com/gh/csstools/postcss-preset-env/blob/master/CHANGELOG.md#​608-October-1-2018 )
[Compare Source](7dfb8c9d7c...71ff1e5930
)
- Updated: `caniuse-lite` to 1.0.[`3000088`](https://renovatebot.com/gh/csstools/postcss-preset-env/commit/30000888 ) (patch)
- Updated: `postcss` to 7.0.4 (patch)
**Did you hear? PostCSS Preset Env is now part of Create React App!** 🎉
</details>
---
### Renovate configuration
📅 **Schedule**: No schedule defined.
🚦 **Automerge**: Enabled.
♻️ **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate ). View repository job log [here](https://renovatebot.com/dashboard#nuxt/nuxt.js ).
2018-10-02 09:07:52 +01:00
renovate[bot]
bc9071663f
fix(deps): update all non-major dependencies ( #3991 )
...
* fix(deps): update all non-major dependencies
* Update package.json
* fix(deps): lock file update
* fix test due to changed css attribute order
2018-09-30 18:11:52 +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]
e413dff491
chore(deps): update dependency webpack-bundle-analyzer to ^3.0.2 ( #3983 )
2018-09-27 10:28:12 +03:30
Dmitry Molotkov
ccc9e7e174
add missing dep for legacy and start ( #3963 )
2018-09-25 17:15:19 +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
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
6f5137cd30
chore: upgrade dependencies (babel 7.1) ( #3926 )
2018-09-21 00:27:37 +04:30
Clark Du
2dd2f2aea9
fix: build failure
2018-09-17 12:14:17 +01:00