-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into sparql-oxigraph
- Loading branch information
Showing
115 changed files
with
3,003 additions
and
1,863 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# barnard59-base | ||
|
||
## 2.4.0 | ||
|
||
### Minor Changes | ||
|
||
- 7456a6a: added batch operation | ||
|
||
## 2.3.0 | ||
|
||
### Minor Changes | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,35 @@ | ||
# barnard59 | ||
|
||
## 4.5.2 | ||
|
||
### Patch Changes | ||
|
||
- e82aa36: Remove references of `rdf-js` types package, repaced with `@rdfjs/types` | ||
- Updated dependencies [e82aa36] | ||
- [email protected] | ||
|
||
## 4.5.1 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [9178b7e] | ||
- [email protected] | ||
|
||
## 4.5.0 | ||
|
||
### Minor Changes | ||
|
||
- 68dff05: Support [`code:imports`](https://github.com/zazuko/rdf-transform-graph-imports) when loading pipeline definitions (closes #93) | ||
|
||
### Patch Changes | ||
|
||
- 9d0ce9f: Improve Windows compatibility (re zazuko/rdf-loader-code#34) | ||
- Updated dependencies [9d0ce9f] | ||
- Updated dependencies [c090ff2] | ||
- Updated dependencies [82dbe7e] | ||
- [email protected] | ||
- [email protected] | ||
|
||
## 4.4.0 | ||
|
||
### Minor Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`pipeline with code:imports merges the pipelines 1`] = ` | ||
"@prefix sh: <http://www.w3.org/ns/shacl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix p: <https://pipeline.described.at/> . | ||
@prefix code: <https://code.described.at/> . | ||
<http://example.org/pipeline/> a p:Pipeline ; | ||
p:steps [ | ||
p:stepList ( | ||
[ | ||
rdf:type p:Step ; | ||
code:arguments ( | ||
\\"foo\\" | ||
\\"bar\\" | ||
) ; | ||
code:implementedBy [ | ||
rdf:type code:EcmaScriptModule ; | ||
code:link <node:barnard59-base/Readable.js#from> ; | ||
] ; | ||
] | ||
<http://example.org/pipeline/out> | ||
) ; | ||
] . | ||
<http://example.org/pipeline/out> a p:Pipeline, p:Writable ; | ||
p:steps [ | ||
p:stepList ( | ||
[ | ||
rdf:type p:Step ; | ||
code:implementedBy [ | ||
rdf:type code:EcmaScriptModule ; | ||
code:link <node:barnard59-base/process.js#stdout> ; | ||
] ; | ||
] | ||
) ; | ||
] . | ||
" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { createRequire } from 'node:module' | ||
import env from 'barnard59-env' | ||
import formatsPretty from '@rdfjs-elements/formats-pretty' | ||
import chai, { expect } from 'chai' | ||
import { jestSnapshotPlugin } from 'mocha-chai-jest-snapshot' | ||
import * as pipeline from '../lib/pipeline.js' | ||
|
||
const require = createRequire(import.meta.url) | ||
env.formats.import({ | ||
serializers: formatsPretty.serializers, | ||
}) | ||
|
||
const prefixes = [ | ||
'sh', | ||
'rdf', | ||
['p', 'https://pipeline.described.at/'], | ||
['code', 'https://code.described.at/'], | ||
] | ||
|
||
describe('pipeline', () => { | ||
chai.use(jestSnapshotPlugin()) | ||
|
||
context('with code:imports', () => { | ||
it('merges the pipelines', async () => { | ||
// given | ||
const filename = require.resolve('barnard59-test-e2e/definitions/code-imports/main.ttl') | ||
|
||
// when | ||
const { ptr } = await pipeline.parse(filename, env.namedNode('http://example.org/pipeline/')) | ||
|
||
// then | ||
const pretty = await ptr.dataset.serialize({ format: 'text/turtle', prefixes }) | ||
expect(pretty).toMatchSnapshot() | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.