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

Explore ways to keep *.tools.js files in sync with *.js in views folder #238

Open
dariocravero opened this issue May 7, 2021 · 0 comments

Comments

@dariocravero
Copy link

@alex-vladut brought it up in #236 that it's easy to miss updating files that have a tools specific version, like
views/Data.js and views/Data.tools.js. They used to be the same file but I found it made it harder to reason about what was actually the final content for them.

This issue is here to explore some ways in which we could make it easier for us to keep them in sync.

I suggested two approaches:

  • a commit hook/github action that asks if you only change one, or
  • use markers in one file and treat it as a template where we strip thing out based off that marker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant