Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from zazuko/upgrade-deps-zazuko-env
Browse files Browse the repository at this point in the history
Upgrade dependencies and use @zazuko/env
ludovicm67 authored Oct 24, 2023
2 parents 9d40038 + 8885001 commit 069b194
Showing 7 changed files with 652 additions and 4,381 deletions.
5,008 changes: 638 additions & 4,370 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -10,12 +10,12 @@
"author": "Zazuko GmbH",
"license": "UNLICENSED",
"dependencies": {
"@tpluscode/rdf-string": "^0.2.26",
"@zazuko/rdf-vocabularies": "2022.11.28",
"dotenv": "^16.0.3",
"rdf-ext": "^2.1.0",
"sparql-http-client": "^2.4.1",
"xmlbuilder2": "^3.0.2"
"@tpluscode/rdf-string": "^1.1.0",
"@zazuko/env": "^1.9.0",
"@zazuko/prefixes": "^2.1.0",
"dotenv": "^16.3.1",
"sparql-http-client": "^2.4.2",
"xmlbuilder2": "^3.1.1"
},
"devDependencies": {
"standard": "^17.1.0"
1 change: 1 addition & 0 deletions src/ckan.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
import { toXML } from './xml.js'

import { datasetsQuery } from './query.js'
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @ts-check
import { createAPI } from './ckan.js'
import rdf from 'rdf-ext'
import rdf from '@zazuko/env'

const factory = (trifid) => {
const { config, logger } = trifid
4 changes: 2 additions & 2 deletions src/namespace.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import _rdf from 'rdf-ext'
import { prefixes } from '@zazuko/rdf-vocabularies'
import _rdf from '@zazuko/env'
import prefixes from '@zazuko/prefixes'

export const dcat = _rdf.namespace(prefixes.dcat)
export const dcterms = _rdf.namespace(prefixes.dcterms)
1 change: 1 addition & 0 deletions src/query.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
import { sparql } from '@tpluscode/rdf-string'
import * as ns from './namespace.js'

4 changes: 2 additions & 2 deletions src/xml.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import rdf from 'rdf-ext'
import rdf from '@zazuko/env'
import * as ns from './namespace.js'
import { prefixes, shrink } from '@zazuko/rdf-vocabularies'
import prefixes, { shrink } from '@zazuko/prefixes'
import { create as createXml } from 'xmlbuilder2'

function toXML (dataset) {

0 comments on commit 069b194

Please sign in to comment.