Skip to content

Commit

Permalink
feat(version): 升级插件版本
Browse files Browse the repository at this point in the history
  • Loading branch information
luoxue committed Dec 25, 2019
1 parent 108355e commit 66cdd73
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
## [1.0.9](https://github.com/luoxue-victor/learn_webpack/compare/v1.2.3...v1.0.9) (2019-12-25)
## [1.0.9](https://github.com/luoxue-victor/learn_webpack/compare/v1.2.4...v1.0.9) (2019-12-25)
## [1.2.4](https://github.com/luoxue-victor/learn_webpack/compare/v1.2.3...v1.2.4) (2019-12-25)

范围|描述|commitId
--|--|--
- | v1.2.4| [108355e](https://github.com/luoxue-victor/learn_webpack/commit/108355e)

### 🌟 新功能
范围|描述|commitId
--|--|--
lints | lints 插件在webpack-box中剥离出来| [2f9e97c](https://github.com/luoxue-victor/learn_webpack/commit/2f9e97c)

### 🐛 Bug 修复
范围|描述|commitId
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint/command.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = function({ injectCommand, api }) {
injectCommand(function({ program, cleanArgs, boxConfig }) {
program
.command('lint eslint')
.description('修复lint')
.description('修复 eslint')
.action(async (name, cmd) => {
const options = cleanArgs(cmd)
const args = Object.assign(options, { name }, boxConfig)
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint/command.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = function({ injectCommand, api }) {
injectCommand(function({ program, cleanArgs, boxConfig }) {
program
.command('lint stylelint')
.description('修复lint')
.description('修复 stylelint')
.action(async (name, cmd) => {
const options = cleanArgs(cmd)
const args = Object.assign(options, { name }, boxConfig)
Expand Down
2 changes: 1 addition & 1 deletion packages/tslint/command.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = function({ injectCommand, api }) {
injectCommand(function({ program, cleanArgs, boxConfig }) {
program
.command('lint tslint')
.description('修复lint')
.description('修复 tslint')
.action(async (name, cmd) => {
const options = cleanArgs(cmd)
const args = Object.assign(options, { name }, boxConfig)
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-box/build/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = (options) => {
const { getAllPluginIdOfPackageJson } = require('@pkb/shared-utils')
const configs = []
files.forEach(fileName => configs.push(require(`${configPath}/${fileName}`)))

// 读取插件中的配置
getAllPluginIdOfPackageJson().forEach(id => {
const pluginWebpackChainPath = `${id}/webpack-chain.config.js`
try {
Expand Down

0 comments on commit 66cdd73

Please sign in to comment.