This change removes the need to build dependent packages when developing to incorporate their changes. During development, the TypeScript code between packages is used directly. Changes in one package are immediately reflected in other packages. Development tasks, including the storybook dev server, unit tests, and linting, as well as editor squiglies, will see immediate effect of changing code across packages without changes. The dev env has a strong HMR effect with no page refresh. Watch mode unit tests automatically re-run. It's awesome!
Taking advantage of this change, this PR also includes:
Definition of root npm start script set to start the development environment (dashboard only currently but will be updated).
Split build, lint, and unit test jobs and further shard playwright and unit tests to reduce cache miss GH action time to ~5 minutes max.
Overview
This change removes the need to build dependent packages when developing to incorporate their changes. During development, the TypeScript code between packages is used directly. Changes in one package are immediately reflected in other packages. Development tasks, including the storybook dev server, unit tests, and linting, as well as editor squiglies, will see immediate effect of changing code across packages without changes. The dev env has a strong HMR effect with no page refresh. Watch mode unit tests automatically re-run. It's awesome!
Taking advantage of this change, this PR also includes:
npm start
script set to start the development environment (dashboard only currently but will be updated).Legal
This project is available under the Apache 2.0 License.