From 80628a8c516f3b03d6827eb623bcd13f7d8b4bb3 Mon Sep 17 00:00:00 2001
From: wkj <278599135@qq.com>
Date: Tue, 16 Aug 2022 12:19:26 +0800
Subject: [PATCH] =?UTF-8?q?fix=20=E6=A8=A1=E7=89=88=E5=8A=A0=E4=B8=8A=20oa?=
=?UTF-8?q?k-message?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
lib/file-handle.d.ts | 1 -
lib/template.js | 5 +++--
src/template.ts | 3 ++-
3 files changed, 5 insertions(+), 4 deletions(-)
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"