Compare commits

...

7 Commits

Author SHA1 Message Date
JackLian
34709f4c1f chore(release): publish 1.0.18-beta.4 2022-12-09 15:18:19 +08:00
JackLian
4ae4d312a7 docs: add faqs 2022-12-09 15:10:42 +08:00
JackLian
b2be450e0f chore: upgrade dep versions 2022-12-09 15:10:42 +08:00
JackLian
c85e561b5e fix: plugin context, enhancePluginContextHook not working 2022-12-09 15:10:41 +08:00
liujuping
62178eea50 chore(release): publish 1.0.18-beta.3 2022-12-08 17:53:40 +08:00
liujuping
5af13213d6 chore(release): publish 1.0.18-beta.2 2022-12-08 17:51:25 +08:00
liujuping
d55838893d chore(release): publish 1.0.18-beta.0 2022-12-08 17:49:03 +08:00
23 changed files with 122 additions and 84 deletions

18
docs/docs/faq/faq021.md Normal file
View File

@ -0,0 +1,18 @@
---
title: 提交 PR 时,明明签署过 CLA仍被提示需要签署
sidebar_position: 21
tags: [FAQ]
---
## 问题原因
原因是git commit 时,本地 git config 配置的 email 与 github 账号的 email 不一致,导致未被识别出来,检查方式
```bash
git config user.email
```
## 解决办法
如何配置,可参考 [is-it-possible-to-have-different-git-configuration-for-different-projects](https://stackoverflow.com/questions/8801729/is-it-possible-to-have-different-git-configuration-for-different-projects)
配置好正确的 email 之后,已提交的代码需要以新的配置重新提交才可生效。

18
docs/docs/faq/faq022.md Normal file
View File

@ -0,0 +1,18 @@
---
title: 节点无法拖拽到 Page 下
sidebar_position: 22
tags: [FAQ]
---
查看 Page 节点的 childWhitelist 配置,如果 Page 配置了 childWhitelist且当前节点不在白名单下是无法拖拽的。
```typescript
AliLowCodeEngine.material.getComponentMeta('Page').getMetadata().configure.component.nestingRule.childWhitelist
```
比如在 [demo](https://lowcode-engine.cn/demo/demo-general/index.html) 中 Page 组件的 childWhitelist 为:['NextPage', 'ProDialog', 'Dialog', 'Drawer'],则只有这些组件可以拖拽到 Page 的 children 下,其他组件均不可以。
说明1.0.15 之前 Page 组件的 childWhitelist 限制是失效的,在 1.0.16 版本进行了 bug 修复。
### 解决办法
**方法 1直接修改 Page 组件的 childWhitelist比如删除**。
**方法 2通过 **[**material.registerMetadataTransducer**](/site/docs/api/material#registermetadatatransducer)** 修改 Page 组件的 childWhitelist适用于 Page 组件是其他人维护的)**

View File

@ -1,5 +1,5 @@
---
title: 官网文档协作流程
title: 参与文档贡献
sidebar_position: 3
---
@ -10,7 +10,7 @@ sidebar_position: 3
- 官方文档通过 github 管理文档源,官网文档与[主仓库 develop 分支](https://github.com/alibaba/lowcode-engine/tree/develop/docs)保持同步。
- 点击每篇文档下发的 `编辑此页` 可直接定位到 github 中位置。
- 欢迎 PR文档 PR 也会作为贡献者贡献,会用于贡献度统计。
- 文档同步到官方网站由官方人员进行操作,如有需要可以通过 issue 或 贡献者群与相关人员沟通。
- **文档同步到官方网站由官方人员进行操作**,如有需要可以通过 issue 或 贡献者群与相关人员沟通。
- 为了提供更好的阅读和使用体验,文档中的图片文件会定期转换成可信的 CDN 地址。
### PR 提交注意事项

View File

@ -22,9 +22,10 @@ sidebar_position: 0
3. 如果你修复了 bug 或者添加了代码,而这些内容需要测试,请添加测试!
4. 确保通过测试套件yarn test
5. 请签订贡献者许可证协议Contributor License Agreement
> 如已签署 CLA 仍被提示需要签署,[解决办法](/site/docs/faq/faq021)
### 核心贡献者交流
如果你想长期参与到项目维护中,我们提供了一个核心贡献者交流群。
1. 可以通过[填写问卷](https://survey.taobao.com/apps/zhiliao/4YEtu9gHF)的方式,参与到其中。
2. 填写问卷后加微信号 `wxidvlalalalal` 说明一下
2. 填写问卷后加微信号 `wxidvlalalalal` 说明一下

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-engine-docs",
"version": "1.0.6",
"version": "1.0.7",
"description": "低代码引擎版本化文档",
"license": "MIT",
"files": [

View File

@ -1,6 +1,6 @@
{
"lerna": "4.0.0",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [

View File

@ -59,6 +59,8 @@
"lockfile": "enable"
},
"resolutions": {
"@builder/babel-preset-ice": "1.0.1"
}
"@builder/babel-preset-ice": "1.0.1",
"typescript": "4.6.2"
},
"repository": "git@github.com:alibaba/lowcode-engine.git"
}

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-designer",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "Designer for Ali LowCode Engine",
"main": "lib/index.js",
"module": "es/index.js",
@ -15,9 +15,9 @@
},
"license": "MIT",
"dependencies": {
"@alilc/lowcode-editor-core": "1.0.17",
"@alilc/lowcode-types": "1.0.17",
"@alilc/lowcode-utils": "1.0.17",
"@alilc/lowcode-editor-core": "1.0.18-beta.4",
"@alilc/lowcode-types": "1.0.18-beta.4",
"@alilc/lowcode-utils": "1.0.18-beta.4",
"classnames": "^2.2.6",
"react": "^16",
"react-dom": "^16.7.0",
@ -27,10 +27,12 @@
},
"devDependencies": {
"@alib/build-scripts": "^0.1.29",
"@alilc/lowcode-shell": "1.0.17",
"@alilc/lowcode-shell": "1.0.18-beta.4",
"@alilc/lowcode-test-mate": "^1.0.1",
"@testing-library/react": "^11.2.2",
"@types/classnames": "^2.2.7",
"@types/enzyme": "^3.10.12",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^26.0.16",
"@types/lodash": "^4.14.165",
"@types/medium-editor": "^5.0.3",
@ -39,12 +41,10 @@
"@types/react-dom": "^16",
"@types/semver": "7.3.9",
"babel-jest": "^26.5.2",
"build-plugin-component": "^0.2.10",
"build-scripts-config": "^0.1.8",
"build-plugin-component": "^1.0.0",
"build-scripts-config": "^3.0.3",
"enzyme": "^3.11.0",
"@types/enzyme": "^3.10.12",
"enzyme-adapter-react-16": "^1.15.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"jest": "^26.6.3",
"lodash": "^4.17.20",
"moment": "^2.29.1",

View File

@ -41,6 +41,7 @@ export default class PluginContext implements ILowCodePluginContext, ILowCodePlu
options: IPluginContextOptions,
contextApiAssembler: ILowCodePluginContextApiAssembler,
) {
contextApiAssembler.assembleApis(this);
this.plugins = plugins;
const { pluginName = 'anonymous' } = options;
this.logger = getLogger({ level: 'warn', bizName: `designer:plugin:${pluginName}` });
@ -49,8 +50,6 @@ export default class PluginContext implements ILowCodePluginContext, ILowCodePlu
if (enhancePluginContextHook) {
enhancePluginContextHook(this);
}
contextApiAssembler.assembleApis(this);
}
setPreference(

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-editor-core",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "Core Api for Ali lowCode engine",
"license": "MIT",
"main": "lib/index.js",
@ -14,8 +14,8 @@
},
"dependencies": {
"@alifd/next": "^1.19.16",
"@alilc/lowcode-types": "1.0.17",
"@alilc/lowcode-utils": "1.0.17",
"@alilc/lowcode-types": "1.0.18-beta.4",
"@alilc/lowcode-utils": "1.0.18-beta.4",
"classnames": "^2.2.6",
"debug": "^4.1.1",
"intl-messageformat": "^9.3.1",
@ -37,7 +37,7 @@
"@types/react": "^16",
"@types/react-dom": "^16",
"@types/store": "^2.0.2",
"build-plugin-component": "^0.2.11",
"build-plugin-component": "^1.0.0",
"build-plugin-fusion": "^0.1.0",
"build-plugin-moment-locales": "^0.1.0"
},

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-editor-skeleton",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "alibaba lowcode editor skeleton",
"main": "lib/index.js",
"module": "es/index.js",
@ -18,10 +18,10 @@
],
"dependencies": {
"@alifd/next": "^1.20.12",
"@alilc/lowcode-designer": "1.0.17",
"@alilc/lowcode-editor-core": "1.0.17",
"@alilc/lowcode-types": "1.0.17",
"@alilc/lowcode-utils": "1.0.17",
"@alilc/lowcode-designer": "1.0.18-beta.4",
"@alilc/lowcode-editor-core": "1.0.18-beta.4",
"@alilc/lowcode-types": "1.0.18-beta.4",
"@alilc/lowcode-utils": "1.0.18-beta.4",
"classnames": "^2.2.6",
"react": "^16.8.1",
"react-dom": "^16.8.1"
@ -30,7 +30,7 @@
"@alib/build-scripts": "^0.1.3",
"@types/react": "^16.9.13",
"@types/react-dom": "^16.9.4",
"build-plugin-component": "^0.2.7",
"build-plugin-component": "^1.0.0",
"build-plugin-fusion": "^0.1.0",
"build-plugin-moment-locales": "^0.1.0"
},

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-engine",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "An enterprise-class low-code technology stack with scale-out design / 一套面向扩展设计的企业级低代码技术体系",
"main": "lib/engine-core.js",
"module": "es/engine-core.js",
@ -19,14 +19,14 @@
"license": "MIT",
"dependencies": {
"@alifd/next": "^1.19.12",
"@alilc/lowcode-designer": "1.0.17",
"@alilc/lowcode-editor-core": "1.0.17",
"@alilc/lowcode-editor-skeleton": "1.0.17",
"@alilc/lowcode-designer": "1.0.18-beta.4",
"@alilc/lowcode-editor-core": "1.0.18-beta.4",
"@alilc/lowcode-editor-skeleton": "1.0.18-beta.4",
"@alilc/lowcode-engine-ext": "^1.0.0",
"@alilc/lowcode-plugin-designer": "1.0.17",
"@alilc/lowcode-plugin-outline-pane": "1.0.17",
"@alilc/lowcode-shell": "1.0.17",
"@alilc/lowcode-utils": "1.0.17",
"@alilc/lowcode-plugin-designer": "1.0.18-beta.4",
"@alilc/lowcode-plugin-outline-pane": "1.0.18-beta.4",
"@alilc/lowcode-shell": "1.0.18-beta.4",
"@alilc/lowcode-utils": "1.0.18-beta.4",
"react": "^16.8.1",
"react-dom": "^16.8.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-ignitor",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "点火器bootstrap lce project",
"main": "lib/index.js",
"private": true,

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-plugin-designer",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "alibaba lowcode editor designer plugin",
"files": [
"es",
@ -18,9 +18,9 @@
],
"author": "xiayang.xy",
"dependencies": {
"@alilc/lowcode-designer": "1.0.17",
"@alilc/lowcode-editor-core": "1.0.17",
"@alilc/lowcode-utils": "1.0.17",
"@alilc/lowcode-designer": "1.0.18-beta.4",
"@alilc/lowcode-editor-core": "1.0.18-beta.4",
"@alilc/lowcode-utils": "1.0.18-beta.4",
"react": "^16.8.1",
"react-dom": "^16.8.1"
},
@ -28,7 +28,7 @@
"@alib/build-scripts": "^0.1.3",
"@types/react": "^16.9.13",
"@types/react-dom": "^16.9.4",
"build-plugin-component": "^0.2.7"
"build-plugin-component": "^1.0.0"
},
"publishConfig": {
"access": "public",

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-plugin-outline-pane",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "Outline pane for Ali lowCode engine",
"files": [
"es",
@ -13,10 +13,10 @@
},
"dependencies": {
"@alifd/next": "^1.19.16",
"@alilc/lowcode-designer": "1.0.17",
"@alilc/lowcode-editor-core": "1.0.17",
"@alilc/lowcode-types": "1.0.17",
"@alilc/lowcode-utils": "1.0.17",
"@alilc/lowcode-designer": "1.0.18-beta.4",
"@alilc/lowcode-editor-core": "1.0.18-beta.4",
"@alilc/lowcode-types": "1.0.18-beta.4",
"@alilc/lowcode-utils": "1.0.18-beta.4",
"classnames": "^2.2.6",
"react": "^16",
"react-dom": "^16.7.0",
@ -28,7 +28,7 @@
"@types/node": "^13.7.1",
"@types/react": "^16",
"@types/react-dom": "^16",
"build-plugin-component": "^0.2.10",
"build-plugin-component": "^1.0.0",
"build-plugin-fusion": "^0.1.1",
"build-plugin-moment-locales": "^0.1.0"
},

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-rax-renderer",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "Rax renderer for Ali lowCode engine",
"main": "lib/index.js",
"module": "es/index.js",
@ -30,8 +30,8 @@
"build": "build-scripts build"
},
"dependencies": {
"@alilc/lowcode-renderer-core": "1.0.17",
"@alilc/lowcode-utils": "1.0.17",
"@alilc/lowcode-renderer-core": "1.0.18-beta.4",
"@alilc/lowcode-utils": "1.0.18-beta.4",
"rax-find-dom-node": "^1.0.1"
},
"devDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-rax-simulator-renderer",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "rax simulator renderer for alibaba lowcode designer",
"main": "lib/index.js",
"module": "es/index.js",
@ -13,10 +13,10 @@
"build:umd": "build-scripts build --config build.umd.json"
},
"dependencies": {
"@alilc/lowcode-designer": "1.0.17",
"@alilc/lowcode-rax-renderer": "1.0.17",
"@alilc/lowcode-types": "1.0.17",
"@alilc/lowcode-utils": "1.0.17",
"@alilc/lowcode-designer": "1.0.18-beta.4",
"@alilc/lowcode-rax-renderer": "1.0.18-beta.4",
"@alilc/lowcode-types": "1.0.18-beta.4",
"@alilc/lowcode-utils": "1.0.18-beta.4",
"classnames": "^2.2.6",
"driver-universal": "^3.1.3",
"history": "^5.0.0",
@ -36,7 +36,7 @@
"@types/rax": "^1.0.0",
"@types/react": "^16",
"@types/react-dom": "^16",
"build-plugin-component": "^0.2.11",
"build-plugin-component": "^1.0.0",
"build-plugin-rax-component": "^0.2.11"
},
"peerDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-react-renderer",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "react renderer for ali lowcode engine",
"main": "lib/index.js",
"module": "es/index.js",
@ -22,12 +22,12 @@
],
"dependencies": {
"@alifd/next": "^1.21.16",
"@alilc/lowcode-renderer-core": "1.0.17"
"@alilc/lowcode-renderer-core": "1.0.18-beta.4"
},
"devDependencies": {
"@alib/build-scripts": "^0.1.18",
"@alifd/next": "^1.19.17",
"build-plugin-component": "^0.2.10",
"build-plugin-component": "^1.0.0",
"build-plugin-fusion": "^0.1.0",
"build-plugin-moment-locales": "^0.1.0",
"react": "^16.4.1",

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-react-simulator-renderer",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "react simulator renderer for alibaba lowcode designer",
"main": "lib/index.js",
"module": "es/index.js",
@ -17,10 +17,10 @@
"test:cov": "build-scripts test --config build.test.json --jest-coverage"
},
"dependencies": {
"@alilc/lowcode-designer": "1.0.17",
"@alilc/lowcode-react-renderer": "1.0.17",
"@alilc/lowcode-types": "1.0.17",
"@alilc/lowcode-utils": "1.0.17",
"@alilc/lowcode-designer": "1.0.18-beta.4",
"@alilc/lowcode-react-renderer": "1.0.18-beta.4",
"@alilc/lowcode-types": "1.0.18-beta.4",
"@alilc/lowcode-utils": "1.0.18-beta.4",
"classnames": "^2.2.6",
"mobx": "^6.3.0",
"mobx-react": "^7.2.0",
@ -34,7 +34,7 @@
"@types/react": "^16",
"@types/react-dom": "^16",
"@types/react-router": "5.1.18",
"build-plugin-component": "^0.2.11"
"build-plugin-component": "^1.0.0"
},
"publishConfig": {
"access": "public",

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-renderer-core",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "renderer core",
"license": "MIT",
"main": "lib/index.js",
@ -16,8 +16,8 @@
},
"dependencies": {
"@alilc/lowcode-datasource-engine": "^1.0.0",
"@alilc/lowcode-types": "1.0.17",
"@alilc/lowcode-utils": "1.0.17",
"@alilc/lowcode-types": "1.0.18-beta.4",
"@alilc/lowcode-utils": "1.0.18-beta.4",
"classnames": "^2.2.6",
"debug": "^4.1.1",
"fetch-jsonp": "^1.1.3",
@ -33,7 +33,7 @@
"devDependencies": {
"@alib/build-scripts": "^0.1.18",
"@alifd/next": "^1.26.0",
"@alilc/lowcode-designer": "1.0.17",
"@alilc/lowcode-designer": "1.0.18-beta.4",
"@alilc/lowcode-test-mate": "^1.0.1",
"@babel/plugin-transform-typescript": "^7.16.8",
"@testing-library/react": "^11.2.2",
@ -46,7 +46,7 @@
"@types/react-is": "^17.0.3",
"@types/react-test-renderer": "^17.0.1",
"babel-jest": "^26.5.2",
"build-plugin-component": "^0.2.11",
"build-plugin-component": "^1.0.0",
"jest": "^26.6.3",
"react-test-renderer": "^17.0.2",
"ts-jest": "^26.5.0"

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-shell",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "Shell Layer for AliLowCodeEngine",
"main": "lib/index.js",
"module": "es/index.js",
@ -15,11 +15,11 @@
},
"license": "MIT",
"dependencies": {
"@alilc/lowcode-designer": "1.0.17",
"@alilc/lowcode-editor-core": "1.0.17",
"@alilc/lowcode-editor-skeleton": "1.0.17",
"@alilc/lowcode-types": "1.0.17",
"@alilc/lowcode-utils": "1.0.17",
"@alilc/lowcode-designer": "1.0.18-beta.4",
"@alilc/lowcode-editor-core": "1.0.18-beta.4",
"@alilc/lowcode-editor-skeleton": "1.0.18-beta.4",
"@alilc/lowcode-types": "1.0.18-beta.4",
"@alilc/lowcode-utils": "1.0.18-beta.4",
"classnames": "^2.2.6",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
@ -39,8 +39,8 @@
"@types/react": "^16",
"@types/react-dom": "^16",
"babel-jest": "^26.5.2",
"build-plugin-component": "^0.2.10",
"build-scripts-config": "^0.1.8",
"build-plugin-component": "^1.0.0",
"build-scripts-config": "^3.0.3",
"jest": "^26.6.3",
"lodash": "^4.17.20",
"moment": "^2.29.1",

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-types",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "Types for Ali lowCode engine",
"files": [
"es",
@ -20,7 +20,7 @@
"@alib/build-scripts": "^0.1.18",
"@types/node": "^13.7.1",
"@types/react": "^16",
"build-plugin-component": "^0.2.10"
"build-plugin-component": "^1.0.0"
},
"publishConfig": {
"access": "public",

View File

@ -1,6 +1,6 @@
{
"name": "@alilc/lowcode-utils",
"version": "1.0.17",
"version": "1.0.18-beta.4",
"description": "Utils for Ali lowCode engine",
"files": [
"lib",
@ -14,7 +14,7 @@
},
"dependencies": {
"@alifd/next": "^1.19.16",
"@alilc/lowcode-types": "1.0.17",
"@alilc/lowcode-types": "1.0.18-beta.4",
"lodash": "^4.17.21",
"mobx": "^6.3.0",
"react": "^16",
@ -24,7 +24,7 @@
"@alib/build-scripts": "^0.1.18",
"@types/node": "^13.7.1",
"@types/react": "^16",
"build-plugin-component": "^0.2.10"
"build-plugin-component": "^1.0.0"
},
"publishConfig": {
"access": "public",