diff --git a/CHANGELOG.md b/CHANGELOG.md index 73072445c4..65d53b0f80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Change Log +## v0.0.24 + +- feat(cli) add admin-app application template +- feat(cli) deployment command no longer checks mode when skipping build +- feat(cli) supports automatic identification of favicon.ico in the root directory of the project +- feat(cli) supports generating resource manifest.json to facilitate access to the micro front-end system +- feat(cli) front-end application supports SPA +- feat(serve-static) optimizes the static resource caching strategy, js, css, pictures and other resources are permanently cached by default, and the HTML file is cached for 5 seconds +- fix(cli) Fix the sourcemap file contains the local path information of the packaged user +- fix(cli) Fix the problem of infinite loop when loading configuration file based on mode +- fix(fc-adapter) Fix the version/alias of the custom domain name binding does not follow the deployment environment + +- feat(cli) 添加 admin-app 应用模板 +- feat(cli) 部署命令跳过构建时不再检查 mode +- feat(cli) 支持自动识别在项目根目录下的 favicon.ico +- feat(cli) 支持生成资源 manifest.json,方便接入微前端体系 +- feat(cli) 前端应用支持 SPA +- feat(serve-static) 优化静态资源缓存策略,js、css 和图片等资源默认永久缓存,html 文件缓存 5 秒 +- fix(cli) 修复 sourcemap 文件中包含打包用户的本地路径信息 +- fix(cli) 修复基于 mode 加载配置文件出现死循环问题 +- fix(fc-adapter) 修复自定义域名绑定的版本/别名没有跟着部署环境走 + ## v0.0.23 - feat(scf-adapter) Add scf-adapter component diff --git a/dev-packages/cli/package.json b/dev-packages/cli/package.json index 15467d8728..623b352352 100644 --- a/dev-packages/cli/package.json +++ b/dev-packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@malagu/cli", - "version": "0.0.23", + "version": "0.0.24", "description": "Malagu CLI.", "publishConfig": { "access": "public" @@ -84,7 +84,7 @@ "worker-loader": "^2.0.0" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/chai": "^4.0.1", "@types/chai-string": "^1.4.0", "@types/friendly-errors-webpack-plugin": "^0.1.2", diff --git a/dev-packages/ext-scripts/package.json b/dev-packages/ext-scripts/package.json index 20b9a02f82..a02304873c 100644 --- a/dev-packages/ext-scripts/package.json +++ b/dev-packages/ext-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@malagu/ext-scripts", - "version": "0.0.23", + "version": "0.0.24", "license": "MIT", "description": "NPM scripts for malagu packages.", "files": [ diff --git a/lerna.json b/lerna.json index da241c5d1f..74072e86b1 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "lerna": "2.2.0", "npmClient": "yarn", "useWorkspaces": true, - "version": "0.0.23", + "version": "0.0.24", "packages": [ "packages/*", "dev-pacakges/*" diff --git a/package.json b/package.json index 9e1d800311..56b4478668 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "**/@types/node": "8.10.20" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/chai": "^4.0.1", "@types/chai-string": "^1.4.0", "@types/jsdom": "^11.0.4", diff --git a/packages/antd/package.json b/packages/antd/package.json index 39d6bdfb1c..458f8d706d 100644 --- a/packages/antd/package.json +++ b/packages/antd/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/antd", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/browser/index.js", "typings": "lib/browser/index.d.ts", "dependencies": { - "@malagu/react": "^0.0.23", + "@malagu/react": "^0.0.24", "antd": "^4.0.2", "dayjs": "^1.8.22", "react": "^16.12.0", @@ -41,7 +41,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/history": "^4.7.3", "@types/react-router-dom": "^5.1.3" }, diff --git a/packages/authing/package.json b/packages/authing/package.json index b3eb8ecf43..97ec58b993 100644 --- a/packages/authing/package.json +++ b/packages/authing/package.json @@ -1,12 +1,12 @@ { "name": "@malagu/authing", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/common/index.js", "typings": "lib/common/index.d.ts", "dependencies": { - "@malagu/security": "^0.0.23", - "@malagu/web": "^0.0.23", + "@malagu/security": "^0.0.24", + "@malagu/web": "^0.0.24", "authing-js-sdk": "^3.11.0", "axios": "^0.19.2", "jsonwebtoken": "^8.5.1", @@ -43,7 +43,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/koa-session": "^5.10.1", "@types/mustache": "^4.0.0", "@types/url-join": "^4.0.0", diff --git a/packages/core/package.json b/packages/core/package.json index 87f3ab08da..dd9179d10d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@malagu/core", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/common/index.js", "typings": "lib/common/index.d.ts", @@ -53,7 +53,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/traverse": "^0.6.32" }, "nyc": { diff --git a/packages/express-adapter/package.json b/packages/express-adapter/package.json index a6ee92742d..39c5c73b9a 100644 --- a/packages/express-adapter/package.json +++ b/packages/express-adapter/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/express-adapter", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/node/index.js", "typings": "lib/node/index.d.ts", "dependencies": { - "@malagu/web": "^0.0.23", + "@malagu/web": "^0.0.24", "express": "^4.17.1" }, "publishConfig": { @@ -37,7 +37,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23" + "@malagu/ext-scripts": "^0.0.24" }, "nyc": { "extends": "../../configs/nyc.json" diff --git a/packages/fc-adapter/package.json b/packages/fc-adapter/package.json index 9aa3fce7df..daabb5b89f 100644 --- a/packages/fc-adapter/package.json +++ b/packages/fc-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@malagu/fc-adapter", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/node/index.js", "typings": "lib/node/index.d.ts", @@ -8,8 +8,8 @@ "@alicloud/cloudapi": "^1.1.0", "@alicloud/fc2": "^2.1.1", "@alicloud/ram": "^1.0.0", - "@malagu/cli": "^0.0.23", - "@malagu/web": "^0.0.23", + "@malagu/cli": "^0.0.24", + "@malagu/web": "^0.0.24", "@webserverless/fc-express": "^0.1.4", "ali-oss": "^6.1.1", "co": "^4.6.0", @@ -51,7 +51,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/inquirer": "^6.5.0", "@types/jszip": "^3.1.6" }, diff --git a/packages/grommet/package.json b/packages/grommet/package.json index 6b28bbbe8b..6ede35b87c 100644 --- a/packages/grommet/package.json +++ b/packages/grommet/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/grommet", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/browser/index.js", "typings": "lib/browser/index.d.ts", "dependencies": { - "@malagu/react": "^0.0.23", + "@malagu/react": "^0.0.24", "grommet": "^2.9.0", "grommet-icons": "^4.4.0", "react": "^16.12.0", @@ -41,7 +41,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/history": "^4.7.3", "@types/react-router-dom": "^5.1.3" }, diff --git a/packages/logger/package.json b/packages/logger/package.json index 1b85c25d4e..76ad1de422 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/logger", - "version": "0.0.23", + "version": "0.0.24", "description": "logger component for pino", "main": "lib/common/index.js", "typings": "lib/common/index.d.ts", "dependencies": { - "@malagu/web": "^0.0.23", + "@malagu/web": "^0.0.24", "pino": "^5.16.0" }, "publishConfig": { @@ -37,7 +37,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/pino": "^5.15.5" }, "nyc": { diff --git a/packages/material-ui/package.json b/packages/material-ui/package.json index 957e3b4b54..1c9f29c4d6 100644 --- a/packages/material-ui/package.json +++ b/packages/material-ui/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/material-ui", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/browser/index.js", "typings": "lib/browser/index.d.ts", "dependencies": { - "@malagu/grommet": "^0.0.23", + "@malagu/grommet": "^0.0.24", "@material-ui/core": "^4.6.0", "@material-ui/icons": "^4.5.1", "@material-ui/styles": "^4.5.2", @@ -41,7 +41,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/history": "^4.7.3", "@types/react-router-dom": "^5.1.3" }, diff --git a/packages/mvc/package.json b/packages/mvc/package.json index 25f85b67e7..4bbe0cc99b 100644 --- a/packages/mvc/package.json +++ b/packages/mvc/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/mvc", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/common/index.js", "typings": "lib/common/index.d.ts", "dependencies": { - "@malagu/web": "^0.0.23", + "@malagu/web": "^0.0.24", "mustache": "^4.0.1" }, "publishConfig": { @@ -37,7 +37,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/koa-session": "^5.10.1", "@types/mustache": "^4.0.1", "@types/url-join": "^4.0.0", diff --git a/packages/react/package.json b/packages/react/package.json index a30f0d32b8..eb765fff5f 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/react", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/browser/index.js", "typings": "lib/browser/index.d.ts", "dependencies": { - "@malagu/core": "^0.0.23", + "@malagu/core": "^0.0.24", "history": "^4.10.1", "react": "^16.12.0", "react-dom": "^16.12.0", @@ -42,7 +42,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/history": "^4.7.3", "@types/react-dom": "^16.9.8", "@types/react-router-dom": "^5.1.3" diff --git a/packages/rpc/package.json b/packages/rpc/package.json index 51d0cbfe53..b5b62d8076 100644 --- a/packages/rpc/package.json +++ b/packages/rpc/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/rpc", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/common/index.js", "typings": "lib/common/index.d.ts", "dependencies": { - "@malagu/web": "^0.0.23", + "@malagu/web": "^0.0.24", "reconnecting-websocket": "^4.1.10" }, "publishConfig": { @@ -37,7 +37,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/url-join": "^4.0.0", "@types/uuid": "^3.4.5" }, diff --git a/packages/scf-adapter/package.json b/packages/scf-adapter/package.json index 0c06f0e670..f7c9309ace 100644 --- a/packages/scf-adapter/package.json +++ b/packages/scf-adapter/package.json @@ -1,12 +1,12 @@ { "name": "@malagu/scf-adapter", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/node/index.js", "typings": "lib/node/index.d.ts", "dependencies": { - "@malagu/cli": "^0.0.23", - "@malagu/web": "^0.0.23", + "@malagu/cli": "^0.0.24", + "@malagu/web": "^0.0.24", "dotenv": "^8.2.0", "express": "^4.17.1", "fs-extra": "^8.1.0", @@ -45,7 +45,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/inquirer": "^6.5.0", "@types/jszip": "^3.1.6" }, diff --git a/packages/security/package.json b/packages/security/package.json index 1e658d534b..688423287a 100644 --- a/packages/security/package.json +++ b/packages/security/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/security", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/node/index.js", "typings": "lib/node/index.d.ts", "dependencies": { - "@malagu/web": "^0.0.23", + "@malagu/web": "^0.0.24", "crypto-js": "^4.0.0" }, "publishConfig": { @@ -37,7 +37,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/crypto-js": "^3.1.47", "@types/jexl": "^2.1.0" }, diff --git a/packages/serve-static/package.json b/packages/serve-static/package.json index 20675f8888..25c0477c58 100644 --- a/packages/serve-static/package.json +++ b/packages/serve-static/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/serve-static", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/node/index.js", "typings": "lib/node/index.d.ts", "dependencies": { - "@malagu/web": "^0.0.23", + "@malagu/web": "^0.0.24", "serve-static": "^1.14.1" }, "publishConfig": { @@ -38,7 +38,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/koa-session": "^5.10.1", "@types/mustache": "^4.0.1", "@types/url-join": "^4.0.0", diff --git a/packages/typeorm/package.json b/packages/typeorm/package.json index 5351684838..92b70be2e5 100644 --- a/packages/typeorm/package.json +++ b/packages/typeorm/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/typeorm", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/common/index.js", "typings": "lib/common/index.d.ts", "dependencies": { - "@malagu/web": "^0.0.23", + "@malagu/web": "^0.0.24", "mysql": "^2.17.1", "typeorm": "^0.2.19" }, @@ -38,8 +38,8 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/cli": "^0.0.23", - "@malagu/ext-scripts": "^0.0.23", + "@malagu/cli": "^0.0.24", + "@malagu/ext-scripts": "^0.0.24", "webpack-filter-warnings-plugin": "^1.2.1" }, "nyc": { diff --git a/packages/vercel-adapter/package.json b/packages/vercel-adapter/package.json index 011051a7a6..bab17f8f36 100644 --- a/packages/vercel-adapter/package.json +++ b/packages/vercel-adapter/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/vercel-adapter", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/node/index.js", "typings": "lib/node/index.d.ts", "dependencies": { - "@malagu/web": "^0.0.23", + "@malagu/web": "^0.0.24", "command-exists": "^1.2.9", "express": "^4.17.1" }, @@ -38,7 +38,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "webpack-merge": "^4.2.1" }, "nyc": { diff --git a/packages/web/package.json b/packages/web/package.json index 3aa18cc307..26e7d4125c 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/web", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/common/index.js", "typings": "lib/common/index.d.ts", "dependencies": { - "@malagu/core": "^0.0.23", + "@malagu/core": "^0.0.24", "@types/express": "^4.16.1", "cookies": "^0.7.3", "cors": "^2.8.5", @@ -43,7 +43,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23", + "@malagu/ext-scripts": "^0.0.24", "@types/cors": "^2.8.6", "bufferutil": "^4.0.1", "utf-8-validate": "^5.0.2" diff --git a/packages/widget/package.json b/packages/widget/package.json index 328906cfdc..e29de9ed1e 100644 --- a/packages/widget/package.json +++ b/packages/widget/package.json @@ -1,11 +1,11 @@ { "name": "@malagu/widget", - "version": "0.0.23", + "version": "0.0.24", "description": "", "main": "lib/common/index.js", "typings": "lib/common/index.d.ts", "dependencies": { - "@malagu/core": "^0.0.23", + "@malagu/core": "^0.0.24", "@phosphor/widgets": "^1.9.3", "perfect-scrollbar": "^1.4.0" }, @@ -38,7 +38,7 @@ "docs": "malaguext docs" }, "devDependencies": { - "@malagu/ext-scripts": "^0.0.23" + "@malagu/ext-scripts": "^0.0.24" }, "nyc": { "extends": "../../configs/nyc.json"