Commit Graph

1796 Commits

Author SHA1 Message Date
Daniel Roe
e38de4af4d
fix(vite): disable hmr in build (#5505) 2022-06-22 20:07:54 +02:00
renovate[bot]
8f98f60032
chore(deps): update all non-major dependencies (#5541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 20:04:32 +02:00
Daniel Roe
308148977d
feat(kit): support client and server flags for addVitePlugin (#5560) 2022-06-22 19:29:51 +02:00
renovate[bot]
42c5428ee9
chore(deps): update all non-major dependencies (#5536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 17:40:20 +02:00
renovate[bot]
cc72796a1c
chore(deps): update dependency rollup to ^2.75.7 (#5530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 10:44:27 +02:00
renovate[bot]
9f81d478cd
chore(deps): update all non-major dependencies (#5502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 10:21:04 +02:00
renovate[bot]
9be0be2d68
chore(deps): update dependency mlly to ^0.5.3 (#5496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 18:18:09 +02:00
renovate[bot]
8278fa5825
chore(deps): update all non-major dependencies (#5475)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 12:26:34 +02:00
Daniel Roe
cf255259ca
fix(vite): add typecheck to vite plugins (#5464) 2022-06-15 17:18:45 +02:00
Daniel Roe
d7d97cd7d1
fix(nuxt): prefer nuxt app context over getCurrentInstance (#5456) 2022-06-15 14:00:34 +02:00
renovate[bot]
2fa0248cab
chore(deps): update all non-major dependencies (#5473)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 13:59:47 +02:00
Julien Huang
ccec0a3738
feat(kit): allow addServerHandler to use method suffix of the file path (#5465) 2022-06-15 13:53:31 +02:00
Daniel Roe
e10517d4d7
fix(nuxt): normalize string transpile paths for windows (#5461)
* fix(nuxt): normalize string transpile paths for windows

* Update packages/nuxt/src/core/nuxt.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-15 13:52:46 +02:00
Daniel Roe
411eee3b77
fix(schema): add types for vite: hooks (#5472) 2022-06-15 13:51:58 +02:00
renovate[bot]
bea6cecb6e
chore(deps): update all non-major dependencies (#5448)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 13:28:17 +02:00
renovate[bot]
be0e502a05
chore(deps): update all non-major dependencies (#5444)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 16:27:00 +02:00
pooya parsa
c9d4b2ebc8
v3.0.0-rc.4 (#5393) 2022-06-13 16:19:31 +02:00
renovate[bot]
c0a7d5ab93
chore(deps): update all non-major dependencies (#5442)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 15:03:52 +02:00
Daniel Roe
4fdea30cbb
fix(webpack): enable extractCSS by default (#4388) 2022-06-13 14:52:27 +02:00
renovate[bot]
99aff28d06
chore(deps): update all non-major dependencies (#5431)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 00:41:53 +02:00
Ennio Visconti
9d28c0adbb
refactor(nuxi): improve env update message (#5430) 2022-06-13 00:13:59 +02:00
Jaemin Choi
95b38e241d
fix(nuxt): don't add macro query to the end of id (#5413)
* fix(nuxt): don't add macro query to the end of id

* Update packages/nuxt/src/pages/macros.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-12 23:46:31 +02:00
Daniel Roe
a9c061cd2e
fix(nuxi): always override NODE_ENV (#5417) 2022-06-12 23:26:36 +02:00
Daniel Roe
0f4fa5643f
fix(nuxt): ignore whitespace and commas within resolveComponent (#5428) 2022-06-12 23:22:15 +02:00
Daniel Roe
59da4c6dd4
fix(nuxt): exclude non-cwd auto-imports and don't process all files (#5421) 2022-06-12 22:12:43 +02:00
renovate[bot]
67d804400b
chore(deps): update all non-major dependencies (#5412)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 21:39:36 +02:00
Daniel Roe
8831e4a4b9
fix(vite): don't terminate with escaped delimiters (#5409) 2022-06-10 17:17:11 +02:00
Daniel Roe
fbcbac01d6
fix(nuxt): don't debounce watcher and include layers (#5002) 2022-06-10 16:50:47 +02:00
Daniel Roe
11a7340883
feat(nuxt): experimental flag to use external vue dependencies (#5083) 2022-06-10 16:31:36 +02:00
renovate[bot]
63b0457a69
chore(deps): update all non-major dependencies (#5404)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 15:49:47 +02:00
Daniel Roe
f6bf4f7559
fix(nuxt): throw an error when using unknown route middleware (#5323) 2022-06-10 15:35:58 +02:00
Daniel Roe
846be5cee2
fix(nuxt): transform extends layers within node_modules (#5042) 2022-06-10 15:33:16 +02:00
Daniel Roe
5d4586a322
fix(webpack): respect build.transpile (#5043) 2022-06-10 15:18:31 +02:00
Daniel Roe
970758e050
revert(nuxt): revert router hotfix #4983 (#5394) 2022-06-10 15:15:53 +02:00
Daniel Roe
93f6a1e4ca
fix(vite, kit, nuxt): generate safe variable names using knitwork (#4906) 2022-06-10 15:12:21 +02:00
Daniel Roe
6947d30f01
fix(kit): pass resolved path to isIgnored (#5375) 2022-06-10 14:28:48 +02:00
Anthony Fu
fadffbe80c
chore: clean up jsdoc (#5397) 2022-06-10 14:14:03 +02:00
renovate[bot]
3fb473dcc0
chore(deps): update dependency vue-bundle-renderer to ^0.3.9 (#5401)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 14:13:42 +02:00
renovate[bot]
b01d6b9dcb
chore(deps): update all non-major dependencies (#5391)
* chore(deps): update all non-major dependencies

* update lockfile

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-06-10 14:09:43 +02:00
renovate[bot]
6e80027c77
chore(deps): update all non-major dependencies (#5383)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 10:28:59 +02:00
Daniel Roe
27a0084b6c
fix(nuxt): keep route param optionality when sibling is an index (#5300) 2022-06-09 15:03:08 +02:00
Daniel Roe
b31186b658
fix(nuxt): sort routes with dynamic params at the end (#4983) 2022-06-09 14:09:34 +02:00
Anthony Fu
a802b87ac7
feat(nuxt): support auto imports within <template> (#4904) 2022-06-08 22:09:31 +02:00
Daniel Roe
247deacc2b
fix(nuxt): relax server import protections (#5355)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-08 21:51:38 +02:00
renovate[bot]
a3f8eca665
chore(deps): update all non-major dependencies (#5358)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-08 21:49:23 +02:00
Xin Du (Clark)
139fc11c5a
refactor: fix typo and code improvements (#5344) 2022-06-08 21:49:11 +02:00
Anthony Fu
eafd92c457
fix(types): tidy types for useAsyncData (#5340) 2022-06-08 21:45:12 +02:00
Daniel Roe
822928b07e
fix(nuxt): add ssrContext types on NuxtApp (#5333) 2022-06-08 21:37:50 +02:00
renovate[bot]
700b7adbc6
chore(deps): update dependency pify to v6 (#5313)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-08 21:27:37 +02:00
renovate[bot]
f5dca6245d
chore(deps): update all non-major dependencies (#5287)
* chore(deps): update all non-major dependencies

* chore: dedupe dependencies

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-08 21:12:48 +02:00
renovate[bot]
603f07c3b8
chore(deps): update devdependency colorette to ^2.0.17 (#5285)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-03 18:18:08 +02:00
renovate[bot]
0825bc4022
chore(deps): update all non-major dependencies (#5281) 2022-06-03 18:10:22 +02:00
renovate[bot]
c071b1eb90
chore(deps): update all non-major dependencies (#5085) 2022-06-03 16:26:29 +02:00
webfansplz
9379606222
fix(schema, vite): resolve mode config correctly (#5255) 2022-06-03 16:09:04 +02:00
Daniel Roe
eb12c7a845
fix(nuxt): support RouterView props in NuxtPage (#5272) 2022-06-03 16:01:46 +02:00
Harlan Wilton
c1f728ee54
refactor(nuxi): provide better advice on failing clone (#5155) 2022-06-01 08:43:24 +02:00
Daniel Roe
baf2baadb6
refactor(vite, webpack, test-utils): use caret range for vue peer dependency (#5190) 2022-06-01 00:36:15 +02:00
Daniel Roe
1fda73267a
fix(nuxt): respect navigateTo options using server middleware in server-side (#5145) 2022-06-01 00:09:32 +02:00
Alex Kozack
1e8fba8378
fix(schema): add missed types title, bodyAttrs, htmlAttrs (#5184)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-31 23:30:17 +02:00
Anthony Fu
fca2ed7cc5
fix(nuxt): default statusCode of navigateTo from 301 to 302 (#5173)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-31 23:28:52 +02:00
Daniel Roe
9adecac0b7
fix(nuxt): add default empty title to trigger titleTemplate (#5064) 2022-05-20 16:43:07 +02:00
Daniel Roe
a4a3cffb92
fix(nuxt): allow passing extraneous attrs to meta components (#5071) 2022-05-20 16:42:19 +02:00
renovate[bot]
d9b6c8a59b
chore(deps): update all non-major dependencies (#5073)
* chore(deps): update all non-major dependencies

* update lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-20 13:54:19 +02:00
Tobias Schulmann
ca526cfa92
docs(config): correct naming of NUXT_APP_CDN_URL environment variable (#5032) 2022-05-20 11:40:30 +02:00
renovate[bot]
8e59a623b8
chore(deps): update dependency postcss-loader to v7 (#5047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 11:17:10 +02:00
renovate[bot]
80fbd663f4
chore(deps): update dependency css-minimizer-webpack-plugin to v4 (#5051)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 11:16:59 +02:00
Julien Huang
4e53af3e99
fix(nuxt): fix router redirection on aliased pages (#4982) 2022-05-20 11:15:57 +02:00
renovate[bot]
733c293901
chore(deps): update all non-major dependencies (#4973)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 11:13:19 +02:00
chris-zhu
78d1a87d4c
docs: fix typo in environment variable (#4990)
* chore: typo

* docs: style

Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-18 08:16:24 +02:00
Dominik Opyd
f0dbc951e6
docs: add missing parentheses in the alias example (#4995)
* docs(api): improving the parentheses of the `alias` examples in`nuxt.config`

* docs: revert change

Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-18 08:15:38 +02:00
Daniel Roe
cd37a21c2e
fix(test-utils): hardcode ipv4 ip for localhost (#4998) 2022-05-17 09:40:35 +08:00
Jeremy Ye
bd80d27a49
fix(vite): add file:// protocol to vite-node entry file path (#4966) 2022-05-13 13:00:14 +02:00
Daniel Roe
2886dfdaea
fix(nuxi): only reload for top level dirs (#4912) 2022-05-13 12:59:04 +02:00
Daniel Roe
17f9c54a79
feat(vite): replace global with globalThis (#4958) 2022-05-13 12:49:30 +02:00
renovate[bot]
8767b7e3e1
chore(deps): update all non-major dependencies (#4964)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 12:29:02 +02:00
Daniel Roe
46c656c4b8
fix(nuxt): check for 404s after user middleware (#4913) 2022-05-12 11:13:38 +02:00
renovate[bot]
0475d475d9
chore(deps): update all non-major dependencies (#4950)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-12 11:12:34 +02:00
renovate[bot]
33fb75ff7c
chore(deps): update all non-major dependencies (#4934)
* chore(deps): update all non-major dependencies

* update lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-12 11:10:32 +02:00
Daniel Roe
cad4edd5a3
fix(nuxt): respect baseurl when redirecting (and universal router) (#4933)
* fix(nuxt): respect baseurl when redirecting (and universal router)

* test: add test case for redirect
2022-05-11 19:33:29 +02:00
renovate[bot]
7e89fe8f6c
chore(deps): update all non-major dependencies (#4914)
* chore(deps): update all non-major dependencies

* update lock

* fix: update types

* fix: update error type

* test: update useFetch url

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-11 14:32:05 +02:00
renovate[bot]
5c8c0451a6
chore(deps): update all non-major dependencies (#4899)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-10 11:10:09 +02:00
pooya parsa
36512d0eaa
v3.0.0-rc.3 (#4852) 2022-05-10 10:58:29 +02:00
renovate[bot]
b633a9c106
chore(deps): update all non-major dependencies (#4867)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 16:11:59 +02:00
Sébastien Chopin
9e5a3cdc6f
fix(nuxt): avoid redirect with different encoding and trailing slash (#4857)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-06 18:02:50 +02:00
pooya parsa
a58178c4fd
refactor(nuxt): cleanup renderer entry (#4853) 2022-05-06 17:34:21 +02:00
Dario Merz
31c67ad9b4
fix(vite): ignore virtual imports that aren't in vfs (#4822)
Co-authored-by: Dario Merz <dario.merz@deptagency.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-06 15:33:32 +02:00
Jalil Wahdatehagh
5816fee892 fix(nuxt): add missing import to client only wrapper (#4851) 2022-05-06 15:32:29 +02:00
pooya parsa
92847ed924
feat(nuxt, kit): add shortcuts to register custom server handlers (#4850) 2022-05-06 15:31:52 +02:00
Daniel Roe
e0125f49ff
fix(schema): add back PublicRuntimeConfig interface for augmentation (#4849) 2022-05-06 15:27:42 +02:00
renovate[bot]
a5ba1df37a
chore(deps): update all non-major dependencies to ^0.10.5 (#4846)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-06 15:25:00 +02:00
pooya parsa
f67deed037
feat(nuxt)!: upgrade nitropack to 0.4.x (#4837) 2022-05-06 15:03:38 +02:00
Anthony Fu
a862a67c80
feat(auto-import): custom include option (#4834) 2022-05-06 13:11:34 +02:00
Daniel Roe
87c62513fa
fix(nuxt): await asyncData if ssr: false (#4791) 2022-05-06 13:04:01 +02:00
Daniel Roe
b29f635646
fix(nuxt): normalise window location for universal router (#4841) 2022-05-06 13:02:35 +02:00
Daniel Roe
750460693e
fix(nuxt): check if default slot is provided before calling it (#4842) 2022-05-06 12:52:08 +02:00
Daniel Roe
4079882bd4
fix(vite): use buildAssetsURL for dynamic imports (#4844) 2022-05-06 12:51:31 +02:00
Daniel Roe
27d67360e4
fix(nuxt): clear errors after navigation (#4839) 2022-05-06 12:50:54 +02:00
Pooya Parsa
3e579825c5 build(nuxt): revert nitropack to ^0.3.x
needs manual upgrade
2022-05-06 10:50:28 +02:00
Julien Huang
6b1671181e
fix(nuxt) : add default value for nitro.rollupConfig.plugins (#4830) 2022-05-06 10:33:56 +02:00
renovate[bot]
2cc336d3a3
chore(deps): update all non-major dependencies (#4828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 23:45:37 +02:00