Skip to content

Commit

Permalink
build before commit
Browse files Browse the repository at this point in the history
  • Loading branch information
playground committed Jan 28, 2022
1 parent b11a23b commit 892fb3a
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 14 deletions.
1 change: 0 additions & 1 deletion build/commands/deploy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/commands/deploy.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/common/src/utils.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Observable } from 'rxjs';
export declare class Utils {
etcDefault: string;
homePath: string | undefined;
hznConfig: string;
constructor();
Expand Down
21 changes: 15 additions & 6 deletions build/common/src/utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/common/src/utils.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ set -e

# Run this script like - bash script-name.sh

# Tested on Ubuntu, MacOS
# @playground

# Define versions
INSTALL_NODE_VER=16
INSTALL_NVM_VER=0.39.1
Expand Down Expand Up @@ -61,6 +64,3 @@ oh --version

echo "==> Setting up hzn environment"
oh deploy setup

# Tested on Ubuntu, MacOS
# @playground
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hzn-cli",
"version": "0.2.12",
"version": "0.2.13",
"description": "Open Horizon CLI toolkit helps streamline the process of preparing node agents and perform tasks between orgs environments",
"main": "./build/index.js",
"bin": {
Expand All @@ -11,7 +11,8 @@
"build": "npx tsc && chmod +x build/*.js && chmod +x build/**/*.js && cp src/env-* build/common/src && cp -r src/config build/common/src",
"local": "npm run build && sudo npm i -g && oh",
"refresh": "rm -rf ./node_modules ./package-lock.json && npm install",
"postinstall": "bin/install.js"
"postinstall": "bin/install.js",
"precommit": "npm run build"
},
"keywords": [
"IEAM",
Expand Down

0 comments on commit 892fb3a

Please sign in to comment.