summaryrefslogtreecommitdiff
path: root/tools/release/deno_workspace.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/release/deno_workspace.ts')
-rw-r--r--tools/release/deno_workspace.ts35
1 files changed, 5 insertions, 30 deletions
diff --git a/tools/release/deno_workspace.ts b/tools/release/deno_workspace.ts
index 19c8f9998..6f5b64590 100644
--- a/tools/release/deno_workspace.ts
+++ b/tools/release/deno_workspace.ts
@@ -28,42 +28,17 @@ export class DenoWorkspace {
return this.#repo.crates;
}
- /** Gets the dependency crates used for the first part of the release process. */
- getDependencyCrates() {
- return [
- this.getBenchUtilCrate(),
- this.getSerdeV8Crate(),
- this.getCoreCrate(),
- ...this.getExtCrates(),
- this.getRuntimeCrate(),
- ];
- }
-
- getSerdeV8Crate() {
- return this.getCrate("serde_v8");
+ /** Gets the CLI dependency crates that should be published. */
+ getCliDependencyCrates() {
+ return this.getCliCrate()
+ .descendantDependenciesInRepo()
+ .filter((c) => c.name !== "test_util");
}
getCliCrate() {
return this.getCrate("deno");
}
- getCoreCrate() {
- return this.getCrate("deno_core");
- }
-
- getRuntimeCrate() {
- return this.getCrate("deno_runtime");
- }
-
- getBenchUtilCrate() {
- return this.getCrate("deno_bench_util");
- }
-
- getExtCrates() {
- const extPath = path.join(this.#repo.folderPath, "ext");
- return this.crates.filter((c) => c.manifestPath.startsWith(extPath));
- }
-
getCrate(name: string) {
return this.#repo.getCrate(name);
}