Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redo CLI #19

Open
2 tasks
jhechtf opened this issue Aug 30, 2022 · 2 comments
Open
2 tasks

Redo CLI #19

jhechtf opened this issue Aug 30, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@jhechtf
Copy link
Owner

jhechtf commented Aug 30, 2022

Description

Currently this is a very static tool, and I could definitely see the use case where someone definitely would only want to deal with SCSS / TS tokens and then just use their compiler to change that into CSS / JS. Currently though, there's no way to turn the JS/CSS off.

I would like to add in some kind of plugin-based system, similar to what is done in things like Vite or even in a sister project, Version Bump. This would allow for users to simply include / exclude things such as JS and CSS tokens, and would also allow for users to create their own exportable types (i.e. if we go with one version of SCSS variables, someone who prefers the other method can create it as a plugin themselves).

Exit Criteria

  • Clear plan to something like TSyringe, which was done for version bump.
  • Determine overall direction of the plan. Currently we are using Deno, but an argument for moving over to Node should be considered due to integration with build tools like Vite or Esbuild
@jhechtf
Copy link
Owner Author

jhechtf commented Sep 5, 2022

Rough idea in FigJam

Raven V2 Plugin Calls

@jhechtf jhechtf added the enhancement New feature or request label Sep 5, 2022
@jhechtf
Copy link
Owner Author

jhechtf commented Sep 6, 2022

Deno v Node

My biggest issue with porting the codebase over to Node is the fact that I hate the Node ecosystem. I'm unsure about porting the code over to node, as I think other than the write file calls, and permission system, the code would largely run in a node package (once compiled) without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant