Skip to content

Commit

Permalink
chore(application-components): remove generate types (#2078)
Browse files Browse the repository at this point in the history
* chore(application-components): remove generated schemas

* chore(graphqlrc): remove application-components
  • Loading branch information
adnasa authored Mar 4, 2021
1 parent e2137ec commit 5e7d20f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11,489 deletions.
5 changes: 5 additions & 0 deletions .changeset/ninety-beds-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-frontend/application-components': patch
---

Remove generated types config
26 changes: 0 additions & 26 deletions .graphqlrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,32 +62,6 @@ projects:
- add:
content: '/* eslint-disable import/no-duplicates */'
- typescript-graphql-files-modules
packages/application-components/src/types/generated/ctp.ts:
schema: schemas/ctp.json
documents: packages/**/src/**/*.ctp.graphql
plugins:
- typescript
- typescript-operations
config:
typesPrefix: T
addUnderscoreToArgsType: true
avoidOptionals: true
maybeValue: T | undefined
scalars:
Long: number
DateTime: string
Country: string
Locale: string
Date: string
Json: '{ [key: string]: unknown }'
Currency: string
KeyReferenceInput: string
SearchFilter: string
SearchSort: string
YearMonth: string
BigDecimal: string
Time: string
Set: 'unknown[]'
packages/application-shell/src/types/generated/ctp.ts:
schema: schemas/ctp.json
documents: packages/**/src/**/*.ctp.graphql
Expand Down
Loading

1 comment on commit 5e7d20f

@vercel
Copy link

@vercel vercel bot commented on 5e7d20f Mar 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.