@machtwatch/react-script 1.2.11-alpha.12 → 1.2.11-alpha.14
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@machtwatch/react-script",
|
|
3
|
-
"version": "1.2.11-alpha.
|
|
3
|
+
"version": "1.2.11-alpha.14",
|
|
4
4
|
"description": "Machtwatch React script",
|
|
5
5
|
"author": "Danny Reza Miloen <danny@machtwatch.co.id>",
|
|
6
6
|
"contributors": [],
|
|
@@ -40,8 +40,6 @@
|
|
|
40
40
|
"@babel/plugin-proposal-function-bind": "^7.16.7",
|
|
41
41
|
"@babel/plugin-proposal-json-strings": "^7.17.12",
|
|
42
42
|
"@babel/plugin-proposal-optional-chaining": "^7.17.12",
|
|
43
|
-
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
|
44
|
-
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
45
43
|
"@babel/plugin-proposal-throw-expressions": "^7.16.7",
|
|
46
44
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
47
45
|
"@babel/plugin-transform-react-constant-elements": "^7.17.12",
|
|
@@ -74,8 +72,8 @@
|
|
|
74
72
|
"event-source-polyfill": "^1.0.7",
|
|
75
73
|
"express": "^4.18.1",
|
|
76
74
|
"file-loader": "^6.2.0",
|
|
77
|
-
"glob": "^
|
|
78
|
-
"glob-all": "^3.
|
|
75
|
+
"glob": "^7.1.4",
|
|
76
|
+
"glob-all": "^3.2.1",
|
|
79
77
|
"graphql-tag": "^2.12.6",
|
|
80
78
|
"imagemin-webp-webpack-plugin": "^3.3.6",
|
|
81
79
|
"intersection-observer": "^0.5.1",
|
|
@@ -102,8 +100,8 @@
|
|
|
102
100
|
"simple-progress-webpack-plugin": "^2.0.0",
|
|
103
101
|
"speed-measure-webpack-plugin": "^1.5.0",
|
|
104
102
|
"style-loader": "^3.3.1",
|
|
105
|
-
"stylelint": "^
|
|
106
|
-
"stylelint-webpack-plugin": "^
|
|
103
|
+
"stylelint": "^14.9.1",
|
|
104
|
+
"stylelint-webpack-plugin": "^3.3.0",
|
|
107
105
|
"terser": "^5.14.1",
|
|
108
106
|
"terser-webpack-plugin": "^5.3.3",
|
|
109
107
|
"url-loader": "^4.1.1",
|
|
@@ -122,7 +120,8 @@
|
|
|
122
120
|
"@machtwatch/eslint-config": "^1.1.1",
|
|
123
121
|
"eslint": "^8.18.0",
|
|
124
122
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
125
|
-
"eslint-plugin-import": "^2.26.0"
|
|
123
|
+
"eslint-plugin-import": "^2.26.0",
|
|
124
|
+
"tailwindcss": "^3.4.17"
|
|
126
125
|
},
|
|
127
126
|
"peerDependencies": {
|
|
128
127
|
"@babel/runtime": "^7.18.3"
|
|
@@ -162,9 +162,7 @@ const webpackConfig = ({ isClient }) => ({
|
|
|
162
162
|
extensions: ['.js', '.jsx', '.mjs'],
|
|
163
163
|
modules: [paths.appSrc, path.resolve(paths.appSrc, 'node_modules'), 'node_modules', './node_modules'],
|
|
164
164
|
alias: {
|
|
165
|
-
build: paths.appBuild
|
|
166
|
-
'@helpers': path.resolve(paths.appSrc, 'helpers'),
|
|
167
|
-
'@components': path.resolve(paths.appSrc, 'components'),
|
|
165
|
+
build: paths.appBuild
|
|
168
166
|
},
|
|
169
167
|
},
|
|
170
168
|
|
|
@@ -307,6 +305,7 @@ const styleLoaders = ({ isClient }) => [
|
|
|
307
305
|
browsers: pkg.browserslist
|
|
308
306
|
}
|
|
309
307
|
],
|
|
308
|
+
'tailwindcss',
|
|
310
309
|
'postcss-modules-values',
|
|
311
310
|
'postcss-flexbugs-fixes'
|
|
312
311
|
],
|
|
@@ -485,7 +484,7 @@ const clientConfig = {
|
|
|
485
484
|
plugins: [
|
|
486
485
|
...baseClientConfig.plugins,
|
|
487
486
|
new StyleLintPlugin({
|
|
488
|
-
configFile: `${paths.appPath}/.stylelintrc
|
|
487
|
+
configFile: `${paths.appPath}/.stylelintrc`,
|
|
489
488
|
extensions: ['less'],
|
|
490
489
|
exclude: ['node_modules', 'coverage'],
|
|
491
490
|
}),
|