Compare commits

..

9 Commits

Author SHA1 Message Date
Rainer Killinger
2a380c63b2 0.6.0 2023-01-30 14:35:26 +01:00
Rainer Killinger
aac173d7a1 refactor: reorder version related asset generation 2023-01-30 14:18:08 +01:00
Rainer Killinger
6d058f0750 refactor: adjust to stricter lint rules 2023-01-30 14:18:08 +01:00
openstappsbot
0550f92b5f refactor: update all 2023-01-30 14:18:06 +01:00
Rainer Killinger
d2009e62ca ci: limit artifacts and remove unnecessary ones 2023-01-30 11:23:43 +01:00
Jovan Krunić
450b52517e docs: update changelog 2022-12-06 16:44:03 +01:00
Jovan Krunić
9188728376 0.5.0 2022-12-06 16:44:02 +01:00
openstappsbot
94e2a0d34c refactor: update all 2022-12-06 14:24:58 +00:00
Rainer Killinger
3e6e1f7bc0 docs: update changelog 2022-11-02 13:55:57 +01:00
5 changed files with 508 additions and 642 deletions

View File

@@ -14,9 +14,10 @@ stages:
build:
stage: build
script:
- npm install
- npm ci
- npm run build
artifacts:
expire_in: 1 day
untracked: true
paths:
- node_modules/
@@ -29,6 +30,7 @@ unit:
- npm run test-unit
coverage: '/Statements[^:]*\:[^:]*\s+([\d\.]+)%/'
artifacts:
expire_in: 6 month
reports:
coverage_report:
coverage_format: cobertura
@@ -82,8 +84,6 @@ ci:
stage: publish
dependencies:
- build
artifacts:
untracked: true
variables:
DOCKER_DRIVER: overlay2
services:
@@ -101,8 +101,6 @@ ci:
stage: publish
dependencies:
- build
artifacts:
untracked: true
variables:
DOCKER_DRIVER: overlay2
services:

View File

@@ -1,3 +1,15 @@
# [0.6.0](https://gitlab.com/openstapps/backend/compare/v0.5.0...v0.6.0) (2023-01-30)
# [0.5.0](https://gitlab.com/openstapps/backend/compare/v0.4.1...v0.5.0) (2022-12-06)
## [0.4.1](https://gitlab.com/openstapps/backend/compare/v0.4.0...v0.4.1) (2022-11-02)
# [0.4.0](https://gitlab.com/openstapps/backend/compare/v0.3.1...v0.4.0) (2022-10-21)

1066
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/backend",
"version": "0.4.1",
"version": "0.6.0",
"description": "A reference implementation for a StApps backend",
"license": "AGPL-3.0-only",
"author": "André Bierlein <andre.mt.bierlein@gmail.com>",
@@ -16,11 +16,11 @@
],
"scripts": {
"build": "npm run lint && npm run compile",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"check-configuration": "openstapps-configuration",
"compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'",
"documentation": "typedoc --includeVersion --out docs --readme README.md --listInvalidSymbolLinks --entryPointStrategy expand src && openstapps-core-tools openapi ./node_modules/@openstapps/core/lib ./docs/openapi && redoc-cli bundle docs/openapi/openapi.json -o docs/openapi/index.html",
"postversion": "npm run changelog",
"version": "npm run changelog",
"prepublishOnly": "npm ci && npm run build",
"preversion": "npm run prepublishOnly",
"push": "git push && git push origin \"v$npm_package_version\"",
@@ -34,68 +34,68 @@
},
"dependencies": {
"@elastic/elasticsearch": "5.6.22",
"@openstapps/core": "0.71.0",
"@openstapps/core-tools": "0.32.0",
"@openstapps/logger": "1.1.0",
"@types/node": "14.18.32",
"config": "3.3.8",
"@openstapps/core": "0.74.0",
"@openstapps/core-tools": "0.34.0",
"@openstapps/logger": "1.1.1",
"@types/node": "14.18.36",
"config": "3.3.9",
"cors": "2.8.5",
"express": "4.18.2",
"express-prom-bundle": "6.5.0",
"express-prom-bundle": "6.6.0",
"express-promise-router": "4.1.1",
"got": "11.8.5",
"got": "11.8.6",
"moment": "2.29.4",
"morgan": "1.10.0",
"nock": "13.2.9",
"nock": "13.3.0",
"node-cache": "5.1.2",
"node-cron": "3.0.2",
"nodemailer": "6.8.0",
"prom-client": "14.1.0",
"nodemailer": "6.9.1",
"prom-client": "14.1.1",
"promise-queue": "2.2.5",
"ts-node": "10.9.1",
"uuid": "8.3.2"
},
"devDependencies": {
"@openstapps/configuration": "0.33.0",
"@openstapps/es-mapping-generator": "0.3.0",
"@openstapps/configuration": "0.34.0",
"@openstapps/es-mapping-generator": "0.4.0",
"@openstapps/eslint-config": "1.1.0",
"@testdeck/mocha": "0.3.0",
"@types/chai": "4.3.3",
"@testdeck/mocha": "0.3.3",
"@types/chai": "4.3.4",
"@types/chai-as-promised": "7.1.5",
"@types/config": "3.3.0",
"@types/cors": "2.8.12",
"@types/cors": "2.8.13",
"@types/elasticsearch": "5.0.40",
"@types/express": "4.17.14",
"@types/express": "4.17.16",
"@types/geojson": "1.0.6",
"@types/mocha": "10.0.0",
"@types/morgan": "1.9.3",
"@types/node-cron": "3.0.5",
"@types/nodemailer": "6.4.6",
"@types/mocha": "10.0.1",
"@types/morgan": "1.9.4",
"@types/node-cron": "3.0.7",
"@types/nodemailer": "6.4.7",
"@types/promise-queue": "2.2.0",
"@types/sinon-express-mock": "1.3.9",
"@types/supertest": "2.0.12",
"@types/uuid": "8.3.4",
"@typescript-eslint/eslint-plugin": "5.42.0",
"@typescript-eslint/parser": "5.42.0",
"chai": "4.3.6",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"conventional-changelog-cli": "2.2.2",
"eslint": "8.26.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-jsdoc": "39.5.0",
"eslint": "8.33.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-jsdoc": "39.7.4",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-unicorn": "43.0.2",
"get-port": "5.1.1",
"mocha": "10.1.0",
"mocha": "10.2.0",
"mocked-env": "1.3.5",
"nyc": "15.1.0",
"prepend-file-cli": "1.0.6",
"prettier": "2.7.1",
"prettier": "2.8.3",
"redoc-cli": "0.13.20",
"rimraf": "3.0.2",
"sinon": "14.0.1",
"sinon": "14.0.2",
"sinon-express-mock": "2.2.1",
"supertest": "6.3.1",
"supertest": "6.3.3",
"typedoc": "0.22.18",
"typescript": "4.4.4"
},

View File

@@ -42,7 +42,7 @@ const httpVerbs = [
/**
* Strings that can be used as HTTP verbs (e.g. in requests): 'get' | 'post' | 'put' | 'delete' etc.
*/
export type HTTPVerb = typeof httpVerbs[number];
export type HTTPVerb = (typeof httpVerbs)[number];
/**
* Provides information if a text (representing a method) is an HTTP verb