Skip to content
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

chore(deps): update dependency @kkt/raw-modules to v7.1.1 - autoclosed #36

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 17, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@kkt/raw-modules 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 force-pushed the renovate/kkt-raw-modules-7.x branch from d8b3a4d to 1443e59 Compare January 25, 2022 09:59
@renovate renovate bot changed the title chore(deps): update dependency @kkt/raw-modules to v7.0.6 chore(deps): update dependency @kkt/raw-modules to v7.0.7 Jan 25, 2022
@renovate renovate bot force-pushed the renovate/kkt-raw-modules-7.x branch from 1443e59 to cda4a6b Compare February 8, 2022 12:30
@renovate renovate bot changed the title chore(deps): update dependency @kkt/raw-modules to v7.0.7 chore(deps): update dependency @kkt/raw-modules to v7.1.0 Feb 8, 2022
@renovate renovate bot force-pushed the renovate/kkt-raw-modules-7.x branch from cda4a6b to 5d6ff6f Compare February 22, 2022 20:46
@renovate renovate bot changed the title chore(deps): update dependency @kkt/raw-modules to v7.1.0 chore(deps): update dependency @kkt/raw-modules to v7.1.1 Feb 22, 2022
@renovate renovate bot changed the title chore(deps): update dependency @kkt/raw-modules to v7.1.1 chore(deps): update dependency @kkt/raw-modules to v7.1.1 - autoclosed Apr 8, 2022
@renovate renovate bot closed this Apr 8, 2022
@renovate renovate bot deleted the renovate/kkt-raw-modules-7.x branch April 8, 2022 17:28
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.

None yet

1 participant