@momo-kits/foundation 0.92.29 → 0.92.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/code-scanner.js +4 -4
- package/package.json +1 -1
package/code-scanner.js
CHANGED
|
@@ -15,7 +15,7 @@ const calculateAdoptionRate = async (
|
|
|
15
15
|
kitJsonPath,
|
|
16
16
|
miniappJsonPath,
|
|
17
17
|
reactNativeJsonPath,
|
|
18
|
-
fsJsonPath
|
|
18
|
+
fsJsonPath
|
|
19
19
|
) => {
|
|
20
20
|
const kitJson = require(kitJsonPath);
|
|
21
21
|
const miniAppJson = require(miniappJsonPath);
|
|
@@ -98,8 +98,8 @@ const main = async () => {
|
|
|
98
98
|
|
|
99
99
|
const allKitsReg = /@momo-kits/;
|
|
100
100
|
const fsReg =
|
|
101
|
-
/^(?:@fs-mobile-platform\/(components
|
|
102
|
-
const RNReg =
|
|
101
|
+
/^(?:@fs-mobile-platform\/(components(\/.*)?|investment(\/.*)?|screens(\/.*)?|foundation(\/.*)?)|@miniapp-platform\/(components(\/.*)?|foundation(\/.*)?))$/;
|
|
102
|
+
const RNReg = /react-native|react-native-svg/;
|
|
103
103
|
|
|
104
104
|
const config1 = {
|
|
105
105
|
crawlFrom: scanPath,
|
|
@@ -148,7 +148,7 @@ const main = async () => {
|
|
|
148
148
|
kitJsonPath,
|
|
149
149
|
miniappJsonPath,
|
|
150
150
|
reactNativeJsonPath,
|
|
151
|
-
fsJsonPath
|
|
151
|
+
fsJsonPath
|
|
152
152
|
);
|
|
153
153
|
sendMessage(result);
|
|
154
154
|
console.log(result);
|