@jswork/ushell-module-git 1.0.21 → 1.0.22

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/modules/08-mvg.sh CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 1.from $1 or ls -d */ | awk '{printf $1}'
4
- subdir=$1 || subdir=$(ls -d */ | awk '{printf $1}')
3
+ # 1.from folder name: ls -d */ | awk '{printf $1}'
4
+ subdir=$(ls -d */ | awk '{printf $1}')
5
5
  # 2. remove .git directory
6
6
  cd $subdir && rm -rf .git && cd ..
7
7
  # 3. move all files to parent directory
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jswork/ushell-module-git",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Unix like shell module for git.",
5
5
  "main": "index.sh",
6
6
  "repository": {
@@ -24,7 +24,8 @@
24
24
  "private",
25
25
  "git-flow",
26
26
  "ushell",
27
- "unix"
27
+ "unix",
28
+ "gcd"
28
29
  ],
29
30
  "scripts": {
30
31
  "release": "release-it"