chore: v3.0.0-beta.20

This commit is contained in:
winixt 2022-08-23 17:49:37 +08:00
parent dbbf447362
commit 49d64b5179
4 changed files with 22 additions and 10 deletions

View File

@ -1,3 +1,12 @@
# [3.0.0-beta.20](https://github.com/WeBankFinTech/fes.js/compare/v3.0.0-beta.19...v3.0.0-beta.20) (2022-08-23)
### Bug Fixes
* 修复现代浏览器 polyfill 问题 ([#147](https://github.com/WeBankFinTech/fes.js/issues/147)) ([dbbf447](https://github.com/WeBankFinTech/fes.js/commit/dbbf4473624ab8c5876897da1499a71d9eb23312))
# [3.0.0-beta.19](https://github.com/WeBankFinTech/fes.js/compare/v3.0.0-beta.18...v3.0.0-beta.19) (2022-08-18) # [3.0.0-beta.19](https://github.com/WeBankFinTech/fes.js/compare/v3.0.0-beta.18...v3.0.0-beta.19) (2022-08-18)

View File

@ -1,6 +1,6 @@
{ {
"name": "fes.js", "name": "fes.js",
"version": "3.0.0-beta.19", "version": "3.0.0-beta.20",
"description": "一个好用的前端管理台快速开发框架", "description": "一个好用的前端管理台快速开发框架",
"preferGlobal": true, "preferGlobal": true,
"private": true, "private": true,
@ -70,4 +70,4 @@
"path": "./node_modules/cz-conventional-changelog" "path": "./node_modules/cz-conventional-changelog"
} }
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@fesjs/builder-vite", "name": "@fesjs/builder-vite",
"version": "3.0.0-beta.11", "version": "3.0.0-beta.12",
"description": "@fesjs/builder-vite", "description": "@fesjs/builder-vite",
"main": "lib/index.js", "main": "lib/index.js",
"files": [ "files": [

View File

@ -67,7 +67,7 @@ async function publishPackage(pkg, runIfNotDry) {
function readPackageJson(pkg) { function readPackageJson(pkg) {
const pkgPath = getPkgRoot(pkg); const pkgPath = getPkgRoot(pkg);
return JSON.parse(fs.readFileSync(path.join(pkgPath, 'package.json', 'utf-8'))); return JSON.parse(fs.readFileSync(path.join(pkgPath, 'package.json'), 'utf-8'));
} }
function writePackageJson(pkg, content) { function writePackageJson(pkg, content) {
@ -170,12 +170,15 @@ function genOtherPkgsVersion(packagesVersion) {
noChangedPkgs.forEach((currentPkg) => { noChangedPkgs.forEach((currentPkg) => {
const pkgJson = readPackageJson(currentPkg); const pkgJson = readPackageJson(currentPkg);
let isUpdated = false; let isUpdated = false;
Object.keys(pkgJson.dependencies).forEach((npmName) => {
if (pkgs[npmName]) { if (pkgJson.dependencies) {
isUpdated = true; Object.keys(pkgJson.dependencies).forEach((npmName) => {
pkgJson.dependencies[npmName] = pkgs[npmName].newVersion; if (pkgs[npmName]) {
} isUpdated = true;
}); pkgJson.dependencies[npmName] = pkgs[npmName].newVersion;
}
});
}
if (isUpdated) { if (isUpdated) {
const oldVersion = pkgJson.version; const oldVersion = pkgJson.version;