Skip to content

Commit

Permalink
Merge pull request #2 from IndexCoop/cko/fix-release-issues
Browse files Browse the repository at this point in the history
fix(configuration): Replace set protocol urls to fix release pipeline
  • Loading branch information
ckoopmann authored Oct 4, 2022
2 parents de39ee1 + caabbac commit dea3517
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 16 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Set Protocol V2 Contract Repository

## Contracts
Repo originally forked from [Set Protocol v2](https://github.com/SetProtocol/set-protocol-v2) with approval from Set Labs. This repo is intended to house both original code (including most of this README) *and* new code that extends the protocol.
Repo originally forked from [Set Protocol v2](https://github.com/indexcoop/index-protocol) with approval from Set Labs. This repo is intended to house both original code (including most of this README) *and* new code that extends the protocol.

[Set Protocol](https://setprotocol.com/) is a specification for tokenized asset management strategies on the ethereum blockchain written in the Solidity programming language. We use [Hardhat](https://hardhat.org/) as a development environment for compiling, testing, and deploying our contracts.

Expand Down Expand Up @@ -50,7 +50,7 @@ OR `yarn test:clean` if contracts have been typings need to be updated
We publish our contracts as well as [hardhat][22] and [typechain][23] compilation artifacts to npm.

```
npm install @setprotocol/set-protocol-v2
npm install @indexcoop/index-protocol
```

The distribution also comes with fixtures for mocking and testing SetProtocol's interactions with
Expand All @@ -59,8 +59,8 @@ other protocols including Uniswap, Balancer, Compound (and many more.) To use th
#### Example Usage

```ts
import { PerpV2Fixture } from "@setprotocol/set-protocol-v2/dist/utils/fixtures/PerpV2Fixture";
import { getPerpV2Fixture } from "@setprotocol/set-protocol-v2/dist/utils/test";
import { PerpV2Fixture } from "@indexcoop/index-protocol/dist/utils/fixtures/PerpV2Fixture";
import { getPerpV2Fixture } from "@indexcoop/index-protocol/dist/utils/test";

let perpSetup: PerpV2Fixture;
perpSetup = getPerpV2Fixture(...);
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@setprotocol/set-protocol-v2",
"name": "@indexcoop/index-protocol",
"version": "0.11.0",
"description": "",
"main": "dist",
Expand Down Expand Up @@ -51,11 +51,11 @@
},
"repository": {
"type": "git",
"url": "https://github.com/SetProtocol/set-protocol-v2.git"
"url": "https://github.com/IndexCoop/index-protocol.git"
},
"author": "felix2feng",
"author": "IndexCoop",
"license": "MIT",
"homepage": "https://github.com/SetProtocol",
"homepage": "https://indexcoop.com/",
"resolutions": {
"babel-code-frame/chalk": "4.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/release_hardhat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -o errexit

# Auto-publishes a specially built release to the @hardhat tag using version schema `x.x.x-hardhat.1`
# which can be installed with `yarn add @setprotocol/set-protocol-v2@hardhat`
# which can be installed with `yarn add @indexcoop/index-protocol@hardhat`
# See scripts/prepublish_only.sh for details about this build.
#
# The `release_default...` branch config here is necessary to trick the semantic-release tool into publishing
Expand Down
2 changes: 1 addition & 1 deletion scripts/release_latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -o errexit

# Auto-publishes `latest` from master, updates package version on github
# Version format is `x.x.x` and installs with `yarn add @setprotocol/set-protocol-v2`
# Version format is `x.x.x` and installs with `yarn add @indexcoop/index-protocol`
# `package.json` version field is updated and pushed to Github
echo '{
"branches": [
Expand Down
6 changes: 0 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13823,12 +13823,6 @@ wrap-ansi@^7.0.0:
string-width "^4.1.0"
strip-ansi "^6.0.0"

"wrapped-fcash@https://github.com/ckoopmann/wrapped-fcash.git#6b7d870c9b750aa343f0405f3543c9bbb0e3cdfc":
version "1.0.0"
resolved "https://github.com/ckoopmann/wrapped-fcash.git#6b7d870c9b750aa343f0405f3543c9bbb0e3cdfc"
dependencies:
dotenv "^10.0.0"

wrappy@1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
Expand Down

0 comments on commit dea3517

Please sign in to comment.