From c23359256a683505492d6273f6d11065aa7440df Mon Sep 17 00:00:00 2001 From: Matteo Fantin Date: Thu, 11 Jul 2024 09:00:41 +0200 Subject: [PATCH] update package information --- .github/workflows/npm-publish.yml | 5 +++-- README.md | 14 +++++++++++++- package-lock.json | 4 ++-- package.json | 9 +++++++-- 4 files changed, 25 insertions(+), 7 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 8ad1564..8e83398 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -6,6 +6,7 @@ name: Node.js Package on: push: branches: master + workflow_dispatch: jobs: build: @@ -23,11 +24,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 16 registry-url: https://registry.npmjs.org/ - run: npm ci - uses: JS-DevTools/npm-publish@v3.1.1 with: - token: ${{secrets.NPM_TOKEN}} + token: ${{secrets.NPM_TOKEN}} \ No newline at end of file diff --git a/README.md b/README.md index 41bbfaa..3770da8 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,25 @@ ## What is A package that handles OPC UA Client request like read, browse, write, ... +## Versioning +The following package use the semantic versioning template + +`X.Y.Z` + +- X is the `Major` version, when the following number change, the package can be not compatible with the previous versions +- Y is the `Minor` version, when the following number change, the package is compatible with the previous version with the same Major version +- Z is the `Patch` version, when the following number change, has the same purpose of Minor but is used for no codes change (update pipeline, wiki, references, ...) + +By now the package is only use the `Minor` because is in prerelease state. +The first stable version will start from `1.0.0` + ## Features - [x] Read - [ ] Write - [x] Browse - [x] Check connection status -- [ ] Subscription +- [x] Subscription - [ ] Events - [ ] Methods - [x] Connection security access diff --git a/package-lock.json b/package-lock.json index 1449314..3b4d275 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "node-red-opcua-x", - "version": "0.5.0", + "version": "0.5.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "node-red-opcua-x", - "version": "0.5.0", + "version": "0.5.1", "license": "MIT", "dependencies": { "events": "^3.3.0", diff --git a/package.json b/package.json index d59f4b1..639dbd1 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,16 @@ { "name": "node-red-opcua-x", - "version": "0.5.0", + "version": "0.5.1", "license": "MIT", "author": { "name": "Teo230", "email": "teeassassin230@gmail.com" }, + "homepage": "https://github.com/Teo230/node-red-opcua-x", + "repository": { + "type": "git", + "url": "https://github.com/Teo230/node-red-opcua-x.git" + }, "engines": { "node": ">=20.14.0" }, @@ -37,4 +42,4 @@ "events": "^3.3.0", "node-opcua": "^2.127.1" } -} +} \ No newline at end of file