Skip to content

chore(deps): update dependency @kkt/scope-plugin-options to v7.1.1 - autoclosed #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 17, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@kkt/scope-plugin-options 7.0.5 -> 7.1.1 age adoption passing confidence

Release Notes

kktjs/kkt

v7.1.1

Compare Source

npm version npm bundle size

npm i kkt@7.1.1

v7.1.0

Compare Source

npm version npm bundle size

npm i kkt@7.1.0
New Features
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.

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

Compare Source

npm version npm bundle size

npm i kkt@7.0.7

v7.0.6

Compare Source

npm version npm bundle size

npm i kkt@7.0.6

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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency @kkt/scope-plugin-options to v7.0.6 chore(deps): update dependency @kkt/scope-plugin-options to v7.0.7 Jan 25, 2022
@renovate renovate bot force-pushed the renovate/kkt-scope-plugin-options-7.x branch from 1d85af1 to 050cc74 Compare January 25, 2022 09:04
@renovate renovate bot force-pushed the renovate/kkt-scope-plugin-options-7.x branch from 050cc74 to 906a6db Compare February 8, 2022 11:59
@renovate renovate bot changed the title chore(deps): update dependency @kkt/scope-plugin-options to v7.0.7 chore(deps): update dependency @kkt/scope-plugin-options to v7.1.0 Feb 8, 2022
@renovate renovate bot force-pushed the renovate/kkt-scope-plugin-options-7.x branch from 906a6db to 9180285 Compare February 22, 2022 20:43
@renovate renovate bot changed the title chore(deps): update dependency @kkt/scope-plugin-options to v7.1.0 chore(deps): update dependency @kkt/scope-plugin-options to v7.1.1 Feb 22, 2022
@renovate renovate bot changed the title chore(deps): update dependency @kkt/scope-plugin-options to v7.1.1 chore(deps): update dependency @kkt/scope-plugin-options to v7.1.1 - autoclosed Mar 7, 2022
@renovate renovate bot closed this Mar 7, 2022
@renovate renovate bot deleted the renovate/kkt-scope-plugin-options-7.x branch March 7, 2022 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant