Compare commits

..

No commits in common. "3f09e3d3875563dfff9b62a66131bf636f55974d" and "5cfd2c9a526b17c3c8cdfa687fa90235426283bc" have entirely different histories.

6 changed files with 10 additions and 13695 deletions

View File

@ -37,23 +37,11 @@ steps:
tags:
- dev
registry: registry.odit.services
- name: run full license export
depends_on: ["clone"]
image: node:alpine
commands:
- yarn
- yarn licenses:export
- name: push new licenses file to repo
depends_on: ["run full license export"]
image: appleboy/drone-git-push
settings:
branch: dev
commit: true
commit_message: new license file version [CI SKIP]
author_email: bot@odit.services
remote: git@git.odit.services:lfk/backend.git
ssh_key:
from_secret: GITLAB_SSHKEY
when:
branch:
- dev
event:
- push
trigger:
branch:

1
.gitignore vendored
View File

@ -134,4 +134,3 @@ build
*.sqlite-jurnal
/docs
lib
/oss-attribution

File diff suppressed because it is too large Load Diff

View File

@ -48,7 +48,6 @@
"validator": "^13.5.2"
},
"devDependencies": {
"@odit/license-exporter": "^0.0.6",
"@types/cors": "^2.8.8",
"@types/csvtojson": "^1.1.5",
"@types/express": "^4.17.9",
@ -75,8 +74,7 @@
"test:watch": "jest --watchAll",
"test:ci": "start-server-and-test dev http://localhost:4010/api/docs/openapi.json test",
"seed": "ts-node ./node_modules/typeorm/cli.js schema:sync && ts-node ./node_modules/typeorm-seeding/dist/cli.js seed",
"openapi:export": "node scripts/openapi_export.js",
"licenses:export": "license-exporter --md"
"openapi:export": "ts-node src/openapi_export.ts"
},
"nodemonConfig": {
"ignore": [

View File

@ -4,9 +4,9 @@ import fs from "fs";
import "reflect-metadata";
import { createExpressServer, getMetadataArgsStorage } from "routing-controllers";
import { routingControllersToSpec } from 'routing-controllers-openapi';
import { config } from '../src/config';
import authchecker from "../src/middlewares/authchecker";
import { ErrorHandler } from '../src/middlewares/ErrorHandler';
import { config } from './config';
import authchecker from "./middlewares/authchecker";
import { ErrorHandler } from './middlewares/ErrorHandler';
const CONTROLLERS_FILE_EXTENSION = process.env.NODE_ENV === 'production' ? 'js' : 'ts';
createExpressServer({

5382
tmp.json

File diff suppressed because it is too large Load Diff