Closed renovate[bot] closed 2 years ago
This PR contains the following updates:
7.0.5
7.1.1
π Schedule: At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.
This PR contains the following updates:
7.0.5
->7.1.1
Release Notes
kktjs/kkt
### [`v7.1.1`](https://togithub.com/kktjs/kkt/releases/v7.1.1) [Compare Source](https://togithub.com/kktjs/kkt/compare/v7.1.0...v7.1.1) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/kkt@7.1.1/file/README.md) [![npm version](https://img.shields.io/npm/v/kkt.svg)](https://www.npmjs.com/package/kkt) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/kkt)](https://bundlephobia.com/result?p=kkt@7.1.1) ```bash npm i kkt@7.1.1 ``` - π doc: Update README.md [`6b3850a`](https://togithub.com/kktjs/kkt/commit/6b3850a) [@jaywcjlove](https://togithub.com/jaywcjlove) - π¨ style(kkt): modify overrideDevServerConfig options. [`1bac5e7`](https://togithub.com/kktjs/kkt/commit/1bac5e7) [@jaywcjlove](https://togithub.com/jaywcjlove) - π feat: Add isNotCheckHTML& overridePaths options. [`64d26fa`](https://togithub.com/kktjs/kkt/commit/64d26fa) [@jaywcjlove](https://togithub.com/jaywcjlove) - π feat(kkt): Fix overridesWebpack options issue. [`6209c5c`](https://togithub.com/kktjs/kkt/commit/6209c5c) [@jaywcjlove](https://togithub.com/jaywcjlove) - π feat: Add [@kkt/ncc](https://togithub.com/kkt/ncc) package. [`a569191`](https://togithub.com/kktjs/kkt/commit/a569191) [@jaywcjlove](https://togithub.com/jaywcjlove) - π chore: update workflow config. [`8d9d42e`](https://togithub.com/kktjs/kkt/commit/8d9d42e) [@jaywcjlove](https://togithub.com/jaywcjlove) - π fix: Fix checkRequired errors. [`39a33be`](https://togithub.com/kktjs/kkt/commit/39a33be) [@jaywcjlove](https://togithub.com/jaywcjlove) - π chore: update tsconfig.json [`6577ee6`](https://togithub.com/kktjs/kkt/commit/6577ee6) [@jaywcjlove](https://togithub.com/jaywcjlove) - π fix(ncc): Add files feild to package.json [`b8f4439`](https://togithub.com/kktjs/kkt/commit/b8f4439) [@jaywcjlove](https://togithub.com/jaywcjlove) - π chore: update workflows config. [`bc7c6f1`](https://togithub.com/kktjs/kkt/commit/bc7c6f1) [@jaywcjlove](https://togithub.com/jaywcjlove) ### [`v7.1.0`](https://togithub.com/kktjs/kkt/releases/v7.1.0) [Compare Source](https://togithub.com/kktjs/kkt/compare/v7.0.7...v7.1.0) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/kkt@7.1.0/file/README.md) [![npm version](https://img.shields.io/npm/v/kkt.svg)](https://www.npmjs.com/package/kkt) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/kkt)](https://bundlephobia.com/result?p=kkt@7.1.0) ```bash npm i kkt@7.1.0 ``` - π feat: Added new way to configure proxy manually. [`3f30dd3`](https://togithub.com/kktjs/kkt/commit/3f30dd3) [@jaywcjlove](https://togithub.com/jaywcjlove) - π chore: update .github/workflows/ci.yml [`6ec372f`](https://togithub.com/kktjs/kkt/commit/6ec372f) [@jaywcjlove](https://togithub.com/jaywcjlove) - π chore: update .github/workflows/ci.yml [`c694325`](https://togithub.com/kktjs/kkt/commit/c694325) [@jaywcjlove](https://togithub.com/jaywcjlove) - π chore(deps): update dependency lint-staged to v12.3.3 ([#344](https://togithub.com/kktjs/kkt/issues/344)) [`fef83a0`](https://togithub.com/kktjs/kkt/commit/fef83a0) [@renovate-bot](https://togithub.com/renovate-bot) - π doc: Update README.md [`1ddc815`](https://togithub.com/kktjs/kkt/commit/1ddc815) [@jaywcjlove](https://togithub.com/jaywcjlove) ##### New Features ```diff import express from 'express'; import { WebpackConfiguration, MockerAPIOptions } from 'kkt'; export default (conf: WebpackConfiguration, evn: 'development' | 'production') => { //.... + conf.proxySetup = (app: express.Application): MockerAPIOptions => { + return { + path: path.resolve('./mocker/index.js'), + }; + }; return conf; } ``` ##### Or: Or use another way to manually configure the proxy. ```typescript import express from 'express'; import { createProxyMiddleware } from 'http-proxy-middleware'; import { MockerAPIOptions } from 'kkt'; /** * Still available, may be removed in the future. (δ»ηΆε―η¨οΌε°ζ₯ε―θ½δΌθ’«ε ι€γ) */ export const proxySetup = (app: express.Application): MockerAPIOptions => { app.use('/api', createProxyMiddleware({ target: 'http://localhost:5000', changeOrigin: true, })); /** * Mocker API Options * https://www.npmjs.com/package/mocker-api */ return { path: path.resolve('./mocker/index.js'), option: { proxy: { '/repos/(.*)': 'https://api.github.com/', }, changeHost: true, } } } ``` ### [`v7.0.7`](https://togithub.com/kktjs/kkt/releases/v7.0.7) [Compare Source](https://togithub.com/kktjs/kkt/compare/v7.0.6...v7.0.7) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/kkt@7.0.7/file/README.md) [![npm version](https://img.shields.io/npm/v/kkt.svg)](https://www.npmjs.com/package/kkt) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/kkt)](https://bundlephobia.com/result?p=kkt@7.0.7) ```bash npm i kkt@7.0.7 ``` - π feat: Enhanced error message display. [`84a38ff`](https://togithub.com/kktjs/kkt/commit/84a38ff) [@jaywcjlove](https://togithub.com/jaywcjlove) - π fix(deps): update dependency mini-css-extract-plugin to ~2.4.7 ([#340](https://togithub.com/kktjs/kkt/issues/340)) ([#341](https://togithub.com/kktjs/kkt/issues/341)) [`44e38d1`](https://togithub.com/kktjs/kkt/commit/44e38d1) [@jaywcjlove](https://togithub.com/jaywcjlove) - π fix(deps): update dependency uiw to v4.10.2 ([#254](https://togithub.com/kktjs/kkt/issues/254)) [`f8c49e3`](https://togithub.com/kktjs/kkt/commit/f8c49e3) [@renovate-bot](https://togithub.com/renovate-bot) - π fix([@kkt/react-library](https://togithub.com/kkt/react-library)): Fix output css file issue. [`c9787bb`](https://togithub.com/kktjs/kkt/commit/c9787bb) [@jaywcjlove](https://togithub.com/jaywcjlove) - π fix: MiniCssExtractPlugin is not a constructor [`8e7c880`](https://togithub.com/kktjs/kkt/commit/8e7c880) [@jaywcjlove](https://togithub.com/jaywcjlove) - π doc: Update README.md [`bc78f08`](https://togithub.com/kktjs/kkt/commit/bc78f08) [@jaywcjlove](https://togithub.com/jaywcjlove) - π doc: Update README.md [`0a8470d`](https://togithub.com/kktjs/kkt/commit/0a8470d) [@jaywcjlove](https://togithub.com/jaywcjlove) - π doc: Update README.md [`1874214`](https://togithub.com/kktjs/kkt/commit/1874214) [@jaywcjlove](https://togithub.com/jaywcjlove) ### [`v7.0.6`](https://togithub.com/kktjs/kkt/releases/v7.0.6) [Compare Source](https://togithub.com/kktjs/kkt/compare/v7.0.5...v7.0.6) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/kkt@7.0.6/file/README.md) [![npm version](https://img.shields.io/npm/v/kkt.svg)](https://www.npmjs.com/package/kkt) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/kkt)](https://bundlephobia.com/result?p=kkt@7.0.6) ```bash npm i kkt@7.0.6 ``` - π fix(deps): update dependency [@uiw/react-markdown-preview](https://togithub.com/uiw/react-markdown-preview) to v3.4.7 ([#335](https://togithub.com/kktjs/kkt/issues/335)) [`40b0cdd`](https://togithub.com/kktjs/kkt/commit/40b0cdd) [@renovate-bot](https://togithub.com/renovate-bot) - π chore(deps): update dependency lint-staged to v12.1.7 ([#333](https://togithub.com/kktjs/kkt/issues/333)) [`9aba4fb`](https://togithub.com/kktjs/kkt/commit/9aba4fb) [@renovate-bot](https://togithub.com/renovate-bot) - π fix(kkt): Fix MiniCssExtractPlugin is not a constructor issue. ([#340](https://togithub.com/kktjs/kkt/issues/340)) [`14a928e`](https://togithub.com/kktjs/kkt/commit/14a928e) [@jaywcjlove](https://togithub.com/jaywcjlove)Configuration
π Schedule: At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.