mirror of https://github.com/certd/certd
chore: pre publish
parent
c553b017af
commit
ceb0454277
|
@ -17,16 +17,16 @@
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@certd/acme-client": "^1.0.2",
|
|
||||||
"axios": "^1.4.0",
|
"axios": "^1.4.0",
|
||||||
|
"node-forge": "^1.3.1",
|
||||||
|
"qs": "^6.11.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"reflect-metadata": "^0.1.13",
|
||||||
|
"@certd/acme-client": "^1.0.2",
|
||||||
"dayjs": "^1.11.7",
|
"dayjs": "^1.11.7",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"log4js": "^6.9.1",
|
"log4js": "^6.9.1",
|
||||||
"node-forge": "^1.3.1",
|
|
||||||
"qs": "^6.11.2",
|
|
||||||
"reflect-metadata": "^0.1.13"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@types/chai": "^4.3.5",
|
"@types/chai": "^4.3.5",
|
||||||
"@types/lodash": "^4.14.194",
|
"@types/lodash": "^4.14.194",
|
||||||
"@types/mocha": "^10.0.1",
|
"@types/mocha": "^10.0.1",
|
||||||
|
|
|
@ -34,5 +34,6 @@ module.exports = {
|
||||||
"log4js",
|
"log4js",
|
||||||
"@midwayjs/core",
|
"@midwayjs/core",
|
||||||
"@midwayjs/decorator",
|
"@midwayjs/decorator",
|
||||||
|
"reflect-metadata",
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
"mig": "typeorm migration:create -n name"
|
"mig": "typeorm migration:create -n name"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"reflect-metadata": "^0.1.13",
|
||||||
"kubernetes-client": "^9.0.0",
|
"kubernetes-client": "^9.0.0",
|
||||||
"@certd/acme-client": "^1.0.2",
|
"@certd/acme-client": "^1.0.2",
|
||||||
"@certd/pipeline": "^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 { MidwayConfig } from '@midwayjs/core';
|
||||||
import { UserEntity } from '../modules/authority/entity/user';
|
import { UserEntity } from '../modules/authority/entity/user';
|
||||||
|
import { PipelineEntity } from '../modules/pipeline/entity/pipeline';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
// use for cookie sign key, should change to your own and keep security
|
// use for cookie sign key, should change to your own and keep security
|
||||||
|
@ -33,7 +34,14 @@ export default {
|
||||||
logging: true,
|
logging: true,
|
||||||
|
|
||||||
// 配置实体模型 或者 entities: '/entity',
|
// 配置实体模型 或者 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 { PreviewMiddleware } from './middleware/preview';
|
||||||
import { AuthorityMiddleware } from './middleware/authority';
|
import { AuthorityMiddleware } from './middleware/authority';
|
||||||
|
|
||||||
import * as pipeline from './plugins/pipeline';
|
|
||||||
import * as cron from './plugins/cron';
|
import * as cron from './plugins/cron';
|
||||||
|
|
||||||
@Configuration({
|
@Configuration({
|
||||||
imports: [koa, orm, cache, flyway, validateComp, pipeline, cron],
|
imports: [koa, orm, cache, flyway, validateComp, cron],
|
||||||
importConfigs: [
|
importConfigs: [
|
||||||
{
|
{
|
||||||
default: defaultConfig,
|
default: defaultConfig,
|
||||||
|
|
Loading…
Reference in New Issue