-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI/SDK packaging optimizations + enhance SDK transparency (#84)
Several changes to improve the number of dependencies in each use case (CLI/SDK/K8s Controller) as well as provide real Typescript again for better DevX: - Resolve issue with combinations of ESModule and CommonJS imports when creating capabilities - Leverage `peerDependencies` to separately track dependencies to exclude from the controller, reducing image size and size for SBOM - Readme fixes + use SVG vs mermaid for module diagram (several NPM sites don't support mermaid) - Run unit tests against transpiled code vs pure typescript (closer to the real behavior) - Stop emitting typescript defs and instead include actual typescript for use in the SDK - Remove TSNode with it's bad opinions on typescript in NPM packages - Add `strict:true` for tsconfig in the core project for tighter control of the codebase - Remove `commander` use by the controller `run.js` entrypoint - Gracefully handle controller termination - Fix hotreload behavior when using `pepr dev` - Switch to `fork` vs `spawn` and `require` where able - Only watch `pepr.ts` and `capabilities/` for typescript file changes on `pepr dev`
- Loading branch information
1 parent
c321395
commit 8c90415
Showing
32 changed files
with
484 additions
and
689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.