From 9eb92e5d9a34603751ef224d598ca0aa800a8386 Mon Sep 17 00:00:00 2001 From: Leo Nicolle Date: Thu, 7 Dec 2023 16:42:17 +0100 Subject: [PATCH 1/6] updated license --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 084ab1b..5ee06f2 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "test:dev": "vitest" }, "author": "Leo Nicolle", - "license": "ISC", + "license": "Apache-2.0", "private": false, "typesVersions": { "*": { From 61eea8186f5b0196b6c07deb64d06c1a7a2b3075 Mon Sep 17 00:00:00 2001 From: Leo Nicolle Date: Fri, 8 Dec 2023 16:33:55 +0100 Subject: [PATCH 2/6] added lint:ci --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5ee06f2..5d220a0 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "prebuild": "tsc", "build": "vite build", "prepack": "npm run build", + "lint:ci": "eslint -f checkstyle -o reports/checkstyle.xml --ext ts --ext js src ./tests/**/*.test.ts", "docs:api": "typedoc --plugin typedoc-plugin-markdown --out docs/api src/index.ts", "postdocs:api": "node scripts/cleanup-md.mjs", "predocs:dev": "npm run docs:api", @@ -63,7 +64,6 @@ "publishConfig": { "access": "public" }, - "private": false, "eslintConfig": { "extends": "@linkurious/eslint-config-ogma" }, From 467d4561a71b5d05764cc5097e8ca265e8eca040 Mon Sep 17 00:00:00 2001 From: Leo Nicolle Date: Fri, 8 Dec 2023 16:42:52 +0100 Subject: [PATCH 3/6] added GH release flag --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 690ce06..f063b05 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,6 +11,7 @@ nodeJob { runDependencyVersionCheck = false npmPackPath = '.' gitTagPrefix = 'v' + githubRelease = true runBookeeping = true runNpmPublish = true } \ No newline at end of file From de07d526b0cefe959594da812bc5c5ece982989e Mon Sep 17 00:00:00 2001 From: Leo Nicolle Date: Fri, 8 Dec 2023 16:45:27 +0100 Subject: [PATCH 4/6] bump version --- package-lock.json | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 13cd322..392abb8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@linkurious/ogma-oracle-parser", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@linkurious/ogma-oracle-parser", - "version": "1.0.0", + "version": "1.0.1", "license": "ISC", "devDependencies": { "@linkurious/eslint-config-ogma": "^1.0.5", diff --git a/package.json b/package.json index 5d220a0..7c8c975 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@linkurious/ogma-oracle-parser", - "version": "1.0.0", + "version": "1.0.1", "description": "Parses responses from Oracle graph DB into Ogma format", "main": "dist/ogma-oracle-parser.umd.js", "module": "dist/ogma-oracle-parser.umd.js", @@ -84,4 +84,4 @@ "vitepress": "^1.0.0-rc.30", "vitest": "^1.0.1" } -} \ No newline at end of file +} From 549f18573f9428d7add501ec81e55f729edd4b3a Mon Sep 17 00:00:00 2001 From: Leo Nicolle Date: Fri, 8 Dec 2023 16:56:38 +0100 Subject: [PATCH 5/6] version .bumpversion files --- .bumpversion.cfg | 2 +- .version | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index c34ac43..6ef3f56 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.0 +current_version = 1.0.1 commit = False tag = False serialize = diff --git a/.version b/.version index afaf360..7f20734 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -1.0.0 \ No newline at end of file +1.0.1 \ No newline at end of file From 0bc4c146e3699739240bf4fcae1aadf3eb0a148f Mon Sep 17 00:00:00 2001 From: Leo-Nicolle Date: Fri, 8 Dec 2023 17:07:35 +0100 Subject: [PATCH 6/6] dummy commit to test releases (#11) --- src/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 1d33309..3166b38 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,3 @@ - import { RawGraph } from "@linkurious/ogma"; import { Connection, Lob } from "oracledb"; import { OracleResponse, ParserOptions, SQLID } from "./types"; @@ -65,6 +64,7 @@ export function readLob(lob: Lob) { }); }); } + /** * Parser for Oracle SQL Graph * @typeParam ND [Node data type](https://doc.linkurious.com/ogma/latest/tutorials/typescript/index.html#data-typing) @@ -107,6 +107,7 @@ export class OgmaOracleParser { }) } as RawGraph; } + /** * Read a lob and parse it as [RawGraph](https://doc.linkurious.com/ogma/latest/api.html#RawGraph) * @param lob @@ -116,6 +117,7 @@ export class OgmaOracleParser { return readLob & { numResults: number; }>(lob) .then((result) => ({ ...this.parse(result), numResults: result.numResults })); } + /** * Executes a query (wrapped in CUST_SQLGRAPH_JSON) * and returns a [RawGraph](https://doc.linkurious.com/ogma/latest/api.html#RawGraph) @@ -160,7 +162,6 @@ export class OgmaOracleParser { } const parser = new OgmaOracleParser({ SQLIDtoId, SQLIDfromId }); export default parser; - export const parse = parser.parse.bind(parser); export const parseLob = parser.parseLob.bind(parser); export const getRawGraph = parser.getRawGraph.bind(parser); \ No newline at end of file