node-opensrs 0.0.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,37 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
+ issues: write
14
+ pull-requests: write
15
+ id-token: write # Required for OIDC / Trusted Publishing
16
+
17
+ steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@v4
20
+ with:
21
+ fetch-depth: 0
22
+ persist-credentials: false
23
+
24
+ - name: Setup Node.js
25
+ uses: actions/setup-node@v4
26
+ with:
27
+ node-version: 24
28
+ # Note: registry-url was removed to prevent conflicts with semantic-release
29
+
30
+ - name: Install dependencies
31
+ run: npm ci
32
+
33
+ - name: Semantic Release
34
+ env:
35
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36
+ NPM_CONFIG_PROVENANCE: true
37
+ run: npx semantic-release
@@ -0,0 +1,23 @@
1
+ {
2
+ "branches": [
3
+ "main"
4
+ ],
5
+ "plugins": [
6
+ "@semantic-release/commit-analyzer",
7
+ "@semantic-release/release-notes-generator",
8
+ "@semantic-release/changelog",
9
+ "@semantic-release/npm",
10
+ "@semantic-release/github",
11
+ [
12
+ "@semantic-release/git",
13
+ {
14
+ "assets": [
15
+ "CHANGELOG.md",
16
+ "package.json",
17
+ "package-lock.json"
18
+ ],
19
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
20
+ }
21
+ ]
22
+ ]
23
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,6 @@
1
+ # 1.0.0 (2026-03-23)
2
+
3
+
4
+ ### Features
5
+
6
+ * switch to semantic-release for npm publishing ([245aa3e](https://github.com/johndc7/node-opensrs/commit/245aa3e9b0658520601641f9335b45616c084afd))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opensrs",
3
- "version": "0.0.1",
3
+ "version": "1.0.0",
4
4
  "description": "OpenSRS api for Node.js",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,7 +16,12 @@
16
16
  "author": "John Callahan",
17
17
  "license": "ISC",
18
18
  "dependencies": {
19
- "axios": "^1.5.1",
20
- "xmlbuilder2": "^3.1.1"
19
+ "axios": "^1.13.6",
20
+ "xmlbuilder2": "^4.0.3"
21
+ },
22
+ "devDependencies": {
23
+ "@semantic-release/changelog": "^6.0.3",
24
+ "@semantic-release/git": "^10.0.1",
25
+ "semantic-release": "^25.0.3"
21
26
  }
22
27
  }
@@ -1,33 +0,0 @@
1
- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
- # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
-
4
- name: Publish to NPM
5
-
6
- on:
7
- release:
8
- types: [created]
9
-
10
- jobs:
11
- # build:
12
- # runs-on: ubuntu-latest
13
- # steps:
14
- # - uses: actions/checkout@v3
15
- # - uses: actions/setup-node@v3
16
- # with:
17
- # node-version: 16
18
- # - run: npm ci
19
- # - run: npm test
20
-
21
- publish:
22
- # needs: build
23
- runs-on: ubuntu-latest
24
- steps:
25
- - uses: actions/checkout@v3
26
- - uses: actions/setup-node@v3
27
- with:
28
- node-version: 16
29
- registry-url: https://registry.npmjs.org/
30
- - run: npm ci
31
- - run: npm publish
32
- env:
33
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}