Socket
Socket
Sign inDemoInstall

@changesets/get-release-plan

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

@changesets/get-release-plan - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

README.md

22

CHANGELOG.md
# @changesets/get-release-plan
## 0.1.1
### Patch Changes
- [3dd003c](https://github.com/atlassian/changesets/commit/3dd003cb0ccadafa083c91f10cf257ee869df042) [#166](https://github.com/atlassian/changesets/pull/166) Thanks [@Noviny](https://github.com/Noviny)! - Make passedConfig an optional variable to ease frustration
* [8c43fa0](https://github.com/atlassian/changesets/commit/8c43fa061e2a5a01e4f32504ed351d261761c8dc) [#155](https://github.com/atlassian/changesets/pull/155) Thanks [@Noviny](https://github.com/Noviny)! - Add Readme
* Updated dependencies [8c43fa0, 0320391, 1ff73b7]:
- @changesets/assemble-release-plan@0.2.1
- get-dependents-graph@0.1.1
- @changesets/read@0.2.1
- @changesets/types@0.3.0
- @changesets/config@0.2.1
## 0.1.0
### Minor Changes
- [ca8ff585](https://github.com/atlassian/changesets/commit/ca8ff585) [#147](https://github.com/atlassian/changesets/pull/147) Thanks [@Noviny](https://github.com/Noviny)! - Initial Release
* [296a6731](https://github.com/atlassian/changesets/commit/296a6731) - Safety bump: Towards the end of preparing changesets v2, there was a lot of chaos - this bump is to ensure every package on npm matches what is found in the repository.
- [296a6731](https://github.com/atlassian/changesets/commit/296a6731) - Safety bump: Towards the end of preparing changesets v2, there was a lot of chaos - this bump is to ensure every package on npm matches what is found in the repository.
### Patch Changes
### Patch Changes
- Updated dependencies [296a6731]:

@@ -15,0 +29,0 @@ - @changesets/assemble-release-plan@0.2.0

2

dist/declarations/src/index.d.ts
import { Config, ReleasePlan } from "@changesets/types";
export default function getReleasePlan(cwd: string, sinceMaster: boolean, passedConfig: Config): Promise<ReleasePlan>;
export default function getReleasePlan(cwd: string, sinceMaster?: boolean, passedConfig?: Config): Promise<ReleasePlan>;

@@ -24,5 +24,3 @@ 'use strict';

const readConfig = await config.read(cwd, workspaces);
const config$1 = _objectSpread({}, readConfig, passedConfig);
const config$1 = passedConfig ? _objectSpread({}, readConfig, passedConfig) : readConfig;
const changesets = await readChangesets(cwd, sinceMaster);

@@ -29,0 +27,0 @@ return assembleReleasePlan(changesets, workspaces, dependentsGraph, config$1);

@@ -21,3 +21,3 @@ "use strict";

cwd: cwd
}), readConfig = await config.read(cwd, workspaces), config$1 = _objectSpread({}, readConfig, passedConfig), changesets = await readChangesets(cwd, sinceMaster);
}), readConfig = await config.read(cwd, workspaces), config$1 = passedConfig ? _objectSpread({}, readConfig, passedConfig) : readConfig, changesets = await readChangesets(cwd, sinceMaster);
return assembleReleasePlan(changesets, workspaces, dependentsGraph, config$1);

@@ -24,0 +24,0 @@ }

@@ -18,5 +18,3 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread';

const readConfig = await read(cwd, workspaces);
const config = _objectSpread({}, readConfig, passedConfig);
const config = passedConfig ? _objectSpread({}, readConfig, passedConfig) : readConfig;
const changesets = await readChangesets(cwd, sinceMaster);

@@ -23,0 +21,0 @@ return assembleReleasePlan(changesets, workspaces, dependentsGraph, config);

{
"name": "@changesets/get-release-plan",
"version": "0.1.0",
"version": "0.1.1",
"description": "Reads changesets and adds information on dependents that need bumping",

@@ -11,9 +11,9 @@ "main": "dist/get-release-plan.cjs.js",

"@babel/runtime": "^7.4.4",
"@changesets/assemble-release-plan": "^0.2.0",
"@changesets/config": "^0.2.0",
"@changesets/read": "^0.2.0",
"@changesets/types": "^0.2.0",
"get-dependents-graph": "^0.1.0",
"@changesets/assemble-release-plan": "^0.2.1",
"@changesets/config": "^0.2.1",
"@changesets/read": "^0.2.1",
"@changesets/types": "^0.3.0",
"get-dependents-graph": "^0.1.1",
"get-workspaces": "^0.5.0"
}
}

@@ -11,3 +11,3 @@ import assembleReleasePlan from "@changesets/assemble-release-plan";

sinceMaster: boolean = false,
passedConfig: Config
passedConfig?: Config
): Promise<ReleasePlan> {

@@ -26,3 +26,3 @@ const workspaces = await getWorkspaces({

const readConfig = await read(cwd, workspaces);
const config = { ...readConfig, ...passedConfig };
const config = passedConfig ? { ...readConfig, ...passedConfig } : readConfig;
const changesets = await readChangesets(cwd, sinceMaster);

@@ -29,0 +29,0 @@

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