Commit Graph

432 Commits

Author SHA1 Message Date
Daniel Roe 14b32258e8
fix: ensure debounced/async handlers run in order (#3656) 2022-03-15 11:56:16 +01:00
Daniel Roe 8c6af7da7a
fix(nitro): support `process.dev` #3601) 2022-03-11 11:47:18 +01:00
Anthony Fu ac40c9746c
feat(vite): experimental `vite-node` support (#2795)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-11 09:41:27 +01:00
Daniel Roe 5d58ef48af
feat(nitro, nuxt3): allow handling otherwise unhandled runtime errors (#3464)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-11 09:22:16 +01:00
Daniel Roe a5e19b1c57
fix(bridge): use vue server build (#3515)
* fix(bridge): use vue server build

* fix: remove unused import

* refactor: resolve cjs version once

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-08 18:40:20 +01:00
Daniel Roe 91256f5e76
fix(nitro): handle decoding static filenames (#3541) 2022-03-08 18:30:46 +01:00
Daniel Roe 398b311ad6
fix(nitro): rename cold start -> nitro start (#3528) 2022-03-07 11:34:45 +01:00
Julian Martin 9f506ded60
fix(nitro): #3264 (#3399) 2022-03-03 20:35:42 +01:00
Anthony Fu 467ab693b9
feat: shared logger and silent test logs (#3259)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-16 22:34:32 +01:00
Daniel Roe 42373e060d
fix: clean up some type issues and add type test suite (#3199) 2022-02-15 10:50:11 +01:00
Daniel Roe 569aaeb314
fix(nitro): handle incoming cookies on lambda payload format 2.0 (#3136) 2022-02-09 12:50:57 +01:00
Daniel Roe 8056b8e171
fix(nitro): treat bootrap dep as an entry file (#3106) 2022-02-07 22:58:12 +01:00
pooya parsa 03d5fdde2d
feat(kit)!: expose `resolvePath` (#3110) 2022-02-07 22:00:20 +01:00
Daniel Roe 22e6c857f6
fix(nitro): replace `global.` in fewer instances (#3107) 2022-02-07 21:50:39 +01:00
Daniel Roe 29171bd105
fix: sanitize import filenames in generated imports (#2216) 2022-02-07 14:45:47 +01:00
Daniel Roe 614e87e9f0
feat(nitro): add support for lambda v2 payload format (#3070)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-07 13:25:05 +01:00
Daniel Roe c1148d4d77
refactor: write declarations to `<buildDir>/types` (#3067)
* refactor: write declarations to `<buildDir>/types`

* fix: update relative imports
2022-02-07 11:20:01 +01:00
Daniel Roe fae2179ee9
chore: replace constructors with types (#3056) 2022-02-03 19:02:55 +01:00
Pooya Parsa e0cf2d7b5d fix(nitro): update dot-prop import 2022-01-21 13:37:51 +01:00
Daniel Roe 3b72b318e2
feat(nitro): support adding `node_modules` as middleware (#2826) 2022-01-21 12:39:22 +01:00
Daniel Roe 6abf75d40a
fix(bridge): set `app.basePath` (#2808) 2022-01-19 20:10:33 +01:00
Daniel Roe d07d572263
feat: improve base url options (#2655) 2022-01-18 17:59:14 +01:00
Daniel Roe 8588f749ad
fix(nitro): detect routes and middleware starting with dots (#2771) 2022-01-18 17:37:40 +01:00
Ahad Birang eb14eca702
fix(nitro): allow inlining subpath of externals (#2759) 2022-01-17 18:25:26 +01:00
Daniel Roe 4111038aa7
chore: replace `substr` with `slice` (#2738) 2022-01-17 11:49:10 +01:00
Daniel Roe 176716bdaf
feat(nitro): ssl nitro support in production (#2742) 2022-01-17 11:37:55 +01:00
renovate[bot] 4de167e246
chore(deps): update dependency globby to v12 (#2659) 2022-01-13 19:21:49 +01:00
Daniel Roe 6d88a7314d
fix(nitro): pass `Headers` to `createFetch` (#2615) 2022-01-05 19:19:23 +01:00
Daniel Roe b5618e976b
feat(nuxi): add `nuxi preview` command for local testing (#2162)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-12-21 12:46:42 +01:00
Daniel Roe c824905b99
fix(schema): handle null/undefined values in `runtimeConfig` (#2456) 2021-12-20 13:19:31 +01:00
renovate[bot] 85f0547ca4
chore(deps): update all non-major dependencies (#2379)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-20 12:33:18 +01:00
Daniel Roe c8e281e7b6
feat(nitro): specify packages to copy to `.output/server/node_modules` (#2382) 2021-12-20 12:03:22 +01:00
Daniel Roe a1a2d2f92b
refactor(nitro): expose `writeTypes` and call this within `builder:generateApp` (#2413) 2021-12-20 11:39:19 +01:00
Daniel Roe 03f9cfa50b
fix(nitro): pass sourcemap option through to rollup plugins (#2387)
Co-authored-by: Matteo Rigoni <matteo.rigoni@atoms.studio>
2021-12-17 10:39:44 +01:00
Daniel Roe 70044d139b
fix(nitro): set content-type header before html 404 (#2301) 2021-12-06 11:48:27 +01:00
Ajai 1c88580c8c
fix(nitro): fix rendering with `ssr` disabled (#2191) 2021-12-06 11:48:12 +01:00
renovate[bot] 2c4a001b77
chore(deps): update dependency gzip-size to v7 (#2101)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-29 12:46:55 +01:00
webfansplz 4a486377c5
fix(nitro): use `app.assetsPath` for `publicPath` (#1978)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-11-29 12:31:56 +01:00
Daniel Roe c5eed5e12b
fix(vite): don't copy `publicDir` files to `_nuxt` (#2135) 2021-11-24 16:42:38 +01:00
Daniel Roe fe5b5dcea6
fix(nitro): respect fs structure for traced files (#2107) 2021-11-23 13:02:52 +01:00
Kenneth 5fdefed39e
fix(nitro): add error logging to `initWorker`(#2090) 2021-11-23 00:24:46 +01:00
pooya parsa d68318f9d5
refactor: split schema to `@nuxt/schema` and simplify kit (#2059) 2021-11-21 17:14:46 +01:00
Xin Du (Clark) a08b435f51
refactor: remove unnecessary optional chaining (#1991) 2021-11-17 15:37:34 +01:00
Xin Du (Clark) c90bc50817
chore(lint): improve no-unused-vars rule (#1977) 2021-11-17 12:21:38 +01:00
Tobias Diez a7eacfed88
fix(nitro): skip non existing externals (#1876)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 20:13:54 +01:00
Daniel Roe c577e1991e
chore: bump monaco version (#1784) 2021-11-08 11:52:23 +01:00
pooya parsa 3cd4494770
fix(nitro): use random port for stackblitz (#1666) 2021-11-03 16:06:42 +01:00
pooya parsa c8b07a6a1c
chore: upgrade to std-env 3 (#1665) 2021-11-03 15:39:38 +01:00
Daniel Roe d30f4d86d2
fix: sanitize rollup-generated filenames (#1648)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-03 14:04:42 +01:00
Anthony Fu aba2d224d0
fix(nitro): skip copying symlinks and directories (#1510) 2021-11-02 13:26:43 +01:00