uiwjs / react-monacoeditor

Monaco Editor component for React.
https://uiwjs.github.io/react-monacoeditor/
MIT License
296 stars 25 forks source link

chore(deps): update dependency @kkt/less-modules to v7.1.0 - autoclosed #133

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@kkt/less-modules 7.0.7 -> 7.1.0 age adoption passing confidence

Release Notes

kktjs/kkt ### [`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.