Skip to content

Commit

Permalink
Make sure the types are available from packages and sovle RichText ty…
Browse files Browse the repository at this point in the history
…pe error
  • Loading branch information
paales committed Jan 23, 2025
1 parent 3aead79 commit 4e5d525
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"prepack": "pkgroll --clean-dist"
},
"type": "module",
"types": "./src/index.ts",
"exports": {
".": {
"types": "./src/index.ts",
"default": "./dist/index.js"
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/hygraph-ui/components/RichText/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ type IframeElement = {

type EmbedElement = {
type: 'embed'
children: ElementOrTextNode[]
id: string
nodeId: string
nodeType: string
Expand Down
2 changes: 1 addition & 1 deletion packagesDev/next-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"repository": "github:graphcommerce-org/graphcommerce",
"version": "9.0.4-canary.9",
"type": "module",
"types": "./src/index.ts",
"exports": {
".": {
"types": "./src/index.ts",
"default": "./dist/index.js"
},
"./config": {
Expand Down

0 comments on commit 4e5d525

Please sign in to comment.