Clean up unreleased API surface

Since cli-module-auth and cli-module-actions are not yet released,
remove deprecated exports instead of keeping them. Also make httpJson
and getSecretStore internal to cli-node, duplicating the small httpJson
wrapper locally in each consuming package.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-17 16:26:49 +01:00
parent 3c6de38345
commit da8e6603a4
19 changed files with 81 additions and 102 deletions
-21
View File
@@ -148,9 +148,6 @@ export function createCliModule(options: {
}) => Promise<void>;
}): CliModule;
// @public (undocumented)
export function getSecretStore(): Promise<SecretStore>;
// @public
export class GitUtils {
static listChangedFiles(ref: string): Promise<string[]>;
@@ -160,17 +157,6 @@ export class GitUtils {
// @public
export function hasBackstageYarnPlugin(workspaceDir?: string): Promise<boolean>;
// @public (undocumented)
export type HttpInit = {
headers?: Record<string, string>;
method?: string;
body?: any;
signal?: AbortSignal;
};
// @public (undocumented)
export function httpJson<T>(url: string, init?: HttpInit): Promise<T>;
// @public
export function isMonoRepo(): Promise<boolean>;
@@ -301,13 +287,6 @@ export function runWorkerQueueThreads<TItem, TResult, TContext>(
results: TResult[];
}>;
// @public (undocumented)
export type SecretStore = {
get(service: string, account: string): Promise<string | undefined>;
set(service: string, account: string, secret: string): Promise<void>;
delete(service: string, account: string): Promise<void>;
};
// @public (undocumented)
export type StoredInstance = {
name: string;
-2
View File
@@ -16,5 +16,3 @@
export { CliAuth, type CliAuthCreateOptions } from './CliAuth';
export { type StoredInstance } from './storage';
export { httpJson, type HttpInit } from './httpJson';
export { getSecretStore, type SecretStore } from './secretStore';