Skip to content

Commit

Permalink
build(deps): update rdf-ns-builders
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jun 24, 2022
1 parent 16f18ba commit 21e57a1
Show file tree
Hide file tree
Showing 27 changed files with 42 additions and 26 deletions.
6 changes: 6 additions & 0 deletions .changeset/mean-boats-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"storybook": patch
"@hydrofoil/roadshow": patch
---

Update `@tpluscode/rdf-ns-builders`
2 changes: 1 addition & 1 deletion apps/storybook/decorators/rendererSwitcher.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable lit-a11y/no-invalid-change-handler */
import { Decorator, PropertyViewContext } from '@hydrofoil/roadshow'
import { rdfs } from '@tpluscode/rdf-ns-builders/strict'
import { rdfs } from '@tpluscode/rdf-ns-builders'
import { html } from 'lit'
import { hex } from '../lib/ns'

Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@rdfine/schema": "^0.6.5",
"@rdfine/shacl": "^0.8",
"@roadshow/build-helpers": "0.0.0",
"@tpluscode/rdf-ns-builders": "^1.0.0",
"@tpluscode/rdf-ns-builders": "^2.0.0",
"@tpluscode/rdfine": "^0.5.22",
"clownface": "^1.2.0",
"clownface-shacl-path": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/stories/HydraCollection.stories.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { html } from 'lit'
import { MultiRenderer, Renderer, ViewerMatcher, Decorator } from '@hydrofoil/roadshow'
import '@hydrofoil/roadshow/roadshow-view'
import { hydra, rdf, schema } from '@tpluscode/rdf-ns-builders/strict'
import { hydra, rdf, schema } from '@tpluscode/rdf-ns-builders'
import type { MultiPointer } from 'clownface'
import { runFactory } from '@roadshow/build-helpers/runFactory'
import { template } from '../lib/template'
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/stories/Lazy.stories.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { html } from 'lit'
import { MultiRenderer, Renderer, ViewerMatcher } from '@hydrofoil/roadshow'
import { hydra, rdf } from '@tpluscode/rdf-ns-builders/strict'
import { hydra, rdf } from '@tpluscode/rdf-ns-builders'
import { namedNode } from '@rdf-esm/data-model'
import { ResourceLoader } from '@hydrofoil/roadshow/ResourcesController'
import clownface, { MultiPointer } from 'clownface'
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/stories/Person.stories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { html } from 'lit'
import { rdf, sh } from '@tpluscode/rdf-ns-builders/strict'
import { rdf, sh } from '@tpluscode/rdf-ns-builders'
import { Decorator, MultiRenderer, Renderer, ViewerMatcher } from '@hydrofoil/roadshow/index'
import { MultiPointer } from 'clownface'
import { runFactory } from '@roadshow/build-helpers/runFactory'
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/viewers/ex-LocalLabelViewer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { MultiRenderer } from '@hydrofoil/roadshow/index'
import graphPointer from 'is-graph-pointer'
import { ViewersController } from '@hydrofoil/roadshow/ViewersController'
import { dash, rdf } from '@tpluscode/rdf-ns-builders/strict'
import { dash, rdf } from '@tpluscode/rdf-ns-builders'
import { ex } from '../lib/ns'

ViewersController.viewerMeta
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/viewers/hydra-MembersViewer/gallery.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { MultiRenderer } from '@hydrofoil/roadshow/index'
import { html } from 'lit'
import { rdfs, schema } from '@tpluscode/rdf-ns-builders/strict'
import { rdfs, schema } from '@tpluscode/rdf-ns-builders'
import { FocusNodeViewContext } from '@hydrofoil/roadshow/lib/ViewContext/index'
import { PropertyState } from '@hydrofoil/roadshow/lib/state'
import { hex } from '../../lib/ns'
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/viewers/hydra-MembersViewer/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { GraphPointer } from 'clownface'
import { FocusNodeViewContext, PropertyViewContext } from '@hydrofoil/roadshow/lib/ViewContext/index'
import { MultiRenderer } from '@hydrofoil/roadshow/index'
import { ViewersController } from '@hydrofoil/roadshow/ViewersController'
import { dash, rdf, rdfs } from '@tpluscode/rdf-ns-builders/strict'
import { dash, rdf, rdfs } from '@tpluscode/rdf-ns-builders'
import { hex } from '../../lib/ns'

ViewersController.viewerMeta
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/viewers/hydra-PartialCollectionViewer.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Renderer, ViewerMatcher } from '@hydrofoil/roadshow/index'
import { hydra, rdf } from '@tpluscode/rdf-ns-builders/strict'
import { hydra, rdf } from '@tpluscode/rdf-ns-builders'
import { NamedNode } from 'rdf-js'
import { html } from 'lit'
import { FocusNodeViewContext } from '@hydrofoil/roadshow/lib/ViewContext'
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/viewers/schema-ImageViewer.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Renderer, ViewerMatcher } from '@hydrofoil/roadshow/index'
import { rdf, schema } from '@tpluscode/rdf-ns-builders/strict'
import { rdf, schema } from '@tpluscode/rdf-ns-builders'
import { html } from 'lit'
import { ex } from '../lib/ns'

Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/RoadshowController.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ReactiveController } from 'lit'
import { dash, rdf } from '@tpluscode/rdf-ns-builders/strict'
import { dash, rdf } from '@tpluscode/rdf-ns-builders'
import { MultiPointer } from 'clownface'
import { roadshow } from '@hydrofoil/vocabularies/builders'
import type { RoadshowView } from './index'
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/ShapesController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ReactiveController } from 'lit'
import type { GraphPointer, MultiPointer } from 'clownface'
import { fromPointer } from '@rdfine/shacl/lib/NodeShape'
import { BlankNode, NamedNode } from '@rdfjs/types'
import { dash, sh } from '@tpluscode/rdf-ns-builders/strict'
import { dash, sh } from '@tpluscode/rdf-ns-builders'
import graphPointer from 'is-graph-pointer'
import type { RoadshowView } from './index'
import { FocusNodeState, PropertyState } from './lib/state'
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/ViewersController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import clownface, { AnyPointer, GraphPointer } from 'clownface'
import TermMap from '@rdf-esm/term-map'
import { NamedNode, Term } from '@rdfjs/types'
import * as $rdf from '@rdf-esm/dataset'
import { dash, rdf } from '@tpluscode/rdf-ns-builders/strict'
import { dash, rdf } from '@tpluscode/rdf-ns-builders'
import { RoadshowView, Viewer, ViewerMatcher } from './index'
import * as defaultViewers from './viewers'
import { ViewerScore } from './lib/state'
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/lib/clownface.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { xsd } from '@tpluscode/rdf-ns-builders/strict'
import { xsd } from '@tpluscode/rdf-ns-builders'
import { literal } from '@rdf-esm/dataset'

export const TRUE = literal('true', xsd.boolean)
4 changes: 2 additions & 2 deletions packages/roadshow/lib/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { html, TemplateResult } from 'lit'
import { findNodes } from 'clownface-shacl-path'
import { BlankNode, Literal, NamedNode, Term } from '@rdfjs/types'
import { roadshow } from '@hydrofoil/vocabularies/builders'
import { dash, rdf } from '@tpluscode/rdf-ns-builders/strict'
import { sh } from '@tpluscode/rdf-ns-builders'
import { dash, rdf } from '@tpluscode/rdf-ns-builders'
import { sh } from '@tpluscode/rdf-ns-builders/loose'
import { dataset } from '@rdf-esm/dataset'
import { NodeShape } from '@rdfine/shacl'
import { ResourceIdentifier } from '@tpluscode/rdfine'
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/lib/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { NodeShape, PropertyShape } from '@rdfine/shacl'
import { GraphPointer, MultiPointer } from 'clownface'
import { BlankNode, NamedNode, Term } from '@rdfjs/types'
import { dash, sh } from '@tpluscode/rdf-ns-builders/strict'
import { dash, sh } from '@tpluscode/rdf-ns-builders'
import TermMap from '@rdf-esm/term-map'
import { fromPointer } from '@rdfine/shacl/lib/NodeShape'
import graphPointer from 'is-graph-pointer'
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@rdfine/dash": "^0.2.1",
"@rdfine/shacl": "^0.8.2",
"@tpluscode/rdfine": "^0.5.29",
"@tpluscode/rdf-ns-builders": "^1.0.0",
"@tpluscode/rdf-ns-builders": "^2.0.0",
"@rdf-esm/dataset": "^0.5.0",
"@rdf-esm/namespace": "^0.5.3",
"@rdf-esm/term-map": "^0.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/renderers/URI.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dash } from '@tpluscode/rdf-ns-builders/strict'
import { dash } from '@tpluscode/rdf-ns-builders'
import { html } from 'lit'
import { Renderer } from '../index'

Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/test/RenderersController.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { dash, rdfs } from '@tpluscode/rdf-ns-builders/strict'
import { dash, rdfs } from '@tpluscode/rdf-ns-builders'
import { expect, nextFrame } from '@open-wc/testing'
import { roadshow } from '@hydrofoil/vocabularies/builders'
import sinon from 'sinon'
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/test/RoadshowController.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from '@open-wc/testing'
import { dash, rdf, sh } from '@tpluscode/rdf-ns-builders/strict'
import { dash, rdf, sh } from '@tpluscode/rdf-ns-builders'
import { RoadshowController } from '../RoadshowController'
import { RoadshowView } from '../index'
import { blankNode } from './_support/clownface'
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/test/ViewersController.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from '@open-wc/testing'
import { dash } from '@tpluscode/rdf-ns-builders/strict'
import { dash } from '@tpluscode/rdf-ns-builders'
import sinon from 'sinon'
import { ViewersController } from '../ViewersController'
import { RoadshowView } from '../index'
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/test/lib/render.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { fromPointer } from '@rdfine/shacl/lib/NodeShape'
import { NodeShape } from '@rdfine/shacl'
import { html } from 'lit'
import sinon from 'sinon'
import { dash, foaf, rdf, rdfs, schema, sh, xsd } from '@tpluscode/rdf-ns-builders/strict'
import { dash, foaf, rdf, rdfs, schema, sh, xsd } from '@tpluscode/rdf-ns-builders'
import { Initializer } from '@tpluscode/rdfine/RdfResource'
import { render } from '../../lib/render'
import { blankNode, namedNode } from '../_support/clownface'
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/test/lib/state.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { fromPointer } from '@rdfine/shacl/lib/NodeShape'
import { expect } from '@open-wc/testing'
import { dash, rdf, rdfs, schema, sh } from '@tpluscode/rdf-ns-builders/strict'
import { dash, rdf, rdfs, schema, sh } from '@tpluscode/rdf-ns-builders'
import { blankNode } from '../_support/clownface'
import { create } from '../../lib/state'
import '../../lib/rdfine'
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/test/renderers/Label.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect, fixture, html } from '@open-wc/testing'
import { rdfs, schema, skos } from '@tpluscode/rdf-ns-builders/strict'
import { rdfs, schema, skos } from '@tpluscode/rdf-ns-builders'
import { Label } from '../../renderers/Label'
import { blankNode, namedNode } from '../_support/clownface'
import { ViewContext } from '../../lib/ViewContext/index'
Expand Down
2 changes: 1 addition & 1 deletion packages/roadshow/test/roadshow-view.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { aTimeout, expect, fixture, waitUntil } from '@open-wc/testing'
import { dash, foaf, rdfs } from '@tpluscode/rdf-ns-builders/strict'
import { dash, foaf, rdfs } from '@tpluscode/rdf-ns-builders'
import { html } from 'lit'
import { fromPointer } from '@rdfine/shacl/lib/NodeShape'
import sinon from 'sinon'
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1887,6 +1887,16 @@
commander "^7.2.0"
fs-extra "^10.0.0"

"@tpluscode/rdf-ns-builders@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@tpluscode/rdf-ns-builders/-/rdf-ns-builders-2.0.0.tgz#706112f975fd8459c4db0e4c506bf97dec354a91"
integrity sha512-s+pwFo3CYN2UvAskElaeorRh1hX3qs2NYOTXP7Fsc4UdpjMN6L99V4J7iL7oMMXY079Kaz0u3gAB4LwCaTmg0A==
dependencies:
"@rdf-esm/namespace" "^0.5.1"
"@rdfjs/types" "*"
commander "^7.2.0"
fs-extra "^10.0.0"

"@tpluscode/rdf-string@^0.2.24":
version "0.2.24"
resolved "https://registry.yarnpkg.com/@tpluscode/rdf-string/-/rdf-string-0.2.24.tgz#9d9fcafca2b2cfdf2bf0e515f9136feb8e221c7a"
Expand Down

0 comments on commit 21e57a1

Please sign in to comment.