Releases: kktjs/kkt
Releases · kktjs/kkt
v7.1.7
Documentation v7.1.7: https://raw.githack.com/kktjs/kkt/e17a652/index.html
Comparing Changes: v7.1.6...v7.1.7
npm i [email protected]
- 💄 chore(deps): update dependency @types/react-test-renderer to v18 (#375) 78851da @renovate-bot
- 🐞 fix(deps): update dependency @testing-library/react to v13 (#373) bc2219e @renovate-bot
- 🐞 fix(deps): update dependency @testing-library/user-event to v14 (#374) a84f2ef @renovate-bot
v7.1.6
Documentation v7.1.6: https://raw.githack.com/kktjs/kkt/e17a652/index.html
Comparing Changes: v7.1.5...v7.1.6
npm i [email protected]
- 🐞 fix(ncc): Fix bundle filename log issue. 97e716c @jaywcjlove
- 🌟 feat(ncc): add --filename options. bea86e6 @jaywcjlove
- 🐞 fix: Fix output file name issue. 4bd5366 @jaywcjlove
- 📖 doc(ncc): Update README.md ac5effc @jaywcjlove
- 📖 doc(ncc): Update README.md b5ef1e2 @jaywcjlove
- 📖 doc(kkt): Update README.md be87450 @jaywcjlove
- 📖 doc(kkt): Update README.md c90d702 @jaywcjlove
- 🐞 fix(ncc): Fix output css file issue. 7bf74e3 @jaywcjlove
- 📖 doc: Update README.md de7f650 @jaywcjlove
- 🐞 fix(@kkt/ncc): Fix $ is not defined (#357). 022aeef @jaywcjlove
- 🐞 fix(deps): update dependency @uiw/react-markdown-preview to v3.5.1 (#356) 38f4fe8 @renovate-bot
- 📖 doc(@kkt/ncc): Update README.md 7f3c55b @jaywcjlove
- 📖 doc(@kkt/ncc): Update README.md 6d0f344 @jaywcjlove
- 💄 chore: update workflows config. 9c440c4 @jaywcjlove
- 💊 clean(ncc): move packages/ncc -> kktjs/ncc 38224d3 @jaywcjlove
- 💄 chore: update workflows config. 0890102 @jaywcjlove
- 💄 chore(deps): Update dependency react to v18 (#364) 6b8e46a @SunLxy
- 🐞 fix: 修改
.npmrc
解决 github ci 问题 (#367) 90395ce @SunLxy - 💄 chore: update renovate.json d53d312 @jaywcjlove
- 💄 chore(deps): update dependency tsbb to v3.7.2 (#366) 6fa86da @jaywcjlove
- 💄 chore(deps): update dependency compile-less-cli to v1.8.13 (#365) b8c17f7 @renovate-bot
- 🐞 fix(deps): update dependency minimist to v1.2.6 [security] (#362) 0ace50b @renovate-bot
- 🐞 fix(deps): update dependency @babel/register to v7.17.7 (#368) b56a669 @renovate-bot
- 🐞 fix(deps): update dependency @uiw/react-github-corners to v1.5.14 (#369) c32c589 @renovate-bot
- 🐞 fix(deps): update dependency typescript to v4.6.3 (#345) 5819ad3 @renovate-bot
- 🐞 fix(deps): update dependency axios to v0.26.1 (#342) a2572f9 @renovate-bot
- 🐞 fix(deps): update dependency mocker-api to v2.9.5 (#370) 408badf @renovate-bot
- 🐞 fix(deps): update dependency ts-node to v10.7.0 (#353) dd3f637 @renovate-bot
- 💄 chore(deps): update dependency lint-staged to v12.3.7 (#361) 60ff3d7 @renovate-bot
- 💄 chore(deps): modify denpendency
~
b45eeab @jaywcjlove - 🐞 fix(deps): update dependency stylus to ^0.57.0 (#372) 5e1afdb @renovate-bot
- 💄 chore(deps): update dependency prettier to ~2.6.0 (#371) a0383a9 @renovate-bot
- 💄 chore(deps): update workflows config. 695bb1a @jaywcjlove
v7.1.5
npm i [email protected]
- 💄 chore(deps): update dependency electron to v16.0.10 (#338) 2205267 @renovate-bot
- 💄 chore(deps): update dependency @types/react to v17.0.39 (#346) f67d977 @renovate-bot
- 🐞 fix(deps): update dependency @types/react-dev-utils to v9.0.10 (#331) 34bda3c @renovate-bot
- 💄 chore(deps): update dependency @types/jest to v27.4.1 (#348) 3d99177 @renovate-bot
- 💄 chore(deps): update dependency lint-staged to v12.3.4 (#349) 777ddf5 @renovate-bot
- 🐞 fix(deps): update dependency css-minimizer-webpack-plugin to v3.4.1 (#343) b5e9a15 @renovate-bot
- 💄 chore(deps): update dependency @types/react-redux to v7.1.22 (#339) 2cda170 @renovate-bot
- 🐞 fix(deps): update dependency @types/mini-css-extract-plugin to v2.5.0 (#341) ddb2326 @renovate-bot
- 🐞 fix(deps): update dependency @babel/register to v7.17.0 (#337) 5b0abdc @renovate-bot
- 🐞 fix(kkt): Fix Cannot find module 'ajv' (#350). c84d780 @jaywcjlove
- 💄 chore(deps): update dependency tsbb to v3.7.0 (#352) 834e729 @renovate-bot
- 🐞 fix(deps): update dependency fs-extra to v10.0.1 (#351) 81d4461 @renovate-bot
v7.1.4
npm i [email protected]
- 🐞 fix(ncc): Fix --source-map issue. 62b91a0 @jaywcjlove
- 🌟 feat(ncc): Add -external options. dbf6b60 @jaywcjlove
- 🐞 fix(ncc): Fix mode errors. cc9453d @jaywcjlove
- 🐞 fix(kkt/ncc): Fix WARNING in DefinePlugin Conflicting values for NODE_ENV (#347). b78f64e @jaywcjlove
v7.1.3
npm i [email protected]
- 🐞 fix(kkt): Fix watch error output issue. c74fde1 @jaywcjlove
- 🌟 feat(ncc): Add start a watched build. 247a9ff @jaywcjlove
v7.1.2
npm i [email protected]
- 📖 doc(ncc): Update README.md 255a6d7 @jaywcjlove
- 💄 chore: update workflows config. 69744c7 @jaywcjlove
- 📖 doc(ncc): Update README.md 5fc0b4d @jaywcjlove
- 💄 chore: remove bundle-react-component-tsx example. 67ffee4 @jaywcjlove
- 🐞 fix: Fix overridesWebpack evn errors. 62b486a @jaywcjlove
- 🐞 fix(ncc): Fix the issue that the public folder does not exist. d7f446a @jaywcjlove
v7.1.1
npm i [email protected]
- 📖 doc: Update README.md 6b3850a @jaywcjlove
- 🎨 style(kkt): modify overrideDevServerConfig options. 1bac5e7 @jaywcjlove
- 🌟 feat: Add isNotCheckHTML& overridePaths options. 64d26fa @jaywcjlove
- 🌟 feat(kkt): Fix overridesWebpack options issue. 6209c5c @jaywcjlove
- 🌟 feat: Add @kkt/ncc package. a569191 @jaywcjlove
- 💄 chore: update workflow config. 8d9d42e @jaywcjlove
- 🐞 fix: Fix checkRequired errors. 39a33be @jaywcjlove
- 💄 chore: update tsconfig.json 6577ee6 @jaywcjlove
- 🐞 fix(ncc): Add files feild to package.json b8f4439 @jaywcjlove
- 💄 chore: update workflows config. bc7c6f1 @jaywcjlove
v7.1.0
npm i [email protected]
- 🌟 feat: Added new way to configure proxy manually. 3f30dd3 @jaywcjlove
- 💄 chore: update .github/workflows/ci.yml 6ec372f @jaywcjlove
- 💄 chore: update .github/workflows/ci.yml c694325 @jaywcjlove
- 💄 chore(deps): update dependency lint-staged to v12.3.3 (#344) fef83a0 @renovate-bot
- 📖 doc: Update README.md 1ddc815 @jaywcjlove
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
npm i [email protected]
- 🌟 feat: Enhanced error message display. 84a38ff @jaywcjlove
- 🐞 fix(deps): update dependency mini-css-extract-plugin to ~2.4.7 (#340) (#341) 44e38d1 @jaywcjlove
- 🐞 fix(deps): update dependency uiw to v4.10.2 (#254) f8c49e3 @renovate-bot
- 🐞 fix(@kkt/react-library): Fix output css file issue. c9787bb @jaywcjlove
- 🐞 fix: MiniCssExtractPlugin is not a constructor 8e7c880 @jaywcjlove
- 📖 doc: Update README.md bc78f08 @jaywcjlove
- 📖 doc: Update README.md 0a8470d @jaywcjlove
- 📖 doc: Update README.md 1874214 @jaywcjlove
v7.0.6
npm i [email protected]
- 🐞 fix(deps): update dependency @uiw/react-markdown-preview to v3.4.7 (#335) 40b0cdd @renovate-bot
- 💄 chore(deps): update dependency lint-staged to v12.1.7 (#333) 9aba4fb @renovate-bot
- 🐞 fix(kkt): Fix MiniCssExtractPlugin is not a constructor issue. (#340) 14a928e @jaywcjlove