[PROPOSAL] Split the core functionalities into NPM packages #53
raisiqueira
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Seems cool, in a long term vision, what we can plan to take advantage of the core modularization? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To keep all Eruption packages on the same line, I propose to create NPM packages using the
core
configurations in the existent projects (core
,react-lib
andwebsite
), also in future packages, like theopinionated
EruptionJS. Furthermore, with that, we can plug the Eruption config into any existent project 🤩.Proposed packages:
@eruptionjs/prettier-rules
: The rules used in thecore
project for React applications.@eruptionjs/stylelint-rules
: The CSS/SCSS rules for those projects that want to use CSS (like TailwindCSS) instead of a CSS-In-JS solution.@eruptionjs/tsconfig-rules
: Our strict and well configured TypeScript config.@eruptionjs/eslint-rules
: The base ESLint rules.@eruptionjs/eslint-rules/react
: The ESLint rules for React projects.I see it as an advantage, since we can also handle these packages on existent projects using our CLI (https://github.com/eruptionjs/create-eruption) through a
update-project
command.We can start a test with the Prettier package, since I see it as an easy way to start, not too much configuration.
Thoughts, @luigieai @devmozao?
Beta Was this translation helpful? Give feedback.
All reactions