Commit Graph

2082 Commits

Author SHA1 Message Date
Anthony Fu
11c460fa99
fix(vite-node): entry path and executing in production (#3854) 2022-03-24 13:35:09 +01:00
Kevin Marrec
cd8dbdc01c
test: add test suites for extends features (#3862) 2022-03-24 13:33:42 +01:00
renovate[bot]
f6b7c97e9a
chore(deps): update devdependency @unocss/reset to ^0.30.1 (#3881)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 20:23:33 +08:00
renovate[bot]
1ad65998a4
chore(deps): update all non-major dependencies (#3859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 13:14:12 +01:00
Daniel Roe
236faf9cc6
fix(bridge): add implemented runtime nuxt hooks (#3872) 2022-03-24 13:13:56 +01:00
Alex Liu
993bc7c8a1
doc: fix useAsyncData documentation error (#3879) 2022-03-24 13:13:41 +01:00
L.Rain
e19c638b3f
docs: update hooks (#3875) 2022-03-24 12:03:18 +01:00
Daniel Roe
a0c4d6e7e3
test: extract dynamic paths test from within other test! (#3860) 2022-03-23 15:57:35 +01:00
renovate[bot]
a8317830a8
chore(deps): update all non-major dependencies (#3857)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 12:58:44 +01:00
Árpád Illyés
cc543e9ac1
docs: use path in example (#3856) 2022-03-23 11:38:36 +01:00
Clément Ollivier
797da68979
docs(examples): normalize examples using tips (#3852) 2022-03-23 09:44:36 +01:00
renovate[bot]
e16998126d
chore(deps): update vite dependencies to ^0.7.8 (#3853)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 09:32:32 +01:00
renovate[bot]
1f9a0d8f42
chore(deps): update devdependency vue-tsc to ^0.33.7 (#3846)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 09:18:44 +01:00
Daniel Roe
93c4dfe091
fix(vite): resolve #_config in base plugin (#3848) 2022-03-23 09:10:12 +01:00
yyyanghj
8bb02be218
docs: fix typo (#3842) 2022-03-22 19:20:22 +01:00
Kevin Marrec
7c0d2e176c
feat(nuxt3): extends support for pages & middleware directories (#3783)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-22 19:12:54 +01:00
Daniel Roe
29078bba74
feat(nuxt3): support lazy and custom-resolved components (#3814) 2022-03-22 18:04:31 +01:00
Daniel Roe
7458dd1aa6
fix(nuxt3): use shared module for dynamic paths (#3757)
* test: add tests for dynamic paths + relative assets

Co-authored-by: Anthony Fu <hi@antfu.me>

* fix: rework client config and use shared module for dynamic paths

* resolves webpack public path regression

* refactor: use more similar names to nitro equivalent

* fix: align config exports

* refactor: remove `__` prefix within dynamic paths module

* refactor: use '#_config' to indicate internal alias

* Update packages/nuxt3/src/core/templates.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>

* refactor: use `#_config` alias and rename to `paths.mjs`

Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 16:51:26 +01:00
renovate[bot]
6c4a34a675
chore(deps): update dependency postcss-import to ^14.1.0 (#3837)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 16:48:10 +01:00
renovate[bot]
7ce91d83c9
chore(deps): update dependency unctx to ^1.1.0 (#3836)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 16:30:07 +01:00
Daniel Roe
acd22db576
docs: deprecate buildModules in schema (#3830) 2022-03-22 12:33:30 +01:00
Daniel Roe
70f067a14b
fix(vite): sort postcss plugins to add autoprefixer & cssnano last (#3827) 2022-03-22 11:40:36 +01:00
Daniel Roe
f3168d923b
fix(nuxt3): respect srcDir and normalize string in component dirs (#3815)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 11:35:16 +01:00
renovate[bot]
ae364f95cc
chore(deps): update all non-major dependencies (#3788)
* chore(deps): update all non-major dependencies

* update test

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-22 10:57:35 +01:00
TheColaber
edb3e5075e
fix(nitro): list global middleware before API middleware (#3795) 2022-03-22 10:50:05 +01:00
renovate[bot]
e19d8467e1
chore(deps): update actions/cache action to v3 (#3811)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 10:35:33 +01:00
jfavlam
7a994bc7a7
chore(nuxi): add pnpm to init instructions (#3826)
* Add pnpm instructions

Add pnpm commands to install the dependencies and start the development server

* Update packages/nuxi/src/commands/init.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 10:35:07 +01:00
renovate[bot]
d909bc6548
chore(deps): update dependency defu to v6 (#3816)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 10:32:28 +01:00
Daniel Roe
190fc67358
docs: add links to vue api for transitions + keepalive props (#3812) 2022-03-21 12:14:12 +01:00
Daniel Roe
53fbca77d4
fix(nuxt3): improve component loading behaviour (#3782)
* fix: don't import multiple copies of the same component

* fix: match components by pascal case

* Update packages/nuxt3/src/components/loader.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-18 19:42:40 +01:00
Daniel Roe
73ee41cb58
fix(nitro): don't include current project's layer twice (#3785) 2022-03-18 19:20:23 +01:00
pooya parsa
4b35915d6e
chore(ci): test against node@16 (#3756) 2022-03-18 14:13:19 +01:00
Pooya Parsa
ab1e539cb4 chore: update lockfile 2022-03-18 13:58:48 +01:00
Daniel Roe
6de6e42bb8
fix(nuxt3): warn if builder can't be loaded (#3766) 2022-03-18 13:57:05 +01:00
renovate[bot]
2ad93eb34d
fix(deps): update dependency c12 to ^0.2.3 (#3781)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 13:55:12 +01:00
Clément Ollivier
ff2cb53476
docs(examples): replace nlink by nuxtlink (#3772) 2022-03-18 11:59:02 +01:00
Daniel Roe
7d37a1309e
fix(nuxt3): do not use ts in internal components (#3773) 2022-03-18 11:57:53 +01:00
Daniel Roe
30b8059d6d
fix(bridge): handle missing experimental key on bridge (#3763) 2022-03-18 11:45:30 +01:00
Anthony Fu
f69126e8f4
feat: support reactivity transform (#3737)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-17 23:17:59 +01:00
pooya parsa
d4facf7c34
fix(nuxt3): update types for useLazyFetch (#3754) 2022-03-17 22:35:07 +01:00
pooya parsa
a50b8ca712
feat(test-utils): test in development mode (#3753) 2022-03-17 22:31:06 +01:00
Daniel Roe
2590ae39d3
feat(test-utils)!: add support for running with env variables (#3742)
Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-17 22:17:54 +01:00
renovate[bot]
6be6c3cf25
chore(deps): update all non-major dependencies (#3752)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 21:11:15 +01:00
pooya parsa
7d945952d8
fix(kit): avoid behavior change based on NODE_ENV (#3751) 2022-03-17 21:10:12 +01:00
pooya parsa
621ce975b4
feat(nuxi): expose runCommand (#3749) 2022-03-17 19:49:59 +01:00
renovate[bot]
ed908fe027
chore(deps): update dependency vite-node to ^0.7.1 (#3748)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 19:18:38 +01:00
renovate[bot]
278eea15d3
chore(deps): update devdependency @unocss/reset to ^0.29.2 (#3735)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 19:08:15 +01:00
Daniel Roe
6342e823a1
fix(webpack): support absolute urls in webpack css url/import (#3743) 2022-03-17 18:50:06 +01:00
renovate[bot]
0760fffe6c
chore(deps): update devdependency @unocss/reset to ^0.29.1 (#3734)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 11:57:23 +01:00
pooya parsa
91fd16ae52
feat(nuxt3): allow overriding root component using app.root.vue (#3733) 2022-03-17 11:57:02 +01:00