mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 17:42:57 +00:00
refactor: update dependencies
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
FROM registry.gitlab.com/openstapps/projectmanagement/node
|
FROM registry.gitlab.com/openstapps/projectmanagement/node
|
||||||
|
|
||||||
|
USER root
|
||||||
|
RUN apk add --update python3 py3-pip make g++
|
||||||
|
|
||||||
|
USER node
|
||||||
ADD --chown=node:node . /app
|
ADD --chown=node:node . /app
|
||||||
RUN find /app -type d -print0 | xargs -0 -r chmod 775 && find /app -type f -print0 | xargs -0 -r chmod 660
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
RUN npm ci && npm run build
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
|||||||
2024
package-lock.json
generated
2024
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
48
package.json
48
package.json
@@ -25,7 +25,7 @@
|
|||||||
"preversion": "npm run prepublishOnly",
|
"preversion": "npm run prepublishOnly",
|
||||||
"push": "git push && git push origin \"v$npm_package_version\"",
|
"push": "git push && git push origin \"v$npm_package_version\"",
|
||||||
"start": "NODE_CONFIG_ENV=elasticsearch ALLOW_NO_TRANSPORT=true node ./lib/cli.js",
|
"start": "NODE_CONFIG_ENV=elasticsearch ALLOW_NO_TRANSPORT=true node ./lib/cli.js",
|
||||||
"start-debug": "STAPPS_LOG_LEVEL=31 NODE_CONFIG_ENV=elasticsearch ALLOW_NO_TRANSPORT=true node ./lib/cli.js --require ts-node/register",
|
"start-debug": "STAPPS_LOG_LEVEL=31 NODE_CONFIG_ENV=elasticsearch ALLOW_NO_TRANSPORT=true node ./lib/cli.js --require ts-node/register",
|
||||||
"test": "npm run test-unit && npm run test-integration",
|
"test": "npm run test-unit && npm run test-integration",
|
||||||
"test-unit": "env NODE_CONFIG_ENV=elasticsearch ALLOW_NO_TRANSPORT=true STAPPS_LOG_LEVEL=0 nyc mocha --require ts-node/register --exit 'test/**/*.spec.ts'",
|
"test-unit": "env NODE_CONFIG_ENV=elasticsearch ALLOW_NO_TRANSPORT=true STAPPS_LOG_LEVEL=0 nyc mocha --require ts-node/register --exit 'test/**/*.spec.ts'",
|
||||||
"test-integration": "sudo docker-compose -f integration-test.yml pull && sudo docker-compose -f integration-test.yml up --build --abort-on-container-exit --exit-code-from apicli",
|
"test-integration": "sudo docker-compose -f integration-test.yml pull && sudo docker-compose -f integration-test.yml up --build --abort-on-container-exit --exit-code-from apicli",
|
||||||
@@ -33,37 +33,37 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@elastic/elasticsearch": "5.6.22",
|
"@elastic/elasticsearch": "5.6.22",
|
||||||
"@openstapps/core": "0.53.0",
|
"@openstapps/core": "0.56.0",
|
||||||
"@openstapps/core-tools": "0.25.0",
|
"@openstapps/core-tools": "0.28.0",
|
||||||
"@openstapps/logger": "0.7.0",
|
"@openstapps/logger": "0.8.0",
|
||||||
"@types/express-prometheus-middleware": "1.2.1",
|
"@types/express-prometheus-middleware": "1.2.1",
|
||||||
"@types/node": "14.17.27",
|
"@types/node": "14.18.0",
|
||||||
"config": "3.3.6",
|
"config": "3.3.6",
|
||||||
"cors": "2.8.5",
|
"cors": "2.8.5",
|
||||||
"express": "4.17.1",
|
"express": "4.17.2",
|
||||||
"express-prometheus-middleware": "1.2.0",
|
"express-prometheus-middleware": "1.2.0",
|
||||||
"express-promise-router": "4.1.0",
|
"express-promise-router": "4.1.1",
|
||||||
"got": "11.8.2",
|
"got": "11.8.3",
|
||||||
"moment": "2.29.1",
|
"moment": "2.29.1",
|
||||||
"morgan": "1.10.0",
|
"morgan": "1.10.0",
|
||||||
"nock": "13.1.4",
|
"nock": "13.2.1",
|
||||||
"node-cache": "5.1.2",
|
"node-cache": "5.1.2",
|
||||||
"node-cron": "3.0.0",
|
"node-cron": "3.0.0",
|
||||||
"nodemailer": "6.7.0",
|
"nodemailer": "6.7.2",
|
||||||
"prom-client": "13.2.0",
|
"prom-client": "14.0.1",
|
||||||
"promise-queue": "2.2.5",
|
"promise-queue": "2.2.5",
|
||||||
"ts-node": "10.3.0",
|
"ts-node": "10.4.0",
|
||||||
"uuid": "8.3.2"
|
"uuid": "8.3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@openstapps/configuration": "0.28.1",
|
"@openstapps/configuration": "0.29.0",
|
||||||
"@openstapps/es-mapping-generator": "0.0.3",
|
"@openstapps/es-mapping-generator": "0.0.4",
|
||||||
"@testdeck/mocha": "0.1.2",
|
"@testdeck/mocha": "0.2.0",
|
||||||
"@types/chai": "4.2.22",
|
"@types/chai": "4.3.0",
|
||||||
"@types/chai-as-promised": "7.1.4",
|
"@types/chai-as-promised": "7.1.4",
|
||||||
"@types/config": "0.0.39",
|
"@types/config": "0.0.40",
|
||||||
"@types/cors": "2.8.12",
|
"@types/cors": "2.8.12",
|
||||||
"@types/elasticsearch": "5.0.38",
|
"@types/elasticsearch": "5.0.40",
|
||||||
"@types/express": "4.17.13",
|
"@types/express": "4.17.13",
|
||||||
"@types/geojson": "1.0.6",
|
"@types/geojson": "1.0.6",
|
||||||
"@types/mocha": "9.0.0",
|
"@types/mocha": "9.0.0",
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
"@types/promise-queue": "2.2.0",
|
"@types/promise-queue": "2.2.0",
|
||||||
"@types/sinon-express-mock": "1.3.9",
|
"@types/sinon-express-mock": "1.3.9",
|
||||||
"@types/supertest": "2.0.11",
|
"@types/supertest": "2.0.11",
|
||||||
"@types/uuid": "8.3.1",
|
"@types/uuid": "8.3.3",
|
||||||
"chai": "4.3.4",
|
"chai": "4.3.4",
|
||||||
"chai-as-promised": "7.1.1",
|
"chai-as-promised": "7.1.1",
|
||||||
"conventional-changelog-cli": "2.1.1",
|
"conventional-changelog-cli": "2.1.1",
|
||||||
@@ -82,13 +82,13 @@
|
|||||||
"mocked-env": "1.3.5",
|
"mocked-env": "1.3.5",
|
||||||
"nyc": "15.1.0",
|
"nyc": "15.1.0",
|
||||||
"prepend-file-cli": "1.0.6",
|
"prepend-file-cli": "1.0.6",
|
||||||
"redoc-cli": "0.13.0",
|
"redoc-cli": "0.13.2",
|
||||||
"rimraf": "3.0.2",
|
"rimraf": "3.0.2",
|
||||||
"sinon": "11.1.2",
|
"sinon": "11.1.2",
|
||||||
"sinon-express-mock": "2.2.1",
|
"sinon-express-mock": "2.2.1",
|
||||||
"supertest": "6.1.6",
|
"supertest": "6.1.6",
|
||||||
"tslint": "6.1.3",
|
"tslint": "6.1.3",
|
||||||
"typedoc": "0.22.6",
|
"typedoc": "0.22.10",
|
||||||
"typescript": "3.9.10"
|
"typescript": "3.9.10"
|
||||||
},
|
},
|
||||||
"nyc": {
|
"nyc": {
|
||||||
@@ -101,11 +101,11 @@
|
|||||||
"extension": [
|
"extension": [
|
||||||
".ts"
|
".ts"
|
||||||
],
|
],
|
||||||
"functions": 85,
|
"functions": 95,
|
||||||
"include": [
|
"include": [
|
||||||
"src"
|
"src"
|
||||||
],
|
],
|
||||||
"lines": 85,
|
"lines": 95,
|
||||||
"reporter": [
|
"reporter": [
|
||||||
"html",
|
"html",
|
||||||
"text-summary"
|
"text-summary"
|
||||||
@@ -113,6 +113,6 @@
|
|||||||
"require": [
|
"require": [
|
||||||
"ts-node/register"
|
"ts-node/register"
|
||||||
],
|
],
|
||||||
"statements": 85
|
"statements": 95
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user