The bulk of the meaningful changes are in this commit.
I recasted the scripts to automate most of the manual stuff away. In particular, installing all the dependencies and getting your dev environment set up is a single simple, easy command.
I revised the setup to make it a much more fluid process to get started.
I hand-rolled a task runner to reduce a lot of the otherwise necessary shell magic.
I removed dependency on OS-dependent utilities like cp and rm at build time. (I also killed a script's unnecessary dependency on zsh.)
I moved all the scripts from dev-portal to the root so it's easier to work with in the general case.
I now revert the generated static assets to the currently checked-out versions after deploying as part of the "release" task, to avoid accidentally committing regenerated assets in that common case. (You can still manually build and deploy without resetting, just not through node run release.)
The rest of the commits are atomic and explain it very well.
Note: this has no impact on the developer portal as deployed through this repo. It's all just DX improvements.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available:
Description of changes:
cp
andrm
at build time. (I also killed a script's unnecessary dependency on zsh.)dev-portal
to the root so it's easier to work with in the general case.node run release
.)Note: this has no impact on the developer portal as deployed through this repo. It's all just DX improvements.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.