Skip to content

Commit

Permalink
fix: missing type exports
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Aug 14, 2021
1 parent c7a65ff commit 4d20302
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/modern-berries-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hydrofoil/roadshow": patch
---

rdfine extensions were not exported and thus not visible
1 change: 1 addition & 0 deletions packages/roadshow/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import type { BlankNode, NamedNode, Term } from '@rdfjs/types'
import type { ShapesLoader } from './ShapesController'
import type { ResourceLoader } from './ResourcesController'
import type { PropertyViewContext, ViewContext } from './lib/ViewContext'
import './lib/rdfine'

export { html, css } from 'lit'

Expand Down
2 changes: 2 additions & 0 deletions packages/roadshow/lib/rdfine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ import RdfResource from '@tpluscode/rdfine'
import { NodeShapeBundle, PropertyShapeBundle } from '@rdfine/shacl/bundles'
import { NodeShapeMixinEx, PropertyShapeMixinEx } from '@rdfine/dash/extensions/sh'

export type { NodeShapeMixinEx, PropertyShapeMixinEx } from '@rdfine/dash/extensions/sh'

RdfResource.factory.addMixin(...NodeShapeBundle, ...PropertyShapeBundle)
RdfResource.factory.addMixin(NodeShapeMixinEx, PropertyShapeMixinEx)

0 comments on commit 4d20302

Please sign in to comment.