Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
3 years ago
iamkun
54560c5daf
update test
3 years ago
iamkun
b8dd9a8f31
update lint
3 years ago
iamkun
b22815d4d2
feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js
3 years ago
afc163
bcb5002f08
chore: fix ci in npm 8
3 years ago
afc163
6d3973fb95
chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1 ( #32444 )
* chore(deps-dev): bump eslint-plugin-jest from 24.7.0 to 25.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 24.7.0 to 25.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.7.0...v25.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors and warnings
* fix rc-slider version
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
二货机器人
272ff9885a
fix: Cascader missing props ( #32143 )
* fix: Cascader deps
* docs: Update using new API
* test: Test case cover
* chore: compressed skip dup check
3 years ago
二货机器人
36bcaaef85
Add `variable.less` to support css variable ( #31496 )
* chore: use varaible.less
* chore: basic primary varaible
* chore: Move to variable
* chore: align active color
* chore: global fix of css variable
* chore: primary colors
* chore: button danger
* chore: btn default error color
* chore: button series
* chore: More examples
* chore: More components
* chore: Form demo
* chore: form style
* fix: Tag & Alert variable
* chore: update footer
* chore: rm tmp code
* chore: transfer
* fix: picker column active color
* chore: Adjust active bg color
* chore: table hover color
* chore: all css variables
* chore: Global using variables
* chore: Test case
* chore: Update test logic
* chore: back of default less
* chore: entry of site use proxy style
* chore: update entry
* chore: split of variables
* refactor: quick dist speed
* fix: site use variable version
* chore: Update less config
* chore: add mv script
* chore: Update repalcement script
* chore: Add inject variables
* chore: Update script
* fix: script path
* chore: Move to component instead
* chore: fix condition
* chore: update config
* chore: Update in less transform
* chore: Modify logic
* chore: change to variables
* chore: Update name
* fix: script name
* chore: do inject
* revert: back of path
* chore: 2 way of generate
* bump tools
* chore: Add auto replacement script
* chore: auto genrate less file
* chore: fix test
* test: More test case
* chore: Update limit config
* test: coverage
* docs: Update doc
3 years ago
afc163
70699fc711
chore: add duplicate-package-checker-webpack-plugin ( #31662 )
* chore: fix deps
* test: add duplicate-package-checker-webpack-plugin
* test: should be broken
* try webpack --bail
* bail when emit error
* revert rc-image
3 years ago
afc163
9f0dbf2b4d
chore: upgrade to jest 27 ( #30783 )
* chore: upgrade devDeps
* upgrade @ant-design/tools
* support CSS Minification
* test: jsdom as testEnvironment
* fix setImmediate
* update snapshot
* fix test
* fix test
* fix test
* fix test
4 years ago
afc163
8e76c1c5ae
chore: fix debug demo of site ( #30427 )
* chore: fix debug demo of site
* upgrade bisheng
* upgrade bisheng
4 years ago
偏右
e3214c896f
chore: use esbuild-loader ( #28859 )
* chore: use esbuild-loader
* fix config
4 years ago
信鑫-King
9b6db94fdf
chore: esbuild target ( #26357 )
* chore: esbuild target
* Update bisheng.config.js
* fix lint
Co-authored-by: 二货机器人 <smith3816@gmail.com>
4 years ago
偏右
3d58b5a6b4
test: 📦 add compressed-size-action ( #25902 )
4 years ago
Viorel Cojocaru
f507a21c37
Fix relative-ci setup ( #25523 )
* build: Send stats to relative-ci only on minified compilation
Prevent duplicate job for every push
* build: Remove unnecessary bundle-stats option
4 years ago
偏右
71447da264
perf: 🆙 upgrade to omit.js@2.0.2 ( #25507 )
* 🆙 upgrade to omit.js@2.0.2
* remove unused dep
* fix ci
* 🆙 upgrade rc-mentions
4 years ago
偏右
17dd94fd07
chore: 📦 Add bundle-stats and relative-ci ( #25501 )
* 📦 Add bundle-stats and relative-ci
* bundle-stats-webpack-plugin
4 years ago
偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
* 💄 fix lint
* 💄 fix lint
5 years ago
偏右
6529d9048f
📦 use ESBUILD in codesandbox ci ( #24685 )
5 years ago
afc163
688f8a3ab0
fix .bundle-analyzerrc.json
5 years ago
偏右
1e11c83e74
test: add @bundle-analyzer/webpack-plugin ( #24399 )
* add @bundle-analyzer/webpack-plugin
* add .bundle-analyzerrc
* use process.env.BUNDLE_ANALYZER_TOKEN
* more dist files
* fix ci fail
5 years ago
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
5 years ago
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
afc163
6093f11cf0
chore: wrong env variable in build
5 years ago
afc163
68119768cc
wrong env variable in build
5 years ago
偏右
612bcdf4a6
refactor: 📦 use webpack-plugin-esbuild ( #23930 )
* 📦 use webpack-plugin-esbuild
* rename esbuild-webpack-plugin
* fix npm run dist error
* fix npm run dist error
* code style improve
* remove extra finalizeDist
* Add process.env.ESBUILD
5 years ago
偏右
c27a3a40a7
chore: 📦 Optimize npm package size ( #23698 )
* improve custom theme import path
* reduce npm package size
5 years ago
偏右
2f091e7dfb
chore: fix packtracker token ( #22942 )
* chore: fix packtracker token
* change prior_commit
* 🗑️ remove packtracker webpack plugin
5 years ago
zefeng
dda45e4796
feat: support compact theme ( #22126 )
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
5 years ago
二货机器人
18969f5089
Update webpack.config.js
5 years ago
afc163
30a3c327ae
🔧 do not fail build in PacktrackerPlugin
5 years ago
偏右
3eb5e9f908
test: fix packtracker token ( #21805 )
5 years ago
ycjcl868
7ff2c7c079
fix: lint
5 years ago
偏右
2464de1888
perf: optimize bundlesize ( #20436 )
* 📦 react-slick => @ant-design/react-slick
* 📦 Reduce non-minified dist files size
* 🆙 @ant-design/react-slick
5 years ago
二货机器人
193bf0f6b4
add analysis ( #20434 )
5 years ago
ycjcl868
d80d65f3a4
fix: lint
5 years ago
ycjcl868
2aa9ab6791
chore: use dark-vars.js
5 years ago
PeachScript
9fc3afe205
fix: dark css dist error caused by variables
5 years ago
PeachScript
88ca556fe5
build: rename css dist file for dark theme
5 years ago
PeachScript
c7c5e43e6d
build: add entry to dist css files for the dark theme
5 years ago
Wei Zhu
4cae32842f
chore: add packtracker back
5 years ago
Wei Zhu
26b9e1f887
test: introduce codesandbox ci ( #19721 )
* introduce codesandbox ci
* set skipLibCheck temporarilly
* remove packtracker temporarilly
* debug env
5 years ago
afc163
60e66dbafe
🐛 fix error antd-tools => @ant-design/tools
5 years ago
afc163
014d32001c
fix packtracker exclude_assets
6 years ago
afc163
6e80b275a5
✅ Fix ci
6 years ago
afc163
2db4081f67
🔧 ignore other files for packtracker
6 years ago
afc163
ce4b71c71f
🔧 Add packtracker
6 years ago
陈帅
daca08b6f1
merge master
6 years ago
zombiej
e2ec0c2b48
update antd-tools & bisheng version
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago