Commit Graph

416 Commits

Author SHA1 Message Date
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
Daniel Roe
288e771205
fix(nitro): narrow replace call for template name (#1626) 2021-11-02 10:30:44 +01:00
Daniel Roe
07ad7254e6
fix(nitro): resolve firebase package versions with pkg-types (#1490)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-27 16:29:04 +02:00
Anthony Fu
0326a31990
fix(nitro): fix regex for tracedFiles scanning (#1509) 2021-10-27 12:53:25 +02:00
ziga
245aa6b68f
fix(nitro): type inference for api routes returning promise (#1483) 2021-10-27 10:19:53 +02:00
Daniel Roe
41ff3b8efe
fix(nitro): support built publicPath (#1479) 2021-10-26 19:37:52 +02:00
Pooya Parsa
d2cc9e4bd0 fix(nitro): revert to main rollup import (closes #1445) 2021-10-25 18:32:20 +02:00
Daniel Roe
c6f769e94d
fix(nitro): inject payload for spa renderer (#1434) 2021-10-25 12:36:38 +02:00
Pooya Parsa
ad7e7551ec fix(nitro): import rollup as cjs 2021-10-25 11:23:15 +02:00
Daniel Roe
7d918e1457
refactor(nuxi): move nuxt.d.ts within buildDir (#1369) 2021-10-23 00:33:22 +02:00
Francisco Buceta
54549cfc61
fix(nitro): omit /index from generated api urls (#1371) 2021-10-22 19:04:02 +02:00
Pooya Parsa
1e69bc56bb fix(nitro): handle terminating uninitialized worker 2021-10-22 15:36:29 +02:00
Daniel Roe
018302cb0b
fix(nitro): update firebase preset to handle mjs output (#1360) 2021-10-22 13:57:21 +02:00
Daniel Roe
f0b9474b40
feat(nuxi): bundle analyzer (#701)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-21 21:51:44 +02:00
pooya parsa
9d40a271ee
feat(nitro): improve dev worker stability (#1303) 2021-10-21 13:54:55 +02:00
pooya parsa
d1214c9aae
fix(nitro): terminate active worker before replacing (#1302) 2021-10-20 21:28:01 +02:00
Anthony Fu
92547d8547
fix(nitro): filter alias in /_vfs listing (#1296) 2021-10-20 19:30:42 +02:00