mirror of
https://github.com/certd/certd.git
synced 2026-04-28 07:57:25 +08:00
chore: pre publish
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
"mig": "typeorm migration:create -n name"
|
||||
},
|
||||
"dependencies": {
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"kubernetes-client": "^9.0.0",
|
||||
"@certd/acme-client": "^1.0.2",
|
||||
"@certd/pipeline": "^1.0.2",
|
||||
|
||||
@@ -3,6 +3,7 @@ import { FlywayHistory } from 'midway-flyway-js/dist/entity';
|
||||
|
||||
import { MidwayConfig } from '@midwayjs/core';
|
||||
import { UserEntity } from '../modules/authority/entity/user';
|
||||
import { PipelineEntity } from '../modules/pipeline/entity/pipeline';
|
||||
|
||||
export default {
|
||||
// use for cookie sign key, should change to your own and keep security
|
||||
@@ -33,7 +34,14 @@ export default {
|
||||
logging: true,
|
||||
|
||||
// 配置实体模型 或者 entities: '/entity',
|
||||
entities: ['**/modules/*/entity/*.ts', FlywayHistory, UserEntity],
|
||||
entities: [
|
||||
'**/modules/*/entity/*.ts',
|
||||
'**/entity/*.js',
|
||||
'**/entity/*.d.ts',
|
||||
PipelineEntity,
|
||||
FlywayHistory,
|
||||
UserEntity,
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -14,11 +14,10 @@ import { GlobalExceptionMiddleware } from './middleware/global-exception';
|
||||
import { PreviewMiddleware } from './middleware/preview';
|
||||
import { AuthorityMiddleware } from './middleware/authority';
|
||||
|
||||
import * as pipeline from './plugins/pipeline';
|
||||
import * as cron from './plugins/cron';
|
||||
|
||||
@Configuration({
|
||||
imports: [koa, orm, cache, flyway, validateComp, pipeline, cron],
|
||||
imports: [koa, orm, cache, flyway, validateComp, cron],
|
||||
importConfigs: [
|
||||
{
|
||||
default: defaultConfig,
|
||||
|
||||
Reference in New Issue
Block a user