Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Simplify enclave-manager-sdk typescript dependencies (#1595)
## 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 the `enclave-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
- Loading branch information
Showing
8 changed files
with
2,592 additions
and
771 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = {presets: ['@babel/preset-env']} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { createConnectTransport } from "@connectrpc/connect-web"; | ||
import { createPromiseClient } from "@connectrpc/connect"; | ||
import { KurtosisEnclaveManagerServer } from "../../build/kurtosis_enclave_manager_api_connect.js"; | ||
|
||
describe("Enclave manager SDK", () => { | ||
it("Should be able to be instantiated", () => { | ||
const transport = createConnectTransport({baseUrl: "someUrl"}); | ||
const client = createPromiseClient(KurtosisEnclaveManagerServer, transport); | ||
expect(client).toBeDefined(); | ||
}) | ||
}) |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.