-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #932 from appworks-lab/release/1.4.0
- Loading branch information
Showing
43 changed files
with
642 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Change Log | ||
|
||
|
||
# 1.1.5 | ||
|
||
- fix: windows get empty files | ||
# 1.1.4 | ||
|
||
- fix: codemod 100 score show result | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"eamodio.tsl-problem-matcher" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// A launch configuration that compiles the extension and then opens it inside a new window | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Debug Extension", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": ["--extensionDevelopmentPath=${workspaceFolder}"], | ||
"outFiles": ["${workspaceFolder}/build/*.js"], | ||
"preLaunchTask": "npm: watch:extension" | ||
}, | ||
{ | ||
"name": "Extension Tests", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"args": [ | ||
"--extensionDevelopmentPath=${workspaceFolder}", | ||
"--extensionTestsPath=${workspaceFolder}/build/__tests__/suite/index" | ||
], | ||
"outFiles": [ | ||
"${workspaceFolder}/build/__tests__/**/*.js" | ||
], | ||
"preLaunchTask": "npm: watch", | ||
"console": "integratedTerminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "watch:extension", | ||
"problemMatcher": [ | ||
"$ts-webpack", | ||
"$ts-webpack-watch" | ||
], | ||
"isBackground": true, | ||
"presentation": { | ||
"reveal": "never" | ||
}, | ||
"group": "build" | ||
}, | ||
{ | ||
"type": "npm", | ||
"script": "watch", | ||
"problemMatcher": "$tsc-watch", | ||
"isBackground": true, | ||
"presentation": { | ||
"reveal": "never" | ||
}, | ||
"group": "build" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.vscode/** | ||
.vscode-test/** | ||
src/** | ||
.gitignore | ||
**/tsconfig.json | ||
**/*.map | ||
**/*.ts | ||
web/** | ||
node_modules/** | ||
!node_modules/prettier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Change Log | ||
|
||
## 1.0.0 | ||
|
||
Release 1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# React Generator | ||
|
||
English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/react-generator/README.zh-CN.md) | ||
|
||
[![Version for VS Code Extension](https://vsmarketplacebadge.apphb.com/version-short/iceworks-team.iceworks-generator.svg?logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-generator) | ||
[![Installs](https://vsmarketplacebadge.apphb.com/installs-short/iceworks-team.iceworks-generator.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-generator) | ||
[![Rating](https://vsmarketplacebadge.apphb.com/rating-short/iceworks-team.iceworks-generator.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-generator) | ||
[![The MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT) | ||
|
||
## Usage | ||
|
||
### Generate typescript code | ||
|
||
Convert json object to typescript interfaces | ||
|
||
![img](https://img.alicdn.com/imgextra/i3/O1CN01ldVoDI1vlbSLpMtid_!!6000000006213-1-tps-1080-705.gif) | ||
|
||
### Generate styles code | ||
|
||
Generate dark mode styles (Right Click in a directory or a CSS File Editor, choose `AppWorks: add dark mode media query to css files`.) | ||
|
||
![img](https://img.alicdn.com/imgextra/i3/O1CN017C7Cw91pUlC3XS7Zj_!!6000000005364-1-tps-1080-601.gif) | ||
|
||
### Generate boilerplate code when create file | ||
|
||
* Generate page components | ||
* Generate common components | ||
* Generate module and store files | ||
|
||
![img](https://img.alicdn.com/imgextra/i3/O1CN01qwQZYb1nE9bQT6qZb_!!6000000005057-1-tps-960-677.gif) | ||
|
||
![img](https://img.alicdn.com/imgextra/i4/O1CN01lIMHws1NlQMXVjtWs_!!6000000001610-1-tps-960-677.gif) | ||
|
||
## More | ||
|
||
This Extension power by [AppWorks Team](https://marketplace.visualstudio.com/publishers/iceworks-team), it's part of the AppWorks, see [AppWorks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# React 代码生成器 | ||
|
||
English | [简体中文](https://github.com/appworks-lab/appworks/blob/master/extensions/react-generator/README.zh-CN.md) | ||
|
||
[![Version for VS Code Extension](https://vsmarketplacebadge.apphb.com/version-short/iceworks-team.iceworks-generator.svg?logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-generator) | ||
[![Installs](https://vsmarketplacebadge.apphb.com/installs-short/iceworks-team.iceworks-generator.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-generator) | ||
[![Rating](https://vsmarketplacebadge.apphb.com/rating-short/iceworks-team.iceworks-generator.svg)](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-generator) | ||
[![The MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT) | ||
|
||
## 使用 | ||
|
||
### 生成 typescript 代码 | ||
|
||
通过 JSON 生成 typescript interface 文件 | ||
|
||
![img](https://img.alicdn.com/imgextra/i3/O1CN01ldVoDI1vlbSLpMtid_!!6000000006213-1-tps-1080-705.gif) | ||
|
||
### 生成样式代码 | ||
|
||
生成 dark mode 代码(在 css 文件或目录中右键,选择 `AppWorks:分析 CSS 文件中的颜色,生成「深色模式」的样式代码`) | ||
|
||
![img](https://img.alicdn.com/imgextra/i3/O1CN017C7Cw91pUlC3XS7Zj_!!6000000005364-1-tps-1080-601.gif) | ||
|
||
### 创建文件时自动填充样板代码 | ||
|
||
* 生成页面组件代码 | ||
* 生成通用组件代码 | ||
* 生成 module 和 store 状态管理文件 | ||
|
||
![img](https://img.alicdn.com/imgextra/i3/O1CN01qwQZYb1nE9bQT6qZb_!!6000000005057-1-tps-960-677.gif) | ||
|
||
![img](https://img.alicdn.com/imgextra/i4/O1CN01lIMHws1NlQMXVjtWs_!!6000000001610-1-tps-960-677.gif) | ||
|
||
## 更多 | ||
|
||
本插件由 [AppWorks Team](https://marketplace.visualstudio.com/publishers/iceworks-team) 开发,是 AppWorks 套件的一部分,访问 [AppWorks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) 获取更多功能。 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.