From 0db2a6bceef02650047ce6ea00110dfad877efec Mon Sep 17 00:00:00 2001 From: Julian Rojas Date: Thu, 4 Apr 2024 16:17:01 +0200 Subject: [PATCH 1/5] Always build before npm publish --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d9dd48a..91dd4a9 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "scripts": { "build": "tsc", "test": "vitest run --coverage --coverage.include src", - "prepare": "husky" + "prepare": "husky", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", From 3d1411ba29319a8c04bb345bf49359e0841c78b0 Mon Sep 17 00:00:00 2001 From: Julian Rojas Date: Thu, 4 Apr 2024 16:17:44 +0200 Subject: [PATCH 2/5] Add npm badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 83ef7db..3d791e4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # shacl-processor-ts -[![Build and tests with Node.js](https://github.com/rdf-connect/shacl-processor-ts/actions/workflows/build-test.yml/badge.svg)](https://github.com/rdf-connect/shacl-processor-ts/actions/workflows/build-test.yml) +[![Build and tests with Node.js](https://github.com/rdf-connect/shacl-processor-ts/actions/workflows/build-test.yml/badge.svg)](https://github.com/rdf-connect/shacl-processor-ts/actions/workflows/build-test.yml) [![npm](https://img.shields.io/npm/v/@rdf-connect/shacl-processor-ts.svg?style=popout)](https://npmjs.com/package/@rdf-connect/shacl-processor-ts) Validate data streams using SHACL. From fa336c8caa48961586aaf78e5ba350bfa7a2d7c5 Mon Sep 17 00:00:00 2001 From: Julian Rojas Date: Thu, 4 Apr 2024 16:18:51 +0200 Subject: [PATCH 3/5] 0.1.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index c6a6559..9db4bcc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rdf-connect/shacl-processor-ts", - "version": "0.0.0", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@rdf-connect/shacl-processor-ts", - "version": "0.0.0", + "version": "0.1.0", "license": "MIT", "dependencies": { "@rdfjs/serializer-turtle": "^1.1.2", diff --git a/package.json b/package.json index 91dd4a9..0bf4174 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rdf-connect/shacl-processor-ts", - "version": "0.0.0", + "version": "0.1.0", "description": "Validate data using SHACL.", "main": "lib/index.js", "files": [ From 0736953270129dd61491fbfe75178c1dcd283ac0 Mon Sep 17 00:00:00 2001 From: Julian Rojas Date: Thu, 4 Apr 2024 16:34:16 +0200 Subject: [PATCH 4/5] Use @rdfc npm org --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0bf4174..2625176 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@rdf-connect/shacl-processor-ts", + "name": "@rdfc/shacl-processor-ts", "version": "0.1.0", "description": "Validate data using SHACL.", "main": "lib/index.js", From ffea2c60fd9ffb2a78b2b559d57346ca0d555fa4 Mon Sep 17 00:00:00 2001 From: Julian Rojas Date: Thu, 4 Apr 2024 16:36:23 +0200 Subject: [PATCH 5/5] Fix npm badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d791e4..00f015c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # shacl-processor-ts -[![Build and tests with Node.js](https://github.com/rdf-connect/shacl-processor-ts/actions/workflows/build-test.yml/badge.svg)](https://github.com/rdf-connect/shacl-processor-ts/actions/workflows/build-test.yml) [![npm](https://img.shields.io/npm/v/@rdf-connect/shacl-processor-ts.svg?style=popout)](https://npmjs.com/package/@rdf-connect/shacl-processor-ts) +[![Build and tests with Node.js](https://github.com/rdf-connect/shacl-processor-ts/actions/workflows/build-test.yml/badge.svg)](https://github.com/rdf-connect/shacl-processor-ts/actions/workflows/build-test.yml) [![npm](https://img.shields.io/npm/v/@rdfc/shacl-processor-ts.svg?style=popout)](https://npmjs.com/package/@rdfc/shacl-processor-ts) Validate data streams using SHACL.