@zohodesk/react-cli 1.1.16 → 1.1.17
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 +14 -0
- package/lib/configs/webpack.prod.config.js +1 -1
- package/npm-shrinkwrap.json +13 -8
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -44,6 +44,20 @@ Now to run app
|
|
|
44
44
|
|
|
45
45
|
# Change Logs
|
|
46
46
|
|
|
47
|
+
# 1.1.17 (24.1.2024)
|
|
48
|
+
|
|
49
|
+
**Feature:-**
|
|
50
|
+
|
|
51
|
+
- Updated browser data used for querying target browsers, which lead to reduced polyfills in our bundle.
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
npm run updateTargetBrowserVersions // to update browser targets
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**Fixes**
|
|
58
|
+
|
|
59
|
+
- added prop types removal for es6 bundling, which is missed.
|
|
60
|
+
|
|
47
61
|
# 1.1.16 (25-10-2023)
|
|
48
62
|
|
|
49
63
|
**Feature:-**
|
|
@@ -128,7 +128,7 @@ module.exports = {
|
|
|
128
128
|
} : {
|
|
129
129
|
modules: false
|
|
130
130
|
}], require.resolve('@babel/preset-react')],
|
|
131
|
-
plugins: disableES5Transpile ? [removeAttribute ? require.resolve('../utils/removeAttributes') : false, require.resolve('@babel/plugin-syntax-dynamic-import'), require.resolve('babel-plugin-lodash'), require.resolve('@babel/plugin-proposal-object-rest-spread'), devConsoleExculde ? [require.resolve('babel-plugin-transform-remove-console'), {
|
|
131
|
+
plugins: disableES5Transpile ? [removeAttribute ? require.resolve('../utils/removeAttributes') : false, require.resolve('@babel/plugin-syntax-dynamic-import'), require.resolve('babel-plugin-lodash'), require.resolve('@babel/plugin-proposal-object-rest-spread'), shouldRemovePropTypes ? [require.resolve('babel-plugin-transform-react-remove-prop-types'), removePropTypes] : false, devConsoleExculde ? [require.resolve('babel-plugin-transform-remove-console'), {
|
|
132
132
|
exclude: ['error', 'log']
|
|
133
133
|
}] : null].filter(Boolean) : [removeAttribute ? require.resolve('../utils/removeAttributes') : false, shouldRemovePropTypes ? [require.resolve('babel-plugin-transform-react-remove-prop-types'), removePropTypes] : false, [require.resolve('@babel/plugin-transform-runtime'), {
|
|
134
134
|
helpers: true,
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/react-cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@zohodesk/react-cli",
|
|
9
|
-
"version": "1.1.
|
|
9
|
+
"version": "1.1.17",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/cli": "7.10.5",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"babel-plugin-transform-dynamic-import": "2.1.0",
|
|
32
32
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
33
33
|
"babel-plugin-transform-remove-console": "6.9.4",
|
|
34
|
+
"caniuse-lite": "1.0.30001579",
|
|
34
35
|
"case-sensitive-paths-webpack-plugin": "2.3.0",
|
|
35
36
|
"compression": "1.7.4",
|
|
36
37
|
"copy-webpack-plugin": "5.1.2",
|
|
@@ -4678,9 +4679,9 @@
|
|
|
4678
4679
|
}
|
|
4679
4680
|
},
|
|
4680
4681
|
"node_modules/caniuse-lite": {
|
|
4681
|
-
"version": "1.0.
|
|
4682
|
-
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.
|
|
4683
|
-
"integrity": "sha512-
|
|
4682
|
+
"version": "1.0.30001579",
|
|
4683
|
+
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001579.tgz",
|
|
4684
|
+
"integrity": "sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==",
|
|
4684
4685
|
"funding": [
|
|
4685
4686
|
{
|
|
4686
4687
|
"type": "opencollective",
|
|
@@ -4689,6 +4690,10 @@
|
|
|
4689
4690
|
{
|
|
4690
4691
|
"type": "tidelift",
|
|
4691
4692
|
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
|
4693
|
+
},
|
|
4694
|
+
{
|
|
4695
|
+
"type": "github",
|
|
4696
|
+
"url": "https://github.com/sponsors/ai"
|
|
4692
4697
|
}
|
|
4693
4698
|
]
|
|
4694
4699
|
},
|
|
@@ -22518,9 +22523,9 @@
|
|
|
22518
22523
|
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
|
|
22519
22524
|
},
|
|
22520
22525
|
"caniuse-lite": {
|
|
22521
|
-
"version": "1.0.
|
|
22522
|
-
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.
|
|
22523
|
-
"integrity": "sha512-
|
|
22526
|
+
"version": "1.0.30001579",
|
|
22527
|
+
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001579.tgz",
|
|
22528
|
+
"integrity": "sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA=="
|
|
22524
22529
|
},
|
|
22525
22530
|
"capture-exit": {
|
|
22526
22531
|
"version": "2.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/react-cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "A CLI tool for build modern web application and libraries",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"init": "node ./lib/utils/init.js",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"prepublishOnly": "npm prune --production",
|
|
13
13
|
"lint": "eslint src ./bin/cli.js",
|
|
14
14
|
"postpublish": "node postpublish.js",
|
|
15
|
-
"expublish": "npm publish --tag experimental-version"
|
|
15
|
+
"expublish": "npm publish --tag experimental-version",
|
|
16
|
+
"updateTargetBrowserVersions": "npx update-browserslist-db@latest"
|
|
16
17
|
},
|
|
17
18
|
"engines": {
|
|
18
19
|
"node": ">=8.15.1"
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
"babel-plugin-transform-dynamic-import": "2.1.0",
|
|
55
56
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
56
57
|
"babel-plugin-transform-remove-console": "6.9.4",
|
|
58
|
+
"caniuse-lite": "1.0.30001579",
|
|
57
59
|
"case-sensitive-paths-webpack-plugin": "2.3.0",
|
|
58
60
|
"compression": "1.7.4",
|
|
59
61
|
"copy-webpack-plugin": "5.1.2",
|