Commit Graph

36 Commits

Author SHA1 Message Date
renovate[bot]
da318a5e1a
chore(deps): lock file maintenance (#8787)
* chore(deps): lock file maintenance

* test: don't override fs to resolve issue with graceful-fs

* restore existsSync after each test

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-02-09 00:49:58 +01:00
Xin Du (Clark)
6b4d451b66
fix(dev): resolve module required by create-require in jiti (#8556)
* fix(dev): resolve module required by create-require in jiti

* fix test

* add useJITI to create require

* refactor default options.createRequire
2020-12-29 13:15:12 +01:00
Pooya Parsa
7b59b21511 refactor: rename requirePath to path
more constency with require.resolve(id, { paths })
2020-12-23 00:07:58 +01:00
pooya parsa
dec8f99fc3
feat: support plug-and-play, typescript runtime and native modules (#8389)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-22 18:07:50 +01:00
pooya parsa
12d6702eba chore: fix dev version
fixes components version check during nuxt development
2020-06-24 10:23:29 +02:00
Bogdan Gradinariu
3082567200 fix(core): improve module not found error (#7267)
Co-authored-by: pooya parsa <pooya@pi0.ir>
2020-06-15 17:45:50 +02:00
Xin Du (Clark)
db65c2eb6b
feat: createRequire option and disable esm for jest (#7476) 2020-06-11 15:59:13 +02:00
pooya parsa
1e4ce5055e
refactor: ad-hoc modules (#7452) 2020-06-03 21:34:10 +02:00
Pooya Parsa
6a6794e020
feat: components (#7374)
[release]
2020-05-18 13:58:48 +02:00
Nicolas PENNEC
a2495a6873
chore: fix typos (#7219) 2020-04-14 11:26:40 +02:00
Pooya Parsa
9ef58fae63
fix(core): join with os native sep in resolver (#7131) 2020-03-27 13:56:40 +01:00
Xin Du (Clark)
52caef2053
feat(core): better module not found handling (#7079)
Co-authored-by: pooya parsa <pooya@pi0.ir>
2020-03-13 21:25:53 +01:00
Pooya Parsa
6e09e7824d
fix(core): correct deprecated hooks (#7002) 2020-02-25 17:15:40 +01:00
HG
c325882e1f
fix(core): Provide the correct name of routeContext hook (#6959) 2020-02-18 17:04:02 +00:00
Xin Du (Clark)
e8aca9eb11 chore: update @nuxtjs/eslint-config to v2 and fix lint errors (#6732) 2019-11-26 23:42:39 +01:00
Pim
49136bcd1b fix(core): clear resolver cache for project files dev mode (#6490) 2019-10-01 13:04:24 +02:00
Pooya Parsa
9ad02c4017
refactor(core): use hable (#6271) 2019-08-22 00:16:40 +04:30
Pooya Parsa
560cb57443
refactor(config): rename devModules to buildModules (#6203) 2019-08-09 15:02:53 +04:30
Kevin Marrec
81b5ce22ce feat: externalize typescript support (#5858) 2019-07-24 11:56:44 +04:30
pooya parsa
e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30
renovate[bot]
ae82a03a28 chore(deps): update all non-major dependencies (#6001)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-06-29 05:49:55 +01:00
Markus Padourek
5f72ad5358 refactor(core): use require.resolve instead of Module internals (#5796) 2019-05-26 00:24:28 +04:30
cui_xiaorui
6e9cf8e394 test: add unit tests for core/resolver.js (#5790) 2019-05-23 09:10:18 +01:00
cui_xiaorui
b62585f277 test: remove duplicate unit tests in packages/core/test/resolver… (#5782) 2019-05-22 10:25:49 +01:00
pooya parsa
a2790b4152 fix esm test 2019-04-21 22:31:42 +04:30
Pooya Parsa
001ba775fa
revert(core): call ready to prevent breaking changes (#5413) 2019-03-30 23:23:56 +04:30
Thomas Reichling
9ff01f9b20 fix: remove consola.debug for hooks (#5318) 2019-03-21 23:22:17 +03:30
Pooya Parsa
aabb1f69e7
perf(core): skip esm for node_modules and non .js files (#5220) 2019-03-13 13:54:39 +03:30
Pooya Parsa
13cb0f73d9 refactor: remove builder coupling from server (#5157) 2019-03-08 20:43:23 +00:00
Pim
4e51723efc feat(cli): lock project during build or generate (#4985) 2019-03-03 11:42:46 +03:30
Jonas Galvez
e87711c5e7 feat: support devModules option (#5102) 2019-03-03 11:19:46 +03:30
Pooya Parsa
29297160a1
feat(vue-renderer): improvements (#4722) 2019-02-08 13:35:01 +03:30
Ricardo Gobbo de Souza
1e9eb4b70c feat(module): support src as a function in addModule (#4956) 2019-02-05 15:05:42 +03:30
Clark Du
fabf1c07eb test: add await for promisable expect 2019-02-04 11:31:24 +00:00
Alexander Lichter
569b6aab9c refactor: typos (#4922) 2019-02-01 16:38:47 +03:30
Xin Du (Clark)
a616c09b22 feat(test): unit tests for core/config module (#4760)
* feat(test): enable tests in packages

* fix: wait error hook

* test: entry and hookable in core

* fix(test): options snapshot in windows

* refactor(test): simpilify jest.fn

* test: module in core

* test: complete module test

* test: add test for resolver in core

* test: update config snapshot

* test: nuxt in core module
2019-01-19 13:00:51 +01:00