扩展三端壳生产源码门禁

将微信小程序纳入原生壳禁替身词扫描

移除小程序昵称输入的 placeholder 属性

同步三端生产壳门禁文档口径
This commit is contained in:
2026-06-18 17:58:50 +08:00
parent bc3b464349
commit 0210a445cf
6 changed files with 15 additions and 9 deletions
+8 -1
View File
@@ -6,7 +6,11 @@ import path from 'node:path';
const npmCommand = process.platform === 'win32' ? 'npm.cmd' : 'npm';
const productionShellRoots = ['apps/mobile-shell', 'apps/desktop-shell'];
const productionShellRoots = [
'apps/mobile-shell',
'apps/desktop-shell',
'miniprogram',
];
const expectedWechatHostBridgeFiles = [
'payment.js',
'payment.test.js',
@@ -71,12 +75,15 @@ const productionShellExtensions = new Set([
'.toml',
'.ts',
'.tsx',
'.wxml',
'.wxss',
]);
const productionShellExcludedSegments = new Set([
'.expo',
'.expo-export-smoke',
'node_modules',
'target',
'test-utils',
]);
const productionShellExcludedPaths = new Set([
'apps/desktop-shell/src-tauri/gen',