GeezerVison is showing github.com — Merge branch 'release/1.0.6' · Alvison/lowcode-engine@f0d8b85
File treeExpand file treeCollapse file tree Open diff view settings Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .eslintrc.js +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | module.exports = { | 2 | 2 | extends: 'eslint-config-ali/typescript/react', | | 3 | + parserOptions: { | | 4 | + project: [], // for lint performance | | 5 | + createDefaultProgram: false, // for lint performance | | 6 | + }, | 3 | 7 | rules: { | 4 | 8 | 'react/no-multi-comp': 0, | 5 | 9 | 'no-unused-expressions': 0, | @@ -34,5 +38,7 @@ module.exports = { | 34 | 38 | "@typescript-eslint/method-signature-style": 0, | 35 | 39 | "@typescript-eslint/consistent-type-assertions": 0, | 36 | 40 | "@typescript-eslint/no-useless-constructor": 0, | | 41 | + '@typescript-eslint/dot-notation': 0, // for lint performance | | 42 | + '@typescript-eslint/restrict-plus-operands': 0, // for lint performance | 37 | 43 | } | 38 | 44 | }; |
Collapse file Copy file name to clipboardExpand all lines: lerna.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "lerna": "4.0.0", | 3 | | - "version": "1.0.5", | | 3 | + "version": "1.0.6", | 4 | 4 | "npmClient": "yarn", | 5 | 5 | "useWorkspaces": true, | 6 | 6 | "packages": [ | |
Collapse file Copy file name to clipboardExpand all lines: packages/designer/package.json +5-5Lines changed: 5 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "@alilc/lowcode-designer", | 3 | | - "version": "1.0.5", | | 3 | + "version": "1.0.6", | 4 | 4 | "description": "Designer for Ali LowCode Engine", | 5 | 5 | "main": "lib/index.js", | 6 | 6 | "module": "es/index.js", | | 15 | 15 | }, | 16 | 16 | "license": "MIT", | 17 | 17 | "dependencies": { | 18 | | - "@alilc/lowcode-editor-core": "1.0.5", | 19 | | - "@alilc/lowcode-shell": "1.0.5", | 20 | | - "@alilc/lowcode-types": "1.0.5", | 21 | | - "@alilc/lowcode-utils": "1.0.5", | | 18 | + "@alilc/lowcode-editor-core": "1.0.6", | | 19 | + "@alilc/lowcode-shell": "1.0.6", | | 20 | + "@alilc/lowcode-types": "1.0.6", | | 21 | + "@alilc/lowcode-utils": "1.0.6", | 22 | 22 | "classnames": "^2.2.6", | 23 | 23 | "enzyme": "^3.11.0", | 24 | 24 | "enzyme-adapter-react-16": "^1.15.5", | |
Collapse file Copy file name to clipboardExpand all lines: packages/designer/src/project/project.ts +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -52,7 +52,7 @@ export class Project { | 52 | 52 | /** | 53 | 53 | * 获取项目整体 schema | 54 | 54 | */ | 55 | | - getSchema(stage: TransformStage = TransformStage.Render): ProjectSchema { | | 55 | + getSchema(stage: TransformStage = TransformStage.Save): ProjectSchema { | 56 | 56 | return { | 57 | 57 | ...this.data, | 58 | 58 | // TODO: future change this filter | |
Collapse file Copy file name to clipboardExpand all lines: packages/editor-core/package.json +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "@alilc/lowcode-editor-core", | 3 | | - "version": "1.0.5", | | 3 | + "version": "1.0.6", | 4 | 4 | "description": "Core Api for Ali lowCode engine", | 5 | 5 | "license": "MIT", | 6 | 6 | "main": "lib/index.js", | | 14 | 14 | }, | 15 | 15 | "dependencies": { | 16 | 16 | "@alifd/next": "^1.19.16", | 17 | | - "@alilc/lowcode-types": "1.0.5", | 18 | | - "@alilc/lowcode-utils": "1.0.5", | | 17 | + "@alilc/lowcode-types": "1.0.6", | | 18 | + "@alilc/lowcode-utils": "1.0.6", | 19 | 19 | "classnames": "^2.2.6", | 20 | 20 | "debug": "^4.1.1", | 21 | 21 | "intl-messageformat": "^9.3.1", | |
Collapse file Copy file name to clipboardExpand all lines: packages/editor-skeleton/package.json +5-5Lines changed: 5 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "@alilc/lowcode-editor-skeleton", | 3 | | - "version": "1.0.5", | | 3 | + "version": "1.0.6", | 4 | 4 | "description": "alibaba lowcode editor skeleton", | 5 | 5 | "main": "lib/index.js", | 6 | 6 | "module": "es/index.js", | | 18 | 18 | ], | 19 | 19 | "dependencies": { | 20 | 20 | "@alifd/next": "^1.20.12", | 21 | | - "@alilc/lowcode-designer": "1.0.5", | 22 | | - "@alilc/lowcode-editor-core": "1.0.5", | 23 | | - "@alilc/lowcode-types": "1.0.5", | 24 | | - "@alilc/lowcode-utils": "1.0.5", | | 21 | + "@alilc/lowcode-designer": "1.0.6", | | 22 | + "@alilc/lowcode-editor-core": "1.0.6", | | 23 | + "@alilc/lowcode-types": "1.0.6", | | 24 | + "@alilc/lowcode-utils": "1.0.6", | 25 | 25 | "classnames": "^2.2.6", | 26 | 26 | "react": "^16.8.1", | 27 | 27 | "react-dom": "^16.8.1" | |
Collapse file Copy file name to clipboardExpand all lines: packages/editor-skeleton/src/layouts/workbench.less +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -314,6 +314,7 @@ body { | 314 | 314 | display: none; | 315 | 315 | flex-shrink: 0; | 316 | 316 | position: relative; | | 317 | + z-index: 820; | 317 | 318 | &.lc-area-visible { | 318 | 319 | display: block; | 319 | 320 | } | |
Collapse file Copy file name to clipboardExpand all lines: packages/engine/build.plugin.js +14-4Lines changed: 14 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +const { execSync } = require('child_process'); | 1 | 2 | const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin'); | 2 | | -const fse = require('fs-extra'); | 3 | | -// read from lerna | 4 | | -const lernaConfig = JSON.parse(fse.readFileSync('../../lerna.json', 'utf8')); | 5 | | -const { version } = lernaConfig; | | 3 | + | | 4 | +function getReleaseVersion() { | | 5 | + const gitBranchName = execSync('git rev-parse --abbrev-ref HEAD', { encoding: 'utf-8' }); | | 6 | + const reBranchVersion = /^(?:[\w-]+\/)(\d+\.\d+\.\d+)$/im; | | 7 | + const match = reBranchVersion.exec(gitBranchName); | | 8 | + if (!match) { | | 9 | + throw new Error(`[engine] gitBranchName: ${gitBranchName} is not valid`); | | 10 | + } | | 11 | + | | 12 | + return match[1]; | | 13 | +} | | 14 | + | | 15 | +const version = getReleaseVersion(); | 6 | 16 |
| 7 | 17 | module.exports = ({ context, onGetWebpackConfig }) => { | 8 | 18 | onGetWebpackConfig((config) => { | |
Collapse file Copy file name to clipboardExpand all lines: packages/engine/package.json +8-8Lines changed: 8 additions & 8 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "@alilc/lowcode-engine", | 3 | | - "version": "1.0.5", | | 3 | + "version": "1.0.6", | 4 | 4 | "description": "An enterprise-class low-code technology stack with scale-out design / 一套面向扩展设计的企业级低代码技术体系", | 5 | 5 | "main": "lib/engine-core.js", | 6 | 6 | "module": "es/engine-core.js", | | 19 | 19 | "license": "MIT", | 20 | 20 | "dependencies": { | 21 | 21 | "@alifd/next": "^1.19.12", | 22 | | - "@alilc/lowcode-designer": "1.0.5", | 23 | | - "@alilc/lowcode-editor-core": "1.0.5", | 24 | | - "@alilc/lowcode-editor-skeleton": "1.0.5", | | 22 | + "@alilc/lowcode-designer": "1.0.6", | | 23 | + "@alilc/lowcode-editor-core": "1.0.6", | | 24 | + "@alilc/lowcode-editor-skeleton": "1.0.6", | 25 | 25 | "@alilc/lowcode-engine-ext": "^1.0.0", | 26 | | - "@alilc/lowcode-plugin-designer": "1.0.5", | 27 | | - "@alilc/lowcode-plugin-outline-pane": "1.0.5", | 28 | | - "@alilc/lowcode-shell": "1.0.5", | 29 | | - "@alilc/lowcode-utils": "1.0.5", | | 26 | + "@alilc/lowcode-plugin-designer": "1.0.6", | | 27 | + "@alilc/lowcode-plugin-outline-pane": "1.0.6", | | 28 | + "@alilc/lowcode-shell": "1.0.6", | | 29 | + "@alilc/lowcode-utils": "1.0.6", | 30 | 30 | "react": "^16.8.1", | 31 | 31 | "react-dom": "^16.8.1" | 32 | 32 | }, | |
Collapse file Copy file name to clipboardExpand all lines: packages/engine/scripts/version.js -27Lines changed: 0 additions & 27 deletions
|