Skip to content

Commit

Permalink
Dependency & Maintenance update (#38)
Browse files Browse the repository at this point in the history
* Bump the production-dependencies group with 2 updates (#37)

Bumps the production-dependencies group with 2 updates: [@natlibfi/fixugen](https://github.com/natlibfi/fixugen-js) and [@natlibfi/fixura](https://github.com/natlibfi/fixura-js).
* Bump the development-dependencies group with 1 update (#36)

Bumps the development-dependencies group with 1 update: [eslint](https://github.com/eslint/eslint).

* Update node-tests: v16.x -> v19.x
* Update scripts

* 1.1.9-alpha.1
  • Loading branch information
ammsalme authored Dec 22, 2023
1 parent bc72a2c commit a83c54c
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/melinda-node-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 19.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 33 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "git@github.com:natlibfi/fixugen-http-server-js.git"
},
"license": "LGPL-3.0+",
"version": "1.1.8",
"version": "1.1.9-alpha.1",
"main": "dist/index.js",
"engines": {
"node": ">=18"
Expand All @@ -24,14 +24,16 @@
},
"scripts": {
"prepare": "npm run build",
"lint": "eslint src",
"lint:dev": "eslint --fix src",
"test:base": "cross-env NODE_ENV=test nyc mocha --require @babel/register",
"test": "npm run lint && npm run test:base -- src/*.spec.js && npm run coverage",
"test:dev": "npm run lint:dev && npm run test:base -- src/*.spec.js && npm run coverage",
"coverage": "nyc check-coverage --per-file",
"build": "babel src --source-maps --copy-files --delete-dir-on-start --out-dir=dist",
"watch:test": "cross-env DEBUG=1 NODE_ENV=test nodemon -w src -w test-fixtures --exec 'npm run test:dev'"
"lint": "eslint ./src",
"lint:dev": "eslint --fix ./src",
"test": "npm run lint && npm run test:base",
"test:base": "cross-env NODE_ENV=test nyc mocha --package ./package.json",
"test:dev": "npm run lint:dev && npm run test:base",
"coverage": "nyc check-coverage --per-file",
"watch:test": "cross-env DEBUG=@natlibfi/* NODE_ENV=test nodemon",
"dev": "nodemon",
"dev:debug": "cross-env LOG_LEVEL=debug DEBUG=@natlibfi/* NODE_ENV=test nodemon"
},
"dependencies": {
"@natlibfi/fixugen": "^2.0.2",
Expand Down Expand Up @@ -75,16 +77,33 @@
}
}
},
"mocha": {
"spec": [
"src/*.spec.js",
"src/**/*.spec.js"
],
"require": [
"@babel/register"
],
"inline-diffs": true,
"maxDiffSize": 25000,
"bail": true,
"exit": true
},
"nodemonConfig": {
"exec": "npm run test:dev",
"watch": [
"src/*",
"test-fixtures/*"
]
},
"nyc": {
"exclude": [
"*/*.spec.js"
"src/*.spec.js",
"src/**/*.spec.js"
],
"reporter": [
"lcov",
"html"
],
"require": [
"@babel/register"
"text"
],
"sourceMap": false,
"instrument": false,
Expand Down

0 comments on commit a83c54c

Please sign in to comment.