@zohodesk/react-cli 0.0.1-beta.157 → 0.0.1-beta.160
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 +6 -1
- package/lib/plugins/ServiceWorkerPlugin.js +4 -0
- package/package.json +5 -4
package/README.md
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
# React CLI
|
2
2
|
|
3
3
|
A CLI tool for build modern web application and libraries
|
4
|
-
|
4
|
+
# 0.0.1-beta.160
|
5
|
+
- @zohodesk/normalizer package version updated to 1.0.2
|
6
|
+
# 0.0.1-beta.159
|
7
|
+
- @zohodesk/datetimejs package updated to beta.7
|
8
|
+
# 0.0.1-beta.158
|
9
|
+
- Removing source map files from service worker caching.
|
5
10
|
# 0.0.1-beta.157
|
6
11
|
- Experimental version issue fix(Dummy version removed)
|
7
12
|
# 0.0.1-beta.156
|
@@ -76,6 +76,10 @@ class ServiceWorkerPlugin {
|
|
76
76
|
allChunkUrls = allChunkUrls.concat(chunk.files);
|
77
77
|
allI18nAssets.push((0, _getI18nFileUrlPathTemplate.getI18nFileUrlPathTemplate)(compilation, chunk, this.i18nFileNameTemplate, '@locale@'));
|
78
78
|
});
|
79
|
+
/** Removing source map files from getting added */
|
80
|
+
|
81
|
+
initialChunkUrls = initialChunkUrls.filter(fileName => !fileName.endsWith('.map'));
|
82
|
+
allChunkUrls = allChunkUrls.filter(fileName => !fileName.endsWith('.map'));
|
79
83
|
|
80
84
|
if (enableRTLSplit) {
|
81
85
|
initialChunkUrls = (0, _replaceCssDirTemplate.replaceCssDirTemplateMapper)(initialChunkUrls, cssDirTemplate);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zohodesk/react-cli",
|
3
|
-
"version": "0.0.1-beta.
|
3
|
+
"version": "0.0.1-beta.160",
|
4
4
|
"description": "A CLI tool for build modern web application and libraries",
|
5
5
|
"scripts": {
|
6
6
|
"init": "node ./lib/utils/init.js",
|
@@ -9,7 +9,8 @@
|
|
9
9
|
"start": "babel src -d lib -w --copy-files",
|
10
10
|
"build": "babel src -d lib --copy-files",
|
11
11
|
"prepare": "npm run clean && npm run build",
|
12
|
-
"lint": "eslint src ./bin/cli.js"
|
12
|
+
"lint": "eslint src ./bin/cli.js",
|
13
|
+
"expublish": "npm publish --tag experimental-version"
|
13
14
|
},
|
14
15
|
"engines": {
|
15
16
|
"node": ">=8.15.1"
|
@@ -34,10 +35,10 @@
|
|
34
35
|
"@babel/preset-env": "7.11.0",
|
35
36
|
"@babel/preset-react": "7.10.4",
|
36
37
|
"@babel/runtime": "7.11.2",
|
37
|
-
"@zohodesk/datetimejs": "1.0.0-beta.
|
38
|
+
"@zohodesk/datetimejs": "1.0.0-beta.7",
|
38
39
|
"@zohodesk/eslint-plugin-react-performance": "1.0.3",
|
39
40
|
"@zohodesk/eslint-plugin-zsecurity": "0.0.1-beta.4",
|
40
|
-
"@zohodesk/normalizer": "1.0.
|
41
|
+
"@zohodesk/normalizer": "1.0.2",
|
41
42
|
"@zohodesk/postcss-rtl": "1.5.2",
|
42
43
|
"@zohodesk/propertytojson": "1.0.1",
|
43
44
|
"@zohodesk/screenshot-test": "0.0.1-beta.20",
|