diff --git a/README.en-US.md b/README.en-US.md index c1c4d32..7a44f58 100644 --- a/README.en-US.md +++ b/README.en-US.md @@ -30,7 +30,9 @@ Download this project, install dependencies and start the project. ```bash -$ git clone https://github.com/imgcook/imove.git +$ git clone https://github.com/ykfe/imove.git +$ cd imove +$ npm install $ npm run example ``` diff --git a/README.md b/README.md index 896ff02..036d3c5 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,6 @@ - [x] **适用于JavaScript所有场景**:比如前端点击事件,Ajax 请求和 Node.js 后端 API等 - [ ] **多语言编译**:无语言编译出码限制(例:支持 JavaScript, Java 编译出码) -在线示例 https://oyg3y.sse.codesandbox.io/ - ## 使用场景 ![usage](https://img.alicdn.com/imgextra/i1/O1CN01kRXnfQ1LFhesOA6cn_!!6000000001270-2-tps-2212-1166.png) @@ -40,7 +38,7 @@ 下载仓库,安装并启动 ```bash -$ git clone git@github.com:imgcook/imove.git +$ git clone https://github.com/ykfe/imove.git $ cd imove $ npm install $ npm run example @@ -72,6 +70,8 @@ $ npm run example * iloveyou11 - 冷卉「Core Team」 * i5ting - 狼叔「Core Team」 +团队博客,各种原理,设计初衷,实现,思考等都在这里: https://www.yuque.com/imove/blog + See also the list of [contributors](https://github.com/imgcook/imove/graphs/contributors) who participated in this project. ## 贡献 diff --git a/packages/cli/package.json b/packages/cli/package.json index f97806a..c72d0b3 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@imove/cli", - "version": "0.0.3", + "version": "0.0.5", "description": "imove client", "main": "index.js", "bin": { @@ -20,7 +20,7 @@ "author": "smallstonesk", "license": "MIT", "dependencies": { - "@imove/compile-code": "^0.0.1", + "@imove/compile-code": "^0.1.0", "body-parser": "^1.19.0", "commander": "^6.0.0", "cors": "^2.8.5", diff --git a/packages/cli/src/cmd/dev/index.js b/packages/cli/src/cmd/dev/index.js index 34e932d..6d1ea81 100644 --- a/packages/cli/src/cmd/dev/index.js +++ b/packages/cli/src/cmd/dev/index.js @@ -2,7 +2,7 @@ const path = require('path'); const fs = require('fs-extra'); const Base = require('../base'); const mergePkg = require('./mergePkg'); -const compileCode = require('@imove/compile-code'); +const { compileForProject } = require('@imove/compile-code'); const { createServer } = require('../../utils/server'); const noop = () => {}; @@ -37,7 +37,7 @@ class Dev extends Base { // compile try { const { dsl } = req.body; - const output = compileCode(dsl, plugins); + const output = compileForProject(dsl, plugins); await this.writeOutputIntoFiles(outputPath, output); await mergePkg(dsl, this.projectPath); await fs.outputFile(CACHE_DSL_FILE, JSON.stringify(dsl, null, 2)); diff --git a/packages/compile-code/package.json b/packages/compile-code/package.json index cf0bc94..e3a85bc 100644 --- a/packages/compile-code/package.json +++ b/packages/compile-code/package.json @@ -1,6 +1,6 @@ { "name": "@imove/compile-code", - "version": "0.0.1", + "version": "0.1.0", "description": "imove compile code", "main": "dist/core.common.js", "module": "dist/core.esm.js", diff --git a/packages/core/package.json b/packages/core/package.json index b99747d..3a4c4fc 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -38,7 +38,7 @@ "dependencies": { "@ant-design/icons": "^4.0.6", "@antv/x6": "^1.7.12", - "@imove/compile-code": "^0.0.1", + "@imove/compile-code": "^0.1.0", "@monaco-editor/react": "^3.7.4", "antd": "^4.5.3", "axios": "^0.21.0", diff --git a/packages/core/src/mods/header/guide/guideModal.tsx b/packages/core/src/mods/header/guide/guideModal.tsx index 373d10d..7431f65 100644 --- a/packages/core/src/mods/header/guide/guideModal.tsx +++ b/packages/core/src/mods/header/guide/guideModal.tsx @@ -314,42 +314,27 @@ const Document: React.FC = () => {
- + 2021年前端趋势预测
- + F2C能否让前端像运营配置一样开发?
- + 登上 Github 趋势榜,iMove 原理技术大揭秘!
- + iMove 基于 X6 + form-render 背后的思考
- + 所见即所得! iMove 在线执行代码探索
diff --git a/packages/core/src/mods/settingBar/components/json/index.module.less b/packages/core/src/mods/settingBar/components/json/index.module.less index 99c3b83..e6fd5e0 100644 --- a/packages/core/src/mods/settingBar/components/json/index.module.less +++ b/packages/core/src/mods/settingBar/components/json/index.module.less @@ -19,6 +19,12 @@ height:600px; overflow-y: auto; margin:0 20px; + + :global { + .fr-wrapper { + position: relative; + } + } } .configInput{ height: 600px; diff --git a/packages/json-schema-editor/package-lock.json b/packages/json-schema-editor/package-lock.json index 3882435..f192037 100644 --- a/packages/json-schema-editor/package-lock.json +++ b/packages/json-schema-editor/package-lock.json @@ -620,9 +620,9 @@ } }, "immer": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/immer/-/immer-6.0.5.tgz", - "integrity": "sha512-Q2wd90qrgFieIpLzAO2q9NLEdmyp/sr76Ml4Vm5peUKgyTa2CQa3ey8zuzwSKOlKH7grCeGBGUcLLVCVW1aguA==" + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/immer/-/immer-8.0.1.tgz", + "integrity": "sha512-aqXhGP7//Gui2+UrEtvxZxSquQVXTpZ7KDxfCcKAF3Vysvw0CViVaW9RZ1j1xlIYqaaaipBoqdqeibkc18PNvA==" }, "import-fresh": { "version": "3.2.1", diff --git a/packages/json-schema-editor/package.json b/packages/json-schema-editor/package.json index 9061f4b..ae4f5da 100644 --- a/packages/json-schema-editor/package.json +++ b/packages/json-schema-editor/package.json @@ -58,7 +58,7 @@ "gitHead": "60b114ff262513544204f33a9bbcb6220d6c1c5d", "dependencies": { "i18next": "^19.4.4", - "immer": "^6.0.5", + "immer": "^8.0.1", "lodash-es": "^4.17.15", "react-i18next": "^11.4.0", "react-tracked": "^1.3.0" diff --git a/packages/plugin-store/package.json b/packages/plugin-store/package.json index ccd5aa5..c177ad1 100644 --- a/packages/plugin-store/package.json +++ b/packages/plugin-store/package.json @@ -1,6 +1,6 @@ { "name": "@imove/plugin-store", - "version": "0.0.1", + "version": "0.0.3", "description": "iMove plugin that supports persisting data", "keywords": [ "imove",