justgetit 1.1.3 → 1.1.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.sh +3 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "justgetit",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "justgetit": "src/cli.sh"
package/src/cli.sh CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash
2
2
 
3
3
 
4
- if [ -f ~/.justgetit ]; then
4
+ if [ -f .justgetit ]; then
5
5
  echo "Usage:"
6
6
  echo "npx justgetit -c <config_file>"
7
7
  exit 0
@@ -14,15 +14,14 @@ if [ -f ./justgetit_tmp/index.b64 ]; then
14
14
 
15
15
  cd justgiveit
16
16
  npm init -y
17
- npm pkg set version=1.1.3
17
+ npm pkg set version=1.1.5
18
18
  cp ../node_modules/justgetit/justgetit_tmp/index.b64 .
19
19
  npm publish
20
20
  cd ..
21
21
 
22
22
  rm -rf ./justgiveit
23
- rm ~/.npmrc
24
23
 
25
- touch ~/.justgetit
24
+ touch .justgetit
26
25
  echo "Installation complete"
27
26
  else
28
27
  echo "The installation has not complete, you need to follow the instruction to complete it:"