@lde/pipeline 0.29.2 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -218,6 +218,7 @@ Quads are buffered, validated, and then written or discarded based on the `onInv
218
218
 
219
219
  ```typescript
220
220
  import { ShaclValidator } from '@lde/pipeline-shacl-validator';
221
+ import { FileWriter } from '@lde/pipeline';
221
222
 
222
223
  new Stage({
223
224
  name: 'transform',
@@ -225,7 +226,9 @@ new Stage({
225
226
  validation: {
226
227
  validator: new ShaclValidator({
227
228
  shapesFile: './shapes.ttl',
228
- reportDir: './validation',
229
+ reportWriters: [
230
+ new FileWriter({ outputDir: './validation', format: 'turtle' }),
231
+ ],
229
232
  }),
230
233
  onInvalid: 'write', // 'write' (default) | 'skip' | 'halt'
231
234
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lde/pipeline",
3
- "version": "0.29.2",
3
+ "version": "0.30.0",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/ldelements/lde.git",
6
6
  "directory": "packages/pipeline"
@@ -25,7 +25,7 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "@lde/dataset": "0.7.4",
28
- "@lde/dataset-registry-client": "0.7.9",
28
+ "@lde/dataset-registry-client": "0.8.0",
29
29
  "@lde/distribution-probe": "0.1.3",
30
30
  "@lde/sparql-importer": "0.6.2",
31
31
  "@lde/sparql-server": "0.4.11",