Skip to content

Commit 7c096b3

Browse files
committed
build: install client
1 parent 5301bb6 commit 7c096b3

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

.env.template

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
REACT_APP_HARENA_COM_API=https://dummy.com

package-lock.json

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"test:unit": "cypress run --component"
1616
},
1717
"dependencies": {
18+
"@harena-com/typescript-client": "^1.0.0",
1819
"@hookform/resolvers": "^3.9.0",
1920
"@tanstack/react-query": "^5.51.4",
2021
"axios": "^1.7.2",

src/providers/api.ts

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { PatrimoineApi } from "@harena-com/typescript-client";
2+
3+
export const patrimoineApi = () => new PatrimoineApi();

0 commit comments

Comments
 (0)