@odecloud/helpers
Advanced tools
+5
-4
@@ -0,1 +1,4 @@ | ||
| #!/bin/bash | ||
| build: | ||
@@ -6,6 +9,4 @@ npm install . | ||
| publish: | ||
| # This will push the codes to GitLab and since it is being pushed | ||
| # to a master branch, it will trigger a CodeShip build that will | ||
| # publish the lastest version of this package based upon the versioning | ||
| # at on the `package.json` | ||
| git push origin master | ||
| $PACKAGE_VERSION=node -pe "require('./package.json').version" | ||
| git tag v$PACKAGE_VERSION && git push --tags |
+2
-3
| { | ||
| "name": "@odecloud/helpers", | ||
| "version": "0.0.6", | ||
| "version": "0.0.7", | ||
| "description": "Containing useful development functions used by OdeCloud's Platform", | ||
@@ -16,4 +16,3 @@ "main": "dist/index.js", | ||
| "build:types": "tsc --emitDeclarationOnly", | ||
| "build:js": "babel src --out-dir dist --extensions \".ts,.tsx\" --source-maps inline", | ||
| "postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags" | ||
| "build:js": "babel src --out-dir dist --extensions \".ts,.tsx\" --source-maps inline" | ||
| }, | ||
@@ -20,0 +19,0 @@ "repository": { |
19354
-1.6%