rongbin.arb 3853302678 Merge branch hotfix/code-generator-initial-state into release/1.0.0
Title: fix: 🐛 schema 中没有 state 的定义, 出码后的 Rax/React 组件应有个默认的空的 state 

即使 schema 中没有 state 的定义,根据 React 和 Rax 的 class 组件的规范,也应该有一个空的 state 的 -- 否则在访问数据源, this.state.xxx 或 this.setState 等相关的一些 API 的时候会报错的。

Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/4083908
2020-11-12 22:55:11 +08:00
2020-09-15 19:06:35 +08:00
2020-05-18 16:13:38 +08:00
2020-03-30 04:11:05 +08:00
2020-09-19 23:26:15 +08:00
2020-09-15 19:06:35 +08:00
2020-09-15 19:06:35 +08:00
2020-09-19 23:26:15 +08:00
2020-09-15 19:06:35 +08:00
2020-11-07 19:15:22 +08:00
2020-09-15 19:06:35 +08:00
2020-09-15 19:06:35 +08:00
2020-09-15 19:06:35 +08:00
2020-03-28 22:43:19 +08:00
2020-09-15 19:06:35 +08:00
2020-03-30 15:06:03 +08:00
2020-03-28 03:46:34 +08:00
2020-11-10 21:02:11 +08:00
2020-09-15 19:06:35 +08:00
2020-09-09 19:15:50 +08:00
2020-09-15 19:06:35 +08:00

Ali Lowcode Engine阿里低代码引擎

开发

创建新包

  • ./scripts/create.sh <package-name>

运行示例

  • npm run setup
  • npm start

开发提交

  • git add <your-files>
  • git commit -a "feat: xxx"

发布

  • npm run pub

注意

  • packages 工程里一些开发时公共依赖(比如:typescriptava 等)会放到工程顶层
  • 工程里的 .mdtest/ 等文件修改不会产生新的发布
  • 当工程里存在多个 ts 文件的目录时,最终产生的文件会按文件夹形式放到 lib

包权限管理

  • npm owner ls @ali/<pkg> --registry http://registry.npm.alibaba-inc.com
  • npm owner add <user> @ali/<pkg> --registry http://registry.npm.alibaba-inc.com
  • npm owner rm <user> @ali/<pkg> --registry http://registry.npm.alibaba-inc.com
Description
An enterprise-class low-code technology stack with scale-out design / 一套面向扩展设计的企业级低代码技术体系
Readme MIT 55 MiB
Languages
TypeScript 94.7%
Less 2.8%
JavaScript 1.9%
HTML 0.4%
Shell 0.1%