@gkalpak/aliases 0.13.5 → 0.13.7

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/README.md CHANGED
@@ -1,9 +1,15 @@
1
- # aliases [![Build Status][build-status-image]][build-status]
1
+ <div align="center">
2
+
3
+ <img src="./assets/images/logo.svg" alt="package logo" height="64" />
4
+
5
+ # @gkalpak/aliases [![Build Status][build-status-image]][build-status]
2
6
 
3
7
  _Warning:_
4
8
  _This is still an experimental tool._
5
9
  _Use at your own risk!_
6
10
 
11
+ </div>
12
+
7
13
 
8
14
  ## Description
9
15
 
@@ -0,0 +1,118 @@
1
+ <svg viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg">
2
+ <linearGradient id="bgGradient" x="0%" y1="0%" x2="100%" y2="100%">
3
+ <stop offset="0%" stop-color="darkorchid" />
4
+ <stop offset="100%" stop-color="orchid" />
5
+ </linearGradient>
6
+ <rect
7
+ x="0" y="0"
8
+ width="100%" height="100%"
9
+ fill="url(#bgGradient)"
10
+ />
11
+ <path
12
+ d="
13
+ M 125 450
14
+ m 0 120
15
+ v -80
16
+ a 40 40 0 0 1 40 -40
17
+ h 180
18
+ v 120
19
+ h -40
20
+ v -40
21
+ a 20 20 0 1 0 -10 0
22
+ h 10
23
+ v 40
24
+ h -60
25
+ v -40
26
+ a 20 20 0 1 0 -10 0
27
+ h 10
28
+ v 40
29
+ h -60
30
+ v -40
31
+ a 20 20 0 1 0 -10 0
32
+ h 10
33
+ v 40
34
+ Z
35
+ v 240
36
+ a 40 40 0 0 0 40 40
37
+ h 470
38
+ a 40 40 0 0 0 40 -40
39
+ v -130
40
+ h -60
41
+ v 90
42
+ a 20 20 0 0 1 -20 20
43
+ h -390
44
+ a 20 20 0 0 1 -20 -20
45
+ v -200
46
+ Z
47
+ m 140 40
48
+ l 70 70
49
+ l -70 70
50
+ l -20 -20
51
+ l 50 -50
52
+ l -50 -50
53
+ Z
54
+ "
55
+ fill="limegreen"
56
+ />
57
+ <path
58
+ d="
59
+ M 375 250
60
+ m 0 120
61
+ v -80
62
+ a 40 40 0 0 1 40 -40
63
+ h 470
64
+ a 40 40 0 0 1 40 40
65
+ v 80
66
+ h -370
67
+ v -40
68
+ a 20 20 0 1 0 -10 0
69
+ h 10
70
+ v 40
71
+ h -60
72
+ v -40
73
+ a 20 20 0 1 0 -10 0
74
+ h 10
75
+ v 40
76
+ h -60
77
+ v -40
78
+ a 20 20 0 1 0 -10 0
79
+ h 10
80
+ v 40
81
+ Z
82
+ v 240
83
+ a 40 40 0 0 0 40 40
84
+ h 470
85
+ a 40 40 0 0 0 40 -40
86
+ v -240
87
+ h -60
88
+ v 200
89
+ a 20 20 0 0 1 -20 20
90
+ h -390
91
+ a 20 20 0 0 1 -20 -20
92
+ v -200
93
+ Z
94
+ m 140 40
95
+ l 70 70
96
+ l -70 70
97
+ l -20 -20
98
+ l 50 -50
99
+ l -50 -50
100
+ Z
101
+ "
102
+ fill="orange"
103
+ />
104
+ <path
105
+ d="
106
+ M 100 450
107
+ a 300 200 0 0 1 250 -200
108
+ m 0 0
109
+ l -100 -50
110
+ m 100 50
111
+ l -50 100
112
+ "
113
+ fill="none"
114
+ stroke="purple"
115
+ stroke-linecap="round"
116
+ stroke-width="50"
117
+ />
118
+ </svg>
@@ -2,7 +2,7 @@
2
2
  import {stripIndentation} from '../../lib/utils.js';
3
3
  /* eslint-disable max-len */
4
4
  console.log(stripIndentation(`
5
- ### [Generated by: @gkalpak/aliases v0.13.5]
5
+ ### [Generated by: @gkalpak/aliases v0.13.7]
6
6
  ### Copy the following into '~/.bashrc':
7
7
 
8
8
  # Set up prompt.
@@ -2,7 +2,7 @@
2
2
  import {stripIndentation} from '../../lib/utils.js';
3
3
  /* eslint-disable max-len */
4
4
  console.log(stripIndentation(`
5
- ### [Generated by: @gkalpak/aliases v0.13.5]
5
+ ### [Generated by: @gkalpak/aliases v0.13.7]
6
6
  ### Copy the following into '~/.bashrc':
7
7
 
8
8
  # Set up prompt.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {stripIndentation} from '../../lib/utils.js';
3
3
  console.log(stripIndentation(`
4
- ### [Generated by: @gkalpak/aliases v0.13.5]
4
+ ### [Generated by: @gkalpak/aliases v0.13.7]
5
5
  ### Run the following commands:
6
6
 
7
7
  git config --global commit.gpgSign "true"
@@ -20,8 +20,8 @@ console.log(stripIndentation(`
20
20
  git config --global mergetool.kdiff3.path "/path/to/kdiff3"
21
21
  git config --global mergetool.kdiff3.trustExitCode "false"
22
22
  git config --global push.default "upstream"
23
- git config --global rebase.autosquash "true"
24
- git config --global rebase.autostash "true"
23
+ git config --global rebase.autoSquash "true"
24
+ git config --global rebase.autoStash "true"
25
25
  git config --global rerere.autoUpdate "true"
26
26
  git config --global rerere.enabled "true"
27
27
  git config --global tag.gpgSign "true"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {stripIndentation} from '../../lib/utils.js';
3
3
  console.log(stripIndentation(`
4
- ### [Generated by: @gkalpak/aliases v0.13.5]
4
+ ### [Generated by: @gkalpak/aliases v0.13.7]
5
5
  ### Run the following commands:
6
6
 
7
7
  git config --global commit.gpgSign "true"
@@ -20,8 +20,8 @@ console.log(stripIndentation(`
20
20
  git config --global mergetool.kdiff3.path "C:/Program Files/KDiff3/bin/kdiff3.exe"
21
21
  git config --global mergetool.kdiff3.trustExitCode "false"
22
22
  git config --global push.default "upstream"
23
- git config --global rebase.autosquash "true"
24
- git config --global rebase.autostash "true"
23
+ git config --global rebase.autoSquash "true"
24
+ git config --global rebase.autoStash "true"
25
25
  git config --global rerere.autoUpdate "true"
26
26
  git config --global rerere.enabled "true"
27
27
  git config --global tag.gpgSign "true"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {stripIndentation} from '../../lib/utils.js';
3
3
  console.log(stripIndentation(`
4
- ### [Generated by: @gkalpak/aliases v0.13.5]
4
+ ### [Generated by: @gkalpak/aliases v0.13.7]
5
5
  ### Run the following commands:
6
6
 
7
7
  git config --global commit.gpgSign "true"
@@ -20,8 +20,8 @@ console.log(stripIndentation(`
20
20
  git config --global mergetool.kdiff3.path "/mnt/c/Program Files/KDiff3/bin/kdiff3.exe"
21
21
  git config --global mergetool.kdiff3.trustExitCode "false"
22
22
  git config --global push.default "upstream"
23
- git config --global rebase.autosquash "true"
24
- git config --global rebase.autostash "true"
23
+ git config --global rebase.autoSquash "true"
24
+ git config --global rebase.autoStash "true"
25
25
  git config --global rerere.autoUpdate "true"
26
26
  git config --global rerere.enabled "true"
27
27
  git config --global tag.gpgSign "true"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {stripIndentation} from '../../lib/utils.js';
3
3
  console.log(stripIndentation(`
4
- ### [Generated by: @gkalpak/aliases v0.13.5]
4
+ ### [Generated by: @gkalpak/aliases v0.13.7]
5
5
  ### Copy the following into '~/.gnupg/gpg-agent.conf':
6
6
 
7
7
  default-cache-ttl 86400
@@ -1,21 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
  import {stripIndentation} from '../../lib/utils.js';
3
3
  console.log(stripIndentation(`
4
- ### [Generated by: @gkalpak/aliases v0.13.5]
4
+ ### [Generated by: @gkalpak/aliases v0.13.7]
5
5
  ### Copy the following into '~/.ssh/config':
6
6
 
7
- IdentityFile ~/.ssh/id-rsa-gkalpak.ppk
7
+ IdentityFile ~/.ssh/id-rsa-gkalpak.priv
8
8
  AddKeysToAgent yes
9
9
 
10
10
  Host nrg-masternode-1
11
11
  HostName 173.212.225.90
12
12
  Port 2210
13
13
  User nrgstaker
14
- IdentityFile ~/.ssh/id-rsa-gkalpak.ppk
14
+ IdentityFile ~/.ssh/id-rsa-gkalpak.priv
15
15
 
16
16
  Host nrg-masternode-2
17
17
  HostName 62.171.165.219
18
18
  Port 2210
19
19
  User nrgstaker
20
- IdentityFile ~/.ssh/id-rsa-gkalpak.ppk
20
+ IdentityFile ~/.ssh/id-rsa-gkalpak.priv
21
21
  `));
@@ -2,6 +2,6 @@
2
2
  import {readFileSync} from 'node:fs';
3
3
  import {fileURLToPath} from 'node:url';
4
4
  const __dirname = fileURLToPath(new URL('.', import.meta.url));
5
- console.log('""" [Generated by: @gkalpak/aliases v0.13.5]');
5
+ console.log('""" [Generated by: @gkalpak/aliases v0.13.7]');
6
6
  console.log('""" Copy the following into \'~/.vimrc\':\n');
7
7
  console.log(readFileSync(`${__dirname}/../../lib/assets/vimrc.txt`, 'utf8').trim() + '\n');
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {stripIndentation} from '../../lib/utils.js';
3
3
  console.log(stripIndentation(`
4
- ### [Generated by: @gkalpak/aliases v0.13.5]
4
+ ### [Generated by: @gkalpak/aliases v0.13.7]
5
5
  ### Copy the following into a root-owned, 600-mode '/etc/resolv.conf' file:
6
6
 
7
7
  # Cloudflare
@@ -14,7 +14,7 @@ console.log(stripIndentation(`
14
14
 
15
15
  -----
16
16
 
17
- ### [Generated by: @gkalpak/aliases v0.13.5]
17
+ ### [Generated by: @gkalpak/aliases v0.13.7]
18
18
  ### Copy the following into a root-owned, 600-mode '/etc/wsl.conf' file:
19
19
 
20
20
  [network]
package/bin/misc/alv.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- console.log('@gkalpak/aliases v0.13.5');
2
+ console.log('@gkalpak/aliases v0.13.7');
package/bin/node/naga.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {commandUtils} from '@gkalpak/cli-utils';
3
3
  import {isMain, onError} from '../../lib/utils.js';
4
4
  // eslint-disable-next-line max-len
5
- const cmd = 'npm install --global @angular/cli @gkalpak/aliases @gkalpak/cli-utils @gkalpak/ng-maintain eslint firebase-tools http-server light-server shx typescript verdaccio watch yarn $*';
5
+ const cmd = 'npm install --global @gkalpak/aliases @gkalpak/cli-utils @gkalpak/ng-maintain eslint firebase-tools http-server light-server pnpm shx typescript verdaccio watch yarn $*';
6
6
  export default cmd;
7
7
  if (isMain(import.meta.url)) {
8
8
  const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
package/bin/node/yaga.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {commandUtils} from '@gkalpak/cli-utils';
3
3
  import {isMain, onError} from '../../lib/utils.js';
4
4
  // eslint-disable-next-line max-len
5
- const cmd = 'yarn global add @angular/cli @gkalpak/aliases @gkalpak/cli-utils @gkalpak/ng-maintain eslint firebase-tools http-server light-server shx typescript verdaccio watch $*';
5
+ const cmd = 'yarn global add @gkalpak/aliases @gkalpak/cli-utils @gkalpak/ng-maintain eslint firebase-tools http-server light-server pnpm shx typescript verdaccio watch $*';
6
6
  export default cmd;
7
7
  if (isMain(import.meta.url)) {
8
8
  const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
package/lib/constants.js CHANGED
@@ -19,7 +19,6 @@ const PR_LOCAL_BRANCH_PREFIX = 'gcoghpr';
19
19
 
20
20
  const SOURCE_NVM_CMD = '. $NVM_DIR/nvm.sh';
21
21
  const GLOBAL_NPM_PACKAGES = [
22
- '@angular/cli',
23
22
  '@gkalpak/aliases',
24
23
  '@gkalpak/cli-utils',
25
24
  '@gkalpak/ng-maintain',
@@ -27,6 +26,7 @@ const GLOBAL_NPM_PACKAGES = [
27
26
  'firebase-tools',
28
27
  'http-server',
29
28
  'light-server',
29
+ 'pnpm',
30
30
  'shx',
31
31
  'typescript',
32
32
  'verdaccio',
@@ -119,8 +119,8 @@ const CFGGIT_SPEC = (credHelper, kdiff3Path) => new AliasSpec(
119
119
  git config --global mergetool.kdiff3.path "${kdiff3Path}"
120
120
  git config --global mergetool.kdiff3.trustExitCode "false"
121
121
  git config --global push.default "upstream"
122
- git config --global rebase.autosquash "true"
123
- git config --global rebase.autostash "true"
122
+ git config --global rebase.autoSquash "true"
123
+ git config --global rebase.autoStash "true"
124
124
  git config --global rerere.autoUpdate "true"
125
125
  git config --global rerere.enabled "true"
126
126
  git config --global tag.gpgSign "true"
@@ -564,7 +564,7 @@ const ALIASES = {
564
564
 
565
565
 
566
566
  // SSH
567
- cfgssh: new Alias(CFGSSH_SPEC('~/.ssh/id-rsa-gkalpak.ppk')),
567
+ cfgssh: new Alias(CFGSSH_SPEC('~/.ssh/id-rsa-gkalpak.priv')),
568
568
 
569
569
 
570
570
  // VIM
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gkalpak/aliases",
3
- "version": "0.13.5",
3
+ "version": "0.13.7",
4
4
  "description": "My global aliases.",
5
5
  "keywords": [
6
6
  "Utility"
@@ -199,18 +199,18 @@
199
199
  },
200
200
  "dependencies": {
201
201
  "@gkalpak/cli-utils": "^0.2.0",
202
- "chalk": "^5.3.0",
203
- "inquirer": "^10.1.8",
202
+ "chalk": "^5.6.2",
203
+ "inquirer": "^12.10.0",
204
204
  "is-wsl": "^3.1.0"
205
205
  },
206
206
  "devDependencies": {
207
- "eslint": "^8.57.0",
208
- "eslint-plugin-import": "^2.29.1",
209
- "eslint-plugin-jasmine": "^4.2.1",
210
- "jasmine": "^5.2.0",
207
+ "eslint": "^8.57.1",
208
+ "eslint-plugin-import": "^2.32.0",
209
+ "eslint-plugin-jasmine": "^4.2.2",
210
+ "jasmine": "^5.12.0",
211
211
  "npm-run-all": "^4.1.5",
212
- "shelljs": "^0.8.5",
213
- "strip-ansi": "^7.1.0",
212
+ "shelljs": "^0.10.0",
213
+ "strip-ansi": "^7.1.2",
214
214
  "watch": "^1.0.2"
215
215
  },
216
216
  "overrides-comments": {