From 27c1738eaffe060a44efa6651b72d79267eb064e Mon Sep 17 00:00:00 2001 From: Mohamad Omar Nachawati Date: Fri, 21 Jul 2023 12:53:26 +0300 Subject: [PATCH] Configure CI/CD --- components/block-api/package-lock.json | 229 ++++++++++++++++++------- components/block-api/package.json | 2 +- 2 files changed, 169 insertions(+), 62 deletions(-) diff --git a/components/block-api/package-lock.json b/components/block-api/package-lock.json index 19ca2ca..83169c2 100644 --- a/components/block-api/package-lock.json +++ b/components/block-api/package-lock.json @@ -21,7 +21,7 @@ "papaparse": "^5.4.1", "process": "^0.11.10", "put": "^0.0.6", - "sparql-engine": "file:../../../sparql-engine", + "sparql-engine": "git+https://github.com/lucafabbian/sparql-engine.git", "stream": "^0.0.2", "stream-browserify": "^3.0.0", "util": "^0.12.5" @@ -53,40 +53,6 @@ "webpack-dev-server": "4.13.3" } }, - "../../../sparql-engine": { - "version": "0.8.2", - "license": "MIT", - "dependencies": { - "@rdfjs/data-model": "^1.1.2", - "binary-search-tree": "^0.2.6", - "lodash": "^4.17.15", - "lru-cache": "^5.1.1", - "moment": "^2.22.2", - "n3": "^0.11.3", - "rdf-string": "^1.3.1", - "rxjs": "^6.3.3", - "sparqljs": "^2.0.3", - "uuid": "^3.3.2", - "xml": "^1.0.1" - }, - "devDependencies": { - "@types/lodash": "^4.14.116", - "@types/lru-cache": "^5.1.0", - "@types/node": "^10.14.17", - "@types/uuid": "^3.4.4", - "@types/xml": "^1.0.2", - "chai": "^4.1.2", - "chai-xml": "^0.3.2", - "codecov": "^3.0.4", - "mocha": "^5.2.0", - "sparqljs-legacy-type": "^1.0.2", - "standard": "^11.0.1", - "tslint": "^5.11.0", - "tslint-config-standard": "^8.0.1", - "typedoc": "^0.15.0", - "typescript": "^3.6.2" - } - }, "node_modules/@ampproject/remapping": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", @@ -5618,6 +5584,17 @@ "node": ">= 8" } }, + "node_modules/@rdfjs/data-model": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rdfjs/data-model/-/data-model-1.3.4.tgz", + "integrity": "sha512-iKzNcKvJotgbFDdti7GTQDCYmL7GsGldkYStiP0K8EYtN7deJu5t7U11rKTz+nR7RtesUggT+lriZ7BakFv8QQ==", + "dependencies": { + "@rdfjs/types": ">=1.0.1" + }, + "bin": { + "rdfjs-data-model-test": "bin/test.js" + } + }, "node_modules/@rdfjs/types": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@rdfjs/types/-/types-1.1.0.tgz", @@ -7149,6 +7126,14 @@ "node": ">=8" } }, + "node_modules/binary-search-tree": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/binary-search-tree/-/binary-search-tree-0.2.6.tgz", + "integrity": "sha512-31s1g+tO0sNzUOzaCulb4sXV5ThJe/Iliz0NWW0fBpgY6scixeKVZ5M1UBXtpGg7JuK6pf/6CiQcOHCDGfdaTg==", + "dependencies": { + "underscore": "~1.4.4" + } + }, "node_modules/bn.js": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", @@ -11508,8 +11493,7 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/lodash.clonedeep": { "version": "4.5.0", @@ -11971,6 +11955,14 @@ "util-deprecate": "~1.0.1" } }, + "node_modules/moment": { + "version": "2.29.4", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", + "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", + "engines": { + "node": "*" + } + }, "node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -13975,6 +13967,17 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/rxjs": { + "version": "6.6.7", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", + "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", + "dependencies": { + "tslib": "^1.9.0" + }, + "engines": { + "npm": ">=2.0.0" + } + }, "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", @@ -14534,8 +14537,44 @@ "integrity": "sha512-wcFzz9cDfbuqe0FZzfi2or1sgyIrsDwmPwfZC4hiNidPdPINjeUwNfv5kldczoEAcjl9Y1L3SM7Uz2PUEQzxQw==" }, "node_modules/sparql-engine": { - "resolved": "../../../sparql-engine", - "link": true + "version": "0.8.2", + "resolved": "git+ssh://git@github.com/lucafabbian/sparql-engine.git#a1793d758268d88ab7c67d3d03c226712c818db9", + "license": "MIT", + "dependencies": { + "@rdfjs/data-model": "^1.1.2", + "binary-search-tree": "^0.2.6", + "lodash": "^4.17.15", + "lru-cache": "^5.1.1", + "moment": "^2.22.2", + "n3": "^0.11.3", + "rdf-string": "^1.3.1", + "rxjs": "^6.3.3", + "sparqljs": "^2.0.3", + "uuid": "^3.3.2", + "xml": "^1.0.1" + } + }, + "node_modules/sparql-engine/node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/sparql-engine/node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/sparql-engine/node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" }, "node_modules/sparqlalgebrajs": { "version": "4.2.0", @@ -14599,6 +14638,17 @@ "resolved": "https://registry.npmjs.org/@types/lru-cache/-/lru-cache-5.1.1.tgz", "integrity": "sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==" }, + "node_modules/sparqljs": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/sparqljs/-/sparqljs-2.2.3.tgz", + "integrity": "sha512-lrzSQadbkiQk4O6RjXJjec/EevVIsnAfbNK3t8XJtocogNojfQM7KC/UttyRTAq4IOXa0vRVoFTRapcbgFVRWg==", + "bin": { + "sparqljs": "bin/sparql-to-json" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/sparqljson-parse": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/sparqljson-parse/-/sparqljson-parse-2.2.0.tgz", @@ -15372,8 +15422,7 @@ "node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/tsutils": { "version": "3.21.0", @@ -15481,6 +15530,11 @@ "undeclared-identifiers": "bin.js" } }, + "node_modules/underscore": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz", + "integrity": "sha512-ZqGrAgaqqZM7LGRzNjLnw5elevWb5M8LEoDMadxIW3OWbcv72wMMgKdwOKpd5Fqxe8choLD8HN3iSj3TUh/giQ==" + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", @@ -16203,6 +16257,11 @@ } } }, + "node_modules/xml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", + "integrity": "sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==" + }, "node_modules/xmlchars": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", @@ -20725,6 +20784,14 @@ "fastq": "^1.6.0" } }, + "@rdfjs/data-model": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@rdfjs/data-model/-/data-model-1.3.4.tgz", + "integrity": "sha512-iKzNcKvJotgbFDdti7GTQDCYmL7GsGldkYStiP0K8EYtN7deJu5t7U11rKTz+nR7RtesUggT+lriZ7BakFv8QQ==", + "requires": { + "@rdfjs/types": ">=1.0.1" + } + }, "@rdfjs/types": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@rdfjs/types/-/types-1.1.0.tgz", @@ -21995,6 +22062,14 @@ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "dev": true }, + "binary-search-tree": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/binary-search-tree/-/binary-search-tree-0.2.6.tgz", + "integrity": "sha512-31s1g+tO0sNzUOzaCulb4sXV5ThJe/Iliz0NWW0fBpgY6scixeKVZ5M1UBXtpGg7JuK6pf/6CiQcOHCDGfdaTg==", + "requires": { + "underscore": "~1.4.4" + } + }, "bn.js": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", @@ -25311,8 +25386,7 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash.clonedeep": { "version": "4.5.0", @@ -25681,6 +25755,11 @@ } } }, + "moment": { + "version": "2.29.4", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", + "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==" + }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -27150,6 +27229,14 @@ "queue-microtask": "^1.2.2" } }, + "rxjs": { + "version": "6.6.7", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", + "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", + "requires": { + "tslib": "^1.9.0" + } + }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", @@ -27584,34 +27671,40 @@ "integrity": "sha512-wcFzz9cDfbuqe0FZzfi2or1sgyIrsDwmPwfZC4hiNidPdPINjeUwNfv5kldczoEAcjl9Y1L3SM7Uz2PUEQzxQw==" }, "sparql-engine": { - "version": "file:../../../sparql-engine", + "version": "git+ssh://git@github.com/lucafabbian/sparql-engine.git#a1793d758268d88ab7c67d3d03c226712c818db9", + "from": "sparql-engine@git+https://github.com/lucafabbian/sparql-engine.git", "requires": { "@rdfjs/data-model": "^1.1.2", - "@types/lodash": "^4.14.116", - "@types/lru-cache": "^5.1.0", - "@types/node": "^10.14.17", - "@types/uuid": "^3.4.4", - "@types/xml": "^1.0.2", "binary-search-tree": "^0.2.6", - "chai": "^4.1.2", - "chai-xml": "^0.3.2", - "codecov": "^3.0.4", "lodash": "^4.17.15", "lru-cache": "^5.1.1", - "mocha": "^5.2.0", "moment": "^2.22.2", "n3": "^0.11.3", "rdf-string": "^1.3.1", "rxjs": "^6.3.3", "sparqljs": "^2.0.3", - "sparqljs-legacy-type": "^1.0.2", - "standard": "^11.0.1", - "tslint": "^5.11.0", - "tslint-config-standard": "^8.0.1", - "typedoc": "^0.15.0", - "typescript": "^3.6.2", "uuid": "^3.3.2", "xml": "^1.0.1" + }, + "dependencies": { + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "requires": { + "yallist": "^3.0.2" + } + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + } } }, "sparqlalgebrajs": { @@ -27668,6 +27761,11 @@ } } }, + "sparqljs": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/sparqljs/-/sparqljs-2.2.3.tgz", + "integrity": "sha512-lrzSQadbkiQk4O6RjXJjec/EevVIsnAfbNK3t8XJtocogNojfQM7KC/UttyRTAq4IOXa0vRVoFTRapcbgFVRWg==" + }, "sparqljson-parse": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/sparqljson-parse/-/sparqljson-parse-2.2.0.tgz", @@ -28275,8 +28373,7 @@ "tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "tsutils": { "version": "3.21.0", @@ -28353,6 +28450,11 @@ "xtend": "^4.0.1" } }, + "underscore": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz", + "integrity": "sha512-ZqGrAgaqqZM7LGRzNjLnw5elevWb5M8LEoDMadxIW3OWbcv72wMMgKdwOKpd5Fqxe8choLD8HN3iSj3TUh/giQ==" + }, "unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", @@ -28866,6 +28968,11 @@ "dev": true, "requires": {} }, + "xml": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz", + "integrity": "sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==" + }, "xmlchars": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", diff --git a/components/block-api/package.json b/components/block-api/package.json index 20e8339..02bca16 100644 --- a/components/block-api/package.json +++ b/components/block-api/package.json @@ -51,7 +51,7 @@ "papaparse": "^5.4.1", "process": "^0.11.10", "put": "^0.0.6", - "sparql-engine": "file:../../../sparql-engine", + "sparql-engine": "git+https://github.com/lucafabbian/sparql-engine.git", "stream": "^0.0.2", "stream-browserify": "^3.0.0", "util": "^0.12.5"