GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — lowcode-engine/modules/code-generator/src/standalone.ts at main · johnsky123/lowcode-engine Expand file tree/ Copy pathstandalone.tsMore file actions 103 lines (93 loc) · 2.77 KB / Copy pathstandalone.tsFile metadata and controls103 lines (93 loc) · 2.77 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 /** * 低代码引擎的出码模块,负责将编排产出的 Schema 转换成实际可执行的代码。 * 注意:为了保持 API 的稳定性, 这里所有导出的 API 均要显式命名方式导出 * (即用 export { xxx } from 'xx' 的方式,不要直接 export * from 'xxx') * 而且所有导出的 API 务必在 tests/public 中编写单元测试 */ import './polyfills/buffer'; import { createProjectBuilder } from './generator/ProjectBuilder'; import { createModuleBuilder } from './generator/ModuleBuilder'; import { createZipPublisher } from './publisher/zip'; import createIceJsProjectBuilder, { plugins as reactPlugins } from './solutions/icejs'; import createRaxAppProjectBuilder, { plugins as raxPlugins } from './solutions/rax-app'; // 引入说明 import { REACT_CHUNK_NAME } from './plugins/component/react/const'; import { COMMON_CHUNK_NAME, CLASS_DEFINE_CHUNK_NAME, DEFAULT_LINK_AFTER } from './const/generator'; // 引入通用插件组 import esmodule from './plugins/common/esmodule'; import requireUtils from './plugins/common/requireUtils'; import css from './plugins/component/style/css'; import constants from './plugins/project/constants'; import i18n from './plugins/project/i18n'; import utils from './plugins/project/utils'; import prettier from './postprocessor/prettier'; // 引入全局常用工具 import * as globalUtils from './utils'; import * as CONSTANTS from './const'; // 引入内置解决方案模块 import icejs from './plugins/project/framework/icejs'; import rax from './plugins/project/framework/rax'; export default { createProjectBuilder, createModuleBuilder, solutions: { icejs: createIceJsProjectBuilder, rax: createRaxAppProjectBuilder, }, solutionParts: { icejs, rax, }, publishers: { zip: createZipPublisher, }, plugins: { common: { /** * 处理 ES Module * @deprecated please use esModule */ esmodule, esModule: esmodule, requireUtils, }, react: { ...reactPlugins, }, rax: { ...raxPlugins, }, style: { css, }, project: { constants, i18n, utils, }, }, postprocessor: { prettier, }, utils: globalUtils, chunkNames: { COMMON_CHUNK_NAME, CLASS_DEFINE_CHUNK_NAME, REACT_CHUNK_NAME, }, defaultLinkAfter: { COMMON_DEFAULT_LINK_AFTER: DEFAULT_LINK_AFTER, }, constants: CONSTANTS, }; // 一些类型定义 export * from './types'; // 一些常量定义 export * from './const'; // 一些工具函数 export * from './analyzer/componentAnalyzer'; export * from './parser/SchemaParser'; export * from './generator/ChunkBuilder'; export * from './generator/CodeBuilder'; export * from './generator/ModuleBuilder'; export * from './generator/ProjectBuilder'; |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |