Merge branch 'release'

This commit is contained in:
Xu Chang 2024-03-06 22:24:38 +08:00
commit ac0067d92d
3 changed files with 3 additions and 3 deletions

View File

@ -161,7 +161,7 @@ function judgeUseOakRouterBuilder(statements) {
}
function outputInWebAppDir(appDir) {
const routerFileName = (0, path_1.join)(appDir, 'router', 'allRouters.ts');
const templateFileName = (0, path_1.join)(appDir, 'router', 'allRouterTemplate.ts');
const templateFileName = (0, path_1.join)(appDir, 'router', 'allRoutersTemplate.ts');
if ((0, fs_extra_1.existsSync)(templateFileName)) {
const program = ts.createProgram([templateFileName], {
removeComments: false,

View File

@ -1,6 +1,6 @@
{
"name": "oak-domain",
"version": "4.2.5",
"version": "4.2.6",
"author": {
"name": "XuChang"
},

View File

@ -352,7 +352,7 @@ function judgeUseOakRouterBuilder(statements: ts.NodeArray<ts.Statement>) {
function outputInWebAppDir(appDir: string) {
const routerFileName = join(appDir, 'router', 'allRouters.ts');
const templateFileName = join(appDir, 'router', 'allRouterTemplate.ts');
const templateFileName = join(appDir, 'router', 'allRoutersTemplate.ts');
if (existsSync(templateFileName)) {
const program = ts.createProgram([templateFileName], {
removeComments: false,