Skip to content

Commit b23bcd7

Browse files
fyangstudioluhc228
andauthored
Release 1.4.2 (#956)
* feat: update (#953) * feat: update (#954) * Feat: support select different material (#955) * feat: support select different materials * feat: support select different base component * feat: support install material deps * feat: support componentCreator and pageGenerator * Fix: doctor ts error (#957) * chore: version and changelog (#959) * feat: update (#958) Co-authored-by: Hengchang Lu <44047106+luhc228@users.noreply.github.com>
1 parent 916b51e commit b23bcd7

37 files changed

Lines changed: 358 additions & 75 deletions

File tree

extensions/application-manager/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 1.0.8
4+
5+
- feat: quick entries add 'doctor'
6+
37
## 1.0.7
48

59
- fix: actions view error

extensions/application-manager/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Application Manager",
44
"description": "Quick view your Universal Application(React/Rax/Vue, etc).",
55
"publisher": "iceworks-team",
6-
"version": "1.0.7",
6+
"version": "1.0.8",
77
"engines": {
88
"vscode": "^1.41.0"
99
},

extensions/application-manager/src/quickPicks/options.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ export default [
4747
detail: i18n.format('extension.applicationManager.showEntriesQuickPick.doctor.detail'),
4848
command: 'doctor.dashboard',
4949
async condition() {
50-
const isInstalledDoctor = checkIsInstalledDoctor();
51-
const isTargetProjectType = await checkIsTargetProjectType();
52-
return isInstalledDoctor && isTargetProjectType;
50+
return checkIsInstalledDoctor();
5351
},
5452
},
5553
{

extensions/application-manager/src/views/quickEntriesView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const entryOptions = options.filter(({ command }) => {
1111
return [
1212
'project-creator.create-project.start',
1313
'applicationManager.dashboard.start',
14-
'applicationManager.welcome.start',
14+
'doctor.dashboard',
1515
'applicationManager.configHelper.start',
1616
].includes(command);
1717
}).concat([

extensions/appworks/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## [1.4.2](https://github.com/appworks-lab/appworks/releases/tag/v1.4.2)
4+
5+
- feat: add quick entries for 'doctor' [#953](https://github.com/appworks-lab/appworks/pull/953)
6+
- feat: add showInformationMessage for CodeMod result [#954](https://github.com/appworks-lab/appworks/pull/954)
7+
- feat: support antd and fusion material select [#955](https://github.com/appworks-lab/appworks/pull/955)
8+
- feat: add 'tao.def-basic-kit' for O2 [#951](https://github.com/appworks-lab/appworks/pull/951)
9+
310
## [1.4.1](https://github.com/appworks-lab/appworks/releases/tag/v1.4.1)
411

512
- feat: update feedback link [#940](https://github.com/appworks-lab/appworks/pull/940)

extensions/appworks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "AppWorks",
44
"description": "Application Development Pack, provide visualization and intelligent technology to build Universal Application faster and better, support Web / H5 / MiniProgram(小程序) Application.",
55
"publisher": "iceworks-team",
6-
"version": "1.4.1",
6+
"version": "1.4.2",
77
"engines": {
88
"vscode": "^1.41.0"
99
},

extensions/doctor/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# Change Log
22

3+
# 1.1.6
4+
5+
- feat: add showInformationMessage for codemod result
36

47
# 1.1.5
58

69
- fix: windows get empty files
10+
711
# 1.1.4
812

913
- fix: codemod 100 score show result

extensions/doctor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Doctor",
44
"description": "A free security and quality audit tool for modern DevOps teams",
55
"publisher": "iceworks-team",
6-
"version": "1.1.5",
6+
"version": "1.1.6",
77
"engines": {
88
"vscode": "^1.41.0"
99
},

extensions/doctor/src/codemod.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ const SCAN_OPTIONS = {
1818

1919
export async function runCodemod(transform: string) {
2020
const result = await doctor.scan(projectPath, Object.assign({ transforms: [transform] }, SCAN_OPTIONS));
21+
const { env, window } = vscode;
22+
const isEn = env.language === 'en';
23+
window.showInformationMessage(`${isEn ? 'Codemod run success, logs shows in the OUTPUT.' : 'Codemod 运行成功,运行日志将在 “输出” 中展示。'}`);
2124
setOutput(result.codemod?.reports[0].output || '');
2225
return result;
2326
}
@@ -40,9 +43,9 @@ export async function activateCodemod(context: vscode.ExtensionContext) {
4043

4144
if (codemod.npm_deprecate) {
4245
const { name, version } = parse(codemod.npm_deprecate);
43-
const dependence = (packageJSON.dependencies || {})[name] || (packageJSON.devDependencies || {})[name];
44-
45-
if (dependence && semver.satisfies(semver.coerce(dependence), version || '*')) {
46+
const dependencyVersion = (packageJSON.dependencies || {})[name] || (packageJSON.devDependencies || {})[name];
47+
const dependencySemver = semver.coerce(dependencyVersion);
48+
if (dependencySemver && semver.satisfies(dependencySemver, version || '*')) {
4649
deprecatedPackageConfig[name] = {
4750
...codemod,
4851
name,

extensions/material-helper/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22

3+
## 1.1.1
4+
5+
- feat: support select different component type
6+
37
## 1.1.0
8+
49
- chore: add iceworks-refactor to extensionDependencies
510
- fix: the babel plugin's flow will cause error, when babel parse typescript files.
611
- fix: import duplicate components when add routers

0 commit comments

Comments
 (0)