react-native-ui-lib 7.41.0-snapshot.6891 → 7.41.0-snapshot.6893
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/package.json
CHANGED
|
@@ -7,7 +7,6 @@ const fs = require('fs');
|
|
|
7
7
|
|
|
8
8
|
const COMPONENTS_DOCS_DIR = './docs/components';
|
|
9
9
|
const SERVICES_DOCS_DIR = './docs/services';
|
|
10
|
-
const COMPOSITE_DOCS_DIR = './docs/composite';
|
|
11
10
|
const FOUNDATION_DOCS_DIR = './docs/foundation';
|
|
12
11
|
|
|
13
12
|
const VALID_COMPONENTS_CATEGORIES = [
|
|
@@ -28,8 +27,7 @@ const VALID_COMPONENTS_CATEGORIES = [
|
|
|
28
27
|
'infra',
|
|
29
28
|
// non components categories
|
|
30
29
|
'services',
|
|
31
|
-
'dev'
|
|
32
|
-
'composite'
|
|
30
|
+
'dev' // development category for components we don't want to render in our docs (used in test.api.json)
|
|
33
31
|
];
|
|
34
32
|
|
|
35
33
|
function buildDocs(apiFolders, componentsPreProcess) {
|
|
@@ -97,10 +95,6 @@ function processComponents(components) {
|
|
|
97
95
|
|
|
98
96
|
let dirPath;
|
|
99
97
|
switch (component.category) {
|
|
100
|
-
case 'composite': {
|
|
101
|
-
dirPath = `${COMPOSITE_DOCS_DIR}`;
|
|
102
|
-
break;
|
|
103
|
-
}
|
|
104
98
|
case 'services': {
|
|
105
99
|
dirPath = `${SERVICES_DOCS_DIR}`;
|
|
106
100
|
break;
|