diff --git a/lib/file-handle.d.ts b/lib/file-handle.d.ts index 50447af..0413e16 100644 --- a/lib/file-handle.d.ts +++ b/lib/file-handle.d.ts @@ -1,5 +1,4 @@ /// -/// import { PathLike } from 'fs'; import { checkFileExistsAndCreateType } from './enum'; /** diff --git a/lib/template.js b/lib/template.js index fbd5489..5a02bd6 100644 --- a/lib/template.js +++ b/lib/template.js @@ -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" diff --git a/src/template.ts b/src/template.ts index 9f17735..1fa6ac3 100644 --- a/src/template.ts +++ b/src/template.ts @@ -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"