Commit Graph

313 Commits

Author SHA1 Message Date
Pooya Parsa
e9f380c9e6 v2.14.9 [release] 2020-12-02 11:34:18 +01:00
Xin Du (Clark)
ab039f051a
feat: update all dependencies that require node 10.x (#8346) 2020-12-01 12:40:50 +01:00
Pooya Parsa
68d8fb8487 v2.14.8 [release] 2020-12-01 12:05:12 +01:00
pooya parsa
c15fc421ab
refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00
renovate[bot]
63f5a0ed8c
chore(deps): update all non-major dependencies (#8300)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-09 18:11:56 +01:00
pooya parsa
265d0e7aac v2.14.7
[release]
2020-10-15 18:17:49 +02:00
Sébastien Chopin
7e7190b90d
fix: add better logs for DX with target option (#8206)
* fix: add better logs for DX with target option

* chore: add warning for old nuxt build in ssr false

* Update generator.js

* Update generate.js

* chore: better logs

* fix: update
2020-10-15 18:12:06 +02:00
renovate[bot]
b533877b6a
chore(deps): update all non-major dependencies (#8197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-13 21:07:29 +02:00
renovate[bot]
1b1ef37fcb
chore(deps): update dependency upath to v2 (#8157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-08 16:36:19 +02:00
pooya parsa
41176577ad v2.14.6
[release]
2020-09-21 12:30:19 +02:00
renovate[bot]
7f8b3a9550
chore(deps): update dependency serialize-javascript to ^5.0.1 (#8051)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-10 15:11:13 +02:00
pooya parsa
3b037720f2 v2.14.5
[release]
2020-09-10 14:35:08 +02:00
renovate[bot]
c9513010eb
chore(deps): update dependency serialize-javascript to v5 (#8045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 16:11:47 +02:00
pooya parsa
1a77fba4eb v2.14.4 2020-08-27 12:25:35 +02:00
pooya parsa
5e9d759d7b v2.14.3 [release] 2020-08-16 19:03:06 +02:00
pooya parsa
34c56722c8 v2.14.2 [release] 2020-08-16 12:57:53 +02:00
renovate[bot]
9914fbd017
chore(deps): update all non-major dependencies (#7914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-14 19:31:22 +02:00
renovate[bot]
5fdfba2279
chore(deps): update all non-major dependencies (#7853)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:05:54 +02:00
pooya parsa
c30499d7e0 v2.14.1
[release]
2020-08-04 17:33:56 +02:00
pooya parsa
60f68638cb v2.14.0 [release] 2020-07-27 19:23:49 +02:00
Martin Novák
b469f931f8
feat(builder): support async extendRoutes (#7754)
Co-authored-by: Martin Novák <martin.novak@cleverlance.com>
2020-07-22 12:30:50 +02:00
renovate[bot]
361afcb747
chore(deps): update all non-major dependencies (#7721)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-16 17:15:01 +02:00
renovate[bot]
a4fdbf8aa2
chore(deps): update all non-major dependencies (#7671)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-09 12:39:06 +02:00
pooya parsa
e3821ba78c v2.13.3 [release] 2020-07-02 20:06:42 +02:00
pooya parsa
c998072c94 v2.13.2 2020-06-26 20:58:45 +02:00
renovate[bot]
000ad67f99
chore(deps): update dependency consola to ^2.14.0 (#7617) 2020-06-26 17:10:50 +02:00
pooya parsa
56b158e7d6 v2.13.1 [release] 2020-06-24 10:36:15 +02:00
Pooya Parsa
dbecbe4ada v2.13.0 [release] 2020-06-18 18:48:36 +02:00
renovate[bot]
b19006d1c7
chore(deps): update all non-major dependencies (#7494)
[release]
2020-06-12 15:30:36 +02:00
renovate[bot]
87f1a8d144
chore(deps): update dependency serialize-javascript to v4 (#7482)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 11:30:49 +02:00
renovate[bot]
484e70fdd8
chore(deps): update all non-major dependencies (#7433)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-01 18:48:09 +02:00
renovate[bot]
2e711c143b
chore(deps): update all non-major dependencies (#7427)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-28 16:46:15 +02:00
renovate[bot]
5c348c0618
chore(deps): update all non-major dependencies (dev) (#7419)
* chore(deps): update all non-major dependencies

* update size limits
2020-05-27 23:27:20 +02:00
renovate[bot]
ca32427d2e
chore(deps): update all non-major dependencies (#7403)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-25 21:33:34 +02:00
Pooya Parsa
0337932115
feat: runtime config and built-in dotenv support (#7312)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2020-05-18 10:21:15 +02:00
Tim van den Eijnden
2e5184688f
fix(generator, builder): empty build and dist directories instead of remove (#7361) 2020-05-13 16:46:13 +02:00
renovate[bot]
8af076d5e6
chore(deps): update all non-major dependencies (dev) (#7326) 2020-05-11 09:14:28 +01:00
Sébastien Chopin
917adc0618
feat: options.target and full-static export (#6159)
* feat: add options.target

* fix(lint): lint

* fix(test): update snapshots

* fix(builder): default value for target

* fix(test): fix test

* fix(test): test fixing

* fix: use this.options.target

* fix: final test

* Update packages/vue-renderer/src/renderer.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* feat: Add target option and update banner

* fix(lint): fix

* feat: Add warning when using serverMiddleware in static target

* chore(utils): add TARGETS and MODES as constants

* hotfix: lint

* chore(module): add filename as alias of fileName

* feat: introducing nuxt export and router/routes.json

* hotfix: Fix the linting lord

* chore(core): add comment for filename vs fileName

* fix: use targets constant

* chore: remove warning

* fix: unit testing

* wip: refactor and use TARGETS

* fix: lint

* feat: add target as alias for first arg value

* fix: generate only for SPA

* chore: explain to use nuxt static X

* fix: render SPA fallback on redirect for static target

* fix: lint issue

* fix: only target is useful for now

* wip

* wip: nuxt static export is looking good

* Update packages/generator/src/generator.js

Co-Authored-By: Devon Rueckner <indirectlylit@users.noreply.github.com>

* Update packages/cli/src/options/common.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* feat: add options.target

* fix(lint): lint

* fix(test): update snapshots

* fix(builder): default value for target

* fix(test): fix test

* fix(test): test fixing

* fix: use this.options.target

* fix: final test

* Update packages/vue-renderer/src/renderer.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* feat: Add target option and update banner

* fix(lint): fix

* feat: Add warning when using serverMiddleware in static target

* chore(utils): add TARGETS and MODES as constants

* hotfix: lint

* chore(module): add filename as alias of fileName

* feat: introducing nuxt export and router/routes.json

* hotfix: Fix the linting lord

* chore(core): add comment for filename vs fileName

* fix: use targets constant

* chore: remove warning

* fix: unit testing

* wip: refactor and use TARGETS

* fix: lint

* feat: add target as alias for first arg value

* chore: explain to use nuxt static X

* fix: render SPA fallback on redirect for static target

* fix: lint issue

* fix: only target is useful for now

* wip

* wip: nuxt static export is looking good

* Update packages/generator/src/generator.js

Co-Authored-By: Devon Rueckner <indirectlylit@users.noreply.github.com>

* Update packages/cli/src/options/common.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* fix: duplicate imports

* chore: don't server render if an error happens on static target

* test: update unit and add export

* lint: fix

* lint: fix

* fix: e2e test

* fix: fallback only for static target

* fix: dev test

* feat: add generate.crawler

* fix: full static is when generate.static is given

* chore: improvements

* fix: Add isFullStatic in nuxt/config.json

* feat: handle fetch for full static

* feat: router.prefetchPayloads for full static

* chore: use fetch in async-data example

* fix: add target only if given

* fix: use created to have access to props in fetchOnServer

* chore: add console.error in dev for easy debugging

* feat: payload smart pre-fetching

* fix: remove alias for target

* fix: increment payloadFetchIndex is static set to false

* chore: lint

* chore: add serve command

* chore: rename universal to server-side

* fix: handle payloadPath on SPA fallback

* fix: lint

* chore lint again

* feat: handle spa fallback

* feat: support string for exclude

* fix: fallback only if no extension or html

* chore: use JSON.stringify() for static target

* chore: lint again, dammit

* chore: fix tests and remove too early return

* fix: early return only for server target

* fix: update tests

* fix: unit tests

* chore: add ssr option

* chore: add logic for ssr option

* fix: #6682

* chore(dx): add next command to run

* fix: lint

* fix: tests

* chore: keep old behaviour for nuxt build in spa

* fix: test again, oh boy

* fix: alright this is good now

* chore: add comment for spa fallback

* chore: move routes.json to dot nuxt dir

* chore: simplify check for promise

* chore: unique lock id

* chore: refactor isFullStatic

* fix: dont set default in build context

* chore: add test for serve

* chore: update tests

* hotfix: lint tests

* chore(dx): improve message for bundling

* feat: js payload extraction with jsonp

* fix: keep serialized session script for legacy generate

* fix: call to setPagePayload from fetchPayload

* use devalue for payload chunks

* feat: add initial load state chunk

* feat: preload payload and state scripts

* fix(vue-app): don't re-render the app if trailing slash on SSG

* hotfix: remove console.log

* chore(dx): add deploy infos for nuxt export

Co-authored-by: Pooya Parsa <pyapar@gmail.com>

* chore: handle fetching payload.js for nuxt state

* chore(dx): error when using nuxt generate and static

* chore: remove static option for clarity

* chore: remove serverless target

* hotfix: lint

* hotfix: unit tests

* chore: update legacy js resource

* chore: remove query params from url in static target

* fix: use globalName and urlJoin

* chore: typo

* feat: previewMode 👀

* chore: rename to enablePreview

* fix: wait next tick to avoid error on spa

* chore: try 1 sec

* hotfix: test only for linux, wtf azure

* refactor: static assets

- generalize logic for modules need emit export static assets
- allow customization for version, dir and base
- serialization logic is only in ssr now

* feat: smart state chunk creates

* fix(client): ignore payload load error

* perf: avoide payload loading for spa initial

* perf: avoid loading failed chunks again

* chore(cli): add simple compression for nuxt serve

* test: update snapshots

* fix version snapshot

* fix(generator): set staticAssetsBase on context only for full static

* fix tests

* fix: honor shouldHashCspScriptSrc

* chore(dx): add log for client-side fallback creation

Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
Co-authored-by: Alexander Lichter <manniL@gmx.net>
Co-authored-by: Pooya Parsa <pooya@pi0.ir>
Co-authored-by: Devon Rueckner <indirectlylit@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-05-07 21:08:01 +02:00
renovate[bot]
c37c3d4da0
chore(deps): update all non-major dependencies (dev) (#7269) 2020-05-07 09:33:52 +01:00
renovate[bot]
cf205e7902
chore(deps): update all non-major dependencies (#7188)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 11:26:43 +02:00
Pooya Parsa
318aad2aed
fix(server): HMR for sub-app serverMiddleware without path (#7146) 2020-03-27 22:30:43 +01:00
Jt Whissel
51b5bf565b
feat(builder): ignore option to function the same as .nuxtignore (#7132) 2020-03-27 11:53:23 +01:00
pooya parsa
8d355956d4 v2.12.1
[release]
2020-03-25 20:20:50 +01:00
pooya parsa
4b34941df8 fix(builder): ensure entry is in graph for HMR (#7097) 2020-03-18 11:05:37 +01:00
pooya parsa
205a089f83 v2.12.0 2020-03-17 17:43:35 +01:00
Mark Honeychurch
084a1ca1af
chore(builder): analyze mode warning rewording (#6924) 2020-02-25 00:16:43 +01:00
renovate[bot]
6d79206a68
chore(deps): update dependency serialize-javascript to v3 (#6977)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-24 22:41:53 +01:00
renovate[bot]
19fd3e4932
chore(deps): update all non-major dependencies (#6956) 2020-02-16 14:58:21 +01:00
Pooya Parsa
65b97edf03 chore: add explicit dependencies 2020-02-06 14:04:51 +01:00
Pooya Parsa
1df1874f8a fix(pkg): add explicit dependencies 2020-02-06 13:57:42 +01:00
Pooya Parsa
d83f697c15 chore: sort package.json 2020-02-06 13:32:56 +01:00
renovate[bot]
5a80599ffa
chore(deps): update all non-major dependencies (#6932) 2020-02-02 15:05:49 +00:00
Pooya Parsa
2707bdb37e
feat: improve programatic usage (#6868) 2020-01-19 09:36:06 +01:00
Pooya Parsa
8907e1553f
feat: HMR support for serverMiddleware (#6881) 2020-01-19 09:34:35 +01:00
renovate[bot]
aada6e50d9 chore(deps): update dependency consola to ^2.11.3 (#6839) 2020-01-01 12:42:55 +01:00
Renovate Bot
14e6eb6b27
chore(deps): update all non-major dependencies 2019-12-29 22:19:43 +00:00
Pooya Parsa
7af9ec8c23 v2.11.0 2019-12-17 11:22:18 +01:00
Pooya Parsa
311ff27ba6 test: mock semver/functions/satisfies 2019-12-17 11:00:07 +01:00
renovate[bot]
51b3163c2a chore(deps): update dependency consola to ^2.11.1 (#6800) 2019-12-17 10:59:30 +01:00
renovate[bot]
929779555b chore(deps): update dependency semver to ^7.1.0 (#6797) 2019-12-17 10:38:03 +01:00
Pooya Parsa
4669b6b58d test: semver is not mockable 2019-12-16 22:59:20 +01:00
renovate[bot]
bb5f84c601 chore(deps): update all non-major dependencies (#6779) 2019-12-16 22:21:58 +01:00
renovate[bot]
0ef6c72a9c chore(deps): update dependency semver to v7 (#6789) 2019-12-16 21:33:47 +01:00
Renovate Bot
3938e58110
chore(deps): update all non-major dependencies 2019-12-09 18:49:52 +00:00
renovate[bot]
3cc4770c22 chore(deps): update dependency serialize-javascript to ^2.1.1 (#6769) 2019-12-08 10:11:48 +08:00
Xin Du (Clark)
e8aca9eb11 chore: update @nuxtjs/eslint-config to v2 and fix lint errors (#6732) 2019-11-26 23:42:39 +01:00
Xin Du (Clark)
9ada4e63a9 feat(config): add ignoreOptions for node-ignore (#6597) 2019-11-24 13:28:37 +01:00
renovate[bot]
abd82805a7 chore(deps): update all non-major dependencies (#6677) 2019-11-12 10:42:05 +00:00
renovate[bot]
adce605379 chore(deps): update all non-major dependencies (#6665) 2019-11-09 22:18:39 +00:00
renovate[bot]
8ee99bc288 chore(deps): update all non-major dependencies (#6647) 2019-11-03 15:36:54 +00:00
renovate[bot]
d2d0e11455 chore(deps): update all non-major dependencies (#6603) 2019-10-28 14:57:09 +01:00
Pooya Parsa
f6aa45dda6 v2.10.2 [release] 2019-10-21 23:16:29 +02:00
renovate[bot]
3d51c0341b chore(deps): update dependency glob to ^7.1.5 (#6602) 2019-10-21 23:09:36 +02:00
renovate[bot]
2b6589cca8 chore(deps): update all non-major dependencies (#6573) 2019-10-17 20:16:52 +01:00
Pooya Parsa
624c4c058e v2.10.1 [release] 2019-10-11 10:08:40 +02:00
Pooya Parsa
c17afa77a7 v2.10.0
[release]
2019-10-02 13:40:59 +02:00
renovate[bot]
0f8428fae7 chore(deps): update all non-major dependencies (#6494) 2019-10-01 19:36:12 +02:00
renovate[bot]
7286e83ff7 chore(deps): update dependency chokidar to ^3.2.0 (#6489)
[release]
2019-10-01 13:08:27 +02:00
Snir Shechter
92c7f4ed24 feat(builder): followSymlinks option to allow for symlinks (#6368) 2019-09-29 11:06:44 +02:00
Pooya Parsa
13331a02b4 fix(webpack): revert pause/resume 2019-09-26 14:13:43 +02:00
Pim
06a288376a fix(webpack): dont push to compilersWatching in callback (#6448) 2019-09-25 17:11:39 +02:00
renovate[bot]
2f0b33f5ed chore(deps): update dependency chokidar to ^3.1.1 (#6440) 2019-09-19 20:24:03 +01:00
renovate[bot]
622bd9989c chore(deps): update all non-major dependencies (#6407) 2019-09-18 15:56:51 +02:00
Pim
174c13d56c feat(vue-app): support configurable features (#6287) 2019-09-05 17:15:27 +02:00
renovate[bot]
a972849406 chore(deps): update dependency serialize-javascript to v2 (#6359) 2019-09-05 09:11:42 +01:00
Jonas Galvez
81f0c8af33 feat(builder): extendPlugins option and builder:extendPlugins hook (#6285) 2019-09-04 14:19:50 +02:00
xxRockOnxx
519ced4c4a refactor(builder): await build.createRoutes to allow async functions inside it (#6352) 2019-09-04 12:00:58 +02:00
renovate[bot]
f1edd8220b chore(deps): update dependency upath to ^1.2.0 (#6344) 2019-09-03 11:31:56 +02:00
Pim
ad223583fc feat(builder): add builder:prepared hook (#6329) 2019-09-02 15:26:21 +02:00
Pim
e78e8b4b7d feat(builder): support adding custom middlewares (#6342) 2019-09-02 12:53:52 +02:00
Alexander Lichter
7c90310166 feat(builder, router): enforce uniform trailing slash handling (#6331) 2019-09-01 16:37:25 +02:00
renovate[bot]
75f8d00b68 chore(deps): update all non-major dependencies (#6323) 2019-08-31 19:19:14 +01:00
Clark Du
c8ee9a6608 v2.9.2 2019-08-28 12:32:12 +01:00
Pim
3eb1710b6d test(vue-app): add template compiler helper (#6299) 2019-08-25 13:31:17 +01:00
Pooya Parsa
7f542e08e5
fix(builder): apply overrides from app dir only (#6283)
[release]
2019-08-24 21:40:39 +04:30
Pooya Parsa
81b92b6395
fix: improve watching experience for generated files (#6257) 2019-08-21 23:34:04 +04:30
renovate[bot]
6a06dfb39a chore(deps): update dependency serialize-javascript to ^1.8.0 (#6254) 2019-08-20 21:46:28 +04:30
pooya parsa
0157b971de v2.9.1 2019-08-20 15:41:35 +04:30
pooya parsa
ce3b456961 v2.9.0 2019-08-20 12:51:10 +04:30
renovate[bot]
8f5244cabd chore(deps): update all non-major dependencies (#6213) 2019-08-17 15:54:58 +01:00