@zohodesk/react-cli 1.0.2 → 1.0.3
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/README.md +19 -0
- package/lib/common/testPattern.js +0 -2
- package/lib/common/valueReplacer.js +1 -3
- package/lib/configs/resolvers.js +14 -3
- package/lib/loaderUtils/getCSSLoaders.js +2 -7
- package/lib/loaders/selectorMappingLoader.js +9 -9
- package/lib/logger.js +20 -0
- package/lib/pluginUtils/getDevPlugins.js +5 -0
- package/lib/pluginUtils/getProdPlugins.js +4 -0
- package/lib/plugins/CustomAttributePlugin.js +82 -0
- package/lib/plugins/CustomAttributePlugin.md +35 -0
- package/lib/plugins/EFCPlugin.js +9 -9
- package/lib/plugins/EFCTemplatePlugin.js +10 -12
- package/lib/plugins/I18NInjectIntoIndexPlugin.js +8 -9
- package/lib/plugins/I18nSplitPlugin/I18nDebugPlugin.js +2 -3
- package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +2 -7
- package/lib/plugins/I18nSplitPlugin/index.js +1 -1
- package/lib/plugins/I18nSplitPlugin/utils/propertiesUtils.js +8 -8
- package/lib/plugins/SelectorPlugin.js +4 -10
- package/lib/plugins/VariableConversionCollector.js +0 -4
- package/lib/postcss-plugins/IncludePlugin.js +0 -1
- package/lib/postcss-plugins/RTLSplitPlugin.js +4 -10
- package/lib/postcss-plugins/ValueReplacer.js +2 -4
- package/lib/postcss-plugins/hoverActivePlugin.js +0 -6
- package/lib/postcss-plugins/variableModificationPlugin/index.js +1 -2
- package/lib/postcss-plugins/variableModifier.js +24 -58
- package/lib/schemas/index.js +8 -1
- package/lib/servers/devBuild.js +13 -11
- package/lib/servers/httpsOptions.js +12 -13
- package/lib/servers/nowatchserver.js +5 -3
- package/lib/servers/requireLocalOrGlobal.js +61 -0
- package/lib/servers/server.js +1 -3
- package/lib/utils/cssClassNameGenerate.js +9 -10
- package/package-lock.json +14407 -0
- package/package.json +2 -2
- package/result.json +0 -1
- package/unittest/index.html +0 -37
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zohodesk/react-cli",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.3",
|
4
4
|
"description": "A CLI tool for build modern web application and libraries",
|
5
5
|
"scripts": {
|
6
6
|
"init": "node ./lib/utils/init.js",
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"@babel/preset-env": "7.11.0",
|
41
41
|
"@babel/preset-react": "7.10.4",
|
42
42
|
"@babel/runtime": "7.11.2",
|
43
|
-
"@zohodesk/client_packages_group": "1.0.
|
43
|
+
"@zohodesk/client_packages_group": "1.0.2",
|
44
44
|
"@zohodesk/eslint-plugin-react-performance": "1.0.3",
|
45
45
|
"@zohodesk/eslint-plugin-zsecurity": "0.0.1-beta.4",
|
46
46
|
"@zohodesk/postcss-rtl": "1.5.2",
|
package/result.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"jobDetails":{"isRunByLocal":true,"hostName":"ZT375-test-mac","platForm":"Darwin","branchName":"ssl_cert_remove"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":6,"numberOfFails":0,"numberOfCases":6,"numberOfSuites":1,"endTime":1674574410348,"startTime":1674574406969,"coverageDetail":{"codeCoveragePercentage":89.58,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":["is appSchemas.app.entryFile works properly"],"failedCaseList":[]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":["is appSchemas.app.entryFile works properly"],"failedCaseList":[]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":["is appSchemas.app.entryFile works properly"],"failedCaseList":[]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":["is appSchemas.app.entryFile works properly"],"failedCaseList":[]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":["is appSchemas.app.entryFile works properly"],"failedCaseList":[]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":["is appSchemas.app.entryFile works properly"],"failedCaseList":[]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":["is appSchemas.app.entryFile works properly"],"failedCaseList":[]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":["is appSchemas.app.entryFile works properly"]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":["is appSchemas.app.entryFile works properly in dev mode","is appSchemas.app.entryFile works properly in prod mode"]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":["is appSchemas.app.entryFile works properly in dev mode","is appSchemas.app.entryFile works properly in prod mode"]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":["is appSchemas.app.entryFile works properly in dev mode","is appSchemas.app.entryFile works properly in prod mode"]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":["is appSchemas.app.entryFile works properly in dev mode","is appSchemas.app.entryFile works properly in prod mode"],"failedCaseList":[]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":["is appSchemas.app.entryFile works properly in dev mode","is appSchemas.app.entryFile works properly in prod mode"],"failedCaseList":["is appSchemas.app.entryFile works properly in dev mode and isReactMig true","is appSchemas.app.entryFile works properly in prod mode and isReactMig true"]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":["is appSchemas.app.entryFile works properly in dev mode","is appSchemas.app.entryFile works properly in prod mode","is appSchemas.app.entryFile works properly in dev mode and isReactMig true","is appSchemas.app.entryFile works properly in prod mode and isReactMig true"],"failedCaseList":[]}},{"fileName":"/Users/zohodesk-test/work/react-cli/src/common/__test__/getEntries.spec.js","CaseList":{"passedCaseList":["is appSchemas.app.entryFile works properly with default options in dev mode","is appSchemas.app.entryFile works properly with default options in prod mode","is appSchemas.app.entryFile works properly in dev mode","is appSchemas.app.entryFile works properly in prod mode","is appSchemas.app.entryFile works properly in dev mode and isReactMig true","is appSchemas.app.entryFile works properly in prod mode and isReactMig true"],"failedCaseList":[]}}]}}}
|
package/unittest/index.html
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<style>
|
4
|
-
.red{
|
5
|
-
font-weight:bold;
|
6
|
-
color:red;
|
7
|
-
}
|
8
|
-
.green{
|
9
|
-
font-weight:bold;
|
10
|
-
color:green;
|
11
|
-
}
|
12
|
-
table
|
13
|
-
{
|
14
|
-
font-family: arial, sans-serif;
|
15
|
-
border-collapse: collapse;
|
16
|
-
}
|
17
|
-
|
18
|
-
td, th
|
19
|
-
{
|
20
|
-
border: 1px solid #dddddd;
|
21
|
-
padding: 8px;
|
22
|
-
}
|
23
|
-
</style>
|
24
|
-
</head>
|
25
|
-
<body>
|
26
|
-
<table>
|
27
|
-
<tr>
|
28
|
-
<th>Title</th>
|
29
|
-
<th>FullName</th>
|
30
|
-
<th>Test Case Path</th>
|
31
|
-
</tr>
|
32
|
-
|
33
|
-
</table>
|
34
|
-
<br/>COVERAGE <span class="green">89.58%</span> <br/> less than 60% consider failure
|
35
|
-
</body>
|
36
|
-
</html>
|
37
|
-
|