Commit Graph

73 Commits

Author SHA1 Message Date
thinkasany
06d78e663b
ci(zip builds): skip fork branch (#48783) 2024-05-06 14:50:34 +08:00
二货爱吃白萝卜
717272daa2
chore: build with upload (#48456)
* chore: build with upload

* chore: use zip instead

* chore: tmp of it

* chore: done of logic

* chore: clean up

* chore: rm test logic

* chore: udpate log

* chore: tmp of it

* chore: tmp of it

* chore: back

* chore: clean up

* chore: more print

* chore: xx.xx%

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-16 16:41:02 +08:00
afc163
0a18e5ba41
chore: improve publish process (#48264)
* chore: improve publish process by skipping test command (#48230)

* chore: speed up publishing

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: check runs

* chore: skip test

* fix: types

* revert demo change

* fix: script

* chore: fix duplicate parts

* chore: fix duplicate parts

* chore: fix duplicate parts

* improve code

* use latest.hash

chore: download build artifacts from remote

chore: skip build when publish

chore: improve cli log

chore: fix something

chore: fix something

chore: fix something

chore: fix something

chore: fix something

chore: fix upload-build-artifacts

chore: fix needs

chore: fix needs

* chore: check map files

* chore: check package diff before publish

* chore Please use `npm publish` instead

* chore: sort-package-json

* chore: fix needs

* chore: import download process

* fix types

* fix types

* chore: update scripts

* chore: codesandbox ci

* fix token:statistic

* fix token:statistic

* fix ci

* fix ci

* chore: codesandbox ci

* fix ci

* chore: only upload when push to master
2024-04-07 19:14:44 +08:00
dependabot[bot]
1da53ec53d
chore(deps): bump actions/upload-artifact from 3 to 4 (#47287)
* chore(deps): bump actions/upload-artifact from 3 to 4

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Update preview-build.yml

Signed-off-by: lijianan <574980606@qq.com>

* Update test.yml

Signed-off-by: lijianan <574980606@qq.com>

* test: fix Unable to upload to same artifact name from multiple jobs

https://github.com/actions/upload-artifact/issues/478#issuecomment-1885470013

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-02-02 22:38:36 +08:00
dependabot[bot]
67225071af
chore(deps): bump codecov/codecov-action from 3 to 4 (#47291)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 22:04:29 +08:00
dependabot[bot]
ff8fa85a73
chore(deps): bump actions/setup-node from 3 to 4 (#47284)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 19:06:10 +08:00
afc163
584593b138
chore: upgrade to actions/cache@v4 (#47282)
* chore: add github-actions to dependabot

* chore: upgrade to actions/cache@v4
2024-02-01 18:20:41 +08:00
叶枫
7e877dc799
test: support react 16 lint (#46963)
* feat: support react 16 lint

* feat: test

* feat: test

* feat: test

* feat: test

* feat: 不增加 package script
2024-01-14 17:15:39 +08:00
MadCcc
5012049923
chore: add ci to test antd.min.js (#46108)
* chore: add ci to test antd.min.js

* chore: update

* chore: update

* chore: update

* chore: code clean
2023-11-27 21:37:32 +08:00
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 0307146dc8281ce56ec6fd044f0beb91511874f1.

* chore: update ci
2023-11-23 20:15:12 +08:00
afc163
b888c2ad68
chore: upgrade github action node version to 18 (#44835)
* chore: upgrade github action node version

* chore: upgrade github action node version

* chore: upgrade github action node version

* chore: upgrade github action node version
2023-09-13 22:46:23 +08:00
MadCcc
ef4ccaeaac
chore: migrate to actions/checkout@v4 (#44623) 2023-09-05 11:55:52 +08:00
Dunqing
f0c105d262
feat: insert use client automatically at compilations instead of hardcode (#44608)
* feat: remove the hardcode of `use client`

* chore: update `@ant-design/tools`

* test: update

* fix: incorrect dictionary

* chore: update dep

* ci: check use client

* chore: update ci

* fix: should be LIB_DIR

* ci: should only run in dist

* chore: update check tsx files
2023-09-04 19:27:20 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest (#42506)
* chore: migrate to vitest

* chore: update ci

* fix: test correctly

* test: support puppeteer

* chore: update coverage

* chore: update include/exclude

* chore: update config

* test: update incorrect tests

* chore: update script

* chore: update

* fix: should close browser at the ended

* chore: improve

* fix: test cause tsc error

* fix: eslint error

* chore: exclude correctly

* test: update snap and fix some tests

* chore: update test config

* fix: countup.js

* fix: incorrect test

* chore: update reference

* test: update

* fix: countup.js

* fix: timeout

* chore: update site test

* fix: fixed countup version

* chore: remove unsed code

* test: update

* test: update demo timeout

* test: update timeout

* chore: update image test

* chore: update threads

* fix: image/svg+xml test failed

* chore: limits threads

* test: update test coverage include

* chore: remove jest files

* chore: rename jest to vi

* chore: update document

* chore: fix missing @types/jsdom

* chore: update coverage

* chore: update snap

* fix:watermark test cases are incorrect

* feat: update ignore comment

* test: fix test case

* test: reset body scrollTop

* test: clean up

* test: use vi

* test: update snapshot

* test: update snapshot

* test: fix dropdown test failed

* fix: toHaveStyle cause test fail

* test: improve test case

* test: fix

* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560

* test: fix

* test: fix

* test: fix circular import

* test: revert

* ci: coverage failed

* test: fix c8 ignore comment

* chore: incorrect config

* chore: fix ignore ci

* test: revert svg+xml

* test: fix realTimers

* feat: rc-trigger should be remove

* test: fix some failed test

* chore: remove unused deps and configure eslint-plugin-vitest

* test: update snap

* chore: remove jest

* test: fix lint error

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
lijianan
6301ddf764
chore: Migrate CJS to ESM (#42062)
* chore: Migrate CJS to ESM

* fix

* fix
2023-04-28 16:52:50 +08:00
二货爱吃白萝卜
5dfce54437
ci: use node 16 (#40800)
* chore: use node 16

* chore: all lock ver

* chore: size-limit

* chore: mv clean up logic into master
2023-02-19 13:56:20 +08:00
二货爱吃白萝卜
df3c33c378
chore: rm bundlesize check (#40220) 2023-01-13 16:53:23 +08:00
afc163
944adac8df
Update test.yml 2023-01-11 15:21:54 +08:00
afc163
2cc98764a7
test: fix bundlesize2 cache throw error (#40151) 2023-01-11 14:05:00 +08:00
Chuns Chen
b22ab1a83c
chore: revert compile with lib (#38832)
* chore: revert compile with lib

* chore: lib dekko test

* fix: filename has spaces

* chore: bump @ant-design/tools
2022-11-22 16:21:37 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade (#38328)
* build: try to use dumi as doc tool

* docs: migrate demo structure to dumi way

* refactor: use type export & import

* docs: migrate demo previewer to dumi

* docs: create empty layout & components

* docs: apply custom rehype plugin

* docs: create empty extra pages

* docs: Add Banner component

* chore: move theme tsconfig.json

* docs: home page init

* docs: migrate header (#37896)

* docs: header

* docs: update

* docs: home init

* clean up

* test: fix site lint

* chore: tsc ignore demo

* chore: dumi demo migrate script

* chore: cards

* docs: home layout

* docs: Update locale logic

* docs: fix getLink logic

* chore: fix ci (#37899)

* chore: fix ci

* ci: remove check-ts-demo

* ci: preview build

* test: ignore demo.tsx

* chore: update script

* test: update snapshot

* test: update node and image test

* chore: add .surgeignore

* docs: layout providers (#37908)

* docs: add components sidebar (#37923)

* docs: sidebar

* docs: update docs title

* docs: update design doc

* chore: code clean

* docs: handle changelog page

* docs: add title

* docs: add subtitle

* docs: active header nav

* chore: code clean

* docs: overview

* chore: code clean

* docs: update intl (#37918)

* docs: update intl

* chore: code clean

* docs: update favicons

* chore: update testPathIgnorePatterns

* chore: code clean

* chore: code clean

* chore: copy 404.html (#37996)

* docs: Home page theme picker

* chore: Update migrate script

* docs: home page update

* docs: theme editor style

* docs: theme lang

* chore: update migrate.js

* docs: fix demo (#38094)

* chore: update migrate.js

* docs: update md

* docs: update demo

* test: fix snapshot

* chore: move debug to code attr in migrate script

* chore: update md

Co-authored-by: PeachScript <scdzwyxst@gmail.com>

* feat: overview page

* feat: Migrate `404` page (#38118)

* feat: migrate IconSearch component (#37916)

* feat<site/IconSearch>: copy IconDisplay from site to .dumi

* feat<site/IconSearch>: change docs of icon

* feat<site/IconSearch>: tweak

* feat<site/IconSearch>: use useIntl instead of injectIntl

* feat<site/IconSearch>: fix ts type error

* feat<site/IconSearch>: use intl.formatMessage to render text

* docs: Adjust home btn sizw

* docs: Update doc

* feat: v5 site overview page (#38131)

* feat: site

* fix: fix

* feat: v5 site overview page

* fix: fix path

* fix: fix

* fix: fix

* docs: fix margin logic

* feat: v5 site change-log page (#38137)

* feat: v5 site change-log page (#38162)

* docs: site redirect to home pag

* docs: theme picker

* docs: use react-intl from dumi (#38183)

* docs: Theme Picker

* docs: update dumi config

* docs: home back fix

* docs: picker colorful

* docs: locale of it

* docs: update components desc

* docs: site of links

* docs: update components list

* docs: update desc

* feat: Migrate `DemoWrapper` component (#38166)

* feat: Migrate `DemoWrapper` component

* feat: remove invalid comments and add comment for `key` prop

* docs: FloatButton pure panel

* chore: update demo

* chore: update dumi config

* Revert "chore: update demo"

This reverts commit 028265d3ba5987df5f13c3e9d42cf76cb1812b2e.

* chore: test logic adjust to support cnpm modules

* chore: add locale alias

* docs: /index to /

* docs: add locale redirect head script

* chore: adjust compact

* docs: fix missing token

* feat: compact switch

* chore: code clean

* docs: update home

* docs: fix radius token

* docs: hash of it

* chore: adjust home page

* docs: Add background map

* docs: site theme bac logic

* docs: avatar

* docs: update logo color

* docs: home banner

* docs: adjust tour size

* docs: purepanl update

* docs: transfooter

* docs: update banner gif

* docs: content (#38361)

* docs: title & EditButton

* docs: content

* chore: fix toc

* docs: resource page

* docs: transform resource data from hast

* docs: filename & Resource Card

* chore: enable prerender

* chore: remove less

* docs: toc style

* chore: fix lint

* docs: fix Layout page

* docs: fix CP page

* chore: update demos

* docs: workaround for export dynamic html

* chore: enable demo eslint

* docs: table style

* fix: header shadow

* chore: update snapshot

* fix: toc style

* docs: add title

* docs: Adjust site

* feat: helmet

* docs: site css

* fix: description

* feat: toc debug

* docs: update config-provider

* feat: use colorPanel

* fix: colorPanel value

* feat: anchor ink ball style

* feat: apply theme editor

* fix: code block style

* chore: update demo

* chore: fix lint

* chore: code clean

* chore: update snapshot

* feat: ts2js

* chore: description

* docs: site ready for ssr

includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion

* chore: bump testing lib

* docs: font size of title

* chore: remove react-sortable-hoc

* chore: update snapshot

* chore: update script

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
MadCcc
d5c17a9a7c Merge branch 'master' into next-merge-master 2022-09-05 21:26:04 +08:00
vagusX
9c04b4edbe
ci: add merge coverage job (#37306)
* ci: add merge coverage job

* chore: update
2022-08-30 14:40:20 +08:00
MadCcc
0d50767aa8 Merge branch 'master' into next-merge-master 2022-08-30 13:05:50 +08:00
vagusX
b3eec68e18
test: use own token to upload coverage reports (#37279) 2022-08-29 14:42:55 +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
MadCcc
469d0bc81c
chore: compile without lib (#36362)
* chore: compile es only

* chore: update package.json

* chore: code clean

* chore: code clean

* chore: update workflow

* chore: update workflow

* chore: update less src

* chore: replace lib with es

* chore: recover less

* Revert "chore: replace lib with es"

This reverts commit 41b8bf193873ca2d578fff6e6833c739d7f09f1d.

* chore: update dist less

* test: fix
2022-07-04 22:08:24 +08:00
zombiej
eda63041ff chore: merge master 2022-06-10 17:17:54 +08:00
二货机器人
66c3639ed4
chore: bump rc-dialog version (#35969)
* chore: bump rc-dialog version

* chore: trigger

* chore: trigger

* docs: RM peer conflict demo

* chore: bump deps version

* chore: bump ver

* chore: bump

* chore: bump

* chore: test

* chore: rm peer

* chore: clean all peer

* chor: bump rc-image
2022-06-10 17:06:07 +08:00
zombiej
c89c61e2c4 Merge remote-tracking branch 'origin/feature' into next 2022-06-02 16:21:16 +08:00
vagusX
938cdabced
fix: set jest shard to 2 (#35831) 2022-06-01 16:40:09 +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
afc163
ed4d41676e
chore(deps-dev): upgrade to jest 28 (#35334)
https://jestjs.io/zh-Hans/docs/upgrading-to-jest28
2022-05-09 23:17:26 +08:00
zombiej
d907338d79 chore: merge feature 2022-04-12 15:59:36 +08:00
Varun Sharma
01a475af6d
ci: Add GitHub token permissions for workflows (#34946) 2022-04-11 11:15:26 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 (#34937)
* chore: bump types def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: free --legacy-peer-deps

* chore: ignore peer

* chore: fix ts logic

* chore: use fork docsearch

* chore: fix demo ts
2022-04-08 22:55:42 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing (#34787)
* fix: try fix

* chore: ci

* test: recover

* test: more test case

* test: more and mote

* test: btn test

* fix: react 18 compitable

* chore: more test

* test: all confirm test

* chore: tmp

* chore: test lib

* chore: tmp

* chore: tmp

* test: back of part

* test: back of menu index test

* test: more test

* test: form test

* test: rm IE11 test case

* chore: fix compatible

* chore: clean up

* chore: back of all test case

* test: ignore 18 lines

* chore: remove render test of enzyme in upload

* test: back of IE11 test case to fit 100% coverage

* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
afc163
dd13e806b2
chore: minify themes css (#34824) 2022-04-01 14:29:06 +08:00
github-actions[bot]
6515d80431
chore: auto merge branchs (#34801)
chore: sync master to next
2022-03-30 14:09:09 +00:00
二货机器人
2733977245
chore: React 18 test case (#34781)
* chore: add 18 test

* chore: update test flow

* chore: fail fast

* chore: foce ci

* chore: more if

* chore: test it

* chore: back of it

* chore: master only

* chore: fix spell

* chore: force install

* test: comment 16 tmp

* chore: use react 17

* chore: install 18

* chore: back of 16 & 17
2022-03-30 14:35:43 +08:00
MadCcc
34d49b1985
chore: fix ci (#34778) 2022-03-30 10:06:19 +08:00
zombiej
d92bb8fb03 chore: merge master 2022-03-29 20:51:25 +08:00
zombiej
2425c019bc chore: merge master 2022-03-29 20:51:03 +08:00
二货机器人
ceba0d5c23
chore: comiple use matrix (#34770)
* chore: comiple use matrix

* chore: 16 deps

* chore: not install 16

* chore: update

* chore: to 16

* chore: install 16

* chore: install 16

* chore: install 16

* chore: install 16

* chore: concurrent

* chore: back all

* chore: fix lines

* chore: cancel if new comes

* chore: single dist speed up

* chore: fix

* chore: fix

* chore: update

* fix: deps
2022-03-29 20:46:37 +08:00
MadCcc
b63bdc47e5 Merge branch 'master' into next-merge-master 2022-03-23 22:08:40 +08:00
renovate[bot]
7f0aa8146f
chore(deps): update actions/cache action to v3 (#34645)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 10:59:37 +08:00
afc163
07b8fb12a6
chore(🤖): upgrade github actions (#34599) 2022-03-19 21:53:48 +08:00