Comparing version 2.0.0 to 2.1.0
@@ -72,4 +72,10 @@ "use strict"; | ||
}, | ||
AstroboyFnLoader: { | ||
priority: 60, | ||
options: { | ||
pattern: `/app/fns/**/*.${SUPPORT_EXT}`, | ||
}, | ||
}, | ||
}; | ||
module.exports = defaultLoaderConfig; | ||
//# sourceMappingURL=loader.default.js.map |
@@ -57,2 +57,3 @@ import { PathIgnoreOptions } from './core'; | ||
AstroboyVersionFileLoader: IPriorityOptions; | ||
AstroboyFnLoader: IPriorityOptions; | ||
} | ||
@@ -59,0 +60,0 @@ /** |
@@ -54,2 +54,3 @@ import Koa from 'koa'; | ||
pkg: PureObject<any>; | ||
fns: PureObject<Function>; | ||
} | ||
@@ -56,0 +57,0 @@ export declare type MiddlewareFactory<OPTS extends any = any, APP extends IBaseApplication = IBaseApplication> = (options: OPTS, app: APP) => (ctx: any, next: () => Promise<any>) => Promise<any>; |
{ | ||
"name": "astroboy", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Astroboy(阿童木)is a Nodejs SFB(Separation of Front and Back ends) framework, built on koa2.", | ||
@@ -8,2 +8,3 @@ "main": "index.js", | ||
"scripts": { | ||
"watch": "TS_PROJECT=tsconfig.dev.json ts-node scripts/watch.ts", | ||
"release": "sh release.sh", | ||
@@ -44,4 +45,7 @@ "docs:deploy": "sh deploy.sh", | ||
"@types/koa": "^2.0.46", | ||
"chokidar": "^3.1.0", | ||
"ts-node": "^7.0.1", | ||
"typescript": "^3.6.3", | ||
"vuepress": "^1.0.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
145584
174
2755
5
34