@shell-shock/plugin-changelog 0.1.25 → 0.1.27

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.
@@ -5,17 +5,17 @@ let _stryke_path_join = require("@stryke/path/join");
5
5
  let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
6
6
  let _alloy_js_core = require("@alloy-js/core");
7
7
  let _alloy_js_typescript = require("@alloy-js/typescript");
8
- let _powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
9
- let _powerlines_plugin_alloy_typescript = require("@powerlines/plugin-alloy/typescript");
10
- let _powerlines_plugin_alloy_typescript_components_tsdoc = require("@powerlines/plugin-alloy/typescript/components/tsdoc");
8
+ let _power_plant_alloy_js_typescript = require("@power-plant/alloy-js/typescript");
9
+ let _power_plant_alloy_js_typescript_components_tsdoc = require("@power-plant/alloy-js/typescript/components/tsdoc");
10
+ let _shell_shock_core_contexts_power_plant = require("@shell-shock/core/contexts/power-plant");
11
11
 
12
12
  //#region src/components/changelog-command.tsx
13
13
  /**
14
14
  * The Changelog command's handler wrapper for the Shell Shock project.
15
15
  */
16
16
  function ChangelogCommand({ changelog }) {
17
- const context = (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)();
18
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TypescriptFile, {
17
+ const context = (0, _shell_shock_core_contexts_power_plant.usePowerlines)();
18
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TypescriptFile, {
19
19
  get path() {
20
20
  return (0, _stryke_path_join.joinPaths)(context.entryPath, "changelog", "command.ts");
21
21
  },
@@ -27,7 +27,7 @@ function ChangelogCommand({ changelog }) {
27
27
  "warn"
28
28
  ] },
29
29
  get children() {
30
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, { get heading() {
30
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript_components_tsdoc.TSDoc, { get heading() {
31
31
  return `Display the ${(0, _shell_shock_core_plugin_utils.getAppTitle)(context)} changelog.`;
32
32
  } }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.FunctionDeclaration, {
33
33
  "export": true,
@@ -5,9 +5,7 @@ interface ChangelogCommandProps {
5
5
  /**
6
6
  * The Changelog command's handler wrapper for the Shell Shock project.
7
7
  */
8
- declare function ChangelogCommand({
9
- changelog
10
- }: ChangelogCommandProps): import("@alloy-js/core").Children;
8
+ declare function ChangelogCommand({ changelog }: ChangelogCommandProps): import("@alloy-js/core").Children;
11
9
  //#endregion
12
10
  export { ChangelogCommand, ChangelogCommandProps };
13
11
  //# sourceMappingURL=changelog-command.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"changelog-command.d.cts","names":[],"sources":["../../src/components/changelog-command.tsx"],"mappings":";UA4BiB,qBAAA;EACf,SAAS;AAAA;;;AAAA;iBAMK,gBAAA;EAAmB;AAAA,GAAa,qBAAqB,4BAAA,QAAA"}
1
+ {"version":3,"file":"changelog-command.d.cts","names":[],"sources":["../../src/components/changelog-command.tsx"],"mappings":";UA4BiB;EACf;;;;;iBAMc,mBAAmB,aAAa,iDAAqB"}
@@ -5,9 +5,7 @@ interface ChangelogCommandProps {
5
5
  /**
6
6
  * The Changelog command's handler wrapper for the Shell Shock project.
7
7
  */
8
- declare function ChangelogCommand({
9
- changelog
10
- }: ChangelogCommandProps): import("@alloy-js/core").Children;
8
+ declare function ChangelogCommand({ changelog }: ChangelogCommandProps): import("@alloy-js/core").Children;
11
9
  //#endregion
12
10
  export { ChangelogCommand, ChangelogCommandProps };
13
11
  //# sourceMappingURL=changelog-command.d.mts.map
@@ -4,9 +4,9 @@ import { joinPaths } from "@stryke/path/join";
4
4
  import { isSetString } from "@stryke/type-checks/is-set-string";
5
5
  import { Show, code } from "@alloy-js/core";
6
6
  import { FunctionDeclaration } from "@alloy-js/typescript";
7
- import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
8
- import { TypescriptFile } from "@powerlines/plugin-alloy/typescript";
9
- import { TSDoc } from "@powerlines/plugin-alloy/typescript/components/tsdoc";
7
+ import { TypescriptFile } from "@power-plant/alloy-js/typescript";
8
+ import { TSDoc } from "@power-plant/alloy-js/typescript/components/tsdoc";
9
+ import { usePowerlines } from "@shell-shock/core/contexts/power-plant";
10
10
 
11
11
  //#region src/components/changelog-command.tsx
12
12
  /**
@@ -0,0 +1,33 @@
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ let _shell_shock_core_helpers_power_plant = require("@shell-shock/core/helpers/power-plant");
3
+
4
+ //#region src/generator.tsx
5
+ /**
6
+ * Power Plant generator for Shell Shock changelog commands.
7
+ *
8
+ * @remarks
9
+ * Changelog content is prepared by the plugin; invoke with a `template` override.
10
+ *
11
+ * @see https://github.com/storm-software/power-plant/tree/main/packages/generators/alloy-js
12
+ */
13
+ const changelogGenerator = (0, _shell_shock_core_helpers_power_plant.defineCommandGenerator)({
14
+ meta: {
15
+ name: "shell-shock-changelog",
16
+ title: "Shell Shock Changelog Generator",
17
+ description: "Generates the changelog command module from the Shell Shock command tree specification.",
18
+ version: "1.0",
19
+ tags: [
20
+ "shell-shock",
21
+ "changelog",
22
+ "alloy-js"
23
+ ]
24
+ },
25
+ generator: async (_commands, options) => {
26
+ if (!options.template) return;
27
+ await (0, _shell_shock_core_helpers_power_plant.renderCommandTemplate)(options, options.template);
28
+ }
29
+ });
30
+
31
+ //#endregion
32
+ exports.changelogGenerator = changelogGenerator;
33
+ exports.default = changelogGenerator;
@@ -0,0 +1,13 @@
1
+ //#region src/generator.d.ts
2
+ /**
3
+ * Power Plant generator for Shell Shock changelog commands.
4
+ *
5
+ * @remarks
6
+ * Changelog content is prepared by the plugin; invoke with a `template` override.
7
+ *
8
+ * @see https://github.com/storm-software/power-plant/tree/main/packages/generators/alloy-js
9
+ */
10
+ declare const changelogGenerator: import("@power-plant/core").GeneratorConfigObject<Record<string, import("@shell-shock/schema").SerializedCommandTree>, import("@shell-shock/core/helpers/power-plant").CommandGeneratorOptions, void>;
11
+ //#endregion
12
+ export { changelogGenerator, changelogGenerator as default };
13
+ //# sourceMappingURL=generator.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator.d.cts","names":[],"sources":["../src/generator.tsx"],"mappings":";;;;;;;;;cA+Ba,gDAAkB,sBAAA,6CAAA,wEAAA"}
@@ -0,0 +1,13 @@
1
+ //#region src/generator.d.ts
2
+ /**
3
+ * Power Plant generator for Shell Shock changelog commands.
4
+ *
5
+ * @remarks
6
+ * Changelog content is prepared by the plugin; invoke with a `template` override.
7
+ *
8
+ * @see https://github.com/storm-software/power-plant/tree/main/packages/generators/alloy-js
9
+ */
10
+ declare const changelogGenerator: import("@power-plant/core").GeneratorConfigObject<Record<string, import("@shell-shock/schema").SerializedCommandTree>, import("@shell-shock/core/helpers/power-plant").CommandGeneratorOptions, void>;
11
+ //#endregion
12
+ export { changelogGenerator, changelogGenerator as default };
13
+ //# sourceMappingURL=generator.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator.d.mts","names":[],"sources":["../src/generator.tsx"],"mappings":""}
@@ -0,0 +1,32 @@
1
+ import { defineCommandGenerator, renderCommandTemplate } from "@shell-shock/core/helpers/power-plant";
2
+
3
+ //#region src/generator.tsx
4
+ /**
5
+ * Power Plant generator for Shell Shock changelog commands.
6
+ *
7
+ * @remarks
8
+ * Changelog content is prepared by the plugin; invoke with a `template` override.
9
+ *
10
+ * @see https://github.com/storm-software/power-plant/tree/main/packages/generators/alloy-js
11
+ */
12
+ const changelogGenerator = defineCommandGenerator({
13
+ meta: {
14
+ name: "shell-shock-changelog",
15
+ title: "Shell Shock Changelog Generator",
16
+ description: "Generates the changelog command module from the Shell Shock command tree specification.",
17
+ version: "1.0",
18
+ tags: [
19
+ "shell-shock",
20
+ "changelog",
21
+ "alloy-js"
22
+ ]
23
+ },
24
+ generator: async (_commands, options) => {
25
+ if (!options.template) return;
26
+ await renderCommandTemplate(options, options.template);
27
+ }
28
+ });
29
+
30
+ //#endregion
31
+ export { changelogGenerator, changelogGenerator as default };
32
+ //# sourceMappingURL=generator.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator.mjs","names":[],"sources":[],"mappings":""}
@@ -1,3 +1,4 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1
2
  let _stryke_path_join = require("@stryke/path/join");
2
3
  let powerlines_plugin_utils = require("powerlines/plugin-utils");
3
4
  let _stryke_path = require("@stryke/path");
@@ -0,0 +1,13 @@
1
+ import { ChangelogPluginContext, ChangelogPluginOptions } from "../types/plugin.cjs";
2
+ //#region src/helpers/resolve-changelog.d.ts
3
+ /**
4
+ * Resolves the path to the changelog file based on the provided options and context. If a specific file is provided in the options, it will attempt to resolve that file first. If not, it will look for common changelog file names in the application's root directory.
5
+ *
6
+ * @param context - The unresolved context of the plugin, which includes information about the application's root directory and other relevant data for resolving paths.
7
+ * @param options - The options provided for the changelog plugin, which may include a specific file name to look for.
8
+ * @returns The resolved path to the changelog file if found, or undefined if no valid changelog file could be resolved.
9
+ */
10
+ declare function resolveChangelog(context: ChangelogPluginContext, options: ChangelogPluginOptions): string | undefined;
11
+ //#endregion
12
+ export { resolveChangelog };
13
+ //# sourceMappingURL=resolve-changelog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-changelog.d.cts","names":[],"sources":["../../src/helpers/resolve-changelog.ts"],"mappings":";;;;;;;;;iBA2EgB,iBACd,SAAS,wBACT,SAAS"}
@@ -0,0 +1,13 @@
1
+ import { ChangelogPluginContext, ChangelogPluginOptions } from "../types/plugin.mjs";
2
+ //#region src/helpers/resolve-changelog.d.ts
3
+ /**
4
+ * Resolves the path to the changelog file based on the provided options and context. If a specific file is provided in the options, it will attempt to resolve that file first. If not, it will look for common changelog file names in the application's root directory.
5
+ *
6
+ * @param context - The unresolved context of the plugin, which includes information about the application's root directory and other relevant data for resolving paths.
7
+ * @param options - The options provided for the changelog plugin, which may include a specific file name to look for.
8
+ * @returns The resolved path to the changelog file if found, or undefined if no valid changelog file could be resolved.
9
+ */
10
+ declare function resolveChangelog(context: ChangelogPluginContext, options: ChangelogPluginOptions): string | undefined;
11
+ //#endregion
12
+ export { resolveChangelog };
13
+ //# sourceMappingURL=resolve-changelog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-changelog.d.mts","names":[],"sources":["../../src/helpers/resolve-changelog.ts"],"mappings":""}
package/dist/index.cjs CHANGED
@@ -1,16 +1,15 @@
1
1
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
3
2
  const require_components_changelog_command = require('./components/changelog-command.cjs');
4
3
  require('./components/index.cjs');
5
- const require_resolve_changelog = require('./helpers/resolve-changelog.cjs');
4
+ const require_generator = require('./generator.cjs');
5
+ const require_helpers_resolve_changelog = require('./helpers/resolve-changelog.cjs');
6
6
  let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
7
- let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
7
+ let _shell_shock_core_helpers_power_plant = require("@shell-shock/core/helpers/power-plant");
8
8
  let _shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
9
9
  let _shell_shock_unified_markdown = require("@shell-shock/unified/markdown");
10
10
  let _stryke_path_join = require("@stryke/path/join");
11
11
  let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
12
12
  let defu = require("defu");
13
- defu = require_runtime.__toESM(defu, 1);
14
13
  let powerlines_plugin_utils = require("powerlines/plugin-utils");
15
14
 
16
15
  //#region src/index.tsx
@@ -22,11 +21,11 @@ const plugin = (options = {}) => {
22
21
  name: "shell-shock/changelog",
23
22
  config() {
24
23
  this.debug("Providing default configuration for the Shell Shock `changelog` plugin.");
25
- return { changelog: (0, defu.default)({ command: { name: (0, _stryke_type_checks_is_set_string.isSetString)(options.command) ? options.command : "changelog" } }, options) };
24
+ return { changelog: (0, defu.defu)({ command: { name: (0, _stryke_type_checks_is_set_string.isSetString)(options.command) ? options.command : "changelog" } }, options) };
26
25
  },
27
26
  async configResolved() {
28
27
  this.debug("Adding the CLI changelog commands to the application context.");
29
- if (!(0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file)) this.config.changelog.file = require_resolve_changelog.resolveChangelog(this, options);
28
+ if (!(0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file)) this.config.changelog.file = require_helpers_resolve_changelog.resolveChangelog(this, options);
30
29
  if ((0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file)) this.config.changelog.file = (0, powerlines_plugin_utils.replacePathTokens)(this, this.config.changelog.file);
31
30
  if (!(0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file) || !this.fs.existsSync(this.config.changelog.file)) {
32
31
  this.warn(`The changelog file could not be found at the resolved path: ${this.config.changelog.file}. The \`${this.config.changelog.command.name}\` command will not be added to the application. Please ensure that the changelog file exists at the specified path or adjust the \`changelog.file\` option to point to the correct location.`);
@@ -52,10 +51,10 @@ const plugin = (options = {}) => {
52
51
  virtual: false,
53
52
  ...this.config.changelog.command
54
53
  });
55
- this.debug("Rendering changelog command module for the Shell Shock `changelog` plugin.");
56
- await (0, _powerlines_plugin_alloy_render.render)(this, (0, _alloy_js_core_jsx_runtime.createComponent)(require_components_changelog_command.ChangelogCommand, { get changelog() {
54
+ this.debug("Rendering changelog command module via Power Plant for the Shell Shock `changelog` plugin.");
55
+ await (0, _shell_shock_core_helpers_power_plant.executeCommandGenerator)(this, require_generator.changelogGenerator, { template: (0, _alloy_js_core_jsx_runtime.createComponent)(require_components_changelog_command.ChangelogCommand, { get changelog() {
57
56
  return `\`${(0, _shell_shock_unified_markdown.renderMarkdown)(content).split("\n").map((line) => (0, _stryke_type_checks_is_set_string.isSetString)(line) ? `\${${line}}` : "").join("\n")}\``;
58
- } }));
57
+ } }) });
59
58
  } else this.warn(`The changelog file at the resolved path: ${this.config.changelog.file} could not be read or is empty. The \`${this.config.changelog.command.name}\` command will not be added to the application. Please ensure that the changelog file exists at the specified path and contains valid content.`);
60
59
  }
61
60
  }
@@ -63,5 +62,6 @@ const plugin = (options = {}) => {
63
62
  };
64
63
 
65
64
  //#endregion
65
+ exports.changelogGenerator = require_generator.changelogGenerator;
66
66
  exports.default = plugin;
67
67
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -1,11 +1,12 @@
1
+ import { changelogGenerator } from "./generator.cjs";
1
2
  import { ChangelogPluginContext, ChangelogPluginOptions, ChangelogPluginResolvedConfig, ChangelogPluginUserConfig } from "./types/plugin.cjs";
3
+ import "./types/index.cjs";
2
4
  import { Plugin } from "powerlines";
3
-
4
5
  //#region src/index.d.ts
5
6
  /**
6
7
  * The Changelog - Shell Shock plugin to add version check functionality and changelog commands to a Shell Shock application.
7
8
  */
8
9
  declare const plugin: <TContext extends ChangelogPluginContext = ChangelogPluginContext>(options?: ChangelogPluginOptions) => Plugin<TContext>;
9
10
  //#endregion
10
- export { type ChangelogPluginContext, type ChangelogPluginOptions, type ChangelogPluginResolvedConfig, type ChangelogPluginUserConfig, plugin as default, plugin };
11
+ export { type ChangelogPluginContext, type ChangelogPluginOptions, type ChangelogPluginResolvedConfig, type ChangelogPluginUserConfig, changelogGenerator, plugin as default, plugin };
11
12
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;AAsCA;cAAa,MAAA,oBACM,sBAAA,GAAyB,sBAAA,EAE1C,OAAA,GAAS,sBAAA,KACR,MAAA,CAAO,QAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;;;cAwCa,SACX,iBAAiB,yBAAyB,wBAE1C,UAAS,2BACR,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,11 +1,12 @@
1
+ import { changelogGenerator } from "./generator.mjs";
1
2
  import { ChangelogPluginContext, ChangelogPluginOptions, ChangelogPluginResolvedConfig, ChangelogPluginUserConfig } from "./types/plugin.mjs";
3
+ import "./types/index.mjs";
2
4
  import { Plugin } from "powerlines";
3
-
4
5
  //#region src/index.d.ts
5
6
  /**
6
7
  * The Changelog - Shell Shock plugin to add version check functionality and changelog commands to a Shell Shock application.
7
8
  */
8
9
  declare const plugin: <TContext extends ChangelogPluginContext = ChangelogPluginContext>(options?: ChangelogPluginOptions) => Plugin<TContext>;
9
10
  //#endregion
10
- export { type ChangelogPluginContext, type ChangelogPluginOptions, type ChangelogPluginResolvedConfig, type ChangelogPluginUserConfig, plugin as default, plugin };
11
+ export { type ChangelogPluginContext, type ChangelogPluginOptions, type ChangelogPluginResolvedConfig, type ChangelogPluginUserConfig, changelogGenerator, plugin as default, plugin };
11
12
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -1,13 +1,14 @@
1
1
  import { ChangelogCommand } from "./components/changelog-command.mjs";
2
2
  import "./components/index.mjs";
3
+ import { changelogGenerator } from "./generator.mjs";
3
4
  import { resolveChangelog } from "./helpers/resolve-changelog.mjs";
4
5
  import { createComponent } from "@alloy-js/core/jsx-runtime";
5
- import { render } from "@powerlines/plugin-alloy/render";
6
+ import { executeCommandGenerator } from "@shell-shock/core/helpers/power-plant";
6
7
  import { getAppTitle } from "@shell-shock/core/plugin-utils";
7
8
  import { renderMarkdown } from "@shell-shock/unified/markdown";
8
9
  import { joinPaths } from "@stryke/path/join";
9
10
  import { isSetString } from "@stryke/type-checks/is-set-string";
10
- import defu from "defu";
11
+ import { defu } from "defu";
11
12
  import { replacePathTokens } from "powerlines/plugin-utils";
12
13
 
13
14
  //#region src/index.tsx
@@ -49,10 +50,10 @@ const plugin = (options = {}) => {
49
50
  virtual: false,
50
51
  ...this.config.changelog.command
51
52
  });
52
- this.debug("Rendering changelog command module for the Shell Shock `changelog` plugin.");
53
- await render(this, createComponent(ChangelogCommand, { get changelog() {
53
+ this.debug("Rendering changelog command module via Power Plant for the Shell Shock `changelog` plugin.");
54
+ await executeCommandGenerator(this, changelogGenerator, { template: createComponent(ChangelogCommand, { get changelog() {
54
55
  return `\`${renderMarkdown(content).split("\n").map((line) => isSetString(line) ? `\${${line}}` : "").join("\n")}\``;
55
- } }));
56
+ } }) });
56
57
  } else this.warn(`The changelog file at the resolved path: ${this.config.changelog.file} could not be read or is empty. The \`${this.config.changelog.command.name}\` command will not be added to the application. Please ensure that the changelog file exists at the specified path and contains valid content.`);
57
58
  }
58
59
  }
@@ -60,5 +61,5 @@ const plugin = (options = {}) => {
60
61
  };
61
62
 
62
63
  //#endregion
63
- export { plugin as default, plugin };
64
+ export { changelogGenerator, plugin as default, plugin };
64
65
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ require('./plugin.cjs');
@@ -1 +1,3 @@
1
+ import "./plugin.mjs";
2
+
1
3
  export { };
@@ -1,6 +1,5 @@
1
1
  import { CommandConfig, Context, ResolvedConfig, UserConfig } from "@shell-shock/core";
2
2
  import { RequiredKeys } from "@stryke/types/base";
3
-
4
3
  //#region src/types/plugin.d.ts
5
4
  interface ChangelogPluginOptions {
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;UA0BiB,sBAAA;;AAAjB;;;;;;;;;AAgEiC;AAGjC;;;;;;;;AAImC;AAGnC;;;;;;;;;;;;;;;;;;;;;;AAQ+C;AAI/C;;;;;;;;;;EAhCE,IAAA;EAkCE;;;;AACuB;;;;EAzBzB,OAAA,GAAU,OAAO,CAAC,aAAA;AAAA;AAAA,KAGR,yBAAA,GAA4B,UAAA;;;;EAItC,SAAA,EAAW,sBAAsB;AAAA;AAAA,KAGvB,6BAAA,GAAgC,cAAA;;;;EAI1C,SAAA,EAAW,QAAA,CAAS,IAAA,CAAK,sBAAA;;;;IAIvB,OAAA,EAAS,YAAA,CAAa,OAAA,CAAQ,aAAA;EAAA;AAAA;AAAA,KAItB,sBAAA,yBACc,6BAAA,GACtB,6BAAA,IACA,OAAA,CAAQ,eAAA"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;UA0BiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDf;;;;;;;;;EAUA,UAAU,QAAQ;;KAGR,4BAA4B;;;;EAItC,WAAW;;KAGD,gCAAgC;;;;EAI1C,WAAW,SAAS,KAAK;;;;IAIvB,SAAS,aAAa,QAAQ;;;KAItB,uBACV,wBAAwB,gCACtB,iCACA,QAAQ"}
@@ -1,6 +1,5 @@
1
1
  import { CommandConfig, Context, ResolvedConfig, UserConfig } from "@shell-shock/core";
2
2
  import { RequiredKeys } from "@stryke/types/base";
3
-
4
3
  //#region src/types/plugin.d.ts
5
4
  interface ChangelogPluginOptions {
6
5
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shell-shock/plugin-changelog",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "private": false,
5
5
  "description": "A package containing a Shell Shock plugin to manage upgrading the local application's version.",
6
6
  "keywords": [
@@ -87,6 +87,34 @@
87
87
  "default": "./dist/components/changelog-command.mjs"
88
88
  }
89
89
  },
90
+ "./generator": {
91
+ "require": {
92
+ "types": "./dist/generator.d.cts",
93
+ "default": "./dist/generator.cjs"
94
+ },
95
+ "import": {
96
+ "types": "./dist/generator.d.mts",
97
+ "default": "./dist/generator.mjs"
98
+ },
99
+ "default": {
100
+ "types": "./dist/generator.d.mts",
101
+ "default": "./dist/generator.mjs"
102
+ }
103
+ },
104
+ "./helpers/resolve-changelog": {
105
+ "require": {
106
+ "types": "./dist/helpers/resolve-changelog.d.cts",
107
+ "default": "./dist/helpers/resolve-changelog.cjs"
108
+ },
109
+ "import": {
110
+ "types": "./dist/helpers/resolve-changelog.d.mts",
111
+ "default": "./dist/helpers/resolve-changelog.mjs"
112
+ },
113
+ "default": {
114
+ "types": "./dist/helpers/resolve-changelog.d.mts",
115
+ "default": "./dist/helpers/resolve-changelog.mjs"
116
+ }
117
+ },
90
118
  "./package.json": "./package.json",
91
119
  "./types": {
92
120
  "require": {
@@ -123,21 +151,23 @@
123
151
  "typings": "dist/index.d.mts",
124
152
  "files": ["dist"],
125
153
  "dependencies": {
126
- "@alloy-js/core": "^0.23.1",
127
- "@alloy-js/typescript": "^0.23.0",
128
- "@powerlines/plugin-alloy": "^0.26.230",
129
- "@shell-shock/core": "0.17.22",
130
- "@shell-shock/unified": "0.2.20",
131
- "@stryke/path": "^0.29.11",
132
- "@stryke/type-checks": "^0.6.17",
133
- "@stryke/types": "^0.12.12",
154
+ "@alloy-js/core": "^0.24.1",
155
+ "@alloy-js/typescript": "^0.24.0",
156
+ "@power-plant/alloy-js": "^0.0.87",
157
+ "@power-plant/core": "^0.0.90",
158
+ "@powerlines/plugin-alloy": "^0.26.309",
159
+ "@shell-shock/core": "0.17.24",
160
+ "@shell-shock/unified": "0.2.22",
161
+ "@stryke/path": "^0.29.35",
162
+ "@stryke/type-checks": "^0.6.41",
163
+ "@stryke/types": "^0.12.36",
134
164
  "defu": "^6.1.7",
135
- "powerlines": "^0.47.137"
165
+ "powerlines": "^0.47.211"
136
166
  },
137
167
  "devDependencies": {
138
- "@powerlines/plugin-plugin": "^0.12.549",
139
- "@types/node": "^25.9.3"
168
+ "@powerlines/plugin-plugin": "^0.12.624",
169
+ "@types/node": "^25.9.5"
140
170
  },
141
171
  "publishConfig": { "access": "public" },
142
- "gitHead": "a6c69ec8211e244444893231fe37d7cfbe518fb1"
172
+ "gitHead": "06592cb0cccc2c7e9297af4c5138550e86fa4eec"
143
173
  }
@@ -1,29 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") {
10
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) {
13
- __defProp(to, key, {
14
- get: ((k) => from[k]).bind(null, key),
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- }
19
- }
20
- return to;
21
- };
22
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
- value: mod,
24
- enumerable: true
25
- }) : target, mod));
26
-
27
- //#endregion
28
-
29
- exports.__toESM = __toESM;