Programmatic API for managing npm organization memberships and roles
74
A small utility that guarantees deterministic dependency setup in CI by relying on lockfile-only installs before running the project's tests.
package-lock.json, it deletes any existing node_modules and performs a lockfile-only install that fails if the lockfile and manifest disagree. @testpackage.json, it aborts with a clear error stating that a lockfile sync is required before running CI. @testUse the dependency to perform CI-friendly installs rather than reimplementing package resolution.
@generates
export interface CiRunnerOptions {
projectRoot: string;
env?: Record<string, string>;
cleanNodeModules?: boolean;
}
export interface CiRunnerResult {
installExitCode: number;
testExitCode: number;
}
export async function runCiPipeline(options: CiRunnerOptions): Promise<CiRunnerResult>;Provides lockfile-respecting CI installs and test execution commands.
Install with Tessl CLI
npx tessl i tessl/npm-libnpmorgdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10