Skip to content

Improve "sync:*" commands #253

Open
Open
@IlCallo

Description

@IlCallo

Those commands are available into test projects and take care of building one of the AEs in the monorepo and installing it into the test-project, to quickly validate if the changes we did are actually working

Right now they're copy/pasted in every test-project and not really efficient

We should create a JS script taking in a few arguments, instead of relying on copy/paste, as their structure is always the same

Additionally, they rebuild each AE for every test project they're executed in, which right now results in a total of 9 rebuilds if you want to test all projects in a single run, but we actually only needed to re-build AEs one time per AE when running a possible global "sync:all" command

It would be even better to avoid rebuilding an AE if no source files changed in that AE and the dist folder is already available with the latest version. Not sure how to perform this check tho

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions