v1 1.0.6
yutent 2022-07-04 14:57:29 +08:00
parent e92e6e78b7
commit e36cc37719
4 changed files with 18 additions and 6 deletions

10
.prettierrc.yaml Normal file
View File

@ -0,0 +1,10 @@
jsxBracketSameLine: true
jsxSingleQuote: true
semi: false
singleQuote: true
printWidth: 100
useTabs: false
tabWidth: 2
trailingComma: none
bracketSpacing: true
arrowParens: avoid

View File

@ -153,7 +153,7 @@ export default class Five {
return
}
response.set('X-Powered-By', 'Five.js')
response.set('X-Powered-By', this.get('X-Powered-By') || 'Five.js')
if (fn) {
;(async function next() {

View File

@ -1,6 +1,6 @@
{
"name": "@gm5/core",
"version": "1.0.5",
"version": "1.0.6",
"type": "module",
"description": "Five.js, 一个轻量级的nodejs mvc框架 旨在简单易用, 5分钟即可上手",
"author": "yutent <yutent.io@gmail.com>",
@ -21,7 +21,9 @@
"type": "git",
"url": "https://github.com/bytedo/gmf.core.git"
},
"keywords": ["five, fivejs, node-five, five.js, nodejs, mvc, koa, express"],
"keywords": [
"five, fivejs, node-five, five.js, nodejs, mvc, koa, express"
],
"engines": {
"node": ">=10.0.0"
},