From acafcf128e7c7d12930f083995015236e18ffaa9 Mon Sep 17 00:00:00 2001 From: MerlinEgalite Date: Mon, 19 Dec 2022 15:54:43 +0100 Subject: [PATCH 1/6] =?UTF-8?q?=F0=9F=93=A6=20Add=20name=20to=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 924e9f73d..95b1c56fd 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "morpho-v1", + "name": "@morpho-dao/morpho-v1", "version": "1.0.0", "description": "Core contracts of the Morpho Protocol V1.", "scripts": { From 0961d50574bc5ddee86d23251d37c87863397bbb Mon Sep 17 00:00:00 2001 From: MerlinEgalite Date: Mon, 19 Dec 2022 15:57:59 +0100 Subject: [PATCH 2/6] =?UTF-8?q?=F0=9F=93=A6=20Add=20.npmrc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..e6185e668 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@morpho-dao:registry=https://npm.pkg.github.com \ No newline at end of file From 676c08610cb4c101e5de02f018cc053a78579f66 Mon Sep 17 00:00:00 2001 From: MerlinEgalite Date: Mon, 19 Dec 2022 16:28:19 +0100 Subject: [PATCH 3/6] =?UTF-8?q?=F0=9F=93=9D=20Update=20readme=20with=20pac?= =?UTF-8?q?kage=20import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index a58a1fa29..7d99550c4 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,28 @@ You can also send an email to [security@morpho.xyz](mailto:security@morpho.xyz) --- +## Importing package + +Using npm: + +```bash +npm install @morpho-dao/morpho-v1 +``` + +Using forge: + +```bash +forge install @morpho-dao/morpho-v1@v2.0.0 +``` + +Using git submodules: + +```bash +git submodules add @morpho-dao/morpho-v1@v2.0.0 +``` + +--- + ## Testing with [Foundry](https://github.com/foundry-rs/foundry) 🔨 Tests are run against a forks of real networks, which allows us to interact directly with liquidity pools of Compound or Aave. Note that you need to have an RPC provider that have access to Ethereum or Polygon. From 162ae08a162129255eb64e31ca245aca137e37e6 Mon Sep 17 00:00:00 2001 From: MerlinEgalite Date: Tue, 20 Dec 2022 15:58:22 +0100 Subject: [PATCH 4/6] =?UTF-8?q?=F0=9F=94=A5=20Remove=20.npmrc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmrc | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .npmrc diff --git a/.npmrc b/.npmrc deleted file mode 100644 index e6185e668..000000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -@morpho-dao:registry=https://npm.pkg.github.com \ No newline at end of file From eaddad5c2d4a7ac5bba9d4f0a49b7431df7bd0e3 Mon Sep 17 00:00:00 2001 From: MerlinEgalite Date: Tue, 20 Dec 2022 15:58:47 +0100 Subject: [PATCH 5/6] =?UTF-8?q?=F0=9F=93=A6=20Update=20package.json=20vers?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 95b1c56fd..07de2015c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@morpho-dao/morpho-v1", - "version": "1.0.0", + "version": "2.0.0", "description": "Core contracts of the Morpho Protocol V1.", "scripts": { "test": "hardhat test test-ts/*.spec.ts", From 69fbf8c9f76536dd2c2ec3e1ae9b82bddb4d0996 Mon Sep 17 00:00:00 2001 From: MerlinEgalite Date: Tue, 20 Dec 2022 16:13:45 +0100 Subject: [PATCH 6/6] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Correct=20command=20li?= =?UTF-8?q?ne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d99550c4..2f894a39e 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ forge install @morpho-dao/morpho-v1@v2.0.0 Using git submodules: ```bash -git submodules add @morpho-dao/morpho-v1@v2.0.0 +git submodule add @morpho-dao/morpho-v1@v2.0.0 lib/morpho-v1 ``` ---