Merge branch 'dev' of gitea.51mars.com:Oak-Team/oak-cli into dev

This commit is contained in:
Xu Chang 2024-11-08 14:51:13 +08:00
commit 6018e9895b
2 changed files with 29 additions and 0 deletions

View File

@ -296,6 +296,14 @@ export function packageJsonContent({
"crypto-browserify": {
"readable-stream": "3.6.2"
}
},
"pnpm": {
"overrides": {
"readable-stream": "3.6.2"
}
},
"resolutions": {
"readable-stream": "3.6.2"
}
}
`;

21
template/oak.config.json Normal file
View File

@ -0,0 +1,21 @@
{
"projectDir": "./",
"trigger": {
"onReturnLiteral": "warn",
"onNoAsyncFn": "error",
"onNoAwaitContext": "error"
},
"i18n": {
"onMissingKey": "error",
"onKeyBlank": "warn"
},
"oakComponent": {
"onInvalidEntity": "error",
"onInvalidIsList": "error",
"onMissingDataAttrs": "warn",
"onMissingMethods": "error"
},
"oakPath": {
"onInvalidPath": "error"
}
}