Closed renovate[bot] closed 2 years ago
βοΈ Deploy Preview for vibrant-wilson-a6f337 ready!
π¨ Explore the source changes: 323f0a8dde89685190d833aebf3da1f663522adc
π Inspect the deploy log: https://app.netlify.com/sites/vibrant-wilson-a6f337/deploys/621544e64d0c280007e213e6
π Browse the preview: https://deploy-preview-94--vibrant-wilson-a6f337.netlify.app
This PR contains the following updates:
7.0.7
->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, } } } ```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.