@natlibfi/melinda-commons 14.0.2 → 15.0.0-alpha.1
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.
|
@@ -15,14 +15,14 @@ jobs:
|
|
|
15
15
|
|
|
16
16
|
strategy:
|
|
17
17
|
matrix:
|
|
18
|
-
node-version: [
|
|
18
|
+
node-version: [24.x, 26.x]
|
|
19
19
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
20
20
|
|
|
21
21
|
steps:
|
|
22
22
|
- name: Checkout the code
|
|
23
|
-
uses: actions/checkout@
|
|
23
|
+
uses: actions/checkout@v7
|
|
24
24
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
25
|
-
uses: actions/setup-node@
|
|
25
|
+
uses: actions/setup-node@v7
|
|
26
26
|
with:
|
|
27
27
|
node-version: ${{ matrix.node-version }}
|
|
28
28
|
cache: 'npm'
|
|
@@ -36,10 +36,10 @@ jobs:
|
|
|
36
36
|
license-scan:
|
|
37
37
|
name: License compliance check
|
|
38
38
|
runs-on: ubuntu-latest
|
|
39
|
-
container: node:
|
|
39
|
+
container: node:24
|
|
40
40
|
|
|
41
41
|
steps:
|
|
42
|
-
- uses: actions/checkout@
|
|
42
|
+
- uses: actions/checkout@v7
|
|
43
43
|
- uses: mikaelvesavuori/license-compliance-action@v1
|
|
44
44
|
with:
|
|
45
45
|
exclude_pattern: /^@natlibfi/
|
|
@@ -47,11 +47,11 @@ jobs:
|
|
|
47
47
|
njsscan:
|
|
48
48
|
name: Njsscan check
|
|
49
49
|
runs-on: ubuntu-latest
|
|
50
|
-
container: node:
|
|
50
|
+
container: node:24
|
|
51
51
|
|
|
52
52
|
steps:
|
|
53
53
|
- name: Checkout the code
|
|
54
|
-
uses: actions/checkout@
|
|
54
|
+
uses: actions/checkout@v7
|
|
55
55
|
- name: nodejsscan scan
|
|
56
56
|
id: njsscan
|
|
57
57
|
uses: ajinabraham/njsscan-action@master
|
|
@@ -60,19 +60,12 @@ jobs:
|
|
|
60
60
|
|
|
61
61
|
publish:
|
|
62
62
|
runs-on: ubuntu-latest
|
|
63
|
-
container: node:
|
|
63
|
+
container: node:24
|
|
64
64
|
needs: [build-node-versions, njsscan]
|
|
65
65
|
if: contains(github.ref, 'refs/tags/')
|
|
66
66
|
|
|
67
67
|
steps:
|
|
68
|
-
- uses: actions/checkout@
|
|
69
|
-
# Setup .npmrc file to publish to npm
|
|
70
|
-
- uses: actions/setup-node@v6
|
|
71
|
-
with:
|
|
72
|
-
node-version: '22.x'
|
|
73
|
-
registry-url: 'https://registry.npmjs.org'
|
|
74
|
-
- name: Update npm
|
|
75
|
-
run: npm install -g npm@latest
|
|
68
|
+
- uses: actions/checkout@v7
|
|
76
69
|
- name: Clean install
|
|
77
70
|
run: npm ci
|
|
78
71
|
# Publish stable release with --tag latest
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"url": "https://github.com/NatLibFi/melinda-commons-js"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"version": "
|
|
16
|
+
"version": "15.0.0-alpha.1",
|
|
17
17
|
"main": "./dist/index.js",
|
|
18
18
|
"type": "module",
|
|
19
19
|
"engines": {
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"dev:debug": "cross-env LOG_LEVEL=debug DEBUG=@natlibfi/* NODE_ENV=test npm run watch:test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@natlibfi/marc-record": "^10.0.
|
|
37
|
+
"@natlibfi/marc-record": "^10.0.2",
|
|
38
38
|
"@natlibfi/marc-record-serializers": "^11.0.1",
|
|
39
39
|
"@natlibfi/sru-client": "^7.0.1",
|
|
40
40
|
"debug": "^4.4.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@natlibfi/fixugen-http-client": "^4.0.
|
|
44
|
-
"@natlibfi/fixura": "^4.0.
|
|
43
|
+
"@natlibfi/fixugen-http-client": "^4.0.3",
|
|
44
|
+
"@natlibfi/fixura": "^4.0.1",
|
|
45
45
|
"cross-env": "^10.1.0",
|
|
46
|
-
"esbuild": "^0.
|
|
47
|
-
"eslint": "^
|
|
46
|
+
"esbuild": "^0.28.1",
|
|
47
|
+
"eslint": "^10.8.0"
|
|
48
48
|
}
|
|
49
49
|
}
|