Skip to content

Commit

Permalink
chore: removed old packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bangjelkoski committed Sep 20, 2024
1 parent b3c20ab commit 75e767f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 31 deletions.
4 changes: 0 additions & 4 deletions proto/core/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ cp $CJS_PKG_TEMPLATE $TS_OUTPUT_DIR/cjs/package.json
## 4. Setup proper package.json for core-proto-ts packages
cp $TS_STUB_DIR/package.json.core-proto-ts.template $TS_OUTPUT_DIR/package.json

## CJS DEPRECATED
# mkdir -p $TS_OUTPUT_DIR/chain-api
# cp $TS_STUB_DIR/package.json.chain-api.template $TS_OUTPUT_DIR/chain-api/package.json

# 5. Clean up folders
rm -rf $BUILD_DIR
rm -rf $PROTO_DIR
Expand Down
13 changes: 0 additions & 13 deletions proto/core/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,3 @@ echo "new package version: $v1"

npm version $v1
npm publish

## OLD PACKAGE DEPRECATED
## Publish chain-api
# cd ./../chain-api || exit

# v=$(npm view @injectivelabs/chain-api version)
# echo "current package version: $v"

# v1="${v%.*}.$((${v##*.}+1))"
# echo "new package version: $v1"

# npm version $v1
# npm publish
1 change: 0 additions & 1 deletion proto/indexer/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ cp $TS_STUB_DIR/package.json.cjs.template $TS_OUTPUT_DIR/cjs/package.json

## 4. Setup proper package.json for both indexer-api and indexer-proto-ts packages
cp $TS_STUB_DIR/package.json.indexer-proto-ts.template $TS_OUTPUT_DIR/package.json
# cp $TS_STUB_DIR/package.json.indexer-api.template $TS_OUTPUT_DIR/indexer-api/package.json

# 5. Clean up folders
rm -rf $BUILD_DIR
Expand Down
13 changes: 0 additions & 13 deletions proto/indexer/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,3 @@ echo "new package version: $v1"

npm version $v1
npm publish

## CJS DEPRECATED
## Publish indexer-api
# cd ./../indexer-api || exit

# v=$(npm view @injectivelabs/indexer-api version)
# echo "current package version: $v"

# v1="${v%.*}.$((${v##*.}+1))"
# echo "new package version: $v1"

# npm version $v1
# npm publish

0 comments on commit 75e767f

Please sign in to comment.