alex-c-line 1.27.0 → 1.27.1

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.
@@ -92,10 +92,16 @@ declare const alexCLineConfig: AlexCLineConfig<keyof typeof scripts>;
92
92
  //#region src/configs/internal/infrastructureConfig.d.ts
93
93
  declare const infrastructureConfig: AlexCLineConfig<"format" | "lint">;
94
94
  //#endregion
95
- //#region src/configs/internal/PreCommitSteps.d.ts
96
- type PreCommitSteps = "build" | "format" | "lint" | "test";
95
+ //#region src/configs/internal/PreCommitStep.d.ts
96
+ declare const PreCommitStep: {
97
+ readonly BUILD: "build";
98
+ readonly FORMAT: "format";
99
+ readonly LINT: "lint";
100
+ readonly TEST: "test";
101
+ };
102
+ type PreCommitStep = "build" | "format" | "lint" | "test";
97
103
  //#endregion
98
104
  //#region src/configs/internal/packageConfig.d.ts
99
- declare function packageConfig(steps?: PreCommitSteps[]): AlexCLineConfig<PreCommitSteps>;
105
+ declare function packageConfig<ScriptName extends string = PreCommitStep>(steps?: (StepFunction | ScriptName | PreCommitStep | [ScriptName | PreCommitStep, PreCommitStepOptions])[]): AlexCLineConfig<PreCommitStep>;
100
106
  //#endregion
101
107
  export { alexCLineConfig, infrastructureConfig, packageConfig };
@@ -92,10 +92,16 @@ declare const alexCLineConfig: AlexCLineConfig<keyof typeof scripts>;
92
92
  //#region src/configs/internal/infrastructureConfig.d.ts
93
93
  declare const infrastructureConfig: AlexCLineConfig<"format" | "lint">;
94
94
  //#endregion
95
- //#region src/configs/internal/PreCommitSteps.d.ts
96
- type PreCommitSteps = "build" | "format" | "lint" | "test";
95
+ //#region src/configs/internal/PreCommitStep.d.ts
96
+ declare const PreCommitStep: {
97
+ readonly BUILD: "build";
98
+ readonly FORMAT: "format";
99
+ readonly LINT: "lint";
100
+ readonly TEST: "test";
101
+ };
102
+ type PreCommitStep = "build" | "format" | "lint" | "test";
97
103
  //#endregion
98
104
  //#region src/configs/internal/packageConfig.d.ts
99
- declare function packageConfig(steps?: PreCommitSteps[]): AlexCLineConfig<PreCommitSteps>;
105
+ declare function packageConfig<ScriptName extends string = PreCommitStep>(steps?: (StepFunction | ScriptName | PreCommitStep | [ScriptName | PreCommitStep, PreCommitStepOptions])[]): AlexCLineConfig<PreCommitStep>;
100
106
  //#endregion
101
107
  export { alexCLineConfig, infrastructureConfig, packageConfig };
package/dist/index.cjs CHANGED
@@ -1252,7 +1252,7 @@ function setReleaseStatus2(program) {
1252
1252
  //#endregion
1253
1253
  //#region package.json
1254
1254
  var name = "alex-c-line";
1255
- var version = "1.27.0";
1255
+ var version = "1.27.1";
1256
1256
  var description = "Command-line tool with commands to streamline the developer workflow.";
1257
1257
  var package_default = {
1258
1258
  name,
package/dist/index.js CHANGED
@@ -1214,7 +1214,7 @@ function setReleaseStatus2(program) {
1214
1214
  //#endregion
1215
1215
  //#region package.json
1216
1216
  var name = "alex-c-line";
1217
- var version = "1.27.0";
1217
+ var version = "1.27.1";
1218
1218
  var description = "Command-line tool with commands to streamline the developer workflow.";
1219
1219
  var package_default = {
1220
1220
  name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alex-c-line",
3
- "version": "1.27.0",
3
+ "version": "1.27.1",
4
4
  "description": "Command-line tool with commands to streamline the developer workflow.",
5
5
  "repository": {
6
6
  "type": "git",