From 66cdd73591ffe83aa1469e0916db3276b6027fe2 Mon Sep 17 00:00:00 2001 From: luoxue Date: Wed, 25 Dec 2019 11:12:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(version):=20=E5=8D=87=E7=BA=A7=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 12 +++++++++++- packages/eslint/command.config.js | 2 +- packages/stylelint/command.config.js | 2 +- packages/tslint/command.config.js | 2 +- packages/webpack-box/build/base.js | 2 +- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d9a4f46..1b22236a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/packages/eslint/command.config.js b/packages/eslint/command.config.js index 2578a14f..7323d4ac 100644 --- a/packages/eslint/command.config.js +++ b/packages/eslint/command.config.js @@ -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) diff --git a/packages/stylelint/command.config.js b/packages/stylelint/command.config.js index ab1574bd..53297378 100644 --- a/packages/stylelint/command.config.js +++ b/packages/stylelint/command.config.js @@ -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) diff --git a/packages/tslint/command.config.js b/packages/tslint/command.config.js index 9e77c8fa..a39e38f6 100644 --- a/packages/tslint/command.config.js +++ b/packages/tslint/command.config.js @@ -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) diff --git a/packages/webpack-box/build/base.js b/packages/webpack-box/build/base.js index a6508a14..bd572ac6 100644 --- a/packages/webpack-box/build/base.js +++ b/packages/webpack-box/build/base.js @@ -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 {