@monoweave/plugin-github 3.6.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,4 @@
6
6
 
7
7
  ### Bug Fixes
8
8
 
9
- * initial commit, forked from tophat/monodeploy under Apache 2.0 license (#1) ([7d56314](https://github.com/monoweave/monoweave/commits/7d56314))
10
-
11
-
9
+ - initial commit, forked from tophat/monodeploy under Apache 2.0 license (#1) ([7d56314](https://github.com/monoweave/monoweave/commits/7d56314))
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { type PluginHooks } from '@monoweave/types';
2
2
  export declare const PluginName = "GitHub Plugin";
3
3
  import { type PluginOptions } from './plugin.js';
4
- export default function GitHubPlugin({ onReleaseAvailable }: Pick<PluginHooks, 'onReleaseAvailable'>, options?: PluginOptions | undefined): void;
4
+ export default function GitHubPlugin({ onReleaseAvailable }: Pick<PluginHooks, 'onReleaseAvailable'>, options?: PluginOptions): void;
package/lib/plugin.d.ts CHANGED
@@ -8,5 +8,11 @@ export interface PluginOptions {
8
8
  * @default {false}
9
9
  */
10
10
  includeImplicitUpdates?: boolean | undefined;
11
+ /**
12
+ * Whether to mark the release as the latest release.
13
+ *
14
+ * @default {true}
15
+ */
16
+ makeLatest?: boolean | undefined;
11
17
  }
12
18
  export declare const createPluginInternals: (options: PluginOptions) => (context: YarnContext, config: MonoweaveConfiguration, changeset: ChangesetSchema) => Promise<void>;
package/lib/plugin.js CHANGED
@@ -77,6 +77,7 @@ export const createPluginInternals = (options) => async (context, config, change
77
77
  body: combinedChangelog,
78
78
  draft: false,
79
79
  prerelease: config.prerelease,
80
+ make_latest: options.makeLatest ?? true,
80
81
  });
81
82
  }
82
83
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monoweave/plugin-github",
3
- "version": "3.6.0",
3
+ "version": "3.8.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,18 +31,18 @@
31
31
  },
32
32
  "devDependencies": {
33
33
  "@monoweave/test-utils": "0.0.0",
34
- "@types/node": "^22.19.15",
35
- "tapable": "^2.3.2",
36
- "vitest": "^4.1.8"
34
+ "@types/node": "^22.19.19",
35
+ "tapable": "^2.3.3",
36
+ "vitest": "^4.1.9"
37
37
  },
38
38
  "dependencies": {
39
- "@monoweave/git": "^2.6.0",
40
- "@monoweave/io": "^2.6.0",
41
- "@monoweave/logging": "^2.6.0",
42
- "@monoweave/types": "^2.6.0",
39
+ "@monoweave/git": "^2.7.0",
40
+ "@monoweave/io": "^2.7.0",
41
+ "@monoweave/logging": "^2.7.0",
42
+ "@monoweave/types": "^2.7.0",
43
43
  "@octokit/core": "^7.0.6",
44
44
  "@octokit/plugin-throttling": "^11.0.3",
45
- "@yarnpkg/core": "^4.8.0",
45
+ "@yarnpkg/core": "^4.9.0",
46
46
  "@yarnpkg/fslib": "^3.1.5",
47
47
  "@yarnpkg/shell": "^4.1.3"
48
48
  },