2 Commits

Author SHA1 Message Date
4c70fc71c8 Add step to set version from git tag in CI workflow
All checks were successful
CI / build (push) Successful in 19s
CI / publish (push) Successful in 15s
2025-09-06 18:55:17 +01:00
662b5d0665 Rename package to align with new naming convention
All checks were successful
CI / build (push) Successful in 22s
CI / publish (push) Has been skipped
2025-09-06 18:53:40 +01:00
3 changed files with 8 additions and 3 deletions

View File

@@ -44,6 +44,11 @@ jobs:
- name: Build project
run: npm run build
- name: Set version from git tag
run: |
VERSION=${GITHUB_REF#refs/tags/v}
npm version $VERSION --no-git-tag-version
- name: Setup npm for publishing
run: |
npm config set //git.3t.network/api/packages/3t.network/npm/:_authToken ${{ secrets.PUBLISH_TOKEN }}

4
package-lock.json generated
View File

@@ -1,11 +1,11 @@
{
"name": "romulus-js",
"name": "romulus",
"version": "1.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "romulus-js",
"name": "romulus",
"version": "1.0.0",
"hasInstallScript": true,
"license": "ISC",

View File

@@ -1,5 +1,5 @@
{
"name": "romulus",
"name": "@3t/romulus",
"version": "1.0.0",
"description": "An implementation of the Romulus-M cryptography specification.",
"main": "dist/index.js",