Skip to content

Commit 592858f

Browse files
authored
Merge pull request #176 from gnosischain/develop
fix: add sg types to repo due build errors
2 parents 159fd82 + 53a1fa6 commit 592858f

39 files changed

Lines changed: 30067 additions & 5 deletions

app/.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ yarn-error.log*
4141
/.idea
4242

4343

44-
types/generated/
45-
types/typechain/
44+
# types/generated/
45+
# types/typechain/

app/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,11 @@ COPY /src ./src
3333
RUN yarn cache clean
3434

3535
RUN yarn install
36-
RUN yarn postinstall
3736

3837
FROM base AS builder
3938
WORKDIR /app
4039
COPY --from=deps /app/node_modules ./node_modules
4140
COPY --from=deps /app/src ./src
42-
COPY --from=deps /app/types ./types
4341
COPY . .
4442

4543
ENV NEXT_TELEMETRY_DISABLED 1

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"start": "next start",
1616
"typechain": "typechain --target=ethers-v5 ./src/abis/**/*.json --out-dir ./types/typechain/",
1717
"subgraph-codegen": "graphql-codegen --config ./subgraph-config.js",
18-
"postinstall": "yarn typechain && yarn subgraph-codegen"
18+
"postinstall-local": "yarn typechain && yarn subgraph-codegen"
1919
},
2020
"dependencies": {
2121
"@babel/traverse": "^7.23.2",

app/types/generated/subgraph.ts

Lines changed: 1469 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)