Skip to content
Closed
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
352 commits
Select commit Hold shift + click to select a range
cd17fea
Update auto-build-rpm.yml
FangSen9000 Aug 24, 2022
94928d3
Update frontend-e2e-test.yml
FangSen9000 Aug 24, 2022
06c438f
Update make-build.yaml
FangSen9000 Aug 24, 2022
3dd6109
Update test-frontend-multiple-node-build.yml
FangSen9000 Aug 24, 2022
57df6ad
Update Makefile
FangSen9000 Aug 24, 2022
1328488
Update Dockerfile
FangSen9000 Aug 24, 2022
a11943f
Update package.json
FangSen9000 Aug 24, 2022
7c0d89a
Update pnpm-lock.yaml
FangSen9000 Aug 24, 2022
3e9bf83
Update frontend-e2e-test.yml
FangSen9000 Aug 24, 2022
eab805d
Update frontend-e2e-test.yml
FangSen9000 Aug 24, 2022
93ef342
Update make-build.yaml
FangSen9000 Aug 24, 2022
5fef10f
Update test-frontend-multiple-node-build.yml
FangSen9000 Aug 24, 2022
17cb86b
Update Dockerfile
FangSen9000 Aug 24, 2022
be30722
Update Makefile
FangSen9000 Aug 24, 2022
17dc652
Update develop.md
FangSen9000 Aug 24, 2022
2c54fef
Update package.json
FangSen9000 Aug 24, 2022
e3f114d
Update pnpm-lock.yaml
FangSen9000 Aug 24, 2022
53e3c8d
Update package.json
FangSen9000 Aug 24, 2022
cb0a45f
Update .stylelintrc.js
FangSen9000 Aug 24, 2022
2164faa
Merge pull request #7 from FangSen9000/Move-yarn-to-pnpm3.0
FangSen9000 Aug 24, 2022
d9d3bdc
Update Dockerfile
FangSen9000 Aug 24, 2022
678e139
Update make-build.yaml
FangSen9000 Aug 26, 2022
85937fb
Update test-frontend-multiple-node-build.yml
FangSen9000 Aug 26, 2022
117a2de
Update make-build.yaml
FangSen9000 Aug 27, 2022
a258eea
Merge branch 'apache:master' into feat-add-tip-for-plugin-editor
FangSen9000 Aug 27, 2022
8c7c6bd
Update PluginDetail.tsx
FangSen9000 Aug 27, 2022
93d4b23
Create Models.ts
FangSen9000 Aug 27, 2022
5df7229
Add files via upload
FangSen9000 Aug 27, 2022
e2641e5
Update authzcasbin.txt
FangSen9000 Aug 27, 2022
1fb791d
Update opa.txt
FangSen9000 Aug 27, 2022
ea83476
Update index.js
FangSen9000 Aug 27, 2022
0878792
Update Models.ts
FangSen9000 Aug 27, 2022
97af1fc
Update index.js
FangSen9000 Aug 27, 2022
f689e8d
Update PluginDetail.tsx
FangSen9000 Aug 27, 2022
9130c10
Update PluginDetail.tsx
FangSen9000 Aug 27, 2022
45b7d3e
Update Models.ts
FangSen9000 Aug 27, 2022
7f7786b
Update Models.ts
FangSen9000 Aug 27, 2022
453bcb4
Update Models.ts
FangSen9000 Aug 27, 2022
785180c
Update PluginDetail.tsx
FangSen9000 Aug 28, 2022
f873f36
Update PluginDetail.tsx
FangSen9000 Aug 28, 2022
c7a4726
Delete authzcasbin.txt
FangSen9000 Aug 28, 2022
b6fbb48
Delete opa.txt
FangSen9000 Aug 28, 2022
bac32dc
Update index.js
FangSen9000 Aug 28, 2022
d5e1c45
Update .stylelintrc.js
FangSen9000 Aug 28, 2022
2476bd5
Update .stylelintrc.js
FangSen9000 Aug 28, 2022
204a3b9
Rename index.js to index.ts
FangSen9000 Aug 28, 2022
641b90f
Update PluginDetail.tsx
FangSen9000 Aug 28, 2022
69be028
Update PluginDetail.tsx
FangSen9000 Aug 28, 2022
4c7855c
Rename index.ts to index.js
FangSen9000 Aug 28, 2022
00fd7f6
Update auto-build-rpm.yml
FangSen9000 Aug 28, 2022
6accb34
Update PluginDetail.tsx
FangSen9000 Aug 28, 2022
10ceb13
Delete web/src/components/Plugin/modelCode directory
FangSen9000 Aug 28, 2022
08ed679
Create modelCode.ts
FangSen9000 Aug 28, 2022
9a1812b
Update Models.ts
FangSen9000 Aug 28, 2022
575b007
Update modelCode.ts
FangSen9000 Aug 28, 2022
b2312a4
Update modelCode.ts
FangSen9000 Aug 28, 2022
05e57aa
Update make-build.yaml
FangSen9000 Aug 28, 2022
a4a8bdd
Update test-frontend-multiple-node-build.yml
FangSen9000 Aug 28, 2022
c209f99
Update make-build.yaml
FangSen9000 Aug 28, 2022
f23fa76
Update test-frontend-multiple-node-build.yml
FangSen9000 Aug 28, 2022
85d71d6
Update make-build.yaml
FangSen9000 Aug 28, 2022
c93d567
Update test-frontend-multiple-node-build.yml
FangSen9000 Aug 28, 2022
0dcb9ac
Update test-frontend-multiple-node-build.yml
FangSen9000 Aug 28, 2022
d0e1fd9
Update make-build.yaml
FangSen9000 Aug 28, 2022
a3b2a9d
Update package.json
FangSen9000 Aug 28, 2022
2aee729
Update make-build.yaml
FangSen9000 Aug 28, 2022
a225ec6
Update test-frontend-multiple-node-build.yml
FangSen9000 Aug 28, 2022
d7295b1
Update package.json
FangSen9000 Aug 28, 2022
65480b2
Update test-frontend-multiple-node-build.yml
FangSen9000 Aug 28, 2022
fe3c341
Update make-build.yaml
FangSen9000 Aug 28, 2022
558e3a4
Update make-build.yaml
FangSen9000 Aug 28, 2022
4346c2a
Update test-frontend-multiple-node-build.yml
FangSen9000 Aug 28, 2022
1b1206c
Update make-build.yaml
FangSen9000 Aug 28, 2022
2751be2
Update package.json
FangSen9000 Aug 28, 2022
b911921
Update make-build.yaml
FangSen9000 Aug 28, 2022
78d2eab
Update test-frontend-multiple-node-build.yml
FangSen9000 Aug 28, 2022
236e3f7
Update make-build.yaml
FangSen9000 Aug 28, 2022
2375aee
Update frontend-e2e-test.yml
FangSen9000 Aug 28, 2022
b4abf33
Update make-build.yaml
FangSen9000 Aug 28, 2022
f78e3c8
Update frontend-e2e-test.yml
FangSen9000 Aug 29, 2022
dea9f69
Update Models.ts
FangSen9000 Aug 29, 2022
0246d88
Update modelCode.ts
FangSen9000 Aug 29, 2022
7748e4a
Update create-route-with-plugin-orchestration.cy.js
FangSen9000 Aug 29, 2022
2e98aa8
Update Models.ts
FangSen9000 Aug 29, 2022
0b4e66b
Update modelCode.ts
FangSen9000 Aug 29, 2022
7bde01f
Update create-route-with-plugin-orchestration.cy.js
FangSen9000 Aug 29, 2022
85c720a
Update auto-build-rpm.yml
FangSen9000 Aug 29, 2022
c2105d5
Update make-build.yaml
FangSen9000 Aug 30, 2022
29f5586
Update modelCode.ts
FangSen9000 Aug 30, 2022
b2878f5
Update modelCode.ts
FangSen9000 Aug 30, 2022
b482692
Update PluginDetail.tsx
FangSen9000 Sep 1, 2022
29817c8
Update Models.ts
FangSen9000 Sep 1, 2022
7c30462
Update modelCode.ts
FangSen9000 Sep 1, 2022
66d0836
Update Models.ts
FangSen9000 Sep 1, 2022
ac50696
Update modelCode.ts
FangSen9000 Sep 1, 2022
975cd0d
Create create-route-with-plugin-orchestration.cy.js
FangSen9000 Sep 1, 2022
2952e0b
Update make-build.yaml
FangSen9000 Sep 1, 2022
efe90e3
Update package.json
FangSen9000 Sep 3, 2022
b4d666e
Update frontend-e2e-test.yml
FangSen9000 Sep 3, 2022
2d1b4b5
Update make-build.yaml
FangSen9000 Sep 3, 2022
edb904c
Update test-frontend-multiple-node-build.yml
FangSen9000 Sep 3, 2022
1aae1df
Update frontend-e2e-test.yml
FangSen9000 Sep 3, 2022
e6f7f9e
Update make-build.yaml
FangSen9000 Sep 3, 2022
4563bd3
Update test-frontend-multiple-node-build.yml
FangSen9000 Sep 3, 2022
6fdbf1b
Update package.json
FangSen9000 Sep 3, 2022
d19e438
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 5, 2022
ba1c0db
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 5, 2022
b4bf627
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 5, 2022
11c65c1
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 5, 2022
9052ecd
Update auto-build-rpm.yml
FangSen9000 Sep 5, 2022
45d50a3
Update auto-build-rpm.yml
FangSen9000 Sep 5, 2022
552edab
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 5, 2022
936f7f5
Update auto-build-rpm.yml
FangSen9000 Sep 5, 2022
6ef56dd
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 5, 2022
e2f8181
Update auto-build-rpm.yml
FangSen9000 Sep 5, 2022
41dc4d4
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
21ab4fc
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
4cfe3ca
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
e87a8bc
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
ee4a718
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
41cc5a5
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
d0a18fd
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
7e8eb5b
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
24529b6
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
9ee507d
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
1253061
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
2caa710
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
b730fca
Update Models.ts
FangSen9000 Sep 6, 2022
39e25f6
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
13ecc59
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
9ab7b58
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
00a3cfb
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
dcf1a8e
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 6, 2022
cdbe91e
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
a7d83c7
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
d1197bd
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
4bddeb9
Update commands.js
FangSen9000 Sep 7, 2022
96affb3
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
3d7bf4b
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
dcdb3cc
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
0ad1e48
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
0d2eecb
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
c7ff463
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
9f120c6
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
239a31f
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
f14b4b8
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
97832e6
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
c886d82
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
445487c
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
271cbba
Update commands.js
FangSen9000 Sep 7, 2022
b46ee7d
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
e1bba62
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
c621134
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
01380f1
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
fd99aa3
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 7, 2022
99c2eb9
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 8, 2022
602a12c
Merge branch 'apache:master' into feat-add-tip-for-plugin-editor
FangSen9000 Sep 8, 2022
2516e77
Update Dockerfile
FangSen9000 Sep 8, 2022
edabeed
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 8, 2022
93ce28a
Update auto-build-rpm.yml
FangSen9000 Sep 8, 2022
adfdaef
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 8, 2022
42c11b7
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 8, 2022
9228bdf
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 8, 2022
fd62a33
Update frontend-e2e-test.yml
FangSen9000 Sep 9, 2022
6f86430
Update frontend-e2e-test.yml
FangSen9000 Sep 9, 2022
deceec8
Update auto-build-rpm.yml
FangSen9000 Sep 9, 2022
4e5860b
Update auto-build-rpm.yml
FangSen9000 Sep 10, 2022
b2a8ca7
Update auto-build-rpm.yml
FangSen9000 Sep 10, 2022
9722934
Update auto-build-rpm.yml
FangSen9000 Sep 10, 2022
b0ac028
Update auto-build-rpm.yml
FangSen9000 Sep 10, 2022
468d8b0
Update frontend-e2e-test.yml
FangSen9000 Sep 11, 2022
7178fc7
Update auto-build-rpm.yml
FangSen9000 Sep 11, 2022
cec9ea8
Update auto-build-rpm.yml
FangSen9000 Sep 11, 2022
7a1b82b
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 12, 2022
f179683
fixed create-delete-in-drawer-plugin.cy.js
Sep 12, 2022
e798cd0
Merge pull request #8 from butterfly1924/fix_create-delete-in-drawer-…
FangSen9000 Sep 12, 2022
ed35abd
Merge branch 'apache:master' into master
FangSen9000 Sep 13, 2022
6223ab1
Update frontend-e2e-test.yml
FangSen9000 Sep 13, 2022
89b9765
Update frontend-e2e-test.yml
FangSen9000 Sep 13, 2022
4eb5d12
Update web/src/components/Plugin/PluginDetail.tsx
FangSen9000 Sep 16, 2022
e61e2a1
Update web/src/components/Plugin/Models.ts
FangSen9000 Sep 16, 2022
fdbfa8a
Update PluginDetail.tsx
FangSen9000 Sep 16, 2022
0889460
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 16, 2022
e9456c9
Update plugin-schema.cy.js
FangSen9000 Sep 25, 2022
a639746
Update plugin-schema.cy.js
FangSen9000 Sep 25, 2022
88e4b74
Update plugin-schema.cy.js
FangSen9000 Sep 25, 2022
a8c296c
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 26, 2022
3210085
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 26, 2022
eced43d
Update plugin-schema.cy.js
FangSen9000 Sep 26, 2022
a901f9a
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 26, 2022
b8fc8a8
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 26, 2022
fc69afc
Update commands.js
FangSen9000 Sep 26, 2022
05709da
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 26, 2022
7e8eebf
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 26, 2022
ef421e2
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 26, 2022
8955c71
Update create-route-with-plugin-orchestration.cy.js
FangSen9000 Sep 26, 2022
c536d25
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 26, 2022
033de5f
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 26, 2022
165e5f0
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 26, 2022
ce3164d
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 26, 2022
87cc0e0
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 26, 2022
8bb67ff
Update create-route-with-plugin-orchestration.cy.js
FangSen9000 Sep 26, 2022
9bc3dea
Update commands.js
FangSen9000 Sep 26, 2022
6c1aed7
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 26, 2022
568ac90
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 26, 2022
94ba302
Update modelCode.ts
FangSen9000 Sep 27, 2022
553aa2f
Update auto-build-rpm.yml
FangSen9000 Sep 27, 2022
1906ed6
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 27, 2022
46b3317
Update modelCode.ts
FangSen9000 Sep 27, 2022
be6fdb2
Update frontend-e2e-test.yml
FangSen9000 Sep 27, 2022
5092482
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 27, 2022
685cdbb
Update auto-build-rpm.yml
FangSen9000 Sep 27, 2022
7ed8c55
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 27, 2022
fa55b55
Update frontend-e2e-test.yml
FangSen9000 Sep 27, 2022
5df4f2b
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 27, 2022
8368387
Update frontend-e2e-test.yml
FangSen9000 Sep 27, 2022
ba69837
Update create-route-with-plugin-orchestration.cy.js
FangSen9000 Sep 27, 2022
2035651
Update frontend-e2e-test.yml
FangSen9000 Sep 27, 2022
4d4d3f7
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 27, 2022
90e8565
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 27, 2022
e07498d
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 27, 2022
73d4171
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 27, 2022
4b089ea
Update auto-build-rpm.yml
FangSen9000 Sep 27, 2022
57a1f0e
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 27, 2022
afafbf9
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 27, 2022
caa5898
Update auto-build-rpm.yml
FangSen9000 Sep 27, 2022
6edea66
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 27, 2022
0c693f7
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 27, 2022
a782da6
Update auto-build-rpm.yml
FangSen9000 Sep 27, 2022
eade5ad
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 28, 2022
7c32367
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 28, 2022
f01c6e6
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 28, 2022
d5443df
Update create-route-with-plugin-orchestration.cy.js
FangSen9000 Sep 28, 2022
c40d5f1
Update plugin-schema.cy.js
FangSen9000 Sep 29, 2022
d8f4d6c
Update plugin-schema.cy.js
FangSen9000 Sep 29, 2022
9aceeac
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 29, 2022
63c2819
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 29, 2022
c6da4d1
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 29, 2022
063f34c
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 29, 2022
6beecf8
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 29, 2022
e10f118
Update upstream-create_and_edit_upstream_with_no_nodes.cy.js
FangSen9000 Sep 29, 2022
06b0a96
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 29, 2022
eedf05d
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 30, 2022
9bb9fa0
Update commands.js
FangSen9000 Sep 30, 2022
79976c3
Update service-edit-service-with-upstream.cy.js
FangSen9000 Sep 30, 2022
175d457
Update PluginDetail.tsx
FangSen9000 Sep 30, 2022
e14844a
Update create-delete-in-drawer-plugin.cy.js
FangSen9000 Sep 30, 2022
590695a
Merge branch 'master' into feat-add-tip-for-plugin-editor
FangSen9000 Oct 1, 2022
730d835
Merge pull request #9 from FangSen9000/feat-add-tip-for-plugin-editor
FangSen9000 Oct 1, 2022
1983667
Update auto-build-rpm.yml
FangSen9000 Oct 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-build-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: |
export VERSION=${{ steps.branch_env.outputs.version }}
sudo gem install --no-document fpm
git clone https://github.com/api7/apisix-build-tools.git
git clone https://github.com/FangSen9000/apisix-build-tools.git
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that we should let the API7 community merge my changes to the build script before merging this pr.
api7/apisix-build-tools#232
(if I keep it as it is, the original warehouse that has not been changed will only report an error. In order to prove that my changes are effective, I link to my modified build script warehouse.)

Copy link
Contributor Author

@FangSen9000 FangSen9000 Aug 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BZP told me that the build tool can be changed after the dashboard is merged.
I think we can also do this. After all, it only affects the detection of RPM packaging workflow.


# move codes under build tool
mkdir ./apisix-build-tools/apisix-dashboard
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/frontend-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
cache-dependency-path: web/yarn.lock

- name: Install PNPM
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use the officially provided
https://pnpm.io/continuous-integration#github-actions

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"When downloading the relevant environment, it seems that there are some restrictions. Maybe it can be solved by storing it in the warehouse through some link, but I don‘t find it. This picture is the reason why the three people are useless. Action is prohibited. It clearly meets the requirements he said, but it can't be used."`
1661525327899
1661525339301

@guoqqqi You can look at the pictures. If anyone can solve it, it's best.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, it seems to be due to some permissions of the Apache repository.🤣

run: npm i -g [email protected]

- name: Setup golang environment
uses: actions/setup-go@v3
Expand Down Expand Up @@ -84,14 +85,20 @@ jobs:
cypress-${{ runner.os }}-cypress-cache0

- name: Install dependencies
run: yarn
run: pnpm install --unsafe-perm

- name: Install Cypress binary
run: pnpx cypress install

- run: pnpx browserslist@latest --update-db
- run: npx browserslist@latest --update-db

- name: Start frontend then test
run: |
yarn start-server-and-test 'cross-env SERVE_ENV=test UMI_UI=none MOCK=none SERVE_URL_TEST=http://localhost:9000 yarn start' http-get://localhost:8000 'cross-env CYPRESS_SERVE_ENV=test SERVE_URL_TEST=http://localhost:9000 yarn cypress run --spec "**/e2e/${{matrix.folderPrefix}}/**.cy.js"'
pnpm start-server-and-test 'cross-env SERVE_ENV=test UMI_UI=none MOCK=none SERVE_URL_TEST=http://localhost:9000 pnpm start' http-get://localhost:8000 'cross-env CYPRESS_SERVE_ENV=test SERVE_URL_TEST=http://localhost:9000 pnpm cypress run --spec "**/e2e/${{matrix.folderPrefix}}/**.cy.js"'

- name: Report e2e coverage
run: npx nyc report --reporter=text-summary
run: pnpx nyc report --reporter=text-summary

- name: Upload coverage to Codecov
run: |
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/make-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,16 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
cache-dependency-path: web/yarn.lock

- name: Install PNPM
run: npm i -g [email protected]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto


- name: Change the NPM Settings for PNPM
run: npm config set strict-peer-dependencies=false
- run: npm config set auto-install-peers=true

- name: Install dependencies
run: pnpm install --unsafe-perm

- name: Setup golang environment
uses: actions/setup-go@v3
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/test-frontend-multiple-node-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,23 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: web/yarn.lock

- name: Install PNPM
run: npm i -g [email protected]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto


- name: Change the NPM Settings for PNPM
run: npm config set strict-peer-dependencies=false
- run: npm config set auto-install-peers=true

# Install dependencies
- name: Install dependencies
working-directory: web
run: CYPRESS_INSTALL_BINARY=0 yarn
run: CYPRESS_INSTALL_BINARY=0 pnpm install --unsafe-perm

- name: Lint
working-directory: web
run: yarn run lint:js && yarn run lint:style
run: pnpm lint:js && pnpm lint:style

- name: Build the Dashboard
working-directory: web
run: yarn build
run: pnpm build
14 changes: 10 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ARG APISIX_DASHBOARD_VERSION=master

RUN set -x \
&& apk add --no-cache --virtual .builddeps git \
&& git clone https://github.com/apache/apisix-dashboard.git -b ${APISIX_DASHBOARD_VERSION} /usr/local/apisix-dashboard \
&& git clone https://github.com/FangSen9000/apisix-dashboard.git -b ${APISIX_DASHBOARD_VERSION} /usr/local/apisix-dashboard \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I keep it as it is, the original warehouse that has not been changed will only report an error. In order to prove that my change is effective, I link to my changed warehouse. Just like RPM workflow. Before merging, please remind me to change it back.

&& cd /usr/local/apisix-dashboard && git clean -Xdf \
&& rm -f ./.githash && git log --pretty=format:"%h" -1 > ./.githash

Expand All @@ -46,9 +46,15 @@ COPY --from=pre-build /usr/local/apisix-dashboard .

WORKDIR /usr/local/apisix-dashboard/web

RUN if [ "$ENABLE_PROXY" = "true" ] ; then yarn config set registry https://registry.npmmirror.com/ ; fi \
&& yarn install \
&& yarn build
RUN npm i pnpm -g

RUN npm config set strict-peer-dependencies=false

RUN npm config set auto-install-peers=true

RUN if [ "$ENABLE_PROXY" = "true" ] ; then pnpm config set registry https://registry.npmmirror.com/ ; fi \
&& pnpm install --unsafe-perm \
&& pnpm build

FROM alpine:latest as prod

Expand Down
17 changes: 11 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
SHELL := /bin/bash -o pipefail
UNAME ?= $(shell uname)
YARN_EXEC ?= $(shell which yarn)
PNPM_EXEC ?= $(shell which pnpm)
GO_EXEC ?= $(shell which go)

VERSION ?= latest
Expand All @@ -36,13 +37,13 @@ help:
### build: Build the Apache APISIX Dashboard, including web and manager-api
.PHONY: build
build: web-default api-default
api/build.sh && cd ./web && export CYPRESS_INSTALL_BINARY=0 && yarn install --ignore-scripts && yarn build && mkdir -p ../output/logs
api/build.sh && cd ./web && export CYPRESS_INSTALL_BINARY=0 && pnpm install --unsafe-perm --ignore-scripts && pnpm build && mkdir -p ../output/logs


.PHONY: web-default
web-default:
ifeq ("$(wildcard $(YARN_EXEC))", "")
@echo "ERROR: Need to install yarn first"
ifeq ("$(wildcard $(PNPM_EXEC))", "")
@echo "ERROR: Need to install pnpm first"
exit 1
endif

Expand Down Expand Up @@ -121,12 +122,16 @@ release-src:
--exclude release \
--exclude api/internal/core/store/validate_mock.go \
--exclude api/internal/core/storage/storage_mock.go \
.
./api \
./licenses \
./web \
LICENSE \
Makefile \
NOTICE \
*.md

gpg --batch --yes --armor --detach-sig $(RELEASE_SRC).tgz
shasum -a 512 $(RELEASE_SRC).tgz > $(RELEASE_SRC).tgz.sha512

mkdir -p release
mv $(RELEASE_SRC).tgz release/$(RELEASE_SRC).tgz
mv $(RELEASE_SRC).tgz.asc release/$(RELEASE_SRC).tgz.asc
mv $(RELEASE_SRC).tgz.sha512 release/$(RELEASE_SRC).tgz.sha512
20 changes: 15 additions & 5 deletions docs/en/latest/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,24 @@ If you don't want to create the file, you can also export the variable.
export SERVE_URL_DEV=http://localhost:9000
```

3. Launch development mode
3. Launch development mode [(pnpm)](https://pnpm.io/installation)

```sh
$ yarn install
```shell
# You can also use pnpm as a tool to download dependent packages.
$ pnpm install --unsafe-perm

$ pnpm start

# If some dependent packages are not installed, use the following command. The higher version of NPM forbids automatic installation of peer-to-peer dependencies, but we need them, so conflicts arise.

# In In the .npmrc configuration file, add strict peer dependencies = false, which means that the strict peer dependency mode will be turned off.
$ npm config set strict-peer-dependencies=false

# Change it to true if you want to automatically install peer dependencies.
$ npm config set auto-install-peers=true

$ yarn start
```

> If there is an error about gyp during yarn install, please ignore it and go ahead!
> If there is an error about gyp during pnpm install, please ignore it and go ahead! If monaco-editor cannot be found during startup, please go to the original address of the file and copy it .public, you can use the command 'find -name monaco-editor'

4. If writing an front end E2E test, please refer to the [Front End E2E Writing Guide](./front-end-e2e.md)
6 changes: 3 additions & 3 deletions docs/en/latest/front-end-e2e.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This project uses [Cypress](https://www.cypress.io/) as the front-end E2E test f
2. Open Cypress test-runner. For the use of test-runner, please refer to [test-runner](https://docs.cypress.io/guides/core-concepts/test-runner.html#) Overview.

```sh
yarn cypress:open-dev
pnpm cypress:open-dev
```

3. Write your test examples: please refer to the test examples in the `/web/cypress` directory, or see [RWA](https://github.com/cypress-io/cypress-realworld-app) for more examples.
Expand All @@ -37,12 +37,12 @@ To make it easy for users to develop front-end E2E cases, we use the remote mana

1. Start the local manager-api service, please refer to [develop](./develop.md) manager-api section.

2. To start the front-end project locally, please refer to [develop](./develop.md) web section. NOTE: You need to change `yarn start` to `yarn start:e2e` when you start.
2. To start the front-end project locally, please refer to [develop](./develop.md) web section. NOTE: You need to change `pnpm start` to `pnpm start:e2e` when you start.

3. Open Cypress test-runner.

```sh
yarn cypress:open
pnpm cypress:open
```

Reference links:
Expand Down
2 changes: 1 addition & 1 deletion docs/en/latest/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ $ go env -w GOPROXY=https://goproxy.cn,direct
For `web`:

1. [Node.js](https://nodejs.org/en/download/) current LTS (14.x+)
2. [Yarn](https://yarnpkg.com/getting-started/install)
2. [Pnpm](https://pnpm.io/installation)

### Download {#source-download}

Expand Down
2 changes: 1 addition & 1 deletion web/.husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname "$0")/_/husky.sh"

cd web
yarn lint-staged
pnpm lint-staged
2 changes: 1 addition & 1 deletion web/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ Dockerfile*
LICENSE
.eslintcache
*.lock
yarn-error.log
pnpm-error.log
.history
CNAME
1 change: 0 additions & 1 deletion web/.stylelintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-css-modules',
'stylelint-config-rational-order',
'stylelint-config-prettier',
Expand Down
57 changes: 37 additions & 20 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,42 @@
"description": "Dashboard for Apache APISIX",
"scripts": {
"prepare": "cd .. && husky install web/.husky",
"analyze": "cross-env ANALYZE=1 yarn run build",
"build": "cp -R ./node_modules/monaco-editor ./public/ && umi build",
"dev": "yarn run start:dev",
"fetch:blocks": "pro fetch-blocks --branch antd@4 && yarn run prettier",
"analyze": "cross-env ANALYZE=1 pnpm run build",
"build": "cp -R ./node_modules/.pnpm/[email protected]/node_modules/monaco-editor ./public/ && umi build",
"dev": "pnpm run start:dev",
"fetch:blocks": "pro fetch-blocks --branch antd@4 && pnpm run prettier",
"i18n-remove": "pro i18n-remove --locale=zh-CN --write",
"postinstall": "umi g tmp",
"lint": "umi g tmp && yarn run lint:js && yarn run lint:style && yarn run lint:prettier",
"lint": "umi g tmp && pnpm run lint:js && pnpm run lint:style && pnpm run lint:prettier",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && yarn run lint:style",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && pnpm run lint:style",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:prettier": "prettier --check \"**/*\" --end-of-line auto",
"lint:style": "stylelint --fix \"src/**/*.less\"",
"prettier": "prettier -c --write \"**/*\"",
"site": "yarn run fetch:blocks && yarn run build",
"start": "cp -R ./node_modules/monaco-editor ./public/ && umi dev",
"start:e2e": "cross-env SERVE_ENV=test yarn run start",
"test:e2e": "start-server-and-test 'cross-env SERVE_ENV=test yarn start' http-get://localhost:8000 cypress:run-ci",
"test-plugin:e2e": "start-server-and-test 'cross-env SERVE_ENV=test yarn start' http-get://localhost:8000 cypress:run-plugin-ci",
"start:dev": "cross-env REACT_APP_ENV=dev MOCK=none yarn run start",
"start:no-mock": "cross-env MOCK=none yarn run start",
"start:no-ui": "cross-env UMI_UI=none yarn run start",
"start:pre": "cross-env REACT_APP_ENV=pre yarn run start",
"start:test": "cross-env REACT_APP_ENV=test MOCK=none yarn run start",
"site": "pnpm run fetch:blocks && pnpm run build",
"start": "cp -R ./node_modules/.pnpm/[email protected]/node_modules/monaco-editor ./public/ && umi dev",
"start:umi-dev": "umi dev",
"start:e2e": "cross-env SERVE_ENV=test pnpm run start",
"test:e2e": "start-server-and-test 'cross-env SERVE_ENV=test pnpm start' http-get://localhost:8000 cypress:run-ci",
"test-plugin:e2e": "start-server-and-test 'cross-env SERVE_ENV=test pnpm start' http-get://localhost:8000 cypress:run-plugin-ci",
"start:dev": "cross-env REACT_APP_ENV=dev MOCK=none pnpm run start",
"start:no-mock": "cross-env MOCK=none pnpm run start",
"start:no-ui": "cross-env UMI_UI=none pnpm run start",
"start:pre": "cross-env REACT_APP_ENV=pre pnpm run start",
"start:test": "cross-env REACT_APP_ENV=test MOCK=none pnpm run start",
"test:component": "umi test ./src/components",
"tsc": "tsc",
"cypress:open": "cross-env CYPRESS_SERVE_ENV=test cypress open",
"cypress:open-dev": "cross-env CYPRESS_SERVE_ENV=dev cypress open",
"cypress:run-ci": "cross-env CYPRESS_SERVE_ENV=test cypress run",
"cypress:run-plugin-ci": "cross-env CYPRESS_SERVE_ENV=test cypress run --spec 'cypress/e2e/plugin/*.cy.js'"
"cypress:run-ci": "cross-env CYPRESS_SERVE_ENV=test cypress run --browser chrome",
"cypress:run-plugin-ci": "cross-env CYPRESS_SERVE_ENV=test cypress run --browser chrome --spec 'cypress/e2e/plugin/*.cy.js'"
},
"license": "Apache-2.0",
"lint-staged": {
"**/*.less": "stylelint",
"**/*.{js,jsx,ts,tsx}": "yarn run lint-staged:js",
"**/*.{js,jsx,ts,tsx}": "pnpm run lint-staged:js",
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
Expand All @@ -55,17 +56,25 @@
"@ant-design/pro-table": "2.30.1",
"@antv/x6": "^1.18.5",
"@antv/x6-react-components": "^1.1.7",
"@babel/core": "^7.0.1",
"@babel/preset-env": "^7.0.0",
"@babel/runtime-corejs2": "^7.10.3",
"@monaco-editor/react": "^4.3.1",
"@rjsf/antd": "2.2.0",
"@rjsf/core": "2.2.0",
"@types/js-yaml": "^4.0.0",
"@umijs/route-utils": "^2.2.0",
"ajv": "^7.0.3",
"ajv-formats": "^1.5.1",
"antd": "^4.4.0",
"antd-dayjs-webpack-plugin": "1.0.0",
"babel-loader": "^8.0.2",
"base-64": "^1.0.0",
"classnames": "^2.2.6",
"dayjs": "1.8.28",
"core-js": "^2.5.7",
"dayjs": "1.8.30",
"dotenv": "^16.0.1",
"dva-core": "1.6.0-beta.7",
"file-saver": "^2.0.5",
"js-beautify": "^1.13.0",
"js-yaml": "^4.0.0",
Expand All @@ -76,17 +85,25 @@
"path-to-regexp": "2.4.0",
"qs": "^6.9.0",
"query-string": "^6.13.7",
"re2": "^1.15.4",
"react": "^16.8.6",
"react-copy-to-clipboard": "^5.0.3",
"react-device-detect": "^1.12.1",
"react-dom": "^16.8.6",
"react-helmet-async": "^1.0.4",
"react-is": ">= 16.8.0",
"react-router": "^4.3.1 || ^5.0.0",
"redbox-react": "1.x",
"redux": "4.x",
"start-server-and-test": "^1.11.5",
"styled-components": "^5.2.1",
"typescript": ">= 2.7",
"umi": "^3.1.2",
"umi-request": "^1.0.8",
"url-regex-safe": "^3.0.0",
"use-merge-value": "^1.0.1",
"uuid": "7.0.3",
"webpack": "^4.40.0 || ^5.0.0",
"yaml": "^1.10.0"
},
"devDependencies": {
Expand Down
Loading