Commit Graph

123 Commits

Author SHA1 Message Date
MadCcc
5b5087dcee
chore: migrate to webpack@5 (#45926)
* chore: migrate to webpack@5

* chore: bump

* chore: remove openssl-legacy-provider

* chore: update

* chore: update

* chore: ls webpack

* chore: update  webpack

* chore: update ci

* chore: bump version

* chore: bump

* chore: use forked duplicate check

* chore: bump

* chore: code clean

* chore: update ci

* Revert "chore: update ci"

This reverts commit 0307146dc8.

* chore: update ci
2023-11-23 20:15:12 +08:00
二货爱吃白萝卜
3233ac498f
chore: umd version will try to reuse global @ant-design/cssinjs first (#46009)
* chore: alias of it

* chore: comment
2023-11-22 15:04:55 +08:00
二货爱吃白萝卜
48e4e89e32
chore: adjust ci to save size-limit build time (#44148)
* chore: adjust ci

* chore: add message

* chore: lint
2023-08-10 15:17:40 +08:00
afc163
67d0462ca9
refactor: resolve Circular dependency (#42750)
* test: detect dependency cycle

* chore: open eslint import/no-cycle rule

close #42804

* chore: Upgrade react-component

* Apply suggestions from code review

* refactor: add getRoundNumber

* chore: Update package.json
2023-06-25 15:38:22 +08:00
afc163
695943dcd6
chore: fix deploy action (#42730) 2023-05-31 10:16:19 +08:00
dependabot[bot]
3669d8e226
chore(deps-dev): bump esbuild-loader from 2.21.0 to 3.0.0 (#40663)
* chore(deps-dev): bump esbuild-loader from 2.21.0 to 3.0.0

Bumps [esbuild-loader](https://github.com/esbuild-kit/esbuild-loader) from 2.21.0 to 3.0.0.
- [Release notes](https://github.com/esbuild-kit/esbuild-loader/releases)
- [Commits](https://github.com/esbuild-kit/esbuild-loader/compare/v2.21.0...v3.0.0)

---
updated-dependencies:
- dependency-name: esbuild-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: rename to EsbuildPlugin

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-02-09 22:10:22 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens (#38722) 2022-11-19 13:47:33 +08:00
MadCcc
8e27cf986f
chore: rm component less file (#36244)
* chore: rm component less file

* refactor: less file

* refactor: rm less

* refactor: rm page-header and comment

* chore: rm less in components

* chore: update dist config

* chore: update image test

* chore: update dekko

* chore: rm lib dekko

* chore: update dist dekko

* chore: udpate bundle size

* test: update snapshot

* test: rm theme test

* test: update snapshot

* test: update snapshot

* chore: copy reset.css

* test: update image test

* chore: copy reset.css to es

* chore: update site script
2022-07-05 21:55:21 +08:00
zombiej
7b92f24e2e Merge remote-tracking branch 'origin/feature' into next 2022-05-27 23:19:39 +08:00
vagusX
acdd164a09
ci: use jest shard (#35622) 2022-05-27 21:49:16 +08:00
afc163
84a969e5e0 chore: sync master into next branch 2022-05-11 15:36:22 +08:00
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
2022-05-10 15:43:29 +08:00
iamkun
54560c5daf update test 2022-03-30 15:55:40 +08:00
iamkun
b8dd9a8f31 update lint 2022-03-30 11:18:02 +08:00
iamkun
b22815d4d2 feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js 2022-02-14 15:01:00 +08:00
afc163
bcb5002f08 chore: fix ci in npm 8 2021-12-04 00:01:20 +08:00
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>
2021-10-12 13:14:26 +08:00
二货机器人
272ff9885a
fix: Cascader missing props (#32143)
* fix: Cascader deps

* docs: Update using new API

* test: Test case cover

* chore: compressed skip dup check
2021-09-13 15:59:57 +08:00
二货机器人
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
2021-09-01 10:56:50 +08:00
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
2021-08-05 15:30:03 +08:00
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
2021-06-01 10:11:24 +08:00
afc163
8e76c1c5ae
chore: fix debug demo of site (#30427)
* chore: fix debug demo of site

* upgrade bisheng

* upgrade bisheng
2021-05-07 15:29:08 +08:00
偏右
e3214c896f
chore: use esbuild-loader (#28859)
* chore: use esbuild-loader

* fix config
2021-01-14 15:32:16 +08:00
信鑫-King
9b6db94fdf
chore: esbuild target (#26357)
* chore: esbuild target

* Update bisheng.config.js

* fix lint

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-24 11:46:21 +08:00
偏右
3d58b5a6b4
test: 📦 add compressed-size-action (#25902) 2020-07-30 17:47:27 +08:00
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
2020-07-09 10:27:32 +08:00
偏右
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
2020-07-08 23:14:22 +08:00
偏右
17dd94fd07
chore: 📦 Add bundle-stats and relative-ci (#25501)
* 📦 Add bundle-stats and relative-ci

* bundle-stats-webpack-plugin
2020-07-08 18:12:02 +08:00
偏右
637aa09bc5
chore: fix some eslint problems (#24836)
* 💄 fix lint

* 💄 fix lint
2020-06-08 18:01:50 +08:00
偏右
6529d9048f
📦 use ESBUILD in codesandbox ci (#24685) 2020-06-02 14:57:29 +08:00
afc163
688f8a3ab0 fix .bundle-analyzerrc.json 2020-05-22 19:09:59 +08:00
偏右
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
2020-05-22 18:46:03 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up (#24164)
* update config

* replace react function

* fix alert
2020-05-14 20:54:49 +08:00
二货机器人
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>
2020-05-14 15:57:04 +08:00
afc163
6093f11cf0 chore: wrong env variable in build 2020-05-13 17:14:49 +08:00
偏右
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
2020-05-08 15:48:21 +08:00
偏右
c27a3a40a7
chore: 📦 Optimize npm package size (#23698)
* improve custom theme import path

* reduce npm package size
2020-04-28 14:11:43 +08:00
偏右
2f091e7dfb
chore: fix packtracker token (#22942)
* chore: fix packtracker token

* change prior_commit

* 🗑️ remove packtracker webpack plugin
2020-04-05 21:44:41 +08:00
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>
2020-03-29 10:39:46 +08:00
二货机器人
18969f5089
Update webpack.config.js 2020-03-27 12:57:37 +08:00
afc163
30a3c327ae 🔧 do not fail build in PacktrackerPlugin 2020-03-03 15:36:09 +08:00
偏右
3eb5e9f908
test: fix packtracker token (#21805) 2020-03-03 13:20:29 +08:00
ycjcl868
7ff2c7c079 fix: lint 2019-12-26 15:25:46 +08:00
ycjcl868
4dc860decf Merge origin/4.0-prepare into feat-dark-palette 2019-12-25 19:32:38 +08:00
偏右
2464de1888
perf: optimize bundlesize (#20436)
* 📦 react-slick => @ant-design/react-slick

* 📦 Reduce non-minified dist files size

* 🆙 @ant-design/react-slick
2019-12-25 17:15:35 +08:00
二货机器人
193bf0f6b4
add analysis (#20434) 2019-12-25 15:18:31 +08:00
ycjcl868
d80d65f3a4 fix: lint 2019-12-18 23:05:37 +08:00
ycjcl868
2aa9ab6791 chore: use dark-vars.js 2019-12-18 22:42:09 +08:00
PeachScript
9fc3afe205 fix: dark css dist error caused by variables 2019-12-18 21:07:14 +08:00
PeachScript
88ca556fe5 build: rename css dist file for dark theme 2019-12-06 15:02:12 +08:00