私有api整改---【动态接口】dynamic component Created-by: pengzhiwen3 Commit-by: pengzhiwen3 Merged-by: ohci1 Description: ### 一、内容说明(相关的Issue) https://gitcode.com/openharmony/developtools_ace-ets2bundle/issues/9 ### 二、建议测试周期和提测地址 建议测试完成时间:xxxx.xx.xx 投产上线时间:xxxx.xx.xx 提测地址:CI环境/压测环境 测试账号: ### 三、变更内容 * 3.1 关联PR列表 * 3.2 数据库和部署说明 1. 常规更新 2. 重启unicorn 3. 重启sidekiq 4. 迁移任务:是否有迁移任务,没有写 "无" 5. rake脚本:`bundle exec xxx RAILS_ENV = production`;没有写 "无" * 3.4 其他技术优化内容(做了什么,变更了什么) - 重构了 xxxx 代码 - xxxx 算法优化 * 3.5 废弃通知(什么字段、方法弃用?) * 3.6 后向不兼容变更(是否有无法向后兼容的变更?) ### 四、研发自测点(自测哪些?冒烟用例全部自测?) 自测测试结论: ### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方) 检查点: | 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 | |------|------------|----------|---------------| | xxx | 否 | 需要 | 不需要 | | | | | | 接口测试: 性能测试: 并发测试: 其他: See merge request: openharmony/developtools_ace-ets2bundle!14
developtools_ace_ets2bundle
Description
Provide declarative paradigm syntax compilation conversion, syntax verification, rich and friendly syntax error prompting capabilities.
Software Architecture
- compiler/src: source code
- test: unit test file
- .eslintrc: eslint configure
- babel.config.js: babel configure
- main.js: source code
- package.json: define what libraries will be installed into node_modules when you run
npm install - tsconfig.json: the compiler options required to compile the project
- webpack.config.js: webpack configuration information
Prerequisites
> npm -v
6.14.8
> node -v
v12.18.3
Please install the latest stable version.
Installing
Enter the root directory of the compiler:
npm config set registry http://registry.npm.taobao.org
npm config set strict-ssl false
npm cache clean -f
npm install
Quick Start
Enter the root directory of the compiler:
npm run build
npm run compile
The sample project will be compiled. The output is in the sample/build directory.
Creating a Project
Enter the root directory of the compiler:
npm run create [projectName]
Note: If projectName is not specified, the HelloAce project will be compiled.
For example, use the following line to create a project named foo:
$ npm run create foo
The directory structure of project foo:
- foo
- pages
- index.ets
- app.ets
- manifest.json
- pages
Creating a Page
For example, create a file bar.ets in the pages directory. And then add the following lines to "pages" field in manifest.json:
"pages": [
"pages/index",
"pages/bar"
]
Compiling a Project
Enter the root directory of the compiler:
$ npm run build
$ npm run compile [projectName]
Note: If projectName is not specified, the sample project will be compiled. In the project root directory, the compilation result is in the build directory.