@zohodesk/components 1.0.0-temp-202 → 1.0.0-temp-203
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/.cli/PropUnificationExcludeFilesArray.js +230 -230
- package/.cli/PropValidationExcludeFilesArray.js +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +9 -0
- package/css_error.log +1 -1
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/es/Button/Button.js +4 -4
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
- package/es/Card/Card.js +4 -4
- package/es/Card/Card.module.css +20 -20
- package/es/DateTime/DateWidget.js +2 -1
- package/es/DateTime/DateWidget.module.css +38 -38
- package/es/DateTime/__tests__/DateTime.spec.js +1 -1
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +93 -93
- package/es/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +2 -2
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- package/es/DropDown/DropDown.module.css +5 -5
- package/es/DropDown/DropDownSearch.js +5 -2
- package/es/DropDown/DropDownSearch.module.css +14 -14
- package/es/DropDown/DropDownSeparator.module.css +7 -7
- package/es/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +2 -0
- package/es/DropDown/props/defaultProps.js +2 -1
- package/es/DropDown/props/propTypes.js +2 -1
- package/es/Heading/Heading.module.css +4 -4
- package/es/Label/Label.js +2 -2
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/es/Layout/Layout.module.css +335 -335
- package/es/ListItem/ListItemWithCheckBox.js +2 -1
- package/es/ListItem/ListItemWithRadio.js +2 -1
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
- package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +2 -2
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
- package/es/MultiSelect/AdvancedMultiSelect.js +6 -2
- package/es/MultiSelect/MultiSelect.js +4 -2
- package/es/MultiSelect/MultiSelectWithAvatar.js +2 -1
- package/es/MultiSelect/SelectedOptions.js +8 -4
- package/es/MultiSelect/SelectedOptions.module.css +15 -15
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +2 -2
- package/es/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +6 -6
- package/es/MultiSelect/props/defaultProps.js +2 -1
- package/es/MultiSelect/props/propTypes.js +2 -1
- package/es/Popup/PositionMapping.json +73 -73
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/es/RippleEffect/RippleEffect.module.css +92 -92
- package/es/Select/Select.module.css +134 -134
- package/es/Select/SelectWithAvatar.js +5 -2
- package/es/Select/SelectWithIcon.js +2 -1
- package/es/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
- package/es/Stencils/Stencils.module.css +96 -96
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/Tabs.js +21 -19
- package/es/Tag/Tag.js +8 -8
- package/es/Tooltip/Tooltip.js +2 -47
- package/es/Tooltip/Tooltip.module.css +140 -140
- package/es/common/a11y.module.css +3 -3
- package/es/common/animation.module.css +624 -624
- package/es/common/avatarsizes.module.css +48 -48
- package/es/common/basic.module.css +33 -33
- package/es/common/basicReset.module.css +40 -40
- package/es/common/boxShadow.module.css +33 -33
- package/es/common/common.module.css +524 -524
- package/es/common/reset.module.css +13 -13
- package/es/common/transition.module.css +146 -146
- package/es/semantic/Button/semanticButton.module.css +9 -9
- package/es/v1/Avatar/Avatar.js +5 -5
- package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/es/v1/Button/Button.js +4 -4
- package/es/v1/DateTime/DateWidget.js +2 -1
- package/es/v1/DropDown/DropDownSearch.js +5 -2
- package/es/v1/DropDown/props/defaultProps.js +2 -1
- package/es/v1/DropDown/props/propTypes.js +2 -1
- package/es/v1/ListItem/ListItemWithCheckBox.js +2 -1
- package/es/v1/ListItem/ListItemWithRadio.js +2 -1
- package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
- package/es/v1/MultiSelect/AdvancedMultiSelect.js +6 -2
- package/es/v1/MultiSelect/MultiSelect.js +9 -7
- package/es/v1/MultiSelect/MultiSelectWithAvatar.js +2 -1
- package/es/v1/MultiSelect/SelectedOptions.js +8 -4
- package/es/v1/MultiSelect/props/defaultProps.js +2 -1
- package/es/v1/MultiSelect/props/propTypes.js +2 -1
- package/es/v1/Select/SelectWithAvatar.js +5 -2
- package/es/v1/Select/SelectWithIcon.js +2 -1
- package/es/v1/Tab/Tabs.js +4 -2
- package/es/v1/Tab/v1TabContent.module.css +4 -4
- package/es/v1/Tag/Tag.js +8 -8
- package/es/v1/Typography/css/Typography.module.css +380 -380
- package/install.md +10 -10
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/lib/AvatarTeam/AvatarTeam.js +7 -7
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/lib/Button/Button.js +4 -4
- package/lib/Buttongroup/Buttongroup.js +1 -1
- package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
- package/lib/Card/Card.js +4 -4
- package/lib/Card/Card.module.css +20 -20
- package/lib/DateTime/DateWidget.js +2 -1
- package/lib/DateTime/DateWidget.module.css +38 -38
- package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +93 -93
- package/lib/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +2 -2
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- package/lib/DropDown/DropDown.module.css +5 -5
- package/lib/DropDown/DropDownSearch.js +5 -2
- package/lib/DropDown/DropDownSearch.module.css +14 -14
- package/lib/DropDown/DropDownSeparator.module.css +7 -7
- package/lib/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +2 -0
- package/lib/DropDown/props/defaultProps.js +2 -1
- package/lib/DropDown/props/propTypes.js +1 -1
- package/lib/Heading/Heading.module.css +4 -4
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/lib/Layout/Layout.module.css +335 -335
- package/lib/ListItem/ListItemWithCheckBox.js +2 -1
- package/lib/ListItem/ListItemWithRadio.js +2 -1
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +2 -2
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
- package/lib/MultiSelect/AdvancedMultiSelect.js +8 -4
- package/lib/MultiSelect/MultiSelect.js +4 -2
- package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -1
- package/lib/MultiSelect/SelectedOptions.js +8 -4
- package/lib/MultiSelect/SelectedOptions.module.css +15 -15
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +2 -2
- package/lib/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +6 -6
- package/lib/MultiSelect/props/defaultProps.js +2 -1
- package/lib/MultiSelect/props/propTypes.js +2 -1
- package/lib/Popup/PositionMapping.json +73 -73
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/lib/RippleEffect/RippleEffect.module.css +92 -92
- package/lib/Select/Select.module.css +134 -134
- package/lib/Select/SelectWithAvatar.js +5 -2
- package/lib/Select/SelectWithIcon.js +2 -1
- package/lib/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
- package/lib/Stencils/Stencils.module.css +96 -96
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/lib/Tab/TabContent.module.css +4 -4
- package/lib/Tab/Tabs.js +15 -13
- package/lib/Tag/Tag.js +8 -8
- package/lib/Tooltip/Tooltip.js +16 -61
- package/lib/Tooltip/Tooltip.module.css +140 -140
- package/lib/common/a11y.module.css +3 -3
- package/lib/common/animation.module.css +624 -624
- package/lib/common/avatarsizes.module.css +48 -48
- package/lib/common/basic.module.css +33 -33
- package/lib/common/basicReset.module.css +40 -40
- package/lib/common/boxShadow.module.css +33 -33
- package/lib/common/common.module.css +524 -524
- package/lib/common/reset.module.css +13 -13
- package/lib/common/transition.module.css +146 -146
- package/lib/semantic/Button/semanticButton.module.css +9 -9
- package/lib/v1/Avatar/Avatar.js +5 -5
- package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/lib/v1/Button/Button.js +4 -4
- package/lib/v1/DateTime/DateWidget.js +2 -1
- package/lib/v1/DropDown/DropDownSearch.js +5 -2
- package/lib/v1/DropDown/props/defaultProps.js +2 -1
- package/lib/v1/DropDown/props/propTypes.js +1 -1
- package/lib/v1/ListItem/ListItemWithCheckBox.js +2 -1
- package/lib/v1/ListItem/ListItemWithRadio.js +2 -1
- package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
- package/lib/v1/MultiSelect/AdvancedMultiSelect.js +8 -4
- package/lib/v1/MultiSelect/MultiSelect.js +9 -7
- package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +2 -1
- package/lib/v1/MultiSelect/SelectedOptions.js +8 -4
- package/lib/v1/MultiSelect/props/defaultProps.js +2 -1
- package/lib/v1/MultiSelect/props/propTypes.js +2 -1
- package/lib/v1/Select/SelectWithAvatar.js +5 -2
- package/lib/v1/Select/SelectWithIcon.js +2 -1
- package/lib/v1/Tab/Tabs.js +4 -2
- package/lib/v1/Tab/v1TabContent.module.css +4 -4
- package/lib/v1/Tag/Tag.js +8 -8
- package/lib/v1/Typography/css/Typography.module.css +380 -380
- package/package.json +4 -4
- package/postPublish.js +8 -8
- package/prePublish.js +70 -70
- package/propValidationArg.json +11 -11
- package/react-cli.config.js +23 -23
- package/result.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.0.0-temp-
|
|
3
|
+
"version": "1.0.0-temp-203",
|
|
4
4
|
"main": "es/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"build:css:umd": "npm run clean && npm run init && react-cli build:css:umd",
|
|
39
39
|
"coverage": "react-cli coverage",
|
|
40
40
|
"prepare": "npm run init && npm run build && npm run rtl && npm run cssVariableConvert ",
|
|
41
|
-
"prepublishOnly": "node prePublish.js && npm run
|
|
41
|
+
"prepublishOnly": "node prePublish.js && npm run download && npm run css:review && npm run review:props ",
|
|
42
42
|
"postpublish": "node postPublish.js",
|
|
43
43
|
"report": "react-cli publish:report",
|
|
44
44
|
"test": "react-cli test",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@zohodesk/a11y": "2.2.3",
|
|
71
71
|
"@zohodesk/docstool": "1.0.0-alpha-2",
|
|
72
72
|
"@zohodesk/hooks": "2.0.4",
|
|
73
|
-
"@zohodesk/icons": "1.0.
|
|
73
|
+
"@zohodesk/icons": "1.0.50",
|
|
74
74
|
"@zohodesk/svg": "1.1.14",
|
|
75
75
|
"@zohodesk/utils": "1.3.13",
|
|
76
76
|
"@zohodesk/variables": "1.0.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"selectn": "1.1.2"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@zohodesk/icons": "1.0.
|
|
88
|
+
"@zohodesk/icons": "1.0.50",
|
|
89
89
|
"@zohodesk/variables": "1.0.0",
|
|
90
90
|
"@zohodesk/svg": "1.1.14",
|
|
91
91
|
"@zohodesk/virtualizer": "1.0.3",
|
package/postPublish.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const { execSync } = require('child_process');
|
|
2
|
-
const { version, name } = require('./package.json');
|
|
3
|
-
const tagName = `${name}@${version}`;
|
|
4
|
-
// const tagName = `${name.replace(/^@/g, "").replace(/\//g, "-")}-v-${version}}@${version}`;
|
|
5
|
-
console.log(`going to add git tag... ${tagName}`);
|
|
6
|
-
|
|
7
|
-
execSync(`git tag -a ${tagName} -m ${tagName}`, { stdio: 'inherit' });
|
|
8
|
-
execSync(`git push origin ${tagName}`, { stdio: 'inherit' });
|
|
1
|
+
const { execSync } = require('child_process');
|
|
2
|
+
const { version, name } = require('./package.json');
|
|
3
|
+
const tagName = `${name}@${version}`;
|
|
4
|
+
// const tagName = `${name.replace(/^@/g, "").replace(/\//g, "-")}-v-${version}}@${version}`;
|
|
5
|
+
console.log(`going to add git tag... ${tagName}`);
|
|
6
|
+
|
|
7
|
+
execSync(`git tag -a ${tagName} -m ${tagName}`, { stdio: 'inherit' });
|
|
8
|
+
execSync(`git push origin ${tagName}`, { stdio: 'inherit' });
|
package/prePublish.js
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
const readline = require('readline');
|
|
2
|
-
const { exec } = require('child_process');
|
|
3
|
-
|
|
4
|
-
const rl = readline.createInterface({
|
|
5
|
-
input: process.stdin,
|
|
6
|
-
output: process.stdout
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
console.log('\nNode.js version:', process.version);
|
|
10
|
-
|
|
11
|
-
function runConsole(command, callback) {
|
|
12
|
-
exec(command, (error, stdout, stderr) => {
|
|
13
|
-
if (error) {
|
|
14
|
-
console.error('Error:', error.message);
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
if (stderr) {
|
|
19
|
-
console.error('Error:', stderr);
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const npmVersion = stdout.trim();
|
|
24
|
-
console.log('\n' + command, npmVersion);
|
|
25
|
-
callback && callback();
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function askQuestion1() {
|
|
30
|
-
rl.question('\nHave you updated the changelog in README.md? (yes/no): ', (answer) => {
|
|
31
|
-
if (answer.toLowerCase() === 'yes') {
|
|
32
|
-
console.log('\nGreat! Proceeding...');
|
|
33
|
-
askQuestion2();
|
|
34
|
-
// rl.close();
|
|
35
|
-
// Call the function or code to proceed further here.
|
|
36
|
-
} else if (answer.toLowerCase() === 'no') {
|
|
37
|
-
rl.close();
|
|
38
|
-
console.log('\nPlease Update the ChangeLog in README.md, then try again');
|
|
39
|
-
//throw new Error('\nPlease Update the ChangeLog in README.md, then try again');
|
|
40
|
-
process.exitCode = 1; // Exit the Node.js process with a success code.
|
|
41
|
-
} else {
|
|
42
|
-
console.log('\nInvalid answer. Please enter "yes" or "no".');
|
|
43
|
-
askQuestion1(); // Ask the question again if the input is not "yes" or "no".
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function askQuestion2() {
|
|
49
|
-
rl.question('\nHave you verified the test snapshot? (yes/no): ', (answer) => {
|
|
50
|
-
if (answer.toLowerCase() === 'yes') {
|
|
51
|
-
console.log('\nGreat! Proceeding...');
|
|
52
|
-
rl.close();
|
|
53
|
-
// Call the function or code to proceed further here.
|
|
54
|
-
} else if (answer.toLowerCase() === 'no') {
|
|
55
|
-
rl.close();
|
|
56
|
-
//throw new Error('\nPlease Verify the snapshot results, then try again');
|
|
57
|
-
console.log('\nPlease Verify the snapshot results, then try again');
|
|
58
|
-
process.exitCode = 1; // Exit the Node.js process with a success code.
|
|
59
|
-
} else {
|
|
60
|
-
console.log('\nInvalid answer. Please enter "yes" or "no".');
|
|
61
|
-
askQuestion2(); // Ask the question again if the input is not "yes" or "no".
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
function getReactCliVersion() {
|
|
67
|
-
runConsole('react-cli --version', askQuestion1);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
runConsole('npm --version', getReactCliVersion);
|
|
1
|
+
const readline = require('readline');
|
|
2
|
+
const { exec } = require('child_process');
|
|
3
|
+
|
|
4
|
+
const rl = readline.createInterface({
|
|
5
|
+
input: process.stdin,
|
|
6
|
+
output: process.stdout
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
console.log('\nNode.js version:', process.version);
|
|
10
|
+
|
|
11
|
+
function runConsole(command, callback) {
|
|
12
|
+
exec(command, (error, stdout, stderr) => {
|
|
13
|
+
if (error) {
|
|
14
|
+
console.error('Error:', error.message);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
if (stderr) {
|
|
19
|
+
console.error('Error:', stderr);
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const npmVersion = stdout.trim();
|
|
24
|
+
console.log('\n' + command, npmVersion);
|
|
25
|
+
callback && callback();
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function askQuestion1() {
|
|
30
|
+
rl.question('\nHave you updated the changelog in README.md? (yes/no): ', (answer) => {
|
|
31
|
+
if (answer.toLowerCase() === 'yes') {
|
|
32
|
+
console.log('\nGreat! Proceeding...');
|
|
33
|
+
askQuestion2();
|
|
34
|
+
// rl.close();
|
|
35
|
+
// Call the function or code to proceed further here.
|
|
36
|
+
} else if (answer.toLowerCase() === 'no') {
|
|
37
|
+
rl.close();
|
|
38
|
+
console.log('\nPlease Update the ChangeLog in README.md, then try again');
|
|
39
|
+
//throw new Error('\nPlease Update the ChangeLog in README.md, then try again');
|
|
40
|
+
process.exitCode = 1; // Exit the Node.js process with a success code.
|
|
41
|
+
} else {
|
|
42
|
+
console.log('\nInvalid answer. Please enter "yes" or "no".');
|
|
43
|
+
askQuestion1(); // Ask the question again if the input is not "yes" or "no".
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function askQuestion2() {
|
|
49
|
+
rl.question('\nHave you verified the test snapshot? (yes/no): ', (answer) => {
|
|
50
|
+
if (answer.toLowerCase() === 'yes') {
|
|
51
|
+
console.log('\nGreat! Proceeding...');
|
|
52
|
+
rl.close();
|
|
53
|
+
// Call the function or code to proceed further here.
|
|
54
|
+
} else if (answer.toLowerCase() === 'no') {
|
|
55
|
+
rl.close();
|
|
56
|
+
//throw new Error('\nPlease Verify the snapshot results, then try again');
|
|
57
|
+
console.log('\nPlease Verify the snapshot results, then try again');
|
|
58
|
+
process.exitCode = 1; // Exit the Node.js process with a success code.
|
|
59
|
+
} else {
|
|
60
|
+
console.log('\nInvalid answer. Please enter "yes" or "no".');
|
|
61
|
+
askQuestion2(); // Ask the question again if the input is not "yes" or "no".
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function getReactCliVersion() {
|
|
67
|
+
runConsole('react-cli --version', askQuestion1);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
runConsole('npm --version', getReactCliVersion);
|
package/propValidationArg.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"inputDir": "./src",
|
|
3
|
-
"outputDir": "./.cli",
|
|
4
|
-
"excludeDir": "./.cli",
|
|
5
|
-
"propUnifiExcludeDir": "./.cli",
|
|
6
|
-
"enable": true,
|
|
7
|
-
"need_report": true,
|
|
8
|
-
"prop_validation_strict_mode": true,
|
|
9
|
-
"prop_validation_log": false,
|
|
10
|
-
"prop_unification_strict_mode": true,
|
|
11
|
-
"prop_unification_log": false
|
|
1
|
+
{
|
|
2
|
+
"inputDir": "./src",
|
|
3
|
+
"outputDir": "./.cli",
|
|
4
|
+
"excludeDir": "./.cli",
|
|
5
|
+
"propUnifiExcludeDir": "./.cli",
|
|
6
|
+
"enable": true,
|
|
7
|
+
"need_report": true,
|
|
8
|
+
"prop_validation_strict_mode": true,
|
|
9
|
+
"prop_validation_log": false,
|
|
10
|
+
"prop_unification_strict_mode": true,
|
|
11
|
+
"prop_unification_log": false
|
|
12
12
|
}
|
package/react-cli.config.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
exports.config= {
|
|
2
|
-
"preprocess": {
|
|
3
|
-
"runner": "./preprocess/index.js"
|
|
4
|
-
},
|
|
5
|
-
"css": {
|
|
6
|
-
"plugins": {
|
|
7
|
-
"hasRTL": true,
|
|
8
|
-
"cssVariableReplacement": true
|
|
9
|
-
},
|
|
10
|
-
"patterns": {
|
|
11
|
-
"cssVariableReplacement": [
|
|
12
|
-
"**/src/**",
|
|
13
|
-
"**/lib/**",
|
|
14
|
-
"**/es/**",
|
|
15
|
-
"!**/node_modules/**"
|
|
16
|
-
],
|
|
17
|
-
"hasRTL":[
|
|
18
|
-
"**/src/**",
|
|
19
|
-
"!**/node_modules/**"
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
"cssVariableReplacementConfig": "./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json"
|
|
23
|
-
}
|
|
1
|
+
exports.config= {
|
|
2
|
+
"preprocess": {
|
|
3
|
+
"runner": "./preprocess/index.js"
|
|
4
|
+
},
|
|
5
|
+
"css": {
|
|
6
|
+
"plugins": {
|
|
7
|
+
"hasRTL": true,
|
|
8
|
+
"cssVariableReplacement": true
|
|
9
|
+
},
|
|
10
|
+
"patterns": {
|
|
11
|
+
"cssVariableReplacement": [
|
|
12
|
+
"**/src/**",
|
|
13
|
+
"**/lib/**",
|
|
14
|
+
"**/es/**",
|
|
15
|
+
"!**/node_modules/**"
|
|
16
|
+
],
|
|
17
|
+
"hasRTL":[
|
|
18
|
+
"**/src/**",
|
|
19
|
+
"!**/node_modules/**"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"cssVariableReplacementConfig": "./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json"
|
|
23
|
+
}
|
|
24
24
|
}
|