@furrymink/cli 0.0.8 → 0.0.10

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.
@@ -148,9 +148,9 @@ app.create.mobile.wrapped(){
148
148
 
149
149
  cd "${INSTALL_DIR}"
150
150
 
151
- npm i @furry-boilerplates/capacitorjs
151
+ npm init @furry-boilerplates/capacitorjs@latest
152
152
 
153
- #npm exec --yes --package=/home/hushmonkey/furrymink/gitlab/furrymink/furry-installers/boilerplates/capacitorjs -- create-plugin
153
+ # npm exec --yes --package=/home/hushmonkey/furrymink/gitlab/furrymink/furry-installers/boilerplates/capacitorjs -- create-plugin
154
154
 
155
155
  #npm init @furry-boilerplates/capacitorjs
156
156
 
@@ -0,0 +1,3 @@
1
+ include.scripts \
2
+ "helpers/is.scoped.sh" \
3
+ "helpers/on.error.sh"
@@ -0,0 +1,10 @@
1
+ is.scoped(){
2
+ local VALUE=$1
3
+ local SCOPED="false"
4
+
5
+ if [[ ${VALUE:0:1} == "@" ]]; then
6
+ SCOPED="true"
7
+ fi
8
+
9
+ echo $SCOPED
10
+ }
@@ -0,0 +1,8 @@
1
+ on.error(){
2
+ CODE=$?
3
+ MESSAGE=$1
4
+ if [[ $CODE != 0 ]]; then
5
+ echo "FAIL $MESSAGE" >&2
6
+ exit $CODE
7
+ fi
8
+ }
package/bin/includes.sh CHANGED
@@ -8,6 +8,7 @@ include.scripts(){
8
8
  }
9
9
 
10
10
  include.scripts \
11
+ "helpers/includes.sh" \
11
12
  "files/includes.sh" \
12
13
  "modules/includes.sh" \
13
14
  "git/includes.sh" \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@furrymink/cli",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "To make it easy for you to get started with GitLab, here's a list of recommended next steps.",
5
5
  "main": "index.js",
6
6
  "scripts": {