Skip to content

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

Description

@dariocravero

@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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions