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 = () => {