@lark-apaas/fullstack-presets 1.1.5-alpha.2 → 1.1.5-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,7 +36,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36
36
|
const path = __importStar(require("path"));
|
|
37
37
|
const DEFAULT_MESSAGE = 'Missing platform component AppContainer. Please ensure that App is wrapped with AppContainer to enable platform features.';
|
|
38
38
|
// 必须包含 AppContainer 的文件列表
|
|
39
|
-
|
|
39
|
+
// TODO: 后续放开 index.tsx 的校验
|
|
40
|
+
const REQUIRED_FILES = ['app.tsx'];
|
|
40
41
|
// 匹配 client/src/ 目录的正则表达式
|
|
41
42
|
const CLIENT_SRC_PATTERN = /[/\\]client[/\\]src[/\\]$/;
|
|
42
43
|
const rule = {
|