You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following a recent discussion on the addition of new modules adding typescript utilities, it demonstrates that we currently have an issue regarding typescript related modules.
Let's pick the optional-typescript as an example: it requires the typescript.
So if you have applied for example the vue-core module, you can't use it unless you also apply the typescript module which will generates conflicting npm configuration (e.g. setting up jest in addition to already setup vitest).
On the contrary the new modules, ts-loader and ts-pagination-domain only requires the init module, which is convenient for matching both use cases, but a bit wrong since code will not compile if you don't have already applied a module that'll setup typescript.
My suggestion is to rework the typescript module to make it use a modern setup (eslint, vitest), and have at least vue-core and react-core modules (angular could be nice too, but it has a very specific build tools so this might be a bit more complicated) depend on the typescript module.
Following a recent discussion on the addition of new modules adding typescript utilities, it demonstrates that we currently have an issue regarding typescript related modules.
Let's pick the
optional-typescript
as an example: it requires thetypescript
.So if you have applied for example the
vue-core
module, you can't use it unless you also apply thetypescript
module which will generates conflicting npm configuration (e.g. setting up jest in addition to already setup vitest).On the contrary the new modules, ts-loader and ts-pagination-domain only requires the
init
module, which is convenient for matching both use cases, but a bit wrong since code will not compile if you don't have already applied a module that'll setup typescript.My suggestion is to rework the
typescript
module to make it use a modern setup (eslint, vitest), and have at leastvue-core
andreact-core
modules (angular could be nice too, but it has a very specific build tools so this might be a bit more complicated) depend on thetypescript
module.@pascalgrimaud @qmonmert @DamnClin @renanfranca : WDYT?
Related: #3979
The text was updated successfully, but these errors were encountered: