Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Janice/brick next py update #3833

Open
wants to merge 602 commits into
base: v3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
602 commits
Select commit Hold shift + click to select a range
c99d0bc
fix(): bricks上报脚本调整, 增加v3构件的示例conf和接口interface
Sep 5, 2023
06701e9
Merge pull request #3442 from easyops-cn/jimmy/fix/v3doc
Nlicroshan Sep 5, 2023
26dab0d
chore(): update story interface
Sep 5, 2023
79f83bc
Merge pull request #3443 from easyops-cn/nlicro/story_type
weareoutman Sep 5, 2023
2556684
chore(release): publish
easyops-eve Sep 5, 2023
c773750
fix(): 支持上报provider信息
Sep 8, 2023
4f0d984
Merge pull request #3456 from easyops-cn/jimmy/fix/report_provider
lijmyeah Sep 8, 2023
2dd8a81
chore(release): publish
easyops-eve Sep 8, 2023
caac041
fix(): support menu field
qiaofengxi Sep 12, 2023
79c1d20
Merge pull request #3470 from easyops-cn/jojiang/menu
weareoutman Sep 12, 2023
f8d35e9
chore(release): publish
easyops-eve Sep 12, 2023
72a1ee5
feat(): 新增menu icon
panzekun Sep 15, 2023
69d643f
Merge pull request #3479 from easyops-cn/zekun/menus-icon
weareoutman Sep 15, 2023
95644d2
chore(release): publish
easyops-eve Sep 15, 2023
a017d36
feat(): 新增menu icon
panzekun Sep 15, 2023
60f8c23
Merge pull request #3484 from easyops-cn/zekun/menus-icon
panzekun Sep 15, 2023
1ee69ae
chore(release): publish
easyops-eve Sep 15, 2023
16b9d2e
fix(): make menu compatible with `items/children` and `text/title`
weareoutman Sep 15, 2023
d08a950
Merge pull request #3485 from easyops-cn/steve/fix-menu-injecting
panzekun Sep 15, 2023
e4fe6c0
chore(release): publish
easyops-eve Sep 15, 2023
e2e566c
Merge pull request #3374 from easyops-cn/steve/legacy-standalone-app
banlijun Sep 20, 2023
8dfc547
chore(release): publish
easyops-eve Sep 20, 2023
d2ea80c
fix(): load v3-widget-mate before load v3 widgets in v2 container
weareoutman Sep 20, 2023
89224b5
Merge pull request #3500 from easyops-cn/steve/v2-use-v3-widgets
qiaofengxi Sep 21, 2023
c4b44dc
chore(release): publish
easyops-eve Sep 21, 2023
adb617e
fix(): support `yarn start` with remote standalone apps
weareoutman Sep 22, 2023
9a2a569
Merge pull request #3502 from easyops-cn/steve/v2-remote-standalone
WHChen-Alex Sep 22, 2023
c360cdc
chore(ci): refine nx cache key
weareoutman Sep 22, 2023
502e968
chore(): add icons
Sep 25, 2023
c9090dd
Merge pull request #3507 from easyops-cn/astrid/add-business-icon
panzekun Sep 25, 2023
674a91a
chore(release): publish
easyops-eve Sep 25, 2023
7b5ad3c
fix(): login success return to the original page instead of the homep…
qiaofengxi Sep 27, 2023
408726b
Merge pull request #3512 from easyops-cn/jojiang/auth
lijmyeah Sep 27, 2023
dd32f65
chore(release): publish
easyops-eve Sep 27, 2023
4f90436
chore(): add ucloud icons
Oct 7, 2023
53fa29f
Merge pull request #3522 from easyops-cn/zhangjin/add-ucloud-icons
jiezhoueasyops Oct 7, 2023
47ef7fa
chore(release): publish
easyops-eve Oct 7, 2023
d7a0e71
fix(): fix permissions check within dynamic menu
weareoutman Oct 8, 2023
1d6cf02
Merge pull request #3523 from easyops-cn/steve/v2-permissions-in-dyna…
panzekun Oct 8, 2023
027a114
chore(release): publish
easyops-eve Oct 8, 2023
dfa0ba5
fix(): only flush sync for the initial mount
weareoutman Oct 9, 2023
1221f51
fix(): fix yarn start with remote
weareoutman Oct 9, 2023
0de3790
Merge pull request #3526 from easyops-cn/steve/v2-react-flush-sync
Nlicroshan Oct 10, 2023
45a2ec3
chore(release): publish
easyops-eve Oct 10, 2023
b8b432f
fix(): covert useBrick if it is an array of size 1
weareoutman Oct 12, 2023
60b2b5d
Merge pull request #3534 from easyops-cn/steve/squash-use-brick
panzekun Oct 13, 2023
770ecbc
chore(release): publish
easyops-eve Oct 13, 2023
a8565b1
fix(): separate `ant-compatible.less` otherwise it will override `@me…
weareoutman Oct 18, 2023
0d3a520
Merge pull request #3542 from easyops-cn/steve/v2-fix-mentions-style
qiaofengxi Oct 18, 2023
65ce045
chore(release): publish
easyops-eve Oct 18, 2023
aca2ffb
fix(): update v3 brick loader which refined error log
weareoutman Oct 18, 2023
9e04d4b
chore(): update dll manifest
easyops-eve Oct 18, 2023
3947e9f
feat(): support ui-version
SailorF Oct 18, 2023
ad8cb85
feat(): move setUIClassname after unMoutTree
SailorF Oct 19, 2023
454bee0
Merge pull request #3546 from easyops-cn/sailorshe/master/updateStyle3
weareoutman Oct 19, 2023
9834d9a
chore(release): publish
easyops-eve Oct 19, 2023
88cd7a0
chore(): add icons
Oct 19, 2023
e191bac
Merge pull request #3553 from easyops-cn/astrid/icon
panzekun Oct 19, 2023
4f325c0
chore(release): publish
easyops-eve Oct 19, 2023
fe89abc
chore(): add icon
Oct 19, 2023
96d4d55
Merge pull request #3555 from easyops-cn/albertjie/icons
GarenMx Oct 19, 2023
82fd5e3
chore(release): publish
easyops-eve Oct 19, 2023
673f3ff
fix(): fix a problem when serve with local templates
weareoutman Oct 19, 2023
66b1ca6
Merge pull request #3556 from easyops-cn/steve/v2-fix-serve-with-loca…
qiaofengxi Oct 19, 2023
3e719fe
chore(release): publish
easyops-eve Oct 19, 2023
0b58441
Merge remote-tracking branch 'origin/master' into steve/v2-update-loader
weareoutman Oct 19, 2023
540728a
Merge pull request #3544 from easyops-cn/steve/v2-update-loader
qiaofengxi Oct 19, 2023
7274457
chore(): add icons
Oct 20, 2023
6c80165
Merge pull request #3560 from easyops-cn/albertjie/icons
GarenMx Oct 20, 2023
c3813be
chore(release): publish
easyops-eve Oct 20, 2023
9dba3e0
fix(): fix error handling for multi-rendering
weareoutman Oct 20, 2023
c2bc094
fix(): make new error class instead of use `cause`
weareoutman Oct 20, 2023
cc26999
Merge pull request #3561 from easyops-cn/steve/v2-fix-multi-rendering
qiaofengxi Oct 20, 2023
85bf0e9
chore(release): publish
easyops-eve Oct 20, 2023
3d933d3
fix(): mount menu after pre-fetch
weareoutman Oct 20, 2023
dec421f
Merge pull request #3563 from easyops-cn/steve/v2-fix-menu
SailorF Oct 20, 2023
9256d71
chore(release): publish
easyops-eve Oct 20, 2023
3ec4042
chore(): update style
SailorF Oct 20, 2023
8e0367d
Merge pull request #3566 from easyops-cn/sailorshe/master/updateStyle4
weareoutman Oct 20, 2023
800d1f3
chore(release): publish
easyops-eve Oct 20, 2023
ad2b099
chore(): add css variables
SailorF Oct 20, 2023
5f06c8b
Merge pull request #3568 from easyops-cn/sailorshe/master/updateStyle6
weareoutman Oct 20, 2023
6654dca
chore(release): publish
easyops-eve Oct 20, 2023
9079b6b
chore():添加图标
Oct 25, 2023
fa138e1
Merge pull request #3574 from easyops-cn/jie/CMDB_VIEW-11
ann2624 Oct 25, 2023
a7f2b5b
chore(release): publish
easyops-eve Oct 25, 2023
3f57028
fix(css): update --slide-up-shadow
weareoutman Oct 26, 2023
9defaf1
Merge pull request #3578 from easyops-cn/steve/v2-css-variables
qiaofengxi Oct 26, 2023
3181fff
chore(release): publish
easyops-eve Oct 26, 2023
0017bca
fix(): set ui v8-2 on html instead of body
weareoutman Oct 30, 2023
02c3e79
Merge pull request #3582 from easyops-cn/steve/v2-ui-v8-2
qiaofengxi Oct 30, 2023
707ef10
chore(release): publish
easyops-eve Oct 30, 2023
58a5a20
chore(): 新增图标
jeft224 Nov 1, 2023
b49147a
Merge pull request #3589 from easyops-cn/abert/fix-MONITOR-7066
ann2624 Nov 1, 2023
4e50b44
chore(release): publish
easyops-eve Nov 1, 2023
6a2f66a
fix(serve): allow set COOKIE_SAME_SITE_NONE
weareoutman Nov 1, 2023
d94681a
fix(): add new css variables for tabs
weareoutman Nov 1, 2023
572eee9
Merge pull request #3591 from easyops-cn/steve/v2-tabs
SailorF Nov 1, 2023
b0acd00
chore(release): publish
easyops-eve Nov 1, 2023
e4464bd
fix(): fix --tabs-outlined-content-padding
weareoutman Nov 1, 2023
432a569
Merge pull request #3593 from easyops-cn/steve/v2-fix-tabs
weareoutman Nov 1, 2023
a260259
chore(release): publish
easyops-eve Nov 1, 2023
87c4874
fix(): add new css variables: --grid-card-gap
weareoutman Nov 1, 2023
1ed57ff
Merge pull request #3595 from easyops-cn/sdteve/v2-grid-card-gap
qiaofengxi Nov 1, 2023
534d14f
chore(release): publish
easyops-eve Nov 1, 2023
d4c31ef
chore(): add css variables for category-container
SailorF Nov 2, 2023
c87fd26
Merge pull request #3598 from easyops-cn/sailorshe/master/addCssVaria…
weareoutman Nov 2, 2023
5627dec
chore(release): publish
easyops-eve Nov 2, 2023
c65b5e4
chore(): add css variables for category-container
SailorF Nov 2, 2023
ec3bd45
Merge pull request #3599 from easyops-cn/sailorshe/master/addCssVaria…
qiaofengxi Nov 2, 2023
2398c28
chore(release): publish
easyops-eve Nov 2, 2023
c2ec7fa
fix(): allow to set slots for template preview
weareoutman Nov 2, 2023
aa46633
Merge pull request #3602 from easyops-cn/steve/v2-template-preview
qiaofengxi Nov 2, 2023
1f6ba0c
chore(release): publish
easyops-eve Nov 2, 2023
c2972c8
fix(): polyfill DocumentFragment:replaceChildren
weareoutman Nov 6, 2023
ea6ecce
Merge pull request #3608 from easyops-cn/steve/v2-replace-children
qiaofengxi Nov 6, 2023
784ae73
chore(release): publish
easyops-eve Nov 6, 2023
6449d3c
chore(ci): update npm mirror syncing url
weareoutman Nov 7, 2023
9f4f078
Merge pull request #3613 from easyops-cn/steve/v2-fix-npm-mirror
weareoutman Nov 7, 2023
35dac75
fix(): unify theme css variables
weareoutman Nov 7, 2023
242342e
Merge pull request #3615 from easyops-cn/steve/v2-theme
SailorF Nov 7, 2023
5b63a5e
chore(release): publish
easyops-eve Nov 7, 2023
d98d2c0
fix(): keep runtime injected menus when update
weareoutman Nov 8, 2023
88431e5
Merge pull request #3619 from easyops-cn/steve/v2-fix-update-menu
qiaofengxi Nov 8, 2023
6280114
chore(release): publish
easyops-eve Nov 8, 2023
d92cf76
chore(): add icons
Nov 10, 2023
530237a
Merge pull request #3627 from easyops-cn/astrid/menu-icons
panzekun Nov 10, 2023
b8a69da
chore(release): publish
easyops-eve Nov 10, 2023
12099e9
chore(): update @next-core/theme
SailorF Nov 13, 2023
aa16e4a
Merge pull request #3633 from easyops-cn/sailorshe/master/updateTheme…
weareoutman Nov 13, 2023
eabfbc5
chore(release): publish
easyops-eve Nov 13, 2023
702e64e
chore():新增三级菜单图标
Nov 16, 2023
a6792a3
Merge pull request #3641 from easyops-cn/jie/CMDB_INSTANCE-899
ann2624 Nov 16, 2023
7275f93
chore(release): publish
easyops-eve Nov 16, 2023
57e19ab
fix(): dispatch route.render in v2 as well
weareoutman Nov 24, 2023
2910615
Merge pull request #3660 from easyops-cn/steve/v2-router-render-event
qiaofengxi Nov 24, 2023
947453c
chore(release): publish
easyops-eve Nov 24, 2023
3c32b09
chore(): 新增图标
Nov 29, 2023
de07440
chore(): 新增图标
Nov 29, 2023
e5fe3b3
Merge pull request #3669 from easyops-cn/nlicro/second-menu
SailorF Nov 29, 2023
9458ffa
chore(release): publish
easyops-eve Nov 29, 2023
b797378
chore(): 新增图标
jeft224 Nov 29, 2023
e4aece4
Merge pull request #3670 from easyops-cn/abert/icons
jiezhoueasyops Nov 29, 2023
41eab9e
chore(release): publish
easyops-eve Nov 29, 2023
38b32b6
chore(): 新增图标
Nov 30, 2023
d0cbed8
Merge pull request #3673 from easyops-cn/nlicro/second_menu
SailorF Nov 30, 2023
2cf9888
chore(release): publish
easyops-eve Nov 30, 2023
f78a6ae
feat(): support real time data inspect
weareoutman Dec 4, 2023
78fe726
chore(workflow): fix update-docs-etc
weareoutman Dec 4, 2023
d2a6e2c
chore(): update docs etc
easyops-eve Dec 4, 2023
9d9e31d
Merge pull request #3680 from easyops-cn/steve/v2-real-time-data-inspect
qiaofengxi Dec 4, 2023
7bac571
chore(release): publish
easyops-eve Dec 4, 2023
7c0d48b
chore(): add icons
jeft224 Dec 4, 2023
056bd7a
Merge pull request #3681 from easyops-cn/abert/icons
WHChen-Alex Dec 4, 2023
96e3a88
chore(release): publish
easyops-eve Dec 4, 2023
c07422d
chore(): add icons
Dec 7, 2023
9697d87
Merge pull request #3687 from easyops-cn/astird/topology-icons
WHChen-Alex Dec 7, 2023
bdebb4f
chore(release): publish
easyops-eve Dec 7, 2023
74d4d3b
chore(): add icons
GarenMx Dec 7, 2023
561a747
chore(release): publish
easyops-eve Dec 7, 2023
07edb45
chore(): update next-core/theme
SailorF Dec 11, 2023
f5b0ce2
Merge pull request #3704 from easyops-cn/sailorshe/master/updateNextC…
weareoutman Dec 11, 2023
8b63f90
chore(release): publish
easyops-eve Dec 11, 2023
577b801
chore(): 增加事件总线icon refs ALERT_EVENT-974
MJmajiong Dec 14, 2023
a3b4d40
chore():add icons
jeft224 Dec 14, 2023
02bb22c
Merge pull request #3716 from easyops-cn/derrickma/events-bus-icon
qiaofengxi Dec 14, 2023
b6d577f
chore(release): publish
easyops-eve Dec 14, 2023
f7f3952
Merge pull request #3717 from easyops-cn/abert/fix-icons
jiezhoueasyops Dec 14, 2023
5ae89e6
chore(release): publish
easyops-eve Dec 14, 2023
5da5bb6
chore(): replace icons
jeft224 Dec 15, 2023
6ed9bbc
Merge pull request #3723 from easyops-cn/abert/fix-icons
jiezhoueasyops Dec 15, 2023
befe578
chore(release): publish
easyops-eve Dec 15, 2023
2106196
fix(): debugger with public dependencies mode
qiaofengxi Dec 15, 2023
446f770
Merge pull request #3718 from easyops-cn/jojiang/fix
weareoutman Dec 15, 2023
102f938
chore(): add sys-setting-sdk
qiaofengxi Dec 15, 2023
f9cf5ff
Merge pull request #3724 from easyops-cn/jojiang/sdk
weareoutman Dec 15, 2023
7cdab7b
chore(release): publish
easyops-eve Dec 15, 2023
09f379b
chore(): add sys-setting
qiaofengxi Dec 15, 2023
9d1f490
Merge pull request #3725 from easyops-cn/jojiang/sdk
jeft224 Dec 15, 2023
c22a90f
chore(release): publish
easyops-eve Dec 15, 2023
45b5693
chore(): sdk update
qiaofengxi Dec 15, 2023
75724ff
Merge pull request #3726 from easyops-cn/jojiang/sdk
jeft224 Dec 15, 2023
88a3162
chore(release): publish
easyops-eve Dec 15, 2023
2d37b28
feat(): optional use real time query
weareoutman Dec 18, 2023
7ffdf45
chore(): update docs etc
easyops-eve Dec 18, 2023
f9d3113
Merge pull request #3732 from easyops-cn/steve/v2-real-time-query
L-fingerprint Dec 18, 2023
23258d1
chore(release): publish
easyops-eve Dec 18, 2023
72bdc14
fix(): Provider::saveAs requires the first argument to be the filename
weareoutman Dec 18, 2023
380db19
Merge pull request #3733 from easyops-cn/steve/v2-save-as
willc001 Dec 18, 2023
d239b82
chore(release): publish
easyops-eve Dec 18, 2023
3bfe920
chore(): 上传图标
Dec 18, 2023
b9ac645
Merge pull request #3735 from easyops-cn/jie/PERMISSION-633
jeft224 Dec 18, 2023
77f1dab
chore(release): publish
easyops-eve Dec 18, 2023
7d23ab8
fix(): optional use real time query in placeholders
weareoutman Dec 18, 2023
5906e11
chore(): 上传图标
Dec 19, 2023
87b822b
Merge pull request #3737 from easyops-cn/steve/v2-real-time-query
L-fingerprint Dec 19, 2023
5e80645
chore(release): publish
easyops-eve Dec 19, 2023
b0b9568
Merge pull request #3740 from easyops-cn/jie/PERMISSION-633
jeft224 Dec 19, 2023
a70bed1
chore(release): publish
easyops-eve Dec 19, 2023
3bd9f66
feat(): update report_install_brick_next_package
SailorF Dec 19, 2023
2d79b5a
chore(): update snippet match
SailorF Dec 19, 2023
785b342
chore(): update snippet match
SailorF Dec 19, 2023
4f9f3af
chore(): update snippet match
SailorF Dec 19, 2023
9e41ebf
Merge pull request #3738 from easyops-cn/sailorshe/master/updateRepor…
weareoutman Dec 19, 2023
67199fa
chore(release): publish
easyops-eve Dec 19, 2023
6555df8
feat(): track conditional resolve
weareoutman Dec 19, 2023
83028c8
Merge pull request #3744 from easyops-cn/steve/v2-resolve-track-if
willc001 Dec 19, 2023
6ee0400
chore(release): publish
easyops-eve Dec 19, 2023
5c8ce9c
feat(): support union app mode
qiaofengxi Dec 20, 2023
2d8e1c1
Merge pull request #3747 from easyops-cn/jojiang/union-apps
weareoutman Dec 21, 2023
57b3025
chore(release): publish
easyops-eve Dec 21, 2023
905c439
chore(): add icons
jeft224 Dec 22, 2023
6ee8c47
Merge pull request #3751 from easyops-cn/abert/add-icons
jiezhoueasyops Dec 22, 2023
d280e19
chore(release): publish
easyops-eve Dec 22, 2023
2497c6c
fix(): move icons to next-bricks
weareoutman Dec 22, 2023
c6a6910
Merge pull request #3753 from easyops-cn/steve/v2-migrage-icons
qiaofengxi Dec 22, 2023
a052683
docs(): update readme of icons [skip ci]
weareoutman Dec 22, 2023
b5c47c5
chore(deps): Update dependency @easyops-cn/brick-next-pipes to ^0.6.0
renovate[bot] Dec 24, 2023
3871506
Merge pull request #3772 from easyops-cn/renovate/master-easyops-cn-b…
weareoutman Dec 24, 2023
72e2df5
chore(): 脚本迁移
qiaofengxi Dec 25, 2023
6093a73
Merge pull request #3779 from easyops-cn/jojiang/chore
lijmyeah Dec 25, 2023
cb4898d
chore(release): publish
easyops-eve Dec 26, 2023
12e5508
fix(): fix v3 widget upload error
SailorF Dec 26, 2023
e13c43f
Merge pull request #3783 from easyops-cn/sailorshe/master/fixV3Widget…
weareoutman Dec 26, 2023
98c3cd9
chore(release): publish
easyops-eve Dec 26, 2023
c1ab73c
chore(): report ingore package without stories.json
SailorF Dec 27, 2023
8de367e
Merge pull request #3790 from easyops-cn/sailorshe/master/reportIngor…
weareoutman Dec 27, 2023
58ae4d9
chore(release): publish
easyops-eve Dec 27, 2023
3bb6fe7
fix(): brick_next脚本修改,
Janice-shi Dec 29, 2023
d59ba99
Merge pull request #3799 from easyops-cn/janice/update_report_shell
lijmyeah Dec 29, 2023
7d796b4
chore(release): publish
easyops-eve Dec 29, 2023
33d9dc9
fix(): python脚本多删除了class
Janice-shi Dec 29, 2023
9d15d23
Merge pull request #3802 from easyops-cn/jancie/fix_py_bug
lijmyeah Dec 29, 2023
61d4144
chore(release): publish
easyops-eve Dec 31, 2023
8e8bf40
fix(): bootstrap match RegExp
SailorF Jan 4, 2024
93e1101
Merge pull request #3812 from easyops-cn/sailorshe/master/fixBootstra…
qiaofengxi Jan 4, 2024
603e6cd
chore(release): publish
easyops-eve Jan 4, 2024
a56ed74
chore(deps): Update dependency @next-shared/icons to ^0.2.0
renovate[bot] Jan 8, 2024
2742ad6
fix(): fix useBrick with v3 bricks in v2 container
weareoutman Jan 9, 2024
26bdb82
chore(release): publish
easyops-eve Jan 9, 2024
c607e23
Merge pull request #3820 from easyops-cn/steve/v2-fix-use-brick-with-v3
Nlicroshan Jan 9, 2024
e5bc433
chore(release): publish
easyops-eve Jan 9, 2024
acdf7c3
feat():code-bricks.code-display支持perl语言 ref CD-6900
Jan 9, 2024
aebb9d7
Merge pull request #3821 from easyops-cn/zhendong/feat
qiaofengxi Jan 9, 2024
d8756c1
chore(release): publish
easyops-eve Jan 9, 2024
a5f92ab
chore(): standalone-na 上报脚本修改, 增加字段usePublicDependencies/unionTags
Janice-shi Jan 12, 2024
615a2e4
Merge pull request #3830 from easyops-cn/janice/update-sa-sa-py
lijmyeah Jan 12, 2024
ac55692
chore(release): publish
easyops-eve Jan 15, 2024
c43a739
fix(): brick_next依赖micro_app_standalone_service
Janice-shi Jan 15, 2024
db7a9e4
fix(): brick_next依赖micro_app_standalone_service
Janice-shi Jan 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ jobs:
uses: actions/cache@v3
with:
path: .cache
key: ${{ runner.os }}-nx-master-${{ hashFiles('**/package.json') }}
key: ${{ runner.os }}-nx-master-${{ hashFiles('yarn.lock', 'package.json') }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-nx-master-
${{ runner.os }}-nx-master-${{ hashFiles('yarn.lock', 'package.json') }}-
if: (github.event_name == 'pull_request' && github.base_ref == 'master') || (github.event_name == 'push' && github.ref_name == 'master')

- name: Cache for npx
Expand Down Expand Up @@ -109,21 +109,23 @@ jobs:

- run: yarn build
- run: yarn test:ci
- run: yarn test:e2e:ci
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

- name: Codecov
uses: codecov/codecov-action@v3
with:
directory: packages

- run: yarn test:e2e:ci
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

- id: next-publish-from-tags
uses: easyops-cn/actions-next-publish-from-tags@master
with:
npm-token: ${{ secrets.NPM_TOKEN }}
if: github.event_name == 'push' && github.ref_name != 'next'

- name: Sync taobao npm mirror
run: npx lerna exec -- curl -sLX PUT 'https://npm.taobao.org/sync/$LERNA_PACKAGE_NAME?sync_upstream=true'
run: npx lerna exec -- curl -sLX PUT 'https://registry-direct.npmmirror.com/-/package/$LERNA_PACKAGE_NAME/syncs'
if: github.event_name == 'push' && github.ref_name != 'next' && steps.next-publish-from-tags.outputs.has-tags
continue-on-error: true
33 changes: 33 additions & 0 deletions .github/workflows/cleanup-caches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: cleanup caches by a branch
on:
pull_request:
types:
- closed

jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Cleanup
run: |
gh extension install actions/gh-actions-cache

REPO=${{ github.repository }}
BRANCH="refs/pull/${{ github.event.pull_request.number }}/merge"

echo "Fetching list of cache key"
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )

## Setting this to not fail the workflow while deleting cache keys.
set +e
echo "Deleting caches..."
for cacheKey in $cacheKeysForPR
do
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
done
echo "Done"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/lerna-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Lerna Version
run: npx lerna version --yes
run: npx lerna@5 version --yes
8 changes: 4 additions & 4 deletions .github/workflows/update-docs-etc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ jobs:

- name: Build and update docs etc
run: >-
lerna run build --scope @next-core/brick-types --include-dependencies
|| lerna run docs:dev --scope @next-core/brick-types
npx lerna run build --scope @next-core/brick-types --include-dependencies
|| npx lerna run docs:dev --scope @next-core/brick-types

lerna run build --scope @next-core/brick-kit --include-dependencies
|| lerna run docs:dev --scope @next-core/brick-kit
npx lerna run build --scope @next-core/brick-kit --include-dependencies
|| npx lerna run docs:dev --scope @next-core/brick-kit

- name: Git commit and push
run: |
Expand Down
12 changes: 8 additions & 4 deletions .size-limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = [
},
{
path: "packages/brick-container/dist/dll.*.js",
limit: "1.42 MB",
limit: "1.43 MB",
},
{
path: "packages/brick-container/dist/main.*.js",
Expand All @@ -41,19 +41,23 @@ module.exports = [
},
{
path: "packages/brick-icons/dist/index.esm.js",
limit: "10 KB",
limit: "11 KB",
},
{
path: "packages/brick-kit/dist/index.esm.js",
limit: "120 KB",
limit: "128 KB",
},
{
path: "packages/brick-types/dist/index.esm.js",
limit: "1.1 KB",
},
{
path: "packages/brick-types/.schema/storyboard.json",
limit: "26 KB",
},
{
path: "packages/brick-utils/dist/index.esm.js",
limit: "140 KB",
limit: "145 KB",
},
{
path: "packages/editor-bricks-helper/dist/index.esm.js",
Expand Down
8 changes: 8 additions & 0 deletions declarations/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ interface Window {
/** The app root, E.g. "hello-world/" */
APP_ROOT?: string;

/** The app root template, E.g. "sa-static/{id}/versions/{version}/webroot/" */
APP_ROOT_TPL?: string;

/** The public cdn, E.g. "https://my.cdn.site/" */
PUBLIC_CDN?: string;

Expand All @@ -71,8 +74,13 @@ interface Window {
/** The bootstrap filename, E.g. "hello-world/-/bootstrap.abc123.json" */
BOOTSTRAP_FILE?: string;

/** the union bootstrap filename */
BOOTSTRAP_UNION_FILE?: string;

/** Mock global date, currently for sandbox demo website only */
MOCK_DATE?: string;

DISABLE_REACT_FLUSH_SYNC?: boolean;
}

declare const __webpack_public_path__: string;
Expand Down
Loading
Loading