-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Simplify enclave-manager-sdk typescript dependencies #1595
Conversation
3c7f83c
to
ffcc5f3
Compare
@adschwartz thanks for the call earlier, I've now tested this PR inside a locally built kurtosis engine and confirmed it's working. |
Another tweak to the |
@Dartoxian I'm ok with this if you have tested it and it works. |
## Description: This PR contains the beginnings of the new enclave manager ui. Specifically it adds a new project in `enclave-manager/web`. Notable inclusions: * Continuing to use Chakra as a component libary, the KurtosisThemeProvider injects components themed based on the mocks. * The enclave manager sdk cllient is refactored into authenticated (remote) and local versions, and provided to react components with `useKurtosisClient` by the `KurtosisClientProvider`. This provider blocks loading the application (with a spinner) until it's configured the client to use. * react router is used to compose the application. * react-table is used to create a (reusable) table for showing the enclaves list. ### Demo (WIP) https://github.com/kurtosis-tech/kurtosis/assets/4419574/c026a1d9-313d-4e73-944a-2814399e039a ## Is this change user facing? NO (this is not yet part of the build/deploy process) ## References (if applicable): This PR is rebased on top of #1595 which should be merged first. --------- Co-authored-by: Anders Schwartz <[email protected]> Co-authored-by: Anders Schwartz <[email protected]>
Description:
The enclave manager sdk has a large number of (I think) unnecessary dependencies, this PR removes a lot of them and tidies up package.json.
Additionally, specify
yarn --frozen-lockfile
in theenclave-manager/api/typescript/scripts/build.sh
so that builds will fail if dependencies are not committed properly.This change removes the dependency in the enclave manager from the general typescript
kurtosis-sdk
- I'm not sure why this dependency is present as it's not required by any code generated by the enclave-manager-sdk.Is this change user facing?
NO
References (if applicable):
N/A