Andrey Shertsinger
bcd672f931
fix: generate failure ( #5007 )
2019-02-13 09:18:41 +00:00
Pim
ad6a8cda9a
test: mock enquirer in typescript tests ( #5025 )
2019-02-13 09:16:51 +00:00
renovate[bot]
9be8861b81
chore(deps): update all non-major dependencies ( #5019 )
2019-02-13 12:16:06 +03:30
renovate[bot]
8678d0d6ab
chore(deps): update dependency webpack-bundle-analyzer to ^3.0.4 ( #5015 )
2019-02-12 14:03:55 +03:30
renovate[bot]
6d90ec2a50
chore(deps): update dependency consola to ^2.4.1 ( #5012 )
2019-02-12 11:44:29 +03:30
renovate[bot]
960f8cab5c
chore(deps): update all non-major dependencies ( #5009 )
2019-02-12 10:48:11 +03:30
Pim
75a74543f4
test: improve nuxt-loading component tests ( #5005 )
2019-02-12 00:32:30 +03:30
Alexander Lichter
3997d5049d
perf(webpack): use futureEmitAssets
( #5003 )
2019-02-11 14:12:37 +03:30
renovate[bot]
8106523311
chore(deps): update all non-major dependencies ( #5000 )
2019-02-11 12:10:42 +03:30
renovate[bot]
e083c38f8f
chore(deps): update all non-major dependencies ( #4992 )
2019-02-09 13:32:50 +03:30
Pooya Parsa
408680046c
fix(vue-app): fix asyncData
memory leak on client-side ( #4966 )
...
Co-authored-by: Sébastien Chopin <seb@chopin.io>
2019-02-08 20:03:45 +03:30
Alexander Lichter
69dfd848d7
refactor: some small stuff ( #4979 )
...
* refactor: flatten ifs
* refactor: unnecessary curly brackets
* refactor: unnecessary else
* refactor: promise.all instead of for-await
* refactor: apply changes suggested by @clarkdo
* chore: fix typo
* refactor: early return
* refactor: add removal TODOs
* refactor: more descriptive variable name
* refactor: prefer template string
* refactor: one-line
* refactor: early returns
* refactor: early return
* refactor: parallel promises
* refactor: early return and no else
* refactor: spread operator
* refactor: spread operator and early return
* fix: remove error and throw string instead
* fix: always return true
* refactor: clear multiline ternary
* refactor: err stack assignment
* refactor: early return and async/await
* refactor: one line
* refactor: early return
* refactor: early return
* refactor: promise.all
* refactor: args spread
2019-02-08 17:25:11 +01:00
Clark Du
3c79b4c0d7
Merge branch '2.x' into dev
2019-02-08 12:35:44 +00:00
Pim
3e9eee2549
fix: dont force exit when it was explicitly disabled ( #4973 )
...
* fix: remove slash from warning text
* fix: dont force-exit when explicitly disabled
chore: add tests for force-exit behaviour
* feat: default option value can be fn
2019-02-08 13:36:47 +03:30
renovate[bot]
f791d786e0
chore(deps): update all non-major dependencies ( #4981 )
2019-02-08 13:35:47 +03:30
Pooya Parsa
29297160a1
feat(vue-renderer): improvements ( #4722 )
2019-02-08 13:35:01 +03:30
Clark Du
eac6d022f5
refactor: remove unnecessary onEmit in old webpack
2019-02-07 17:26:43 +00:00
Kevin Marrec
17cc12f005
improvement(ts): transpileOnly when using nuxt-ts start
( #4906 )
2019-02-07 18:36:30 +03:30
Alexander Lichter
574a2eb293
fix: disable "analyze" for nuxt generate ( #4975 )
2019-02-07 18:30:41 +03:30
Alexander Lichter
31cb18737b
refactor: use spread syntax for plugin push ( #4976 )
2019-02-07 18:30:04 +03:30
Cristian Pallarés
dbf70999e4
fix(vue-app): fix getNuxtChildComponents
method ( #4969 )
2019-02-07 10:14:38 +00:00
renovate[bot]
a03dafbe97
chore(deps): update dependency webpack to ^4.29.3 ( #4972 )
2019-02-07 12:12:39 +03:30
renovate[bot]
111455f99a
fix(deps): update serve-placeholder and esm ( #4970 )
2019-02-07 11:25:46 +03:30
renovate[bot]
fc604d1733
chore(deps): update all non-major dependencies ( #4970 )
2019-02-07 11:21:51 +03:30
renovate[bot]
995911d994
chore(deps): upgrade vue to ^2.6.3 ( #4968 )
2019-02-07 01:42:22 +03:30
renovate[bot]
bbcac17f34
chore(deps): update dependency webpack-dev-middleware to ^3.5.2 ( #4967 )
2019-02-07 01:01:55 +03:30
pooya parsa
562c62f982
update snapshot
2019-02-06 23:12:56 +03:30
pooya parsa
b1a16c995e
fix help message for force-exit
2019-02-06 23:12:04 +03:30
pooya parsa
a347ef9b94
fix: default for-exit to false to prevent dev exit
2019-02-06 23:10:43 +03:30
Pim
5094d9c75d
feat: show warning on forced exit ( #4958 )
2019-02-06 22:53:42 +03:30
pooya parsa
fb87a559c2
fix: fix non standard esm modifications
2019-02-06 22:28:43 +03:30
Pim
5ec5932bad
fix: refactor file watchers (chokidar/linux workaround) ( #4950 )
2019-02-06 22:16:17 +03:30
pooya parsa
4e30bda44e
v2.4.3
2019-02-06 19:37:24 +03:30
pooya parsa
1be455f5af
manually bump all versions to 2.4.3
2019-02-06 19:27:43 +03:30
pooya parsa
13e494c0f0
v2.4.3
2019-02-06 19:26:54 +03:30
renovate[bot]
00e2280c30
chore(deps): update dependency webpack to ^4.29.2 ( #4963 )
2019-02-06 18:53:37 +03:30
Ricardo Gobbo de Souza
e2c811a6d0
feat(module): support src as a function in addModule ( #4956 )
2019-02-06 18:53:28 +03:30
Xin Du (Clark)
f40f3f92c1
fix: await buildDone hook ( #4955 )
2019-02-06 18:53:14 +03:30
renovate[bot]
8b474cd256
chore(deps): update dependency webpack to ^4.29.2 ( #4963 )
2019-02-06 18:45:47 +03:30
renovate[bot]
76736f8ac7
chore(deps): update all non-major dependencies ( #4954 )
2019-02-06 01:17:01 +03:30
Ricardo Gobbo de Souza
4c7bd9c507
feat(cli): option to open the project in the browser ( #4930 )
2019-02-06 01:07:59 +03:30
Ricardo Gobbo de Souza
1e9eb4b70c
feat(module): support src as a function in addModule ( #4956 )
2019-02-05 15:05:42 +03:30
Pooya Parsa
93089543be
feat: upgrade vue to 2.6 ( #4953 )
2019-02-05 14:00:57 +03:30
Xin Du (Clark)
5c08db20b4
fix: await buildDone hook ( #4955 )
2019-02-05 13:23:47 +03:30
pooya parsa
a96355e497
merge branch 2.x
2019-02-05 01:07:21 +03:30
pooya parsa
95ef1d4062
fix: update webpack to 4.29.1
2019-02-05 00:46:43 +03:30
pooya parsa
b1a5a19ac5
fix: update terser-webpack-plugin to 1.2.2
2019-02-05 00:46:24 +03:30
Clark Du
858c9eeb5d
fix(test): unhandled open handles
2019-02-04 12:39:54 +00:00
Clark Du
fabf1c07eb
test: add await for promisable expect
2019-02-04 11:31:24 +00:00
Xin Du (Clark)
43491f6e53
feat(test): unit tests for @nuxt/builder ( #4834 )
2019-02-04 10:34:04 +00:00
Alexander Lichter
422155ea14
fix: warn when using array postcss configuration ( #4936 )
2019-02-04 01:51:51 +03:30
renovate[bot]
efc2880829
chore(deps): update dependency caniuse-lite to ^1.0.30000934 ( #4934 )
2019-02-03 11:56:05 +00:00
renovate[bot]
cdec133cb3
chore(deps): update all non-major dependencies ( #4894 )
2019-02-02 14:39:07 +03:30
Xin Du (Clark)
ca191240fb
fix: extra properties in templateFiles ( #4925 )
2019-02-01 19:55:32 +03:30
Xin Du (Clark)
268851fe85
fix: bundle resources other than js(x)/json in node_modules ( #4913 )
2019-02-01 16:04:06 +00:00
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