Compare commits
No commits in common. "3f09e3d3875563dfff9b62a66131bf636f55974d" and "5cfd2c9a526b17c3c8cdfa687fa90235426283bc" have entirely different histories.
3f09e3d387
...
5cfd2c9a52
22
.drone.yml
22
.drone.yml
@ -37,23 +37,11 @@ steps:
|
|||||||
tags:
|
tags:
|
||||||
- dev
|
- dev
|
||||||
registry: registry.odit.services
|
registry: registry.odit.services
|
||||||
- name: run full license export
|
when:
|
||||||
depends_on: ["clone"]
|
branch:
|
||||||
image: node:alpine
|
- dev
|
||||||
commands:
|
event:
|
||||||
- yarn
|
- push
|
||||||
- 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
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -133,5 +133,4 @@ build
|
|||||||
*.sqlite
|
*.sqlite
|
||||||
*.sqlite-jurnal
|
*.sqlite-jurnal
|
||||||
/docs
|
/docs
|
||||||
lib
|
lib
|
||||||
/oss-attribution
|
|
8288
LICENSES.txt
8288
LICENSES.txt
File diff suppressed because it is too large
Load Diff
@ -48,7 +48,6 @@
|
|||||||
"validator": "^13.5.2"
|
"validator": "^13.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@odit/license-exporter": "^0.0.6",
|
|
||||||
"@types/cors": "^2.8.8",
|
"@types/cors": "^2.8.8",
|
||||||
"@types/csvtojson": "^1.1.5",
|
"@types/csvtojson": "^1.1.5",
|
||||||
"@types/express": "^4.17.9",
|
"@types/express": "^4.17.9",
|
||||||
@ -75,8 +74,7 @@
|
|||||||
"test:watch": "jest --watchAll",
|
"test:watch": "jest --watchAll",
|
||||||
"test:ci": "start-server-and-test dev http://localhost:4010/api/docs/openapi.json test",
|
"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",
|
"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",
|
"openapi:export": "ts-node src/openapi_export.ts"
|
||||||
"licenses:export": "license-exporter --md"
|
|
||||||
},
|
},
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
"ignore": [
|
"ignore": [
|
||||||
|
@ -4,9 +4,9 @@ import fs from "fs";
|
|||||||
import "reflect-metadata";
|
import "reflect-metadata";
|
||||||
import { createExpressServer, getMetadataArgsStorage } from "routing-controllers";
|
import { createExpressServer, getMetadataArgsStorage } from "routing-controllers";
|
||||||
import { routingControllersToSpec } from 'routing-controllers-openapi';
|
import { routingControllersToSpec } from 'routing-controllers-openapi';
|
||||||
import { config } from '../src/config';
|
import { config } from './config';
|
||||||
import authchecker from "../src/middlewares/authchecker";
|
import authchecker from "./middlewares/authchecker";
|
||||||
import { ErrorHandler } from '../src/middlewares/ErrorHandler';
|
import { ErrorHandler } from './middlewares/ErrorHandler';
|
||||||
|
|
||||||
const CONTROLLERS_FILE_EXTENSION = process.env.NODE_ENV === 'production' ? 'js' : 'ts';
|
const CONTROLLERS_FILE_EXTENSION = process.env.NODE_ENV === 'production' ? 'js' : 'ts';
|
||||||
createExpressServer({
|
createExpressServer({
|
Loading…
x
Reference in New Issue
Block a user