Releases: kktjs/kkt
Releases · kktjs/kkt
v6.6.3
- 💄 chore(deps): update dependency react-scripts to v4.0.2
7c080ea
@renovate-bot
- 💄 chore: format the code.
61439e9
- 💄 chore(example): update .gitignore
14549e3
- 💄 chore(deps): Update dependency rematch to v2.0.0
8632698
- 💄 chore(rematch): fix store error.
9392074
- 💄 chore(rematch-uiw): Fix eslint errors.
7c05199
- 💄 chore(deps): update dependency compile-less-cli to v1.7.0
05cd173
@renovate-bot - 💄 chore(deps): update dependency tsbb to v2.0.7
12bfb69
@renovate-bot - 🐞 fix(deps): update dependency mocker-api to v2.8.1
47a2dcc
@renovate-bot - 🐞 fix(deps): update dependency uiw to v4.7.8
e39573a
@renovate-bot - 💄 chore(deps): update dependency electron to v11.2.1
4239d52
@renovate-bot - 💄 chore(deps): update dependency uiw to v4.7.9
377c391
- 💄 chore(deps): update dependency uiw to v4.7.9
b21dd99
- 📄 Update index.html
db45a9b
- 💄 chore(rematch-tsx): update models.
e67d204
- 📄 Merge branch 'master' of github.com:kktjs/kkt
58bccf8
- 💄 chore(deps): update dependency lint-staged to v10.5.4
751c65b
@renovate-bot - 💄 chore(deps): update dependency electron to v11.2.3
67e9339
@renovate-bot - 🐞 fix(deps): update dependency uiw to v4.7.12
a2d2f8e
@renovate-bot - 💄 chore: update script to package.json
7642114
- 📄 example(basic): update basic example.
799a71d
- 📄 example: Fix type errors.
c461862
- 📄 example: update tsconfig.json
417f4ee
- 🐞 fix(deps): update dependency typescript to v4.1.5
1d3c406
@renovate-bot
v6.6.2
- 🐞 fix(kkt): Fix cross domain issue.
21c84b0
v6.6.1
v6.6.0
v6.5.1
v6.5.0
- 📖 doc(kkt): Update README.md
71d5902
- 🌟 feat(kkt): Enhanced devServer api.
8c22ff7
- 💄 chore: update .github/workflows/ci.yml
3c2022c
import express from 'express';
import { ParsedArgs } from 'minimist';
import { Configuration } from 'webpack';
import WebpackDevServer from 'webpack-dev-server';
import { LoaderConfOptions, MockerAPIOptions, DevServerOptions } from 'kkt';
type KKTRC = {
proxySetup?: (app: express.Application) => MockerAPIOptions;
- devServer?: (config: WebpackDevServer.Configuration) => WebpackDevServer.Configuration;
+ devServer?: (config: WebpackDevServer.Configuration, options: DevServerOptions) => WebpackDevServer.Configuration;
default?: (conf: Configuration, evn: string, options: LoaderConfOptions) => Configuration | Promise<Configuration>;
};
v6.4.0
- 💄 chore: update .github/workflows/ci.yml
f30b5d7
- 🐞 fix(kkt): Update command help.
b0e47db
- 🐞 fix(kkt): Update command help.
861d554
- 📖 doc(kkt): Update README.md
b9f35e5
- 🌟 feat(kkt): Override webpack config support promise.
deba4bc
- 🆎 type(kkt): Modify types.
f48162e
- 💄 chore:(deps): update denpendency tsbb to v2.0.2
4b0ef18
- 💄 chore(react-component-tsx): update website/react-app-env.d.ts
3c64d18
import express from 'express';
import { ParsedArgs } from 'minimist';
import { Configuration } from 'webpack';
import WebpackDevServer from 'webpack-dev-server';
import { LoaderConfOptions, MockerAPIOptions } from 'kkt';
type KKTRC = {
proxySetup?: (app: express.Application) => MockerAPIOptions;
devServer?: (config: WebpackDevServer.Configuration) => WebpackDevServer.Configuration;
- default?: (conf: Configuration, evn: string, options: LoaderConfOptions) => Configuration;
+ default?: (conf: Configuration, evn: string, options: LoaderConfOptions) => Configuration | Promise<Configuration>;
};
v6.3.0
- 🐞 fix(deps): update dependency web-vitals to v1.1.0
a244baa
@renovate-bot - 💄 chore(react-component-tsx): Update index.html
822e12a
- 💄 chore(react-component-tsx): Update react-app-env.d.ts
55695a3
- 🌟 feat(kkt): Add --no-clear-console args.
448aaf7
- 📄 Merge branch 'master' of github.com:kktjs/kkt
e37978f
- 📖 doc: Update README.md
295ab41
- 💄 chore(react-component-tsx): Update kkt config.
67ed0c5
- 💄 chore: remove README.md
66c50d2
- 💄 chore: Link README.md
8836155
- export const devServer = (configFunction: DevServerConfigFunction) => {
- return (proxy: WebpackDevServer.ProxyConfigArrayItem[], allowedHost: string) => {
- // Create the default config by calling configFunction with the proxy/allowedHost parameters
- const config = configFunction(proxy, allowedHost);
- // Return your customised Webpack Development Server config.
- return config;
- }
- }
+ export const devServer = (config: WebpackDevServer.Configuration) => {
+ // Return your customised Webpack Development Server config.
+ return config;
+ };
import express from 'express';
import { ParsedArgs } from 'minimist';
import WebpackDevServer from 'webpack-dev-server';
import { Configuration } from 'webpack';
import { LoaderConfOptions, DevServerConfigFunction, MockerAPIOptions } from 'kkt';
type KKTRC = {
proxySetup?: (app: express.Application) => MockerAPIOptions;
- devServer?: (configFunction: DevServerConfigFunction, evn: string) => DevServerConfigFunction;
+ devServer?: (config: WebpackDevServer.Configuration) => WebpackDevServer.Configuration;
default?: (conf: Configuration, evn: string, options: LoaderConfOptions) => Configuration;
};
- type DevServerConfigFunction = (proxy: WebpackDevServer.ProxyConfigArrayItem[], allowedHost: string)
- => WebpackDevServer.Configuration;
Usage: kkt [start|build|test] [--help|h]
Displays help information.
Options:
--version, -v Show version number
--help, -h Displays help information.
--no-open-browser Do not open in browser.
+ --no-clear-console Do not clear the command line information.
Example:
$ kkt build
$ kkt build --app-src ./website
$ kkt start
$ kkt start --no-open-browser
+ $ kkt start --no-clear-console
$ kkt start --app-src ./website
$ kkt test
v6.2.1
- 🐝 refactor: The config after handle featrue is deprecated.
ec6acf6
- 🐞 fix(deps): update dependency @tsbb/babel-preset-tsbb to v1.13.0
62530a3
@renovate-bot - 🐞 fix(deps): update dependency fs-extra to v9.1.0
30b0a7b
@renovate-bot - 🐞 fix(deps): update dependency mocker-api to v2.8.0
6ddbc98
@renovate-bot - 💄 chore(deps): update dependency husky to v4.3.8
3d98ec7
@renovate-bot