Open sleexyz opened 6 years ago
Just thought of an issue with this: how do we run the tests before we publish? There's a circular dependency involved: in order to run the tests for a new version prior to publishing it, we depend on the new version being published.
Good point. Ideally there's a way to
The first one should be straightforward. The second one might be a separate CI job (after a CI release) that would need to modify some files.
We want the example code to be as close to what users would write. This means we should have it run against the published npm packages.
So the example directory should manage its own yarn workspaces. Therefore, we should remove it from the root set of yarn workspaces.
Do we want to share a lerna config with the root directory? Can we perhaps have both an example-specific one and the root one?
@astampoulis