From cb2c566be0b7ffbbcdb040a339103ab356a7159c Mon Sep 17 00:00:00 2001 From: Kuitos Date: Fri, 22 Jul 2022 20:38:49 +0800 Subject: [PATCH 1/5] feat: add qiankun technology --- .../webextension/images/icons/Qiankun.svg | 49 +++++++++++++++++++ src/technologies/q.json | 18 ++++++- 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 src/drivers/webextension/images/icons/Qiankun.svg diff --git a/src/drivers/webextension/images/icons/Qiankun.svg b/src/drivers/webextension/images/icons/Qiankun.svg new file mode 100644 index 000000000..e1dad1faa --- /dev/null +++ b/src/drivers/webextension/images/icons/Qiankun.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/technologies/q.json b/src/technologies/q.json index 6aa7a1edc..048016041 100644 --- a/src/technologies/q.json +++ b/src/technologies/q.json @@ -315,5 +315,21 @@ "icon": "Qwik.svg", "oss": true, "website": "https://qwik.builder.io" + }, + "qiankun": { + "cats": [ + 59 + ], + "description": "qiankun is a JS library who helps developers to build a micro frontends system.", + "dom": { + "div[id^=__qiankun_]": { + "attributes": { + "data-version": "([\\d\\.]+)\\;version:\\1" + } + } + }, + "icon": "Qiankun.svg", + "oss": true, + "website": "https://qiankun.umijs.org" } -} \ No newline at end of file +} From 564d4440c1b44dbd8831f69f63f753ad5b9b895d Mon Sep 17 00:00:00 2001 From: Kuitos Date: Fri, 22 Jul 2022 20:57:42 +0800 Subject: [PATCH 2/5] chore: rename --- .../webextension/images/icons/{Qiankun.svg => qiankun.svg} | 0 src/technologies/q.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/drivers/webextension/images/icons/{Qiankun.svg => qiankun.svg} (100%) diff --git a/src/drivers/webextension/images/icons/Qiankun.svg b/src/drivers/webextension/images/icons/qiankun.svg similarity index 100% rename from src/drivers/webextension/images/icons/Qiankun.svg rename to src/drivers/webextension/images/icons/qiankun.svg diff --git a/src/technologies/q.json b/src/technologies/q.json index 048016041..4464357ed 100644 --- a/src/technologies/q.json +++ b/src/technologies/q.json @@ -328,7 +328,7 @@ } } }, - "icon": "Qiankun.svg", + "icon": "qiankun.svg", "oss": true, "website": "https://qiankun.umijs.org" } From f9125c76eaf802d10e0a034a91d933b6b2ba8bf2 Mon Sep 17 00:00:00 2001 From: Kuitos Date: Fri, 22 Jul 2022 23:27:28 +0800 Subject: [PATCH 3/5] chore: upgrade icon --- .../webextension/images/icons/qiankun.svg | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/src/drivers/webextension/images/icons/qiankun.svg b/src/drivers/webextension/images/icons/qiankun.svg index e1dad1faa..b849f3938 100644 --- a/src/drivers/webextension/images/icons/qiankun.svg +++ b/src/drivers/webextension/images/icons/qiankun.svg @@ -1,49 +1,49 @@ - - - - - - + + + + + + - - + + - - + + - - - + + + - + + - + - - + - + + - + - - + - + + - + - - + From 96c710c8cc689e04d83d656719fe6c2600aa1eed Mon Sep 17 00:00:00 2001 From: Kuitos Date: Fri, 22 Jul 2022 23:36:16 +0800 Subject: [PATCH 4/5] chore: upgrade dom selector --- src/technologies/q.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/technologies/q.json b/src/technologies/q.json index 4464357ed..ff96f9829 100644 --- a/src/technologies/q.json +++ b/src/technologies/q.json @@ -322,7 +322,7 @@ ], "description": "qiankun is a JS library who helps developers to build a micro frontends system.", "dom": { - "div[id^=__qiankun_]": { + "div[id^='__qiankun_']": { "attributes": { "data-version": "([\\d\\.]+)\\;version:\\1" } From afd1773afedf84bd4382c1c36ac1e4c51f918c24 Mon Sep 17 00:00:00 2001 From: Kuitos Date: Sat, 23 Jul 2022 00:48:06 +0800 Subject: [PATCH 5/5] feat: add scripts identifier --- src/technologies/q.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/technologies/q.json b/src/technologies/q.json index ff96f9829..175d9286f 100644 --- a/src/technologies/q.json +++ b/src/technologies/q.json @@ -328,6 +328,7 @@ } } }, + "scripts": "__POWERED_BY_QIANKUN__", "icon": "qiankun.svg", "oss": true, "website": "https://qiankun.umijs.org"