generated from ApollosProject/apollos-templates
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updat api * Update client * Bump UI mapview * Wrap up release changes * Remove uneeded campus code
- Loading branch information
Showing
57 changed files
with
1,749 additions
and
617 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,3 +94,5 @@ storyLoader.js | |
# generated markdown docs | ||
packages/**/docs/generated/* | ||
|
||
# shared secrets | ||
.env.shared |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"version": "1.5.0", | ||
"version": "1.6.0-beta.1", | ||
"environment": "api" | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# get list of apollosproject packages to update | ||
|
||
# get devDependencies line number | ||
DEVDEPSLINE=$(grep -n "devDependencies" package.json | sed -E "s/^([0-9]+):.*/\1/g") | ||
|
||
# get dependecies line number | ||
DEPSLINE=$(grep -n "dependencies" package.json | sed -E "s/^([0-9]+):.*/\1/g") | ||
|
||
# determine what npm tag to update to | ||
if [ "$#" -ne 1 ]; then | ||
echo "pass npm tag like this: ./add-packages.sh <TAG>" | ||
exit 1 | ||
else | ||
TAG=$1 | ||
fi; | ||
|
||
# replace package names with version tag | ||
JSON=$(sed -E "s/^.*\"(@apollosproject\/[a-z\-]+)\".*$/\1@$TAG /g" package.json) | ||
|
||
# if packages are listed first and dev packages second... | ||
if [ $DEVDEPSLINE -gt $DEPSLINE ] | ||
then | ||
PKGS=$(echo "$JSON" | sed -n "$DEPSLINE","$DEVDEPSLINE"p | grep "@apollosproject" | tr -d "\n") | ||
DEVPKGS=$(echo "$JSON" | sed -n "$DEVDEPSLINE",/^$/p | grep "@apollosproject" | tr -d "\n") | ||
else | ||
PKGS=$(echo "$JSON" | sed -n "$DEPSLINE",/^$/p | grep "@apollosproject" | tr -d "\n") | ||
DEVPKGS=$(echo "$JSON" | sed -n "$DEVDEPSLINE","$DEPSLINE"p | grep "@apollosproject" | tr -d "\n") | ||
fi | ||
yarn add --dev $DEVPKGS --ignore-scripts | ||
yarn add $PKGS --ignore-scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# create .env file | ||
if test -f .env; then | ||
echo ".env file already exists!" | ||
exit 1 | ||
fi | ||
echo "ROCK_API= | ||
ROCK_TOKEN=" > .env |
Oops, something went wrong.