From 0f12fd5bf7ae0be6e50ff157910d89075a1e58cb Mon Sep 17 00:00:00 2001 From: yangfan <18767120422@163.com> Date: Mon, 26 Jul 2021 17:03:33 +0800 Subject: [PATCH 1/7] feat: update git and readme --- .github/CONTRIBUTING.md | 2 +- .github/O2_SPECIFIC.md | 2 +- extensions/application-manager/package.json | 2 +- extensions/application-manager/web/package.json | 2 +- extensions/appworks/CHANGELOG.md | 4 ++++ extensions/appworks/package.json | 2 +- extensions/codemod/package.json | 2 +- extensions/doctor/package.json | 2 +- extensions/material-helper/package.json | 2 +- extensions/material-helper/web/package.json | 2 +- extensions/project-creator/package.json | 2 +- extensions/project-creator/web/package.json | 2 +- extensions/react-refactor/package.json | 2 +- extensions/style-helper/package.json | 2 +- extensions/time-master/package.json | 2 +- package.json | 2 +- packages/project-utils/src/git.ts | 2 +- .../vscode-generator/src/templates/extension/package.json.ejs | 2 +- 18 files changed, 21 insertions(+), 17 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index ee819b596..d282ac421 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 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/extensions/application-manager/package.json b/extensions/application-manager/package.json index 676ea6a41..c954ec9a7 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", 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/appworks/CHANGELOG.md b/extensions/appworks/CHANGELOG.md index c9ed9fd5e..83b894375 100644 --- a/extensions/appworks/CHANGELOG.md +++ b/extensions/appworks/CHANGELOG.md @@ -2,8 +2,12 @@ ## [1.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) diff --git a/extensions/appworks/package.json b/extensions/appworks/package.json index 7febc6322..9b0feb3b9 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": [ diff --git a/extensions/codemod/package.json b/extensions/codemod/package.json index 92f71c2e0..49400997f 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": { diff --git a/extensions/doctor/package.json b/extensions/doctor/package.json index 541df17f7..4469ee8df 100644 --- a/extensions/doctor/package.json +++ b/extensions/doctor/package.json @@ -30,7 +30,7 @@ "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", "bugs": { diff --git a/extensions/material-helper/package.json b/extensions/material-helper/package.json index ff275a922..c8c9063b7 100644 --- a/extensions/material-helper/package.json +++ b/extensions/material-helper/package.json @@ -392,7 +392,7 @@ }, "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", "bugs": { 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/package.json b/extensions/project-creator/package.json index 8c10e0d44..5a8b047b7 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", 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/package.json b/extensions/react-refactor/package.json index 5a350a3bc..07781d52e 100644 --- a/extensions/react-refactor/package.json +++ b/extensions/react-refactor/package.json @@ -57,7 +57,7 @@ "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", diff --git a/extensions/style-helper/package.json b/extensions/style-helper/package.json index af53f3e11..ce2452a47 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": { diff --git a/extensions/time-master/package.json b/extensions/time-master/package.json index 3ce17fc6d..8cf09b981 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": { diff --git a/package.json b/package.json index 71975e04b..4f38f4f37 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/appworks-lab/pack.git" + "url": "git+https://github.com/appworks-lab/appworks.git" }, "license": "ISC", "bugs": { diff --git a/packages/project-utils/src/git.ts b/packages/project-utils/src/git.ts index 60f9cbcb6..5c3e1c769 100644 --- a/packages/project-utils/src/git.ts +++ b/packages/project-utils/src/git.ts @@ -8,7 +8,7 @@ const gitRemoteOriginUrl = require('git-remote-origin-url'); export interface GitInfo { branch: string; // master - repository: string; // git@github.com:appworks-lab/pack.git + repository: string; // git@github.com:appworks-lab/appworks.git remoteUrl: string; // https://github.com/appworks-lab/pack group: string; // appworks-lab project: string; // pack diff --git a/packages/vscode-generator/src/templates/extension/package.json.ejs b/packages/vscode-generator/src/templates/extension/package.json.ejs index e029ff175..c7772b47b 100644 --- a/packages/vscode-generator/src/templates/extension/package.json.ejs +++ b/packages/vscode-generator/src/templates/extension/package.json.ejs @@ -20,7 +20,7 @@ "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" From 4bd2421116ba2ea452254c70c387af925a145ffa Mon Sep 17 00:00:00 2001 From: yangfan <18767120422@163.com> Date: Mon, 26 Jul 2021 17:11:57 +0800 Subject: [PATCH 2/7] feat: update url --- .github/CONTRIBUTING.md | 2 +- .github/DOCUMENT_SPECIFIC.md | 2 +- README.md | 6 +- README.zh-CN.md | 6 +- extensions/application-manager/README.md | 4 +- .../application-manager/README.zh-CN.md | 4 +- extensions/application-manager/package.json | 4 +- .../src/debugConfig/index.ts | 2 +- .../web/mocks/project/getProjectGitInfo.json | 2 +- .../Welcome/components/Information/index.tsx | 2 +- extensions/appworks/CHANGELOG.md | 56 +++++++++---------- extensions/appworks/README.md | 6 +- extensions/appworks/README.zh-CN.md | 6 +- extensions/appworks/package.json | 4 +- extensions/codemod/README.md | 2 +- extensions/codemod/README.zh-CN.md | 2 +- extensions/codemod/package.json | 4 +- extensions/doctor/CHANGELOG.md | 2 +- extensions/doctor/README.md | 2 +- extensions/doctor/README.zh-CN.md | 2 +- extensions/doctor/package.json | 4 +- .../components/ScanFailedWrap/index.tsx | 4 +- extensions/material-helper/CHANGELOG.md | 2 +- extensions/material-helper/README.md | 2 +- extensions/material-helper/README.zh-CN.md | 2 +- extensions/material-helper/package.json | 4 +- extensions/project-creator/CHANGELOG.md | 4 +- extensions/project-creator/README.md | 2 +- extensions/project-creator/README.zh-CN.md | 2 +- extensions/project-creator/package.json | 4 +- extensions/react-refactor/README.md | 2 +- extensions/react-refactor/README.zh-CN.md | 2 +- extensions/react-refactor/package.json | 2 +- extensions/style-helper/README.md | 2 +- extensions/style-helper/README.zh-CN.md | 2 +- extensions/style-helper/package.json | 4 +- extensions/time-master/README.md | 2 +- extensions/time-master/README.zh-CN.md | 4 +- extensions/time-master/package.json | 4 +- package.json | 4 +- packages/doctor-ui/src/index.tsx | 4 +- packages/project-service/CHANGELOG.md | 2 +- packages/project-utils/src/git.ts | 2 +- .../src/templates/extension/package.json.ejs | 2 +- 44 files changed, 94 insertions(+), 94 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index d282ac421..998a87e85 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -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/README.md b/README.md index ec2106fa8..59740bcc0 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,9 @@ English | [简体中文](./README.zh-CN.md) - + - +
@@ -36,7 +36,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 @@ - + - + @@ -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 c954ec9a7..93c0811dd 100644 --- a/extensions/application-manager/package.json +++ b/extensions/application-manager/package.json @@ -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/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 83b894375..5ff3af7f3 100644 --- a/extensions/appworks/CHANGELOG.md +++ b/extensions/appworks/CHANGELOG.md @@ -8,41 +8,41 @@ - fix: remove stylelint extension that causes some bugs in vscode -## [1.3.0](https://github.com/appworks-lab/pack/releases/tag/v1.3.0) +## [1.3.0](https://github.com/appworks-lab/appworks/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) +- 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) -## [1.2.1](https://github.com/appworks-lab/pack/releases/tag/v1.2.1) +## [1.2.1](https://github.com/appworks-lab/appworks/releases/tag/v1.2.1) -- 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) +- 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) -## [1.2.0](https://github.com/appworks-lab/pack/releases/tag/v1.2.0) +## [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/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) +- 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 @@ -51,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 9b0feb3b9..a239577fd 100644 --- a/extensions/appworks/package.json +++ b/extensions/appworks/package.json @@ -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 49400997f..fc0b6e7d4 100644 --- a/extensions/codemod/package.json +++ b/extensions/codemod/package.json @@ -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 4469ee8df..6e05c71d8 100644 --- a/extensions/doctor/package.json +++ b/extensions/doctor/package.json @@ -32,9 +32,9 @@ "type": "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 = () => {{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 5c3e1c769..81c8dcbcc 100644 --- a/packages/project-utils/src/git.ts +++ b/packages/project-utils/src/git.ts @@ -9,7 +9,7 @@ const gitRemoteOriginUrl = require('git-remote-origin-url'); export interface GitInfo { branch: string; // master repository: string; // git@github.com:appworks-lab/appworks.git - remoteUrl: string; // https://github.com/appworks-lab/pack + remoteUrl: string; // https://github.com/appworks-lab/appworks group: string; // appworks-lab project: string; // pack tag?: string; diff --git a/packages/vscode-generator/src/templates/extension/package.json.ejs b/packages/vscode-generator/src/templates/extension/package.json.ejs index c7772b47b..1580ef5d7 100644 --- a/packages/vscode-generator/src/templates/extension/package.json.ejs +++ b/packages/vscode-generator/src/templates/extension/package.json.ejs @@ -23,7 +23,7 @@ "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", From 66ce69fcec16bb6a56bab8aeb8157338348a4dc9 Mon Sep 17 00:00:00 2001 From: yangfan <18767120422@163.com> Date: Mon, 26 Jul 2021 17:14:54 +0800 Subject: [PATCH 3/7] feat: update readme --- extensions/appworks/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/appworks/CHANGELOG.md b/extensions/appworks/CHANGELOG.md index 5ff3af7f3..8014a83dc 100644 --- a/extensions/appworks/CHANGELOG.md +++ b/extensions/appworks/CHANGELOG.md @@ -1,6 +1,6 @@ # 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) From a22e0df54f3d5aa008ac3c0f77606319f93b1a6b Mon Sep 17 00:00:00 2001 From: yangfan <18767120422@163.com> Date: Tue, 27 Jul 2021 15:45:43 +0800 Subject: [PATCH 4/7] feat: remove Upload coverage to Codecov --- .github/workflows/ci.yml | 4 ---- README.md | 1 - 2 files changed, 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27bd1d840..472be86f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,3 @@ jobs: env: ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }} ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }} - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 - with: - fail_ci_if_error: true diff --git a/README.md b/README.md index 59740bcc0..80a3b4216 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ English | [简体中文](./README.zh-CN.md) - From 25fa79ec27cb10ec84c930bb35b6eb1cfcf7f070 Mon Sep 17 00:00:00 2001 From: yangfan <18767120422@163.com> Date: Wed, 28 Jul 2021 10:59:18 +0800 Subject: [PATCH 5/7] feat: udpate ci --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 472be86f8..03ffcb575 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,8 +19,13 @@ jobs: - run: | npm run setup:packages npm run dependency:check + npm run lint npm run test npm run coverage env: ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }} ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }} +- name: Upload coverage to Codecov + uses: codecov/codecov-action@v1 + with: + fail_ci_if_error: true \ No newline at end of file From 50b8df77259ff350407c07a91eebf3d7558ef1c9 Mon Sep 17 00:00:00 2001 From: yangfan <18767120422@163.com> Date: Wed, 28 Jul 2021 11:00:04 +0800 Subject: [PATCH 6/7] feat: udapte --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03ffcb575..f1556c7b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: env: ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }} ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }} -- name: Upload coverage to Codecov + - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 with: fail_ci_if_error: true \ No newline at end of file From 8e6949d6b37452e22e7627083b43ac8155fafbba Mon Sep 17 00:00:00 2001 From: yangfan <18767120422@163.com> Date: Wed, 28 Jul 2021 11:34:16 +0800 Subject: [PATCH 7/7] feat: udpate lint --- .github/workflows/ci.yml | 3 ++- .stylelintrc.js | 5 ++--- .../material-helper/src/componentDocSupport/getHoverItem.ts | 2 +- extensions/material-helper/src/extension.ts | 2 +- .../src/propsAutoComplete/getPropKeysFromCode.ts | 2 +- packages/user-service/scripts/get-def-login-client.ts | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1556c7b6..0d12d6b8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,4 +28,5 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 with: - fail_ci_if_error: true \ No newline at end of file + 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/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/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');