alex-c-line 1.18.0 → 1.18.2
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/dist/index.cjs +10 -8
- package/dist/index.js +10 -8
- package/dist/templates/pullRequest/general/base.md +23 -0
- package/dist/templates/pullRequest/general/breaking_change.md +13 -0
- package/dist/templates/pullRequest/general/bug_fix.md +13 -0
- package/dist/templates/pullRequest/general/documentation_change.md +13 -0
- package/dist/templates/pullRequest/general/miscellaneous.md +12 -0
- package/dist/templates/pullRequest/general/new_feature.md +13 -0
- package/dist/templates/pullRequest/general/refactor.md +12 -0
- package/dist/templates/pullRequest/general/tooling_change.md +13 -0
- package/dist/templates/pullRequest/infrastructure/base.md +26 -0
- package/dist/templates/pullRequest/infrastructure/bug_fix.md +12 -0
- package/dist/templates/pullRequest/infrastructure/documentation_change.md +12 -0
- package/dist/templates/pullRequest/infrastructure/irreversible_destruction.md +15 -0
- package/dist/templates/pullRequest/infrastructure/manual_change.md +14 -0
- package/dist/templates/pullRequest/infrastructure/miscellaneous.md +12 -0
- package/dist/templates/pullRequest/infrastructure/new_feature.md +13 -0
- package/dist/templates/pullRequest/infrastructure/refactor.md +12 -0
- package/dist/templates/pullRequest/infrastructure/resource_update.md +13 -0
- package/dist/templates/pullRequest/infrastructure/tooling_change.md +12 -0
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -318,11 +318,7 @@ function createPullRequestTemplate(program) {
|
|
|
318
318
|
});
|
|
319
319
|
}).option("--project-name <projectName>", "The name of the package to use in the templates (leave blank to default to name found in package.json)").option("--project-type <projectType>", "The type of project, used in phrases such as 'adds a new feature to the {{projectType}}'. This option must not be specified if category is `infrastructure`").option("--infrastructure-provider <infrastructureProvider>", "If category is `infrastructure`, this would be the name of the Infrastructure provider (e.g. Terraform)").option("--require-confirmation-from <requireConfirmationFrom>", "If category is `infrastructure`, this would be the name of the user to get approval from if a manual change was required").description("Create pull request template files for a category (currently generates all templates in that category).").action(async (commandLineOptions) => {
|
|
320
320
|
const configPath = await findAlexCLineConfig_default(process.cwd());
|
|
321
|
-
|
|
322
|
-
exitCode: 1,
|
|
323
|
-
code: "ALEX_C_LINE_CONFIG_NOT_FOUND"
|
|
324
|
-
});
|
|
325
|
-
const { createPullRequestTemplate: config } = await loadAlexCLineConfig_default(configPath);
|
|
321
|
+
const { createPullRequestTemplate: config } = configPath ? await loadAlexCLineConfig_default(configPath) : {};
|
|
326
322
|
const packageInfo = JSON.parse(await (0, node_fs_promises.readFile)(node_path.default.join(process.cwd(), "package.json"), "utf-8"));
|
|
327
323
|
const { name: projectName } = commandLineOptions.projectName || config?.projectName ? { name: commandLineOptions.projectName ?? config?.projectName } : (0, _alextheman_utility.parseZodSchema)(zod.default.object({ name: zod.default.string() }), packageInfo, () => {
|
|
328
324
|
program.error("Invalid package.json - expected package.json to contain a `name` property.", {
|
|
@@ -852,7 +848,7 @@ var commands_default = createCommands;
|
|
|
852
848
|
|
|
853
849
|
//#endregion
|
|
854
850
|
//#region package.json
|
|
855
|
-
var version = "1.18.
|
|
851
|
+
var version = "1.18.2";
|
|
856
852
|
var package_default = {
|
|
857
853
|
name: "alex-c-line",
|
|
858
854
|
version,
|
|
@@ -884,7 +880,7 @@ var package_default = {
|
|
|
884
880
|
bin: { "alex-c-line": "dist/index.js" },
|
|
885
881
|
files: ["dist"],
|
|
886
882
|
scripts: {
|
|
887
|
-
"build": "tsdown",
|
|
883
|
+
"build": "tsdown && cpx \"templates/**/*\" dist/templates",
|
|
888
884
|
"command": "bash -c 'pnpm run build && echo && echo \"Command output:\" && node dist/index.js $@' --",
|
|
889
885
|
"create-release-note-major": "git pull origin main && pnpm run command create-release-note major",
|
|
890
886
|
"create-release-note-minor": "git pull origin main && pnpm run command create-release-note minor",
|
|
@@ -934,6 +930,7 @@ var package_default = {
|
|
|
934
930
|
"@types/libsodium-wrappers": "^0.7.14",
|
|
935
931
|
"@types/node": "^25.0.9",
|
|
936
932
|
"@types/update-notifier": "^6.0.8",
|
|
933
|
+
"cpx": "^1.5.0",
|
|
937
934
|
"dotenv-cli": "^11.0.0",
|
|
938
935
|
"eslint": "^9.39.2",
|
|
939
936
|
"eslint-plugin-perfectionist": "^5.3.1",
|
|
@@ -949,7 +946,12 @@ var package_default = {
|
|
|
949
946
|
packageManager: "pnpm@10.28.0+sha512.05df71d1421f21399e053fde567cea34d446fa02c76571441bfc1c7956e98e363088982d940465fd34480d4d90a0668bc12362f8aa88000a64e83d0b0e47be48",
|
|
950
947
|
engines: { "node": ">=22.0.0" },
|
|
951
948
|
pnpm: {
|
|
952
|
-
"onlyBuiltDependencies": [
|
|
949
|
+
"onlyBuiltDependencies": [
|
|
950
|
+
"core-js",
|
|
951
|
+
"esbuild",
|
|
952
|
+
"fsevents",
|
|
953
|
+
"unrs-resolver"
|
|
954
|
+
],
|
|
953
955
|
"overrides": { "tsdown": "<0.19.0" }
|
|
954
956
|
}
|
|
955
957
|
};
|
package/dist/index.js
CHANGED
|
@@ -284,11 +284,7 @@ function createPullRequestTemplate(program) {
|
|
|
284
284
|
});
|
|
285
285
|
}).option("--project-name <projectName>", "The name of the package to use in the templates (leave blank to default to name found in package.json)").option("--project-type <projectType>", "The type of project, used in phrases such as 'adds a new feature to the {{projectType}}'. This option must not be specified if category is `infrastructure`").option("--infrastructure-provider <infrastructureProvider>", "If category is `infrastructure`, this would be the name of the Infrastructure provider (e.g. Terraform)").option("--require-confirmation-from <requireConfirmationFrom>", "If category is `infrastructure`, this would be the name of the user to get approval from if a manual change was required").description("Create pull request template files for a category (currently generates all templates in that category).").action(async (commandLineOptions) => {
|
|
286
286
|
const configPath = await findAlexCLineConfig_default(process.cwd());
|
|
287
|
-
|
|
288
|
-
exitCode: 1,
|
|
289
|
-
code: "ALEX_C_LINE_CONFIG_NOT_FOUND"
|
|
290
|
-
});
|
|
291
|
-
const { createPullRequestTemplate: config } = await loadAlexCLineConfig_default(configPath);
|
|
287
|
+
const { createPullRequestTemplate: config } = configPath ? await loadAlexCLineConfig_default(configPath) : {};
|
|
292
288
|
const packageInfo = JSON.parse(await readFile(path.join(process.cwd(), "package.json"), "utf-8"));
|
|
293
289
|
const { name: projectName } = commandLineOptions.projectName || config?.projectName ? { name: commandLineOptions.projectName ?? config?.projectName } : parseZodSchema(z.object({ name: z.string() }), packageInfo, () => {
|
|
294
290
|
program.error("Invalid package.json - expected package.json to contain a `name` property.", {
|
|
@@ -818,7 +814,7 @@ var commands_default = createCommands;
|
|
|
818
814
|
|
|
819
815
|
//#endregion
|
|
820
816
|
//#region package.json
|
|
821
|
-
var version = "1.18.
|
|
817
|
+
var version = "1.18.2";
|
|
822
818
|
var package_default = {
|
|
823
819
|
name: "alex-c-line",
|
|
824
820
|
version,
|
|
@@ -850,7 +846,7 @@ var package_default = {
|
|
|
850
846
|
bin: { "alex-c-line": "dist/index.js" },
|
|
851
847
|
files: ["dist"],
|
|
852
848
|
scripts: {
|
|
853
|
-
"build": "tsdown",
|
|
849
|
+
"build": "tsdown && cpx \"templates/**/*\" dist/templates",
|
|
854
850
|
"command": "bash -c 'pnpm run build && echo && echo \"Command output:\" && node dist/index.js $@' --",
|
|
855
851
|
"create-release-note-major": "git pull origin main && pnpm run command create-release-note major",
|
|
856
852
|
"create-release-note-minor": "git pull origin main && pnpm run command create-release-note minor",
|
|
@@ -900,6 +896,7 @@ var package_default = {
|
|
|
900
896
|
"@types/libsodium-wrappers": "^0.7.14",
|
|
901
897
|
"@types/node": "^25.0.9",
|
|
902
898
|
"@types/update-notifier": "^6.0.8",
|
|
899
|
+
"cpx": "^1.5.0",
|
|
903
900
|
"dotenv-cli": "^11.0.0",
|
|
904
901
|
"eslint": "^9.39.2",
|
|
905
902
|
"eslint-plugin-perfectionist": "^5.3.1",
|
|
@@ -915,7 +912,12 @@ var package_default = {
|
|
|
915
912
|
packageManager: "pnpm@10.28.0+sha512.05df71d1421f21399e053fde567cea34d446fa02c76571441bfc1c7956e98e363088982d940465fd34480d4d90a0668bc12362f8aa88000a64e83d0b0e47be48",
|
|
916
913
|
engines: { "node": ">=22.0.0" },
|
|
917
914
|
pnpm: {
|
|
918
|
-
"onlyBuiltDependencies": [
|
|
915
|
+
"onlyBuiltDependencies": [
|
|
916
|
+
"core-js",
|
|
917
|
+
"esbuild",
|
|
918
|
+
"fsevents",
|
|
919
|
+
"unrs-resolver"
|
|
920
|
+
],
|
|
919
921
|
"overrides": { "tsdown": "<0.19.0" }
|
|
920
922
|
}
|
|
921
923
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: base
|
|
3
|
+
category: general
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
- projectType
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Select a Template
|
|
10
|
+
|
|
11
|
+
Please select the option that best describes your changes to ``{{projectName}}``:
|
|
12
|
+
|
|
13
|
+
- [Breaking Change](?template=breaking_change.md) - may require changes in how the {{projectType}} is used and/or deployed.
|
|
14
|
+
- [New Feature](?template=new_feature.md) - For changes that add a new feature to the {{projectType}}.
|
|
15
|
+
- [Bug Fix](?template=bug_fix.md) - For changes that fix a bug in the {{projectType}}.
|
|
16
|
+
- [Tooling Change](?template=tooling_change.md) - For changes to the {{projectType}}'s tooling (dependencies, devDependencies, configs...).
|
|
17
|
+
- [Documentation Change](?template=documentation_change.md) - For changes that affect the way that information about the {{projectType}} is presented to users.
|
|
18
|
+
- [Refactor](?template=refactor.md) - For changes that improve code quality and structure without affecting user-facing behaviour.
|
|
19
|
+
- [Miscellaneous](?template=miscellaneous.md) - For changes that do not fit cleanly into any of the above categories.
|
|
20
|
+
|
|
21
|
+
In some cases, your pull request may be doing more than one of these. In this case, please select a template from the top-down.
|
|
22
|
+
For example, if you are introducing a new feature but also making changes to tooling, please select `New Feature` as that comes before tooling in the list.
|
|
23
|
+
This ensures that the most impactful aspect of the change is reflected.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: breaking_change
|
|
3
|
+
category: general
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
- projectType
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Breaking Change
|
|
10
|
+
|
|
11
|
+
This is a change to `{{projectName}}` that will cause breaking changes in how the {{projectType}} is used and/or deployed.
|
|
12
|
+
|
|
13
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: bug_fix
|
|
3
|
+
category: general
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
- projectType
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Bug Fix
|
|
10
|
+
|
|
11
|
+
This is a bug fix for `{{projectName}}`. It fixes an unintended side-effect of the {{projectType}}.
|
|
12
|
+
|
|
13
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: documentation_change
|
|
3
|
+
category: general
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
- projectType
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Documentation Change
|
|
10
|
+
|
|
11
|
+
This is a change to the documentation of `{{projectName}}`. It changes the way that information about the {{projectType}} is presented to users.
|
|
12
|
+
|
|
13
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: miscellaneous
|
|
3
|
+
category: general
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Miscellaneous
|
|
9
|
+
|
|
10
|
+
This is a general change to `{{projectName}}` that does not fit in any of the other provided categories.
|
|
11
|
+
|
|
12
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: new_feature
|
|
3
|
+
category: general
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
- projectType
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# New Feature
|
|
10
|
+
|
|
11
|
+
This is a new feature for `{{projectName}}`. It adds new functionality to the {{projectType}}.
|
|
12
|
+
|
|
13
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: refactor
|
|
3
|
+
category: general
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Refactor
|
|
9
|
+
|
|
10
|
+
This is a change to the code layout of `{{projectName}}`. It changes how the code is presented in terms of quality and structure without changing its overall user-facing behaviour or functionality.
|
|
11
|
+
|
|
12
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: tooling_change
|
|
3
|
+
category: general
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
- projectType
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Tooling Change
|
|
10
|
+
|
|
11
|
+
This is a change to the tooling of `{{projectName}}`. It changes the internal workings of the {{projectType}} and should have no noticeable effect on users.
|
|
12
|
+
|
|
13
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: base
|
|
3
|
+
category: infrastructure
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
- infrastructureProvider
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Select a Template
|
|
11
|
+
|
|
12
|
+
Please select the option that best describes your changes to `{{projectName}}`:
|
|
13
|
+
|
|
14
|
+
- [Manual Change](?template=manual_change.md) - For changes that require me to manually alter {{infrastructureProvider}} resources in some way.
|
|
15
|
+
- [Irreversible Destruction](?template=irreversible_destruction.md) - For changes that irreversibly destroy something managed by {{infrastructureProvider}}.
|
|
16
|
+
- [Bug Fix](?template=bug_fix.md) - For changes that fix a failing deployment and/or unwanted side effect of a given deployment.
|
|
17
|
+
- [Resource Update](?template=resource_update.md) - For changes that update existing resources already managed by {{infrastructureProvider}}.
|
|
18
|
+
- [New Feature](?template=new_feature.md) - For changes that only add to the configuration and do not alter any existing resources.
|
|
19
|
+
- [Tooling Change](?template=tooling_change.md) - For changes to this repository's tooling (dependencies, devDependencies, configs...).
|
|
20
|
+
- [Documentation Change](?template=documentation_change.md) - For changes that affect the way that information about the code is presented to users.
|
|
21
|
+
- [Refactor](?template=refactor.md) - For changes that change code quality and structure without affecting the resulting plan.
|
|
22
|
+
- [Miscellaneous](?template=miscellaneous.md) - For changes that do not fit cleanly into any of the above categories.
|
|
23
|
+
|
|
24
|
+
In some cases, your pull request may be doing more than one of these. In this case, please select a template from the top-down.
|
|
25
|
+
For example, if you are introducing a new feature but also making changes to tooling, please select `New Feature` as that comes before tooling in the list.
|
|
26
|
+
This ensures that the most impactful aspect of the change is reflected.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: bug_fix
|
|
3
|
+
category: infrastructure
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Bug Fix
|
|
9
|
+
|
|
10
|
+
This is a bug fix for `{{projectName}}`. It fixes an unintended side-effect of the configuration or deployment.
|
|
11
|
+
|
|
12
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: documentation_change
|
|
3
|
+
category: infrastructure
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Documentation Change
|
|
9
|
+
|
|
10
|
+
This is a change to the documentation of `{{projectName}}`. It changes the way that information about the repository is presented to users.
|
|
11
|
+
|
|
12
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: irreversible_destruction
|
|
3
|
+
category: infrastructure
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
- infrastructureProvider
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Irreversible Destruction
|
|
10
|
+
|
|
11
|
+
This is a change to `{{projectName}}` that irreversibly destroys a managed {{infrastructureProvider}} resource. This change can **NOT** be fixed by simply reverting back the changes as it will try recreating the resource entirely and there is no guarantee that it will be restored back to the same state it was previously in.
|
|
12
|
+
|
|
13
|
+
Please take extra care before merging this one in, and be absolutely sure that you intend to fully remove the resource associated with this pull request.
|
|
14
|
+
|
|
15
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: manual_change
|
|
3
|
+
category: infrastructure
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
- infrastructureProvider
|
|
7
|
+
- requireConfirmationFrom
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Manual Change
|
|
11
|
+
|
|
12
|
+
This is a change to `{{projectName}}` that requires manual changes to the managed {{infrastructureProvider}} resources. {{requireConfirmationFrom}} **MUST** confirm by approval (or authorship of pull request) that these changes have been made before this can be merged in.
|
|
13
|
+
|
|
14
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: miscellaneous
|
|
3
|
+
category: infrastructure
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Miscellaneous
|
|
9
|
+
|
|
10
|
+
This is a general change to `{{projectName}}` that does not fit in any of the other provided categories.
|
|
11
|
+
|
|
12
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: new_feature
|
|
3
|
+
category: infrastructure
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
- infrastructureProvider
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# New Feature
|
|
10
|
+
|
|
11
|
+
This is a new feature for `{{projectName}}` that adds a new {{infrastructureProvider}}-managed resource.
|
|
12
|
+
|
|
13
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: refactor
|
|
3
|
+
category: infrastructure
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Refactor
|
|
9
|
+
|
|
10
|
+
This is a change to the code layout of `{{projectName}}`. It changes how the code is presented in terms of quality and structure without changing the overall plan.
|
|
11
|
+
|
|
12
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: resource_update
|
|
3
|
+
category: infrastructure
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
- infrastructureProvider
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Resource Update
|
|
10
|
+
|
|
11
|
+
This is a change to an existing resource in `{{projectName}}` in the {{infrastructureProvider}} plan. It changes the currently managed state without removing or adding anything else to the plan.
|
|
12
|
+
|
|
13
|
+
Please see the commits tab of this pull request for the description of changes.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: tooling_change
|
|
3
|
+
category: infrastructure
|
|
4
|
+
placeholders:
|
|
5
|
+
- projectName
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Tooling Change
|
|
9
|
+
|
|
10
|
+
This is a change to the tooling of `{{projectName}}`. It changes the internal workings of the repository and should have no noticeable effect on the plan.
|
|
11
|
+
|
|
12
|
+
Please see the commits tab of this pull request for the description of changes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alex-c-line",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.2",
|
|
4
4
|
"description": "Command-line tool with commands to streamline the developer workflow.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"@types/libsodium-wrappers": "^0.7.14",
|
|
51
51
|
"@types/node": "^25.0.9",
|
|
52
52
|
"@types/update-notifier": "^6.0.8",
|
|
53
|
+
"cpx": "^1.5.0",
|
|
53
54
|
"dotenv-cli": "^11.0.0",
|
|
54
55
|
"eslint": "^9.39.2",
|
|
55
56
|
"eslint-plugin-perfectionist": "^5.3.1",
|
|
@@ -66,7 +67,7 @@
|
|
|
66
67
|
"node": ">=22.0.0"
|
|
67
68
|
},
|
|
68
69
|
"scripts": {
|
|
69
|
-
"build": "tsdown",
|
|
70
|
+
"build": "tsdown && cpx \"templates/**/*\" dist/templates",
|
|
70
71
|
"command": "bash -c 'pnpm run build && echo && echo \"Command output:\" && node dist/index.js $@' --",
|
|
71
72
|
"create-release-note-major": "git pull origin main && pnpm run command create-release-note major",
|
|
72
73
|
"create-release-note-minor": "git pull origin main && pnpm run command create-release-note minor",
|