Commit Graph

886 Commits

Author SHA1 Message Date
renovate[bot]
15bc5b06e6
chore(deps): update all non-major dependencies (#7453)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-03 21:27:08 +02:00
renovate[bot]
8933d375e9
chore(deps): update all non-major dependencies (#7447)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-02 12:37:55 +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
Pooya Parsa
35f3ad7de3
fix: use different port for loading-screen sse (#7286)
* chore: read sse base from _loadingScreenBaseURL

* bump: @nuxt/loading-screen to 2.0.0-rc.1
2020-06-01 17:30:26 +02:00
Pooya Parsa
a544fc7241
types: move @nuxt/types to nuxt mono-repo (#7432)
[release]
2020-05-28 21:30:02 +02:00
Pooya Parsa
3db31abb05
feat(config): support .nuxtrc (#7430)
[release]
2020-05-28 18:27:49 +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]
48b11c095f
chore(deps): update all non-major dependencies (#7424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-28 13:16:14 +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
Pooya Parsa
6cbcd59d4e
feat(config): improved runtimeConfig (#7420)
* fix: ensure interpolate value is a string

* feat: allow native values from dotenv

* test: update test for regression on native value check
2020-05-27 12:38:39 +02:00
renovate[bot]
2383bcbd0f
chore(deps): update all non-major dependencies (#7417)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-26 21:02:56 +02:00
pooya parsa
c831e00c9f chore: update yarn.lock 2020-05-25 23:34:05 +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
Sébastien Chopin
f13b3752b2
feat: experimental nuxt telemetry (#7408)
[release]

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pooya parsa <pooya@pi0.ir>
2020-05-22 20:51:53 +02:00
renovate[bot]
fc9ab1c4cf
chore(deps): update devdependency @rollup/plugin-node-resolve to v8 (#7395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-20 17:24:35 +02:00
renovate[bot]
5bb207d14b
chore(deps): update devdependency @rollup/plugin-commonjs to v12 (#7394)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-20 17:24:26 +02:00
renovate[bot]
51411268af
chore(deps): update all non-major dependencies (#7385)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-20 17:23:32 +02:00
renovate[bot]
322aeb1042
chore(deps): update all non-major dependencies (dev) (#7375)
* chore(deps): update all non-major dependencies

* test: disable got decompress

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: pooya parsa <pooya@pi0.ir>
2020-05-18 14:35:20 +02:00
Pooya Parsa
6a6794e020
feat: components (#7374)
[release]
2020-05-18 13:58:48 +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
Pooya Parsa
925abf8123
chore(pkg): update rollup and dependencies (#7373)
* chore(pkg): show build error loc

* fix(cli): add nuxt serve dependencies

* chore: update rollup resolve and commonjs plugins to latest

* test: mock listener for nuxt serve
2020-05-16 15:07:56 +02:00
renovate[bot]
cdf04f4002
chore(deps): update all non-major dependencies (#7363)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-16 12:31:59 +02:00
renovate[bot]
df4296c164
chore(deps): update devdependency @nuxtjs/eslint-config to v3 (#7352)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-13 12:09:05 +02:00
renovate[bot]
c74fb41bde
chore(deps): update all non-major dependencies (#7347)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-13 12:06:13 +02:00
Clark Du
498f408d9a chore(deps): update devdependency eslint to v7 2020-05-11 09:21:54 +01: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
Xin Du (Clark)
789f0e6555
chore(dep): upgrade html-webpack-plugin to v4 (#7119) 2020-05-07 11:52:26 +01:00
renovate[bot]
c37c3d4da0
chore(deps): update all non-major dependencies (dev) (#7269) 2020-05-07 09:33:52 +01:00
Xin Du (Clark)
f1d832018a
chore(test): upgrade vue test utils to v1 (#7321) 2020-05-07 09:07:21 +01:00
Xin Du (Clark)
8c7228f1e8
test: update jest to v26 (#7319) 2020-05-05 23:53:07 +02:00
Clark Du
8538368837 chore(deps): ignore @rollup/plugin-commonjs 11.1.0
Due to https://github.com/rollup/plugins/issues/304
2020-04-26 18:03:14 +01:00
Clark Du
a59bbc2cf3 chore(ci): fix build failure from rollup commonjs plugin
the fixed package resolution can be removed after https://github.com/rollup/plugins/issues/304 gets fixed
2020-04-26 17:48:26 +01:00
Xin Du (Clark)
1ce8041abe
feat(config): add configOverrides for loadNuxt and loadNuxtConf… (#7263) 2020-04-24 09:59:56 +01:00
renovate[bot]
5516a2182b
chore(deps): update all non-major dependencies (dev) (#7255)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-24 09:13:20 +01:00
renovate[bot]
67b8020c11
chore(deps): update dependency caniuse-lite to ^1.0.30001045 (d… (#7248) 2020-04-21 09:27:20 +01:00
renovate[bot]
3a6dbdd656
chore(deps): update all non-major dependencies (dev) (#7234) 2020-04-20 21:13:50 +01:00
renovate[bot]
1151a87895
chore(deps): update devdependency got to v11 (dev) (#7241) 2020-04-20 21:13:09 +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
renovate[bot]
8b5351bc9d
chore(deps): update devdependency improved-yarn-audit to v2 (#7216)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 11:05:28 +02:00
renovate[bot]
dc18f4f670
chore(deps): update devdependency puppeteer-core to v3 (#7225)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 11:05:02 +02:00
Lucas Löffel
7845509d7b
chore: add ls-lint (#7228) 2020-04-16 16:25:40 +02:00
renovate[bot]
20f086d0ce
chore(deps): update all non-major dependencies (dev) (#7179) 2020-04-06 23:14:25 +01:00
renovate[bot]
ba938320d0
chore(deps): update devdependency rollup-plugin-license to v2 (… (#7182) 2020-04-06 23:03:27 +01:00
renovate[bot]
21b39fc701
chore(deps): update all non-major dependencies (dev) (#7157) 2020-04-05 11:58:52 +01:00
renovate[bot]
1a5515f792
chore(deps): update all non-major dependencies (dev) (#7148)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-30 10:49:32 +01:00
renovate[bot]
d46c2dd4ff
chore(deps): update all non-major dependencies (#7136)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-27 13:57:09 +01:00
renovate[bot]
f18e241f70
chore(deps): update all non-major dependencies (dev) (#7125) 2020-03-26 16:30:01 +00:00
renovate[bot]
a474c00aae
chore(deps): update dependency webpack to ^4.42.1 (#7121) 2020-03-24 10:42:43 +01:00
renovate[bot]
60f1aa93bd
chore(deps): update all non-major dependencies (dev) (#7100) 2020-03-23 11:24:29 +00:00