Split configs into their own presets (where possible) #4
Labels
kind: internal
Changes only affect the internal API
scope: dependencies
Issues or PRs about updating a dependency
Been meaning to do this for quite a while, so adding a TODO
tsconfig.json
--@agilgur5/tsconfig
rollup.config.js
--@agilgur5/rollup-config
tsdx.config.js
or Rollup in general) jaredpalmer/tsdx#635), but I think I'll just split off a plain config into its own library. That can have all the Rollup plugins as deps so that way the new library only needs to installrollup
and@agilgur5/rollup-config
node_modules
(also, per that doc,rollup-config-*
seems like the conventional prefix)@agilgur5/rollup-config
can include rpt2 for use as aconfigPlugin
for consumers even if it doesn't itself use it.babel.config.js
--@agilgur5/babel-preset
jest.config.js
--@agilgur5/jest-preset
eslint.config.js
--@agilgur5/eslint-config
ts-standard
for now, but may want to add more rules etc on top (e.g. React ones) or add Prettier as well. Could also make my own CLI on top ofstandard-engine
as it's relatively easy. Also could just installts-standard
for all the deps, but then runeslint
directly on a configThe text was updated successfully, but these errors were encountered: