fix 模版加上 oak-message

This commit is contained in:
Wang Kejun 2022-08-16 12:19:26 +08:00
parent a91ed357f5
commit 80628a8c51
3 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,4 @@
/// <reference types="node" />
/// <reference types="node" />
import { PathLike } from 'fs';
import { checkFileExistsAndCreateType } from './enum';
/**

View File

@ -36,7 +36,7 @@ function packageJsonContent({ name, version, description, cliversion, cliname, i
"build": "tsc",
"server:init": "cross-env NODE_ENV=development; cross-env OAK_PLATFORM=server ts-node scripts/initServer.ts",
"server:start": "cross-env NODE_ENV=development; cross-env OAK_PLATFORM=server ts-node scripts/startServer.ts",
"postinstall": "${cliname} make"
"postinstall": "npm run make:domain"
},
"keywords": [],
"author": "",
@ -407,7 +407,8 @@ function appJsonContentWithWeChatMp(isDev) {
"enablePullDownRefresh": true
},
"usingComponents": {
"message": "components/message/index"
"oak-message": "@oak-general-business/components/message/index",
"oak-debugPanel": "@oak-general-business/components/func/debugPanel/index"
},
"style": "v2",
"sitemapLocation": "sitemap.json"

View File

@ -418,7 +418,8 @@ export function appJsonContentWithWeChatMp(isDev: boolean) {
"enablePullDownRefresh": true
},
"usingComponents": {
"message": "components/message/index"
"oak-message": "@oak-general-business/components/message/index",
"oak-debugPanel": "@oak-general-business/components/func/debugPanel/index"
},
"style": "v2",
"sitemapLocation": "sitemap.json"