@gkalpak/aliases 0.10.3 → 0.10.4
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 +2 -0
- package/bin/config/cfgbash.js +1 -1
- package/bin/config/cfgbash.wsl.js +1 -1
- package/bin/config/cfggit.js +1 -1
- package/bin/config/cfggit.win32.js +2 -2
- package/bin/config/cfggit.wsl.js +2 -2
- package/bin/config/cfgvim.js +1 -1
- package/bin/misc/alv.js +1 -1
- package/lib/constants.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,6 +59,7 @@ Here is the list of all global dependencies with associated min. version (older
|
|
|
59
59
|
- `grep`: [grep] >=3 (could come through a bash emulation environment on Windows, such as [git for
|
|
60
60
|
Windows][git-win]' `Git BASH`)
|
|
61
61
|
- `http-server`: [http-server] >=0.12.0 (installed globally via [npm] or [yarn])
|
|
62
|
+
- `kdiff3`: [kdiff3] >=0.9
|
|
62
63
|
- `light-server`: [light-server] >=2.5.0 (installed globally via [npm] or [yarn])
|
|
63
64
|
- `ls`: [ls] >=8 (could come through a bash emulation environment on Windows, such as [git for
|
|
64
65
|
Windows][git-win]' `Git BASH`)
|
|
@@ -115,6 +116,7 @@ Things I want to (but won't necessarily) do:
|
|
|
115
116
|
[git-win]: https://git-for-windows.github.io/
|
|
116
117
|
[grep]: https://en.wikipedia.org/wiki/Grep
|
|
117
118
|
[http-server]: https://www.npmjs.com/package/http-server
|
|
119
|
+
[kdiff3]: https://invent.kde.org/sdk/kdiff3
|
|
118
120
|
[light-server]: https://www.npmjs.com/package/light-server
|
|
119
121
|
[ls]: https://en.wikipedia.org/wiki/Ls
|
|
120
122
|
[ng-maintain]: https://www.npmjs.com/package/@gkalpak/ng-maintain
|
package/bin/config/cfgbash.js
CHANGED
|
@@ -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.10.
|
|
5
|
+
### [Generated by: @gkalpak/aliases v0.10.4]
|
|
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.10.
|
|
5
|
+
### [Generated by: @gkalpak/aliases v0.10.4]
|
|
6
6
|
### Copy the following into '~/.bashrc':
|
|
7
7
|
|
|
8
8
|
# Set up prompt.
|
package/bin/config/cfggit.js
CHANGED
|
@@ -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.10.
|
|
4
|
+
### [Generated by: @gkalpak/aliases v0.10.4]
|
|
5
5
|
### Run the following commands:
|
|
6
6
|
|
|
7
7
|
git config --global commit.gpgSign true
|
|
@@ -1,14 +1,14 @@
|
|
|
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.10.
|
|
4
|
+
### [Generated by: @gkalpak/aliases v0.10.4]
|
|
5
5
|
### Run the following commands:
|
|
6
6
|
|
|
7
7
|
git config --global commit.gpgSign true
|
|
8
8
|
git config --global core.editor "vim"
|
|
9
9
|
git config --global credential.helper "manager"
|
|
10
10
|
git config --global merge.tool "kdiff3"
|
|
11
|
-
git config --global mergetool.kdiff3.path "C:/Program Files/KDiff3/kdiff3.exe"
|
|
11
|
+
git config --global mergetool.kdiff3.path "C:/Program Files/KDiff3/bin/kdiff3.exe"
|
|
12
12
|
git config --global mergetool.kdiff3.trustExitCode "false"
|
|
13
13
|
git config --global push.default "upstream"
|
|
14
14
|
git config --global rebase.autosquash "true"
|
package/bin/config/cfggit.wsl.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.10.
|
|
4
|
+
### [Generated by: @gkalpak/aliases v0.10.4]
|
|
5
5
|
### Run the following commands:
|
|
6
6
|
|
|
7
7
|
git config --global commit.gpgSign true
|
|
8
8
|
git config --global core.editor "vim"
|
|
9
9
|
git config --global credential.helper "/mnt/c/Program Files/Git/mingw64/bin/git-credential-manager.exe"
|
|
10
10
|
git config --global merge.tool "kdiff3"
|
|
11
|
-
git config --global mergetool.kdiff3.path "/mnt/c/Program Files/KDiff3/kdiff3.exe"
|
|
11
|
+
git config --global mergetool.kdiff3.path "/mnt/c/Program Files/KDiff3/bin/kdiff3.exe"
|
|
12
12
|
git config --global mergetool.kdiff3.trustExitCode "false"
|
|
13
13
|
git config --global push.default "upstream"
|
|
14
14
|
git config --global rebase.autosquash "true"
|
package/bin/config/cfgvim.js
CHANGED
|
@@ -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.10.
|
|
5
|
+
console.log('""" [Generated by: @gkalpak/aliases v0.10.4]');
|
|
6
6
|
console.log('""" Copy the following into \'~/.vimrc\':\n');
|
|
7
7
|
console.log(readFileSync(`${__dirname}/../../lib/assets/vimrc.txt`, 'utf8').trim() + '\n');
|
package/bin/misc/alv.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
console.log('@gkalpak/aliases v0.10.
|
|
2
|
+
console.log('@gkalpak/aliases v0.10.4');
|
package/lib/constants.js
CHANGED
|
@@ -472,10 +472,10 @@ const ALIASES = {
|
|
|
472
472
|
default: CFGGIT_SPEC_WITH_CRED_HELPER('manager', '/path/to/kdiff3'),
|
|
473
473
|
win32: CFGGIT_SPEC_WITH_CRED_HELPER(
|
|
474
474
|
'manager',
|
|
475
|
-
'C:/Program Files/KDiff3/kdiff3.exe'),
|
|
475
|
+
'C:/Program Files/KDiff3/bin/kdiff3.exe'),
|
|
476
476
|
wsl: CFGGIT_SPEC_WITH_CRED_HELPER(
|
|
477
477
|
'/mnt/c/Program Files/Git/mingw64/bin/git-credential-manager.exe',
|
|
478
|
-
'/mnt/c/Program Files/KDiff3/kdiff3.exe'),
|
|
478
|
+
'/mnt/c/Program Files/KDiff3/bin/kdiff3.exe'),
|
|
479
479
|
}),
|
|
480
480
|
|
|
481
481
|
|