@zohodesk/react-cli 0.0.1-exp.176.3 → 0.0.1-exp.178.1

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.
Files changed (126) hide show
  1. package/.eslintignore +7 -7
  2. package/.eslintrc.js +180 -180
  3. package/.prettierrc +6 -6
  4. package/{CHANGELOG.md → CHANGELOG-fz.md} +0 -0
  5. package/Changelog.md +1019 -0
  6. package/README.md +1112 -1025
  7. package/bin/cli.js +482 -482
  8. package/docs/CustomChunks.md +26 -26
  9. package/docs/DevServerPort.md +39 -0
  10. package/docs/DevStart.md +18 -18
  11. package/docs/HoverActive.md +12 -12
  12. package/docs/InstallNode.md +28 -28
  13. package/docs/SelectorWeight.md +6 -6
  14. package/docs/TODOS.md +10 -10
  15. package/docs/ValueReplacer.md +60 -60
  16. package/docs/VariableConversion.md +724 -719
  17. package/docs/warnings_while_install.txt +35 -35
  18. package/files/eslintrc.js +62 -62
  19. package/files/prettierrc.js +3 -3
  20. package/lib/configs/resolvers.js +40 -0
  21. package/lib/configs/webpack.css.umd.config.js +4 -4
  22. package/lib/configs/webpack.dev.config.js +4 -11
  23. package/lib/configs/webpack.docs.config.js +4 -11
  24. package/lib/configs/webpack.impact.config.js +5 -7
  25. package/lib/configs/webpack.prod.config.js +9 -13
  26. package/lib/constants.js +31 -0
  27. package/lib/loaderUtils/configsAssetsLoaders.js +34 -34
  28. package/lib/loaders/workerLoader.js +9 -9
  29. package/lib/pluginUtils/getDevPlugins.js +5 -5
  30. package/lib/pluginUtils/getProdPlugins.js +5 -5
  31. package/lib/plugins/EFCPlugin.md +6 -6
  32. package/lib/plugins/I18NInjectIntoIndexPlugin.js +4 -4
  33. package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +38 -38
  34. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +30 -30
  35. package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +8 -8
  36. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +95 -95
  37. package/lib/plugins/I18nSplitPlugin/README.md +25 -25
  38. package/lib/plugins/I18nSplitPlugin/index.js +57 -57
  39. package/lib/plugins/ResourceHintsPlugin.js +17 -17
  40. package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +6 -6
  41. package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -30
  42. package/lib/plugins/ServiceWorkerPlugin.js +9 -9
  43. package/lib/plugins/TPHashMappingPlugin.js +4 -4
  44. package/lib/plugins/VariableConversionCollector.js +104 -74
  45. package/lib/postcss-plugins/RTLSplitPlugin.js +10 -10
  46. package/lib/postcss-plugins/__test__/test1Input.css +38 -38
  47. package/lib/postcss-plugins/__test__/test1Output.css +38 -38
  48. package/lib/postcss-plugins/hoverActivePlugin.js +3 -3
  49. package/lib/schemas/index.js +8 -0
  50. package/lib/servers/docsServerCore.js +13 -12
  51. package/lib/servers/httpsOptions.js +40 -9
  52. package/lib/servers/nowatchserver.js +12 -11
  53. package/lib/servers/server.js +23 -20
  54. package/lib/sh/pre-commit.sh +34 -34
  55. package/lib/sh/reportPublish.sh +45 -45
  56. package/lib/utils/buildstats.html +148 -148
  57. package/lib/utils/cssURLReplacer.js +30 -43
  58. package/lib/utils/getFileType.js +49 -0
  59. package/lib/utils/getOptions.js +13 -13
  60. package/lib/utils/resultSchema.json +73 -73
  61. package/npm8.md +9 -9
  62. package/package.json +122 -146
  63. package/postpublish.js +8 -6
  64. package/result.json +1 -0
  65. package/templates/app/.eslintrc.js +140 -140
  66. package/templates/app/README.md +12 -12
  67. package/templates/app/app/index.html +24 -24
  68. package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
  69. package/templates/app/app/properties/i18nkeys.json +3 -3
  70. package/templates/app/docs/all.html +69 -69
  71. package/templates/app/mockapi/index.js +18 -18
  72. package/templates/app/package.json +37 -37
  73. package/templates/app/src/actions/SampleActions/index.js +37 -37
  74. package/templates/app/src/actions/index.js +65 -65
  75. package/templates/app/src/appUrls.js +19 -19
  76. package/templates/app/src/components/Alert/Alert.js +134 -134
  77. package/templates/app/src/components/Alert/Alert.module.css +79 -79
  78. package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -37
  79. package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -84
  80. package/templates/app/src/components/Sample/Sample.module.css +11 -11
  81. package/templates/app/src/components/Sample/SampleList.js +61 -61
  82. package/templates/app/src/components/Slider/Slider.css +41 -41
  83. package/templates/app/src/components/Slider/Slider.js +55 -55
  84. package/templates/app/src/containers/AlertContainer/index.js +15 -15
  85. package/templates/app/src/containers/AppContainer/index.js +96 -96
  86. package/templates/app/src/containers/AppContainer/index.module.css +27 -27
  87. package/templates/app/src/containers/CustomMatch/index.js +65 -65
  88. package/templates/app/src/containers/DevTools/index.js +10 -10
  89. package/templates/app/src/containers/Header/index.js +67 -67
  90. package/templates/app/src/containers/Header/index.module.css +43 -43
  91. package/templates/app/src/containers/Redirect/index.js +63 -63
  92. package/templates/app/src/containers/Redirector/index.js +47 -47
  93. package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -42
  94. package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -3
  95. package/templates/app/src/historyChange.js +5 -5
  96. package/templates/app/src/index.html +10 -10
  97. package/templates/app/src/index.js +24 -24
  98. package/templates/app/src/middleware/PromiseMiddleware.js +59 -59
  99. package/templates/app/src/reducers/alertData.js +11 -11
  100. package/templates/app/src/reducers/index.js +6 -6
  101. package/templates/app/src/reducers/samples.js +19 -19
  102. package/templates/app/src/store/configureStore.dev.js +51 -51
  103. package/templates/app/src/store/configureStore.js +5 -5
  104. package/templates/app/src/store/configureStore.prod.js +26 -26
  105. package/templates/app/src/util/Common.js +5 -5
  106. package/templates/app/src/util/RequestAPI.js +132 -132
  107. package/templates/docs/all.html +249 -249
  108. package/templates/docs/component.html +178 -178
  109. package/templates/docs/components.html +221 -221
  110. package/templates/docs/css/b.min.css +6 -6
  111. package/templates/docs/css/component.css +42 -42
  112. package/templates/docs/css/componentTest.css +6 -6
  113. package/templates/docs/css/hopscotch.css +585 -585
  114. package/templates/docs/css/style.css +1022 -1022
  115. package/templates/docs/impactReportTemplate.html +154 -154
  116. package/templates/docs/index.html +1501 -1501
  117. package/templates/docs/js/active-line.js +72 -72
  118. package/templates/docs/js/b.min.js +7 -7
  119. package/templates/docs/js/codemirror.js +9680 -9680
  120. package/templates/docs/js/designTokens.js +334 -334
  121. package/templates/docs/js/j.min.js +4 -4
  122. package/templates/docs/js/javascript.js +874 -874
  123. package/templates/docs/js/matchbrackets.js +145 -145
  124. package/unittest/index.html +37 -0
  125. package/cert/Tsicsezwild-22-23.crt +0 -37
  126. package/cert/Tsicsezwild-22-23.key +0 -27
@@ -1,73 +1,73 @@
1
- {
2
- "jobDetails": {
3
- "isTriggeredFromGit": true,
4
- "isCIPassed": true,
5
- "developerName": "GITLAB_USER_NAME",
6
- "jobID": "CI_PIPELINE_ID",
7
- "branchName": "CI_COMMIT_REF_NAME",
8
- "commitMessage": "CI_COMMIT_MESSAGE",
9
- "jobURL": "CI_JOB_URL",
10
- "isByManual": "CI_JOB_MANUAL",
11
- "commitID": "CI_COMMIT_SHA",
12
- "executionTime": "Date.now()-Date.now()",
13
- "hostName": "kathir-zt252"
14
- },
15
- "tests": {
16
- "unitCase": {
17
- "startTime": "123455",
18
- "endTime": "123446",
19
- "isExecuted": true,
20
- "numberOfSuccess": "",
21
- "numberOfFails": "",
22
- "numberOfCases": "",
23
- "numberOfSuites": "",
24
- "fileDetail": {
25
- "fileName": "sample.spec.js",
26
- "caseDetail": {
27
- "failedCaseLists": [],
28
- "passedCaseList": []
29
- }
30
- },
31
- "coverageDetail": {
32
- "codeCoveragePercentage": "",
33
- "fileCoveragePercentage": ""
34
- }
35
- },
36
- "modifiedFileUnitCase": {
37
- "hasChanges": "true",
38
- "startTime": "123455",
39
- "endTime": "123446",
40
- "isExecuted": true,
41
- "isPassed": true,
42
- "numberOfSuccess": "",
43
- "numberOfFails": "",
44
- "numberOfCases": "",
45
- "numberOfSuites": "",
46
- "fileDetail": {
47
- "fileName": "sample.spec.js",
48
- "caseDetail": {
49
- "failedCaseLists": [],
50
- "passedCaseList": []
51
- }
52
- },
53
- "coverageDetail": {
54
- "codeCoveragePercentage": "",
55
- "fileCoveragePercentage": ""
56
- }
57
- },
58
- "screenshotTest": {
59
- "message": "some",
60
- "startTime": "123455",
61
- "endTime": "123446",
62
- "isThisExecuted": true,
63
- "compareBranch": "master",
64
- "isPassed": true,
65
- "result": {
66
- "numberOfComponents": 200,
67
- "numberOfDiffFiles": 20,
68
- "improperDocsList": [],
69
- "erroredComponents": []
70
- }
71
- }
72
- }
73
- }
1
+ {
2
+ "jobDetails": {
3
+ "isTriggeredFromGit": true,
4
+ "isCIPassed": true,
5
+ "developerName": "GITLAB_USER_NAME",
6
+ "jobID": "CI_PIPELINE_ID",
7
+ "branchName": "CI_COMMIT_REF_NAME",
8
+ "commitMessage": "CI_COMMIT_MESSAGE",
9
+ "jobURL": "CI_JOB_URL",
10
+ "isByManual": "CI_JOB_MANUAL",
11
+ "commitID": "CI_COMMIT_SHA",
12
+ "executionTime": "Date.now()-Date.now()",
13
+ "hostName": "kathir-zt252"
14
+ },
15
+ "tests": {
16
+ "unitCase": {
17
+ "startTime": "123455",
18
+ "endTime": "123446",
19
+ "isExecuted": true,
20
+ "numberOfSuccess": "",
21
+ "numberOfFails": "",
22
+ "numberOfCases": "",
23
+ "numberOfSuites": "",
24
+ "fileDetail": {
25
+ "fileName": "sample.spec.js",
26
+ "caseDetail": {
27
+ "failedCaseLists": [],
28
+ "passedCaseList": []
29
+ }
30
+ },
31
+ "coverageDetail": {
32
+ "codeCoveragePercentage": "",
33
+ "fileCoveragePercentage": ""
34
+ }
35
+ },
36
+ "modifiedFileUnitCase": {
37
+ "hasChanges": "true",
38
+ "startTime": "123455",
39
+ "endTime": "123446",
40
+ "isExecuted": true,
41
+ "isPassed": true,
42
+ "numberOfSuccess": "",
43
+ "numberOfFails": "",
44
+ "numberOfCases": "",
45
+ "numberOfSuites": "",
46
+ "fileDetail": {
47
+ "fileName": "sample.spec.js",
48
+ "caseDetail": {
49
+ "failedCaseLists": [],
50
+ "passedCaseList": []
51
+ }
52
+ },
53
+ "coverageDetail": {
54
+ "codeCoveragePercentage": "",
55
+ "fileCoveragePercentage": ""
56
+ }
57
+ },
58
+ "screenshotTest": {
59
+ "message": "some",
60
+ "startTime": "123455",
61
+ "endTime": "123446",
62
+ "isThisExecuted": true,
63
+ "compareBranch": "master",
64
+ "isPassed": true,
65
+ "result": {
66
+ "numberOfComponents": 200,
67
+ "numberOfDiffFiles": 20,
68
+ "improperDocsList": [],
69
+ "erroredComponents": []
70
+ }
71
+ }
72
+ }
73
+ }
package/npm8.md CHANGED
@@ -1,9 +1,9 @@
1
- # npm 8 change related things
2
-
3
- 1. in npm run script config options `:` not working (properly|correctly), So we need to use `_` in the place of `:`
4
- For Example:
5
- - `--app:port` wouldn't work we have to do like this `--app_port`
6
- - `--clone:proj:name` wouldn't work we have to do like this `----clone_proj_name`
7
-
8
- @zohodes/react-cli or fz-react-cli regardless of what cli you use.
9
- So, we need to change all package.json script which is using this (`:`) we need to change as (`_`)
1
+ # npm 8 change related things
2
+
3
+ 1. in npm run script config options `:` not working (properly|correctly), So we need to use `_` in the place of `:`
4
+ For Example:
5
+ - `--app:port` wouldn't work we have to do like this `--app_port`
6
+ - `--clone:proj:name` wouldn't work we have to do like this `----clone_proj_name`
7
+
8
+ @zohodes/react-cli or fz-react-cli regardless of what cli you use.
9
+ So, we need to change all package.json script which is using this (`:`) we need to change as (`_`)
package/package.json CHANGED
@@ -1,146 +1,122 @@
1
- {
2
- "name": "@zohodesk/react-cli",
3
- "version": "0.0.1-exp.176.3",
4
- "description": "A CLI tool for build modern web application and libraries",
5
- "scripts": {
6
- "init": "node ./lib/utils/init.js",
7
- "clean": "rimraf lib coverage",
8
- "test": "jest",
9
- "start": "babel src -d lib -w --copy-files",
10
- "build": "babel src -d lib --copy-files",
11
- "prepare": "npm run clean && npm run build",
12
- "lint": "eslint src ./bin/cli.js",
13
- "postpublish": "node postpublish.js",
14
- "expublish": "npm publish --tag experimental-version"
15
- },
16
- "engines": {
17
- "node": ">=8.15.1"
18
- },
19
- "private": false,
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://git.csez.zohocorpin.com/zohodesk/react-cli.git"
23
- },
24
- "author": "zohodesk",
25
- "license": "ISC",
26
- "bugs": {
27
- "url": "https://git.csez.zohocorpin.com/zohodesk/react-cli/issues"
28
- },
29
- "homepage": "https://git.csez.zohocorpin.com/zohodesk/react-cli/blob/2.0.0/README.md",
30
- "dependencies": {
31
- "@babel/cli": "7.10.5",
32
- "@babel/core": "7.11.1",
33
- "@babel/plugin-proposal-object-rest-spread": "7.11.0",
34
- "@babel/plugin-syntax-dynamic-import": "7.8.3",
35
- "@babel/plugin-transform-runtime": "7.11.0",
36
- "@babel/preset-env": "7.11.0",
37
- "@babel/preset-react": "7.10.4",
38
- "@babel/runtime": "7.11.2",
39
- "@zohodesk/datetimejs": "1.0.0-beta.8",
40
- "@zohodesk/eslint-plugin-react-performance": "1.0.3",
41
- "@zohodesk/eslint-plugin-zsecurity": "0.0.1-beta.4",
42
- "@zohodesk/normalizer": "1.0.2",
43
- "@zohodesk/postcss-rtl": "1.5.2",
44
- "@zohodesk/propertytojson": "1.0.1",
45
- "@zohodesk/screenshot-test": "0.0.1-beta.20",
46
- "babel-eslint": "10.1.0",
47
- "babel-jest": "26.3.0",
48
- "babel-loader": "8.1.0",
49
- "babel-plugin-lodash": "3.3.4",
50
- "babel-plugin-transform-define": "2.0.0",
51
- "babel-plugin-transform-dynamic-import": "2.1.0",
52
- "babel-plugin-transform-react-remove-prop-types": "0.4.24",
53
- "babel-plugin-transform-remove-console": "6.9.4",
54
- "case-sensitive-paths-webpack-plugin": "2.3.0",
55
- "compression": "1.7.4",
56
- "copy-webpack-plugin": "5.1.2",
57
- "core-js": "3.6.5",
58
- "css-loader": "4.2.1",
59
- "debug": "4.3.3",
60
- "escodegen": "2.0.0",
61
- "eslint": "7.6.0",
62
- "eslint-html-reporter": "0.7.4",
63
- "eslint-loader": "4.0.2",
64
- "eslint-plugin-css-modules": "2.11.0",
65
- "eslint-plugin-react": "7.20.6",
66
- "esprima": "4.0.1",
67
- "expect": "26.4.0",
68
- "express": "4.17.1",
69
- "file-loader": "6.0.0",
70
- "fz-i18n": "1.2.0-beta.15",
71
- "fz-layout": "1.0.0-beta.8",
72
- "fz-permission": "0.0.2",
73
- "git-root-dir": "1.0.2",
74
- "gitlab": "14.2.2",
75
- "history": "4.9.0",
76
- "hoist-non-react-statics": "3.3.2",
77
- "html-loader": "1.1.0",
78
- "html-webpack-inject-attributes-plugin": "1.0.6",
79
- "html-webpack-plugin": "4.3.0",
80
- "http-proxy-middleware": "1.0.5",
81
- "jest": "26.4.0",
82
- "jsdom": "16.4.0",
83
- "loader-utils": "2.0.0",
84
- "lodash-webpack-plugin": "0.11.5",
85
- "mini-css-extract-plugin": "0.10.0",
86
- "moment": "2.29.1",
87
- "moment-timezone": "0.5.32",
88
- "nock": "13.0.4",
89
- "nodemailer": "6.4.11",
90
- "nodemon": "2.0.4",
91
- "optimize-js": "1.0.3",
92
- "postcss": "7.0.32",
93
- "postcss-combine-media-query": "1.0.1",
94
- "postcss-hash-classname": "0.4.0",
95
- "postcss-loader": "3.0.0",
96
- "postcss-mobile-hover": "1.0.2",
97
- "postcss-selector-replace": "1.0.2",
98
- "prop-types": "15.7.2",
99
- "react": "16.13.1",
100
- "react-dom": "16.13.1",
101
- "react-error-overlay": "6.0.7",
102
- "react-redux": "7.2.1",
103
- "react-router": "5.2.0",
104
- "react-router-redux": "4.0.8",
105
- "react-test-renderer": "16.13.1",
106
- "react-transition-group": "2.7.1",
107
- "redis": "3.0.2",
108
- "redux": "4.0.5",
109
- "redux-logger": "3.0.6",
110
- "redux-mock-store": "1.5.4",
111
- "redux-router-middleware": "1.0.0-beta.22",
112
- "redux-thunk": "2.3.0",
113
- "reselect": "4.0.0",
114
- "rimraf": "3.0.2",
115
- "script-loader": "0.7.2",
116
- "selectn": "1.1.2",
117
- "simple-normalizr": "1.2.5",
118
- "uglifycss": "0.0.29",
119
- "url-loader": "4.1.0",
120
- "velocity-react": "1.4.3",
121
- "webpack": "4.44.1",
122
- "webpack-bundle-analyzer": "4.5.0",
123
- "webpack-cli": "3.3.12",
124
- "webpack-core": "0.6.9",
125
- "webpack-dev-middleware": "3.7.2",
126
- "ws": "7.3.1",
127
- "xhr2": "0.2.0",
128
- "xmlhttprequest": "1.8.0"
129
- },
130
- "bin": {
131
- "react-cli": "bin/cli.js"
132
- },
133
- "babel": {
134
- "presets": [
135
- [
136
- "@babel/env",
137
- {
138
- "targets": {
139
- "node": "8.15.1"
140
- }
141
- }
142
- ],
143
- "@babel/react"
144
- ]
145
- }
146
- }
1
+ {
2
+ "name": "@zohodesk/react-cli",
3
+ "version": "0.0.1-exp.178.1",
4
+ "description": "A CLI tool for build modern web application and libraries",
5
+ "scripts": {
6
+ "init": "node ./lib/utils/init.js",
7
+ "clean": "rimraf lib coverage",
8
+ "test": "jest",
9
+ "start": "babel src -d lib -w --copy-files",
10
+ "build": "babel src -d lib --copy-files",
11
+ "prepare": "npm run clean && npm run build",
12
+ "prepublishOnly": "npm prune now",
13
+ "lint": "eslint src ./bin/cli.js",
14
+ "postpublish": "node postpublish.js",
15
+ "expublish": "npm publish --tag experimental-version"
16
+ },
17
+ "engines": {
18
+ "node": ">=8.15.1"
19
+ },
20
+ "private": false,
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://git.csez.zohocorpin.com/zohodesk/react-cli.git"
24
+ },
25
+ "author": "zohodesk",
26
+ "license": "ISC",
27
+ "bugs": {
28
+ "url": "https://git.csez.zohocorpin.com/zohodesk/react-cli/issues"
29
+ },
30
+ "homepage": "https://git.csez.zohocorpin.com/zohodesk/react-cli/blob/2.0.0/README.md",
31
+ "bin": {
32
+ "react-cli": "bin/cli.js"
33
+ },
34
+ "dependencies": {
35
+ "@babel/cli": "7.10.5",
36
+ "@babel/core": "7.11.1",
37
+ "@babel/plugin-proposal-object-rest-spread": "7.11.0",
38
+ "@babel/plugin-syntax-dynamic-import": "7.8.3",
39
+ "@babel/plugin-transform-runtime": "7.11.0",
40
+ "@babel/preset-env": "7.11.0",
41
+ "@babel/preset-react": "7.10.4",
42
+ "@babel/runtime": "7.11.2",
43
+ "@zohodesk-private/client_dev_cert": "^1.0.0",
44
+ "@zohodesk/client_packages_group": "1.0.1",
45
+ "@zohodesk/eslint-plugin-react-performance": "1.0.3",
46
+ "@zohodesk/eslint-plugin-zsecurity": "0.0.1-beta.4",
47
+ "@zohodesk/postcss-rtl": "1.5.2",
48
+ "@zohodesk/propertytojson": "1.0.1",
49
+ "@zohodesk/screenshot-test": "0.0.1-beta.20",
50
+ "babel-eslint": "10.1.0",
51
+ "babel-jest": "26.3.0",
52
+ "babel-loader": "8.1.0",
53
+ "babel-plugin-lodash": "3.3.4",
54
+ "babel-plugin-transform-define": "2.0.0",
55
+ "babel-plugin-transform-dynamic-import": "2.1.0",
56
+ "babel-plugin-transform-react-remove-prop-types": "0.4.24",
57
+ "babel-plugin-transform-remove-console": "6.9.4",
58
+ "case-sensitive-paths-webpack-plugin": "2.3.0",
59
+ "compression": "1.7.4",
60
+ "copy-webpack-plugin": "5.1.2",
61
+ "css-loader": "4.2.1",
62
+ "escodegen": "2.0.0",
63
+ "eslint": "7.6.0",
64
+ "eslint-html-reporter": "0.7.4",
65
+ "eslint-loader": "4.0.2",
66
+ "eslint-plugin-css-modules": "2.11.0",
67
+ "eslint-plugin-react": "7.20.6",
68
+ "esprima": "4.0.1",
69
+ "expect": "26.4.0",
70
+ "express": "4.17.1",
71
+ "file-loader": "6.0.0",
72
+ "git-root-dir": "1.0.2",
73
+ "gitlab": "14.2.2",
74
+ "html-loader": "1.1.0",
75
+ "html-webpack-inject-attributes-plugin": "1.0.6",
76
+ "html-webpack-plugin": "4.3.0",
77
+ "http-proxy-middleware": "1.0.5",
78
+ "jest": "26.4.0",
79
+ "jsdom": "16.4.0",
80
+ "loader-utils": "2.0.0",
81
+ "lodash-webpack-plugin": "0.11.5",
82
+ "mini-css-extract-plugin": "0.10.0",
83
+ "nock": "13.2.9",
84
+ "nodemailer": "6.4.11",
85
+ "nodemon": "2.0.4",
86
+ "optimize-js": "1.0.3",
87
+ "postcss": "7.0.32",
88
+ "postcss-combine-media-query": "1.0.1",
89
+ "postcss-hash-classname": "0.4.0",
90
+ "postcss-loader": "3.0.0",
91
+ "postcss-mobile-hover": "1.0.2",
92
+ "postcss-selector-replace": "1.0.2",
93
+ "react-test-renderer": "16.13.1",
94
+ "redis": "3.0.2",
95
+ "redux-mock-store": "1.5.4",
96
+ "rimraf": "3.0.2",
97
+ "script-loader": "0.7.2",
98
+ "uglifycss": "0.0.29",
99
+ "url-loader": "4.1.0",
100
+ "webpack": "4.44.1",
101
+ "webpack-bundle-analyzer": "4.5.0",
102
+ "webpack-cli": "3.3.12",
103
+ "webpack-core": "0.6.9",
104
+ "webpack-dev-middleware": "3.7.2",
105
+ "ws": "7.3.1",
106
+ "xhr2": "0.2.0",
107
+ "xmlhttprequest": "1.8.0"
108
+ },
109
+ "babel": {
110
+ "presets": [
111
+ [
112
+ "@babel/env",
113
+ {
114
+ "targets": {
115
+ "node": "8.15.1"
116
+ }
117
+ }
118
+ ],
119
+ "@babel/react"
120
+ ]
121
+ }
122
+ }
package/postpublish.js CHANGED
@@ -1,6 +1,8 @@
1
- const { execSync } = require('child_process');
2
- const { version } = require('./package.json');
3
- console.log(`going to add git tag... v${version}`);
4
-
5
- execSync(`git tag -a v${version}`, { stdio: 'inherit' });
6
- execSync(`git push origin v${version}`, { 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}`, { stdio: 'inherit' });
8
+ execSync(`git push origin ${tagName}`, { stdio: 'inherit' });
package/result.json ADDED
@@ -0,0 +1 @@
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":[]}}]}}}