Skip to content

Commit

Permalink
fixed entries and added installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
shafeeqd959 committed Jul 14, 2022
1 parent 211afcb commit bf8926f
Show file tree
Hide file tree
Showing 15 changed files with 49,526 additions and 11,680 deletions.
29 changes: 29 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash
# ----------------------------------
# Colors
# ----------------------------------
NOCOLOR='\033[0m'
RED='\033[0;31m'
GREEN='\033[0;32m'
ORANGE='\033[0;33m'
BLUE='\033[0;34m'
PURPLE='\033[0;35m'
CYAN='\033[0;36m'
LIGHTGRAY='\033[0;37m'
DARKGRAY='\033[1;30m'
LIGHTRED='\033[1;31m'
LIGHTGREEN='\033[1;32m'
YELLOW='\033[1;33m'
LIGHTBLUE='\033[1;34m'
LIGHTPURPLE='\033[1;35m'
LIGHTCYAN='\033[1;36m'
WHITE='\033[1;37m'

echo 'Installing Contentstack CLI'
npm install || { echo -e '\e[31mFailed to install root dependencies.' && exit 1; }
npx lerna clean -y
npx lerna bootstrap
npx lerna run pack || { echo -e '\e[31mInstallable tarball creation failed.' && exit 1; }
echo 'Installtion, Done!!!'
cd packages/contentstack
./bin/run --help
5 changes: 2 additions & 3 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"pack": {
"ignore": "contentstack-management"
},
"npmClient": "yarn",
"version": "independent",
"useWorkspaces": true
"npmClient": "npm",
"version": "independent"
}
Loading

0 comments on commit bf8926f

Please sign in to comment.