alex-c-line 1.17.0 → 1.17.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.
- package/dist/index.cjs +8 -8
- package/dist/index.js +8 -8
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -357,9 +357,9 @@ function editEnv(program$1) {
|
|
|
357
357
|
var edit_env_default = editEnv;
|
|
358
358
|
|
|
359
359
|
//#endregion
|
|
360
|
-
//#region src/commands/encrypt.ts
|
|
361
|
-
function
|
|
362
|
-
program$1.command("encrypt").description("Encrypt a secret given the public key and the thing you want to encrypt.").argument("<key>", "The public key to encrypt with").argument("<value>", "The value to encrypt in plaintext").action(async (key, value) => {
|
|
360
|
+
//#region src/commands/encrypt-with-key.ts
|
|
361
|
+
function encryptWithKey(program$1) {
|
|
362
|
+
program$1.command("encrypt-with-key").alias("encrypt").description("Encrypt a secret given the public base64 key and the thing you want to encrypt.").argument("<key>", "The public base64 key to encrypt with").argument("<value>", "The value to encrypt in plaintext").action(async (key, value) => {
|
|
363
363
|
try {
|
|
364
364
|
await libsodium_wrappers.default.ready;
|
|
365
365
|
const base64Key = libsodium_wrappers.default.from_base64(key, libsodium_wrappers.default.base64_variants.ORIGINAL);
|
|
@@ -374,7 +374,7 @@ function encrypt(program$1) {
|
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
|
-
var
|
|
377
|
+
var encrypt_with_key_default = encryptWithKey;
|
|
378
378
|
|
|
379
379
|
//#endregion
|
|
380
380
|
//#region src/commands/get-version-type.ts
|
|
@@ -708,7 +708,7 @@ function createCommands(program$1) {
|
|
|
708
708
|
createPullRequestTemplates: create_pull_request_templates_default,
|
|
709
709
|
createReleaseNote: create_release_note_default,
|
|
710
710
|
editEnv: edit_env_default,
|
|
711
|
-
|
|
711
|
+
encryptWithKey: encrypt_with_key_default,
|
|
712
712
|
getVersionType: get_version_type_default,
|
|
713
713
|
gitPostMergeCleanup: git_post_merge_cleanup_default,
|
|
714
714
|
incrementVersion: increment_version_default,
|
|
@@ -722,7 +722,7 @@ var commands_default = createCommands;
|
|
|
722
722
|
|
|
723
723
|
//#endregion
|
|
724
724
|
//#region package.json
|
|
725
|
-
var version = "1.17.
|
|
725
|
+
var version = "1.17.1";
|
|
726
726
|
var package_default = {
|
|
727
727
|
name: "alex-c-line",
|
|
728
728
|
version,
|
|
@@ -764,13 +764,13 @@ var package_default = {
|
|
|
764
764
|
"format-prettier": "pnpm run format-prettier-typescript && pnpm run format-prettier-javascript && pnpm run format-prettier-yml",
|
|
765
765
|
"format-prettier-javascript": "prettier --write \"./**/*.js\"",
|
|
766
766
|
"format-prettier-typescript": "prettier --write --parser typescript \"./**/*.ts\"",
|
|
767
|
-
"format-prettier-yml": "prettier --write \"./**/*.yml\"",
|
|
767
|
+
"format-prettier-yml": "prettier --write \"./**/*.{yml,yaml}\"",
|
|
768
768
|
"lint": "pnpm run lint-tsc && pnpm run lint-eslint && pnpm run lint-prettier",
|
|
769
769
|
"lint-eslint": "eslint \"package.json\" \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
770
770
|
"lint-prettier": "pnpm run lint-prettier-typescript && pnpm run lint-prettier-javascript && pnpm run lint-prettier-yml",
|
|
771
771
|
"lint-prettier-javascript": "prettier --check \"./**.js\"",
|
|
772
772
|
"lint-prettier-typescript": "prettier --check --parser typescript \"./**/*.ts\"",
|
|
773
|
-
"lint-prettier-yml": "prettier --check \"./**/*.yml\"",
|
|
773
|
+
"lint-prettier-yml": "prettier --check \"./**/*.{yml,yaml}\"",
|
|
774
774
|
"lint-tsc": "tsc --noEmit",
|
|
775
775
|
"pre-commit": "pnpm run command pre-commit-2",
|
|
776
776
|
"prepare": "husky",
|
package/dist/index.js
CHANGED
|
@@ -323,9 +323,9 @@ function editEnv(program$1) {
|
|
|
323
323
|
var edit_env_default = editEnv;
|
|
324
324
|
|
|
325
325
|
//#endregion
|
|
326
|
-
//#region src/commands/encrypt.ts
|
|
327
|
-
function
|
|
328
|
-
program$1.command("encrypt").description("Encrypt a secret given the public key and the thing you want to encrypt.").argument("<key>", "The public key to encrypt with").argument("<value>", "The value to encrypt in plaintext").action(async (key, value) => {
|
|
326
|
+
//#region src/commands/encrypt-with-key.ts
|
|
327
|
+
function encryptWithKey(program$1) {
|
|
328
|
+
program$1.command("encrypt-with-key").alias("encrypt").description("Encrypt a secret given the public base64 key and the thing you want to encrypt.").argument("<key>", "The public base64 key to encrypt with").argument("<value>", "The value to encrypt in plaintext").action(async (key, value) => {
|
|
329
329
|
try {
|
|
330
330
|
await sodium.ready;
|
|
331
331
|
const base64Key = sodium.from_base64(key, sodium.base64_variants.ORIGINAL);
|
|
@@ -340,7 +340,7 @@ function encrypt(program$1) {
|
|
|
340
340
|
}
|
|
341
341
|
});
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var encrypt_with_key_default = encryptWithKey;
|
|
344
344
|
|
|
345
345
|
//#endregion
|
|
346
346
|
//#region src/commands/get-version-type.ts
|
|
@@ -674,7 +674,7 @@ function createCommands(program$1) {
|
|
|
674
674
|
createPullRequestTemplates: create_pull_request_templates_default,
|
|
675
675
|
createReleaseNote: create_release_note_default,
|
|
676
676
|
editEnv: edit_env_default,
|
|
677
|
-
|
|
677
|
+
encryptWithKey: encrypt_with_key_default,
|
|
678
678
|
getVersionType: get_version_type_default,
|
|
679
679
|
gitPostMergeCleanup: git_post_merge_cleanup_default,
|
|
680
680
|
incrementVersion: increment_version_default,
|
|
@@ -688,7 +688,7 @@ var commands_default = createCommands;
|
|
|
688
688
|
|
|
689
689
|
//#endregion
|
|
690
690
|
//#region package.json
|
|
691
|
-
var version = "1.17.
|
|
691
|
+
var version = "1.17.1";
|
|
692
692
|
var package_default = {
|
|
693
693
|
name: "alex-c-line",
|
|
694
694
|
version,
|
|
@@ -730,13 +730,13 @@ var package_default = {
|
|
|
730
730
|
"format-prettier": "pnpm run format-prettier-typescript && pnpm run format-prettier-javascript && pnpm run format-prettier-yml",
|
|
731
731
|
"format-prettier-javascript": "prettier --write \"./**/*.js\"",
|
|
732
732
|
"format-prettier-typescript": "prettier --write --parser typescript \"./**/*.ts\"",
|
|
733
|
-
"format-prettier-yml": "prettier --write \"./**/*.yml\"",
|
|
733
|
+
"format-prettier-yml": "prettier --write \"./**/*.{yml,yaml}\"",
|
|
734
734
|
"lint": "pnpm run lint-tsc && pnpm run lint-eslint && pnpm run lint-prettier",
|
|
735
735
|
"lint-eslint": "eslint \"package.json\" \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
736
736
|
"lint-prettier": "pnpm run lint-prettier-typescript && pnpm run lint-prettier-javascript && pnpm run lint-prettier-yml",
|
|
737
737
|
"lint-prettier-javascript": "prettier --check \"./**.js\"",
|
|
738
738
|
"lint-prettier-typescript": "prettier --check --parser typescript \"./**/*.ts\"",
|
|
739
|
-
"lint-prettier-yml": "prettier --check \"./**/*.yml\"",
|
|
739
|
+
"lint-prettier-yml": "prettier --check \"./**/*.{yml,yaml}\"",
|
|
740
740
|
"lint-tsc": "tsc --noEmit",
|
|
741
741
|
"pre-commit": "pnpm run command pre-commit-2",
|
|
742
742
|
"prepare": "husky",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alex-c-line",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.1",
|
|
4
4
|
"description": "Command-line tool with commands to streamline the developer workflow.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"format-prettier": "pnpm run format-prettier-typescript && pnpm run format-prettier-javascript && pnpm run format-prettier-yml",
|
|
72
72
|
"format-prettier-javascript": "prettier --write \"./**/*.js\"",
|
|
73
73
|
"format-prettier-typescript": "prettier --write --parser typescript \"./**/*.ts\"",
|
|
74
|
-
"format-prettier-yml": "prettier --write \"./**/*.yml\"",
|
|
74
|
+
"format-prettier-yml": "prettier --write \"./**/*.{yml,yaml}\"",
|
|
75
75
|
"lint": "pnpm run lint-tsc && pnpm run lint-eslint && pnpm run lint-prettier",
|
|
76
76
|
"lint-eslint": "eslint \"package.json\" \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
77
77
|
"lint-prettier": "pnpm run lint-prettier-typescript && pnpm run lint-prettier-javascript && pnpm run lint-prettier-yml",
|
|
78
78
|
"lint-prettier-javascript": "prettier --check \"./**.js\"",
|
|
79
79
|
"lint-prettier-typescript": "prettier --check --parser typescript \"./**/*.ts\"",
|
|
80
|
-
"lint-prettier-yml": "prettier --check \"./**/*.yml\"",
|
|
80
|
+
"lint-prettier-yml": "prettier --check \"./**/*.{yml,yaml}\"",
|
|
81
81
|
"lint-tsc": "tsc --noEmit",
|
|
82
82
|
"pre-commit": "pnpm run command pre-commit-2",
|
|
83
83
|
"prepare-live-eslint-plugin": "pnpm uninstall @alextheman/eslint-plugin && pnpm install --save-dev @alextheman/eslint-plugin",
|