diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index ee819b596..998a87e85 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -21,7 +21,7 @@ Hi! I’m really excited that you are interested in contributing to AppWorks. Be Clone repo and initialize the setup environment: ```bash -$ git clone git@github.com:appworks-lab/pack.git +$ git clone git@github.com:appworks-lab/appworks.git $ cd appworks && npm run setup # This will take about 20 minutes # add dep to some package @@ -114,7 +114,7 @@ Get a Personal Access Token: Set Personal Access Token for Github Actions: -1. Visit [Actions secrets](https://github.com/appworks-lab/pack/settings/secrets/actions) +1. Visit [Actions secrets](https://github.com/appworks-lab/appworks/settings/secrets/actions) 2. Update `VSCE_TOKEN`: ![](https://img.alicdn.com/imgextra/i2/O1CN01NpeNCf2558rTm9812_!!6000000007474-2-tps-2880-1754.png_790x10000.jpg) diff --git a/.github/DOCUMENT_SPECIFIC.md b/.github/DOCUMENT_SPECIFIC.md index a1b37fba7..62771f408 100644 --- a/.github/DOCUMENT_SPECIFIC.md +++ b/.github/DOCUMENT_SPECIFIC.md @@ -46,7 +46,7 @@ ## License -[MIT](https://github.com/appworks-lab/pack/blob/master/LICENSE) +[MIT](https://github.com/appworks-lab/appworks/blob/master/LICENSE) ``` - When there is only one function, there is no need for a three-level title diff --git a/.github/O2_SPECIFIC.md b/.github/O2_SPECIFIC.md index ab85e53c6..1ddcca15d 100644 --- a/.github/O2_SPECIFIC.md +++ b/.github/O2_SPECIFIC.md @@ -9,7 +9,7 @@ AppWorks converts VS Code Pack to O2 Pack, this document describes the develop, General O2 pack by following commands: ```bash -$ git clone git@github.com:appworks-lab/pack.git +$ git clone git@github.com:appworks-lab/appworks.git $ cd appworks/ $ npm install # before run this script, modify `pushExtension2Npm` param which is in `./config.ts` to true when publish to tnpm diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27bd1d840..0d12d6b8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ jobs: - run: | npm run setup:packages npm run dependency:check + npm run lint npm run test npm run coverage env: @@ -28,3 +29,4 @@ jobs: uses: codecov/codecov-action@v1 with: fail_ci_if_error: true + \ No newline at end of file diff --git a/.stylelintrc.js b/.stylelintrc.js index df89a3f06..2805e3924 100644 --- a/.stylelintrc.js +++ b/.stylelintrc.js @@ -1,4 +1,3 @@ -const { getESLintConfig } = require('@iceworks/spec'); +const { getStylelintConfig } = require('@iceworks/spec'); -// getESLintConfig(rule: 'rax'|'react'|'vue', customConfig?); -module.exports = getESLintConfig('react'); \ No newline at end of file +module.exports = getStylelintConfig('rax'); diff --git a/README.md b/README.md index ec2106fa8..80a3b4216 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,8 @@ English | [简体中文](./README.zh-CN.md) - - Test Coverage - PRs Welcome + + PRs Welcome GitHub license

@@ -36,7 +35,7 @@ Use AppWorks to develop Universal Application quickly: ## Contributors -Feel free to report any questions as an [issue](https://github.com/appworks-lab/pack/issues/new), we'd love to have your helping hand on AppWorks. +Feel free to report any questions as an [issue](https://github.com/appworks-lab/appworks/issues/new), we'd love to have your helping hand on AppWorks. If you're interested in AppWorks, see [CONTRIBUTING.md](./.github/CONTRIBUTING.md) for more information to learn how to get started. diff --git a/README.zh-CN.md b/README.zh-CN.md index 7c76d5f1a..b1d485dca 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -15,9 +15,9 @@ - + Test Coverage - PRs Welcome + PRs Welcome GitHub license

@@ -34,7 +34,7 @@ ## 参与贡献 -欢迎通过 [issue](https://github.com/appworks-lab/pack/issues/new) 反馈问题。 +欢迎通过 [issue](https://github.com/appworks-lab/appworks/issues/new) 反馈问题。 如果对 `AppWorks` 感兴趣,请参考 [CONTRIBUTING.md](./.github/CONTRIBUTING.md) 学习如何贡献代码。 diff --git a/extensions/application-manager/README.md b/extensions/application-manager/README.md index 2654b48a7..bea8c8114 100644 --- a/extensions/application-manager/README.md +++ b/extensions/application-manager/README.md @@ -1,4 +1,4 @@ -English | [简体中文](https://github.com/appworks-lab/pack/blob/master/extensions/application-manager/README.zh-CN.md) +English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/application-manager/README.zh-CN.md) # Application Manager @@ -77,7 +77,7 @@ The dashboard shows some status of the current application. If your application 2. Add a customize device or delete devices 3. Select the custom device for debugging -For more information, please see [Reference Document](https://github.com/appworks-lab/pack/blob/master/extensions/application-manager/docs/debug.en.md) +For more information, please see [Reference Document](https://github.com/appworks-lab/appworks/blob/master/extensions/application-manager/docs/debug.en.md) ### Node Dependencies diff --git a/extensions/application-manager/README.zh-CN.md b/extensions/application-manager/README.zh-CN.md index 289574e08..149560f6a 100644 --- a/extensions/application-manager/README.zh-CN.md +++ b/extensions/application-manager/README.zh-CN.md @@ -1,4 +1,4 @@ -简体中文 | [English](https://github.com/appworks-lab/pack/blob/master/extensions/application-manager/README.md) +简体中文 | [English](https://github.com/appworks-lab/appworks/blob/master/extensions/application-manager/README.md) # 应用管理器 @@ -79,7 +79,7 @@ 2. 添加或删除设备信息 3. 选择自定义的设备进行调试 -更多请看[参考文档](https://github.com/appworks-lab/pack/blob/master/extensions/application-manager/docs/debug.md) +更多请看[参考文档](https://github.com/appworks-lab/appworks/blob/master/extensions/application-manager/docs/debug.md) ### 依赖信息视图 diff --git a/extensions/application-manager/package.json b/extensions/application-manager/package.json index 676ea6a41..93c0811dd 100644 --- a/extensions/application-manager/package.json +++ b/extensions/application-manager/package.json @@ -329,7 +329,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" }, "scripts": { "vscode:prepublish": "rm -rf build && npm run build:web && npm run build:extension", @@ -368,9 +368,9 @@ "extensionDependencies": [ "iceworks-team.iceworks-project-creator" ], - "homepage": "https://github.com/appworks-lab/pack/blob/master/extensions/application-manager/README.md", + "homepage": "https://github.com/appworks-lab/appworks/blob/master/extensions/application-manager/README.md", "bugs": { - "url": "https://github.com/appworks-lab/pack/issues", + "url": "https://github.com/appworks-lab/appworks/issues", "email": "iceworksteam@163.com" } } diff --git a/extensions/application-manager/src/debugConfig/index.ts b/extensions/application-manager/src/debugConfig/index.ts index 6b1bbab5f..aa2ee9cf9 100644 --- a/extensions/application-manager/src/debugConfig/index.ts +++ b/extensions/application-manager/src/debugConfig/index.ts @@ -19,7 +19,7 @@ export interface IDebugConfig { function writeConfigFile(filePath: string, config: IDebugConfig) { fs.writeFileSync( filePath, - '// See https://github.com/appworks-lab/pack/blob/master/extensions/application-manager/docs/debug.md \n' + + '// See https://github.com/appworks-lab/appworks/blob/master/extensions/application-manager/docs/debug.md \n' + '// for the documentation about the AppWorks debug \n' + `${JSON.stringify(config, null, ' ')}`, ); diff --git a/extensions/application-manager/web/mocks/project/getProjectGitInfo.json b/extensions/application-manager/web/mocks/project/getProjectGitInfo.json index 5202e2a05..0f6ac8d66 100644 --- a/extensions/application-manager/web/mocks/project/getProjectGitInfo.json +++ b/extensions/application-manager/web/mocks/project/getProjectGitInfo.json @@ -1,5 +1,5 @@ { - "repository": "https://github.com/appworks-lab/pack", + "repository": "https://github.com/appworks-lab/appworks", "branch": "feat/test", "isGit": true } diff --git a/extensions/application-manager/web/package.json b/extensions/application-manager/web/package.json index 6024723a6..7a3e351d8 100644 --- a/extensions/application-manager/web/package.json +++ b/extensions/application-manager/web/package.json @@ -41,6 +41,6 @@ }, "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" } } diff --git a/extensions/application-manager/web/src/pages/Welcome/components/Information/index.tsx b/extensions/application-manager/web/src/pages/Welcome/components/Information/index.tsx index 35ee47e52..9542a1b22 100644 --- a/extensions/application-manager/web/src/pages/Welcome/components/Information/index.tsx +++ b/extensions/application-manager/web/src/pages/Welcome/components/Information/index.tsx @@ -29,7 +29,7 @@ const Information = () => { title: intl.formatMessage({ id: 'web.applicationManager.Welcome.Information.updates.title' }), description: intl.formatMessage({ id: 'web.applicationManager.Welcome.Information.updates.desc' }), linkName: intl.formatMessage({ id: 'web.applicationManager.Welcome.Information.updates.link' }), - link: 'https://github.com/appworks-lab/pack/releases', + link: 'https://github.com/appworks-lab/appworks/releases', }, ]; diff --git a/extensions/appworks/CHANGELOG.md b/extensions/appworks/CHANGELOG.md index c9ed9fd5e..8014a83dc 100644 --- a/extensions/appworks/CHANGELOG.md +++ b/extensions/appworks/CHANGELOG.md @@ -1,44 +1,48 @@ # Change Log -## [1.3.1] +## [1.3.1](https://github.com/appworks-lab/appworks/releases/tag/v1.3.1) +- feat: update doctor codemod report [#920](https://github.com/appworks-lab/appworks/pull/920) +- feat: update official materials [#922](https://github.com/appworks-lab/appworks/pull/922) +- fix: fail to update material source [#921](https://github.com/appworks-lab/appworks/pull/921) - fix: remove stylelint extension that causes some bugs in vscode -## [1.3.0](https://github.com/appworks-lab/pack/releases/tag/v1.3.0) -- feat: add jsx files propTypes auto complete [#902](https://github.com/appworks-lab/pack/pull/902) -- feat: add code snippets [#903](https://github.com/appworks-lab/pack/pull/903) -- feat: auto fill content in store's files when create [#908](https://github.com/appworks-lab/pack/pull/908) -- feat: add auto complete when import modules [#905](https://github.com/appworks-lab/pack/pull/905) -- fix: dashboard show 404 and 500 error [#911](https://github.com/appworks-lab/pack/pull/911) -- fix: eslint config `overrides` not work [#901](https://github.com/appworks-lab/pack/pull/901) +## [1.3.0](https://github.com/appworks-lab/appworks/releases/tag/v1.3.0) -## [1.2.1](https://github.com/appworks-lab/pack/releases/tag/v1.2.1) +- feat: add jsx files propTypes auto complete [#902](https://github.com/appworks-lab/appworks/pull/902) +- feat: add code snippets [#903](https://github.com/appworks-lab/appworks/pull/903) +- feat: auto fill content in store's files when create [#908](https://github.com/appworks-lab/appworks/pull/908) +- feat: add auto complete when import modules [#905](https://github.com/appworks-lab/appworks/pull/905) +- fix: dashboard show 404 and 500 error [#911](https://github.com/appworks-lab/appworks/pull/911) +- fix: eslint config `overrides` not work [#901](https://github.com/appworks-lab/appworks/pull/901) -- feat: support double click to select scaffold [#895](https://github.com/appworks-lab/pack/pull/895) -- feat: loading status when reinstalling deps [#896](https://github.com/appworks-lab/pack/pull/896) -- fix: build error in macos platform [#891](https://github.com/appworks-lab/pack/pull/891) -- fix: empty project wrong CodeMod notice [#894](https://github.com/appworks-lab/pack/pull/894) +## [1.2.1](https://github.com/appworks-lab/appworks/releases/tag/v1.2.1) -## [1.2.0](https://github.com/appworks-lab/pack/releases/tag/v1.2.0) +- feat: support double click to select scaffold [#895](https://github.com/appworks-lab/appworks/pull/895) +- feat: loading status when reinstalling deps [#896](https://github.com/appworks-lab/appworks/pull/896) +- fix: build error in macos platform [#891](https://github.com/appworks-lab/appworks/pull/891) +- fix: empty project wrong CodeMod notice [#894](https://github.com/appworks-lab/appworks/pull/894) -- feat: remove Auto Complete Tag Feat remove Auto Complete Tag [#878](https://github.com/appworks-lab/pack/pull/878) -- feat: add time master configuration enableDataAnalysisServices Feat add time master configuration [#871](https://github.com/appworks-lab/pack/pull/871) -- feat: update vscodeignore Feat update vscodeignore [#883](https://github.com/appworks-lab/pack/pull/883) -- feat: add codemod check to doctor package Feat add codemod check to doctor package [#870](https://github.com/appworks-lab/pack/pull/870) -- feat: doctor extension add codemod Feat doctor extension add codemod [#873](https://github.com/appworks-lab/pack/pull/873) -- fix: auto-complete-tag confused typescript coding [#877](https://github.com/appworks-lab/pack/issues/877) -- fix: command Find Components In Current File not working Fix command Find Components In Current File not working [#876](https://github.com/appworks-lab/pack/pull/876) -- fix: component docs link fix: component link [#884](https://github.com/appworks-lab/pack/pull/884) +## [1.2.0](https://github.com/appworks-lab/appworks/releases/tag/v1.2.0) + +- feat: remove Auto Complete Tag Feat remove Auto Complete Tag [#878](https://github.com/appworks-lab/appworks/pull/878) +- feat: add time master configuration enableDataAnalysisServices Feat add time master configuration [#871](https://github.com/appworks-lab/appworks/pull/871) +- feat: update vscodeignore Feat update vscodeignore [#883](https://github.com/appworks-lab/appworks/pull/883) +- feat: add codemod check to doctor package Feat add codemod check to doctor package [#870](https://github.com/appworks-lab/appworks/pull/870) +- feat: doctor extension add codemod Feat doctor extension add codemod [#873](https://github.com/appworks-lab/appworks/pull/873) +- fix: auto-complete-tag confused typescript coding [#877](https://github.com/appworks-lab/appworks/issues/877) +- fix: command Find Components In Current File not working Fix command Find Components In Current File not working [#876](https://github.com/appworks-lab/appworks/pull/876) +- fix: component docs link fix: component link [#884](https://github.com/appworks-lab/appworks/pull/884) ## 1.1.0 -- feat: hint user install types/rax [#854](https://github.com/appworks-lab/pack/pull/854) -- fix: rax-spa project targets null [#862](https://github.com/appworks-lab/pack/pull/862) -- Chore: update webview icon [#856](https://github.com/appworks-lab/pack/pull/856) [#846](https://github.com/appworks-lab/pack/pull/846) -- feat: add recommend extensions [#837](https://github.com/appworks-lab/pack/pull/837) -- fix: only exit process when prepublishOnly [#836](https://github.com/appworks-lab/pack/pull/836) -- fix: make sure that the start & end fields exist [#838](https://github.com/appworks-lab/pack/pull/838) +- feat: hint user install types/rax [#854](https://github.com/appworks-lab/appworks/pull/854) +- fix: rax-spa project targets null [#862](https://github.com/appworks-lab/appworks/pull/862) +- Chore: update webview icon [#856](https://github.com/appworks-lab/appworks/pull/856) [#846](https://github.com/appworks-lab/appworks/pull/846) +- feat: add recommend extensions [#837](https://github.com/appworks-lab/appworks/pull/837) +- fix: only exit process when prepublishOnly [#836](https://github.com/appworks-lab/appworks/pull/836) +- fix: make sure that the start & end fields exist [#838](https://github.com/appworks-lab/appworks/pull/838) - fix: vsce [#576](https://github.com/microsoft/vscode-vsce/issues/576) .vscodeignore configuration ## 1.0.3 @@ -47,7 +51,7 @@ ## 1.0.2 -- Fix [#848](https://github.com/appworks-lab/pack/issues/848), remove [Chinese (Simplified) Language Pack for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=MS-CEINTL.vscode-language-pack-zh-hans). +- Fix [#848](https://github.com/appworks-lab/appworks/issues/848), remove [Chinese (Simplified) Language Pack for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=MS-CEINTL.vscode-language-pack-zh-hans). ## 1.0.1 diff --git a/extensions/appworks/README.md b/extensions/appworks/README.md index 1d903a8f0..551a4f016 100644 --- a/extensions/appworks/README.md +++ b/extensions/appworks/README.md @@ -1,4 +1,4 @@ -English | [简体中文](https://github.com/appworks-lab/pack/blob/master/extensions/iceworks/README.zh-CN.md) +English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/iceworks/README.zh-CN.md) # AppWorks @@ -6,7 +6,7 @@ English | [简体中文](https://github.com/appworks-lab/pack/blob/master/extens [![Installs](https://vsmarketplacebadge.apphb.com/installs-short/iceworks-team.iceworks.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) [![Downloads](https://vsmarketplacebadge.apphb.com/downloads-short/iceworks-team.iceworks.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) [![Rating](https://vsmarketplacebadge.apphb.com/rating-star/iceworks-team.iceworks.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks&ssr=false#review-details) -[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/appworks-lab/pack/pulls) +[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/appworks-lab/appworks/pulls) [![The MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT) AppWorks is a Application Development Pack, provide visualization and intelligent technology to build Universal Application faster and better, support Web / H5 / MiniProgram Application. @@ -82,4 +82,4 @@ AppWorks Pack extension installs these recommend extensions: ## Help -Open an [issue](https://github.com/appworks-lab/pack/issues/new), We will respond quickly to the submitted issues. +Open an [issue](https://github.com/appworks-lab/appworks/issues/new), We will respond quickly to the submitted issues. diff --git a/extensions/appworks/README.zh-CN.md b/extensions/appworks/README.zh-CN.md index c03a162c2..3243adda0 100644 --- a/extensions/appworks/README.zh-CN.md +++ b/extensions/appworks/README.zh-CN.md @@ -1,4 +1,4 @@ -简体中文 | [English](https://github.com/appworks-lab/pack/blob/master/extensions/iceworks/README.md) +简体中文 | [English](https://github.com/appworks-lab/appworks/blob/master/extensions/iceworks/README.md) # AppWorks @@ -6,7 +6,7 @@ [![Installs](https://vsmarketplacebadge.apphb.com/installs-short/iceworks-team.iceworks.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) [![Downloads](https://vsmarketplacebadge.apphb.com/downloads-short/iceworks-team.iceworks.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) [![Rating](https://vsmarketplacebadge.apphb.com/rating-star/iceworks-team.iceworks.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks&ssr=false#review-details) -[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/appworks-lab/pack/pulls) +[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/appworks-lab/appworks/pulls) [![The MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT) 前端研发套件,通过可视化编程和编码辅助手段,更快更好地构建多端应用,支持 Web 、HTML 5 和小程序应用。 @@ -82,4 +82,4 @@ AppWorks 套件内包含以下推荐的三方插件: ## 获取帮助 -向 AppWorks 的 Github 仓库提交 [issue](https://github.com/appworks-lab/pack/issues/new) ,我们会快速响应所提交的问题。 +向 AppWorks 的 Github 仓库提交 [issue](https://github.com/appworks-lab/appworks/issues/new) ,我们会快速响应所提交的问题。 diff --git a/extensions/appworks/package.json b/extensions/appworks/package.json index 7febc6322..a239577fd 100644 --- a/extensions/appworks/package.json +++ b/extensions/appworks/package.json @@ -29,7 +29,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" }, "icon": "public/logo.png", "extensionPack": [ @@ -51,9 +51,9 @@ "msjsdiag.debugger-for-chrome", "alefragnani.Bookmarks" ], - "homepage": "https://github.com/appworks-lab/pack/blob/master/extensions/appworks/README.md", + "homepage": "https://github.com/appworks-lab/appworks/blob/master/extensions/appworks/README.md", "bugs": { - "url": "https://github.com/appworks-lab/pack/issues", + "url": "https://github.com/appworks-lab/appworks/issues", "email": "iceworksteam@163.com" } } diff --git a/extensions/codemod/README.md b/extensions/codemod/README.md index fbaf09038..232f77911 100644 --- a/extensions/codemod/README.md +++ b/extensions/codemod/README.md @@ -1,4 +1,4 @@ -English | [简体中文](https://github.com/appworks-lab/pack/blob/master/extensions/codemod/README.zh-CN.md) +English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/codemod/README.zh-CN.md) # CodeMod diff --git a/extensions/codemod/README.zh-CN.md b/extensions/codemod/README.zh-CN.md index 35c45c0f5..d964b5ece 100644 --- a/extensions/codemod/README.zh-CN.md +++ b/extensions/codemod/README.zh-CN.md @@ -1,4 +1,4 @@ -简体中文 | [English](https://github.com/appworks-lab/pack/blob/master/extensions/codemod/README.md) +简体中文 | [English](https://github.com/appworks-lab/appworks/blob/master/extensions/codemod/README.md) # 代码更新插件 diff --git a/extensions/codemod/package.json b/extensions/codemod/package.json index 92f71c2e0..fc0b6e7d4 100644 --- a/extensions/codemod/package.json +++ b/extensions/codemod/package.json @@ -29,7 +29,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" }, "main": "./build/extension.js", "scripts": { @@ -63,9 +63,9 @@ "lodash.clonedeep": "^4.5.0", "lodash.flatten": "^4.4.0" }, - "homepage": "https://github.com/appworks-lab/pack/blob/master/extensions/codemod/README.md", + "homepage": "https://github.com/appworks-lab/appworks/blob/master/extensions/codemod/README.md", "bugs": { - "url": "https://github.com/appworks-lab/pack/issues", + "url": "https://github.com/appworks-lab/appworks/issues", "email": "iceworksteam@163.com" } } diff --git a/extensions/doctor/CHANGELOG.md b/extensions/doctor/CHANGELOG.md index f8c55ef6f..70c6f621b 100644 --- a/extensions/doctor/CHANGELOG.md +++ b/extensions/doctor/CHANGELOG.md @@ -65,7 +65,7 @@ Release 1.0.0 ## 0.1.6 -- fix: [#604](https://github.com/appworks-lab/pack/issues/604) +- fix: [#604](https://github.com/appworks-lab/appworks/issues/604) ## 0.1.5 diff --git a/extensions/doctor/README.md b/extensions/doctor/README.md index dd6ecf690..52afb228e 100644 --- a/extensions/doctor/README.md +++ b/extensions/doctor/README.md @@ -1,4 +1,4 @@ -English | [简体中文](https://github.com/appworks-lab/pack/blob/master/extensions/doctor/README.zh-CN.md) +English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/doctor/README.zh-CN.md) # Doctor diff --git a/extensions/doctor/README.zh-CN.md b/extensions/doctor/README.zh-CN.md index 09cf8021c..7b5a54d67 100644 --- a/extensions/doctor/README.zh-CN.md +++ b/extensions/doctor/README.zh-CN.md @@ -1,4 +1,4 @@ -简体中文 | [English](https://github.com/appworks-lab/pack/blob/master/extensions/doctor/README.md) +简体中文 | [English](https://github.com/appworks-lab/appworks/blob/master/extensions/doctor/README.md) # Doctor diff --git a/extensions/doctor/package.json b/extensions/doctor/package.json index 541df17f7..6e05c71d8 100644 --- a/extensions/doctor/package.json +++ b/extensions/doctor/package.json @@ -30,11 +30,11 @@ "main": "./build/extension.js", "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" }, - "homepage": "https://github.com/appworks-lab/pack/blob/master/extensions/doctor/README.md", + "homepage": "https://github.com/appworks-lab/appworks/blob/master/extensions/doctor/README.md", "bugs": { - "url": "https://github.com/appworks-lab/pack/issues", + "url": "https://github.com/appworks-lab/appworks/issues", "email": "iceworksteam@163.com" }, "scripts": { diff --git a/extensions/doctor/web/src/pages/Dashboard/components/ScanCard/components/ScanFailedWrap/index.tsx b/extensions/doctor/web/src/pages/Dashboard/components/ScanCard/components/ScanFailedWrap/index.tsx index 5839c7e8d..b34e45432 100644 --- a/extensions/doctor/web/src/pages/Dashboard/components/ScanCard/components/ScanFailedWrap/index.tsx +++ b/extensions/doctor/web/src/pages/Dashboard/components/ScanCard/components/ScanFailedWrap/index.tsx @@ -7,8 +7,8 @@ const ScanFailedWrap = () => {
{window.USE_EN ? 'Scan Failed, open ' : '扫描失败,请至 '} - - https://github.com/appworks-lab/pack/issues + + https://github.com/appworks-lab/appworks/issues {window.USE_EN ? ' report your problem' : ' 反馈'} diff --git a/extensions/material-helper/CHANGELOG.md b/extensions/material-helper/CHANGELOG.md index 44a32cfc2..f2156d2b3 100644 --- a/extensions/material-helper/CHANGELOG.md +++ b/extensions/material-helper/CHANGELOG.md @@ -176,7 +176,7 @@ ## 0.1.4 -Fix React component completion items, See: https://github.com/appworks-lab/pack/issues/233 +Fix React component completion items, See: https://github.com/appworks-lab/appworks/issues/233 ## 0.1.3 diff --git a/extensions/material-helper/README.md b/extensions/material-helper/README.md index e94cc1126..dec0b48d0 100644 --- a/extensions/material-helper/README.md +++ b/extensions/material-helper/README.md @@ -1,4 +1,4 @@ -English | [简体中文](https://github.com/appworks-lab/pack/blob/master/extensions/material-helper/README.zh-CN.md) +English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/material-helper/README.zh-CN.md) # Component Helper diff --git a/extensions/material-helper/README.zh-CN.md b/extensions/material-helper/README.zh-CN.md index f40c8f72b..8f12e83c2 100644 --- a/extensions/material-helper/README.zh-CN.md +++ b/extensions/material-helper/README.zh-CN.md @@ -1,4 +1,4 @@ -简体中文 | [English](https://github.com/appworks-lab/pack/blob/master/extensions/material-helper/README.md) +简体中文 | [English](https://github.com/appworks-lab/appworks/blob/master/extensions/material-helper/README.md) # 前端组件开发辅助插件 diff --git a/extensions/material-helper/package.json b/extensions/material-helper/package.json index ff275a922..50f0829e9 100644 --- a/extensions/material-helper/package.json +++ b/extensions/material-helper/package.json @@ -392,11 +392,11 @@ }, "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" }, - "homepage": "https://github.com/appworks-lab/pack/blob/master/extensions/material-helper/README.md", + "homepage": "https://github.com/appworks-lab/appworks/blob/master/extensions/material-helper/README.md", "bugs": { - "url": "https://github.com/appworks-lab/pack/issues", + "url": "https://github.com/appworks-lab/appworks/issues", "email": "iceworksteam@163.com" } } diff --git a/extensions/material-helper/src/componentDocSupport/getHoverItem.ts b/extensions/material-helper/src/componentDocSupport/getHoverItem.ts index 9a11f2f8e..8dd545d8a 100644 --- a/extensions/material-helper/src/componentDocSupport/getHoverItem.ts +++ b/extensions/material-helper/src/componentDocSupport/getHoverItem.ts @@ -5,7 +5,7 @@ import i18n from '../i18n'; export default function getHoverItem(tagName: string, source: string) { const docInfos = getDocInfos(); const tagInfo = docInfos.find((info) => { - return info.label === tagName && info.source.npm === source + return info.label === tagName && info.source.npm === source; }); if (tagInfo) { const docsLink = new vscode.MarkdownString( diff --git a/extensions/material-helper/src/extension.ts b/extensions/material-helper/src/extension.ts index 03ecac3bd..dd88215e8 100644 --- a/extensions/material-helper/src/extension.ts +++ b/extensions/material-helper/src/extension.ts @@ -129,7 +129,7 @@ export function activate(context: vscode.ExtensionContext) { createPagesTreeView(context); importAutoComplete(); - // help user complete React Component's propTypes; + // help user complete React Component's propTypes; propTypesAutoComplete(); } diff --git a/extensions/material-helper/src/propsAutoComplete/getPropKeysFromCode.ts b/extensions/material-helper/src/propsAutoComplete/getPropKeysFromCode.ts index 00c9bf8c0..3752e6af3 100644 --- a/extensions/material-helper/src/propsAutoComplete/getPropKeysFromCode.ts +++ b/extensions/material-helper/src/propsAutoComplete/getPropKeysFromCode.ts @@ -21,7 +21,7 @@ export default function getPropKeysFromCode(componentPath: string): string[] { } catch (error) { // ignore } - console.log(propKeys) + console.log(propKeys); return propKeys; } diff --git a/extensions/material-helper/web/package.json b/extensions/material-helper/web/package.json index 88e11ff12..23808eef8 100644 --- a/extensions/material-helper/web/package.json +++ b/extensions/material-helper/web/package.json @@ -38,6 +38,6 @@ }, "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" } } diff --git a/extensions/project-creator/CHANGELOG.md b/extensions/project-creator/CHANGELOG.md index f37294607..990f92000 100644 --- a/extensions/project-creator/CHANGELOG.md +++ b/extensions/project-creator/CHANGELOG.md @@ -2,12 +2,12 @@ ## 1.0.3 -- feat: support double click to select scaffold. [#872](https://github.com/appworks-lab/pack/issues/872) +- feat: support double click to select scaffold. [#872](https://github.com/appworks-lab/appworks/issues/872) - fix: service api(setUserInfo) not found ## 1.0.2 -- fix: rax-spa project targets null problem. [#861](https://github.com/appworks-lab/pack/issues/861) +- fix: rax-spa project targets null problem. [#861](https://github.com/appworks-lab/appworks/issues/861) - fix .vscodeignore configuration [#576](https://github.com/microsoft/vscode-vsce/issues/576) ## 1.0.1 diff --git a/extensions/project-creator/README.md b/extensions/project-creator/README.md index f13904067..e29977c00 100644 --- a/extensions/project-creator/README.md +++ b/extensions/project-creator/README.md @@ -1,4 +1,4 @@ -English | [简体中文](https://github.com/appworks-lab/pack/blob/master/extensions/project-creator/README.zh-CN.md) +English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/project-creator/README.zh-CN.md) # Application Creator diff --git a/extensions/project-creator/README.zh-CN.md b/extensions/project-creator/README.zh-CN.md index ddcf033b6..063d9dc1f 100644 --- a/extensions/project-creator/README.zh-CN.md +++ b/extensions/project-creator/README.zh-CN.md @@ -1,4 +1,4 @@ -简体中文 | [English](https://github.com/appworks-lab/pack/blob/master/extensions/project-creator/README.md) +简体中文 | [English](https://github.com/appworks-lab/appworks/blob/master/extensions/project-creator/README.md) # 应用创建器 diff --git a/extensions/project-creator/package.json b/extensions/project-creator/package.json index 8c10e0d44..a26b84dc1 100644 --- a/extensions/project-creator/package.json +++ b/extensions/project-creator/package.json @@ -53,7 +53,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" }, "scripts": { "vscode:prepublish": "rm -rf build && npm run build:web && npm run build:extension", @@ -83,9 +83,9 @@ "@appworks/connector": "^0.1.0", "js-base64": "^3.6.0" }, - "homepage": "https://github.com/appworks-lab/pack/blob/master/extensions/project-creator/README.md", + "homepage": "https://github.com/appworks-lab/appworks/blob/master/extensions/project-creator/README.md", "bugs": { - "url": "https://github.com/appworks-lab/pack/issues", + "url": "https://github.com/appworks-lab/appworks/issues", "email": "iceworksteam@163.com" } } diff --git a/extensions/project-creator/web/package.json b/extensions/project-creator/web/package.json index e2f0a144f..f56125d18 100644 --- a/extensions/project-creator/web/package.json +++ b/extensions/project-creator/web/package.json @@ -39,6 +39,6 @@ }, "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" } } diff --git a/extensions/react-refactor/README.md b/extensions/react-refactor/README.md index ddde2b139..2c4ef0acb 100644 --- a/extensions/react-refactor/README.md +++ b/extensions/react-refactor/README.md @@ -1,6 +1,6 @@ # React Refactor -English | [简体中文](https://github.com/appworks-lab/pack/blob/master/extensions/react-refactor/README.zh-CN.md) +English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/react-refactor/README.zh-CN.md) [![Version for VS Code Extension](https://vsmarketplacebadge.apphb.com/version-short/iceworks-team.iceworks-refactor.svg?logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-refactor) [![Installs](https://vsmarketplacebadge.apphb.com/installs-short/iceworks-team.iceworks-refactor.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-refactor) diff --git a/extensions/react-refactor/README.zh-CN.md b/extensions/react-refactor/README.zh-CN.md index c360817fb..3d58d701b 100644 --- a/extensions/react-refactor/README.zh-CN.md +++ b/extensions/react-refactor/README.zh-CN.md @@ -1,6 +1,6 @@ # React 代码重构 -English | [简体中文](https://github.com/appworks-lab/pack/blob/master/extensions/react-refactor/README.zh-CN.md) +English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/react-refactor/README.zh-CN.md) [![Version for VS Code Extension](https://vsmarketplacebadge.apphb.com/version-short/iceworks-team.iceworks-refactor.svg?logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-refactor) [![Installs](https://vsmarketplacebadge.apphb.com/installs-short/iceworks-team.iceworks-refactor.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-refactor) diff --git a/extensions/react-refactor/package.json b/extensions/react-refactor/package.json index 5a350a3bc..d0ef53f90 100644 --- a/extensions/react-refactor/package.json +++ b/extensions/react-refactor/package.json @@ -57,10 +57,10 @@ "main": "./build/extension.js", "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" }, "bugs": { - "url": "https://github.com/appworks-lab/pack/issues", + "url": "https://github.com/appworks-lab/appworks/issues", "email": "iceworksteam@163.com" }, "scripts": { diff --git a/extensions/style-helper/README.md b/extensions/style-helper/README.md index 539ce4701..09992e674 100644 --- a/extensions/style-helper/README.md +++ b/extensions/style-helper/README.md @@ -1,4 +1,4 @@ -English | [简体中文](https://github.com/appworks-lab/pack/blob/master/extensions/style-helper/README.zh-CN.md) +English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/style-helper/README.zh-CN.md) # React Style Helper diff --git a/extensions/style-helper/README.zh-CN.md b/extensions/style-helper/README.zh-CN.md index 446940428..b8d9f43a5 100644 --- a/extensions/style-helper/README.zh-CN.md +++ b/extensions/style-helper/README.zh-CN.md @@ -1,4 +1,4 @@ -简体中文 | [English](https://github.com/appworks-lab/pack/blob/master/extensions/style-helper/README.md) +简体中文 | [English](https://github.com/appworks-lab/appworks/blob/master/extensions/style-helper/README.md) # React 样式开发辅助插件 diff --git a/extensions/style-helper/package.json b/extensions/style-helper/package.json index af53f3e11..c82e15c4e 100644 --- a/extensions/style-helper/package.json +++ b/extensions/style-helper/package.json @@ -37,7 +37,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" }, "main": "./build/extension.js", "scripts": { @@ -82,9 +82,9 @@ "tinycolor2": "^1.4.1", "vscode-web-custom-data": "^0.1.4" }, - "homepage": "https://github.com/appworks-lab/pack/blob/master/extensions/style-helper/README.md", + "homepage": "https://github.com/appworks-lab/appworks/blob/master/extensions/style-helper/README.md", "bugs": { - "url": "https://github.com/appworks-lab/pack/issues", + "url": "https://github.com/appworks-lab/appworks/issues", "email": "iceworksteam@163.com" } } diff --git a/extensions/time-master/README.md b/extensions/time-master/README.md index 600fe51e1..081ccec23 100644 --- a/extensions/time-master/README.md +++ b/extensions/time-master/README.md @@ -1,4 +1,4 @@ -English | [简体中文](https://github.com/appworks-lab/pack/blob/master/extensions/time-master/README.zh-CN.md) +English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/time-master/README.zh-CN.md) # Time Master diff --git a/extensions/time-master/README.zh-CN.md b/extensions/time-master/README.zh-CN.md index 01bd44c4a..22097647c 100644 --- a/extensions/time-master/README.zh-CN.md +++ b/extensions/time-master/README.zh-CN.md @@ -1,4 +1,4 @@ -简体中文 | [English](https://github.com/appworks-lab/pack/blob/master/extensions/time-master/README.md) +简体中文 | [English](https://github.com/appworks-lab/appworks/blob/master/extensions/time-master/README.md) # 时间管理大师 @@ -29,7 +29,7 @@ - **从不访问您的代码**:我们不处理、发送或存储您的代码。 - **您的数据是私有的**:我们不会与任何人共享您的个人数据。 -最重要的一点,插件代码是[开源](https://github.com/appworks-lab/pack/tree/master/extensions/iceworks-time-master)的,您可以很容易地看到我们对于数据处理的实现。 +最重要的一点,插件代码是[开源](https://github.com/appworks-lab/appworks/tree/master/extensions/iceworks-time-master)的,您可以很容易地看到我们对于数据处理的实现。 > 备注 1:这是针对社区开发者而言的,如果您是阿里内部用户,我们将默认上传您的数据。 > diff --git a/extensions/time-master/package.json b/extensions/time-master/package.json index 3ce17fc6d..a0094c303 100644 --- a/extensions/time-master/package.json +++ b/extensions/time-master/package.json @@ -73,7 +73,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" }, "main": "./build/extension.js", "scripts": { @@ -114,9 +114,9 @@ "node-cache": "^5.1.2", "numeral": "^2.0.6" }, - "homepage": "https://github.com/appworks-lab/pack/blob/master/extensions/time-master/README.md", + "homepage": "https://github.com/appworks-lab/appworks/blob/master/extensions/time-master/README.md", "bugs": { - "url": "https://github.com/appworks-lab/pack/issues", + "url": "https://github.com/appworks-lab/appworks/issues", "email": "iceworksteam@163.com" } } diff --git a/package.json b/package.json index 71975e04b..b8717c4f2 100644 --- a/package.json +++ b/package.json @@ -45,13 +45,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/appworks-lab/pack.git" + "url": "git+https://github.com/appworks-lab/appworks.git" }, "license": "ISC", "bugs": { - "url": "https://github.com/appworks-lab/pack/issues" + "url": "https://github.com/appworks-lab/appworks/issues" }, - "homepage": "https://github.com/appworks-lab/pack#readme", + "homepage": "https://github.com/appworks-lab/appworks#readme", "devDependencies": { "@commitlint/cli": "^12.1.1", "@appworks/constant": "^0.1.0", diff --git a/packages/doctor-ui/src/index.tsx b/packages/doctor-ui/src/index.tsx index 7ce9f42f7..176507056 100644 --- a/packages/doctor-ui/src/index.tsx +++ b/packages/doctor-ui/src/index.tsx @@ -31,8 +31,8 @@ const Dashboard = (props: Props) => { {locale.projectRating}

}>

{locale.haveProblem} - - https://github.com/appworks-lab/pack/issues + + https://github.com/appworks-lab/appworks/issues {locale.reportProblem}

diff --git a/packages/project-service/CHANGELOG.md b/packages/project-service/CHANGELOG.md index a62c7fa3b..1f3587637 100644 --- a/packages/project-service/CHANGELOG.md +++ b/packages/project-service/CHANGELOG.md @@ -7,7 +7,7 @@ ## 0.1.1 -- fix: rax-spa project targets null problem. [#861](https://github.com/appworks-lab/pack/issues/861) +- fix: rax-spa project targets null problem. [#861](https://github.com/appworks-lab/appworks/issues/861) ## 0.1.0 diff --git a/packages/project-utils/src/git.ts b/packages/project-utils/src/git.ts index 60f9cbcb6..81c8dcbcc 100644 --- a/packages/project-utils/src/git.ts +++ b/packages/project-utils/src/git.ts @@ -8,8 +8,8 @@ const gitRemoteOriginUrl = require('git-remote-origin-url'); export interface GitInfo { branch: string; // master - repository: string; // git@github.com:appworks-lab/pack.git - remoteUrl: string; // https://github.com/appworks-lab/pack + repository: string; // git@github.com:appworks-lab/appworks.git + remoteUrl: string; // https://github.com/appworks-lab/appworks group: string; // appworks-lab project: string; // pack tag?: string; diff --git a/packages/user-service/scripts/get-def-login-client.ts b/packages/user-service/scripts/get-def-login-client.ts index 42033a2b2..4ab66ff85 100644 --- a/packages/user-service/scripts/get-def-login-client.ts +++ b/packages/user-service/scripts/get-def-login-client.ts @@ -15,9 +15,9 @@ async function getDefLoginClient() { accessKeySecret: ACCESS_KEY_SECRET, timeout: '300s', }); - + const target = 'packages/def-login-client.zip'; - + try { const result = await ossClient.get(target); const zipPath = path.join(__dirname, '..', 'tmp.zip'); diff --git a/packages/vscode-generator/src/templates/extension/package.json.ejs b/packages/vscode-generator/src/templates/extension/package.json.ejs index e029ff175..1580ef5d7 100644 --- a/packages/vscode-generator/src/templates/extension/package.json.ejs +++ b/packages/vscode-generator/src/templates/extension/package.json.ejs @@ -20,10 +20,10 @@ "main": "./build/extension.js", "repository": { "type": "git", - "url": "https://github.com/appworks-lab/pack.git" + "url": "https://github.com/appworks-lab/appworks.git" }, "bugs": { - "url": "https://github.com/appworks-lab/pack/issues" + "url": "https://github.com/appworks-lab/appworks/issues" }, "scripts": { "vscode:prepublish": "rm -rf build && npm run build:web && webpack --mode production",