New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bscotch/trebuchet

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bscotch/trebuchet - npm Package Compare versions

Comparing version 2.6.0 to 2.7.0

4

dist/lib/workspace.publish.d.ts
import { Project } from '@bscotch/project';
import type { Workspace } from './workspace.js';
import { WorkspacePublishOptions } from './workspace.types.js';
import { WorkspacePublishOptions, WorkspaceVersionOptions } from './workspace.types.js';
/**

@@ -33,4 +33,4 @@ * Determine bump level for all changed

*/
export declare function versionProjects(workspace: Workspace, options: WorkspacePublishOptions): Promise<Project[]>;
export declare function versionProjects(workspace: Workspace, options: WorkspaceVersionOptions): Promise<Project[]>;
export declare function inferProjectBumpFromGitLogs(workspace: Workspace, project: Project): Promise<import("./gitLog.types.js").GitLogBump | undefined>;
//# sourceMappingURL=workspace.publish.d.ts.map

@@ -36,3 +36,3 @@ import { deepEquals } from '@bscotch/utility';

}
const bumpedProjects = (await listBumpedProjects(this)).filter((p) => p.packageJson.isPublishable);
const bumpedProjects = await listBumpedProjects(this);
if (!bumpedProjects.length) {

@@ -78,3 +78,5 @@ console.warn('No bumped projects found.');

}
await project.packageJson.publish({ dryRun: options.noPush });
if (project.packageJson.isPublishable) {
await project.packageJson.publish({ dryRun: options.noPush });
}
if (!options.noPush) {

@@ -81,0 +83,0 @@ await this.repo.push();

@@ -109,2 +109,3 @@ import type { PackageJsonData, PackageJsonFindOptions } from '@bscotch/config';

export interface WorkspaceVersionOptions {
noPull?: boolean;
/**

@@ -129,3 +130,2 @@ * The bump type is inferred from the git logs, but

export interface WorkspacePublishOptions extends WorkspaceVersionOptions {
noPull?: boolean;
/**

@@ -132,0 +132,0 @@ * If true, then no tag will be added to the resulting

{
"name": "@bscotch/trebuchet",
"version": "2.6.0",
"version": "2.7.0",
"description": "Tooling for minimizing the cognitive load for monorepo/workspace management, with a focus on automation, minimal configuration, and interoperability with other tools.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc