@henderea/static-site-builder 1.10.16 → 1.10.18

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.
@@ -152,7 +152,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
152
152
  ),
153
153
  extensions: ['.js', '.ts', '.json', '.jsx', '.tsx'],
154
154
  plugins: resolvePlugins,
155
- roots: [paths.appPath/*, paths.publicDir*/],
155
+ roots: [paths.appPath, paths.publicDir],
156
156
  },
157
157
  module: {
158
158
  strictExportPresence: true,
@@ -166,7 +166,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
166
166
  ...extraLoaders,
167
167
  {
168
168
  test: /\.ts$/,
169
- exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/\\\\]/],
169
+ exclude: [/[/\\\\]node_modules[/\\\\]/],
170
170
  use: [
171
171
  {
172
172
  loader: require.resolve('ts-loader'),
@@ -178,7 +178,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
178
178
  },
179
179
  {
180
180
  test: /\.js$/,
181
- exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/\\\\]/],
181
+ exclude: [/[/\\\\]node_modules[/\\\\]/],
182
182
  use: [
183
183
  require.resolve('thread-loader'),
184
184
  {
@@ -196,7 +196,6 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
196
196
  },
197
197
  {
198
198
  test: /\.js$/,
199
- exclude: [/[/\\\\]public[/\\\\]/],
200
199
  use: [
201
200
  require.resolve('thread-loader'),
202
201
  {
@@ -215,7 +214,6 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
215
214
  },
216
215
  {
217
216
  test: /\.css$/,
218
- exclude: [/[/\\\\]public[/\\\\]/],
219
217
  use: [
220
218
  'style-loader',
221
219
  'css-loader',
@@ -229,7 +227,6 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
229
227
  },
230
228
  {
231
229
  test: /\.scss$/,
232
- exclude: [/[/\\\\]public[/\\\\]/],
233
230
  use: [
234
231
  'style-loader',
235
232
  'css-loader',
@@ -248,7 +245,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
248
245
  // its runtime that would otherwise processed through "file" loader.
249
246
  // Also exclude `html` and `json` extensions so they get processed
250
247
  // by webpack's internal loaders.
251
- exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/, /[/\\\\]public[/\\\\]/],
248
+ exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/],
252
249
  options: {
253
250
  name: '[name].[ext]'
254
251
  }
@@ -260,7 +260,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
260
260
  ),
261
261
  extensions: ['.js', '.ts', '.json', '.jsx', '.tsx'],
262
262
  plugins: resolvePlugins,
263
- roots: [paths.appPath/*, paths.publicDir*/],
263
+ roots: [paths.appPath, paths.publicDir],
264
264
  },
265
265
  module: {
266
266
  strictExportPresence: true,
@@ -274,7 +274,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
274
274
  ...extraLoaders,
275
275
  {
276
276
  test: /\.ts$/,
277
- exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/\\\\]/],
277
+ exclude: [/[/\\\\]node_modules[/\\\\]/],
278
278
  use: [
279
279
  {
280
280
  loader: require.resolve('ts-loader'),
@@ -286,7 +286,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
286
286
  },
287
287
  {
288
288
  test: /\.js$/,
289
- exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/\\\\]/],
289
+ exclude: [/[/\\\\]node_modules[/\\\\]/],
290
290
  use: [
291
291
  require.resolve('thread-loader'),
292
292
  {
@@ -301,7 +301,6 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
301
301
  },
302
302
  {
303
303
  test: /\.js$/,
304
- exclude: [/[/\\\\]public[/\\\\]/],
305
304
  use: [
306
305
  require.resolve('thread-loader'),
307
306
  {
@@ -320,7 +319,6 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
320
319
  },
321
320
  {
322
321
  test: /\.css$/,
323
- exclude: [/[/\\\\]public[/\\\\]/],
324
322
  use: [
325
323
  MiniCssExtractPlugin.loader,
326
324
  {
@@ -340,7 +338,6 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
340
338
  },
341
339
  {
342
340
  test: /\.scss$/,
343
- exclude: [/[/\\\\]public[/\\\\]/],
344
341
  use: [
345
342
  MiniCssExtractPlugin.loader,
346
343
  {
@@ -374,7 +371,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
374
371
  // its runtime that would otherwise processed through "file" loader.
375
372
  // Also exclude `html` and `json` extensions so they get processed
376
373
  // by webpack's internal loaders.
377
- exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/, /[/\\\\]public[/\\\\]/],
374
+ exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/],
378
375
  options: {
379
376
  name: '[name].[ext]'
380
377
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henderea/static-site-builder",
3
- "version": "1.10.16",
3
+ "version": "1.10.18",
4
4
  "description": "A static site builder",
5
5
  "main": "index.js",
6
6
  "repository": "henderea/static-site-builder.git",
@@ -26,48 +26,48 @@
26
26
  },
27
27
  "type": "module",
28
28
  "dependencies": {
29
- "@babel/core": "^7.23.6",
29
+ "@babel/core": "^7.23.9",
30
30
  "babel-loader": "^9.1.3",
31
31
  "case-sensitive-paths-webpack-plugin": "^2.4.0",
32
32
  "chalk": "^5.3.0",
33
- "copy-webpack-plugin": "^11.0.0",
33
+ "copy-webpack-plugin": "^12.0.2",
34
34
  "cross-spawn": "^7.0.3",
35
- "css-loader": "^6.8.1",
36
- "dotenv": "^16.3.1",
37
- "dotenv-expand": "^10.0.0",
35
+ "css-loader": "^6.10.0",
36
+ "dotenv": "^16.4.5",
37
+ "dotenv-expand": "^11.0.6",
38
38
  "ejs": "^3.1.9",
39
- "eslint": "^8.56.0",
40
39
  "file-loader": "^6.2.0",
41
40
  "filesize": "^10.1.0",
42
41
  "find-pkg": "^2.0.0",
43
- "globby": "^14.0.0",
42
+ "globby": "^14.0.1",
44
43
  "gzip-size": "^7.0.0",
45
44
  "handlebars": "^4.7.8",
46
45
  "html-webpack-plugin": "^5.6.0",
47
46
  "lodash": "^4.17.21",
48
- "mini-css-extract-plugin": "^2.7.6",
47
+ "mini-css-extract-plugin": "^2.8.0",
49
48
  "moment": "^2.30.1",
50
49
  "moment-locales-webpack-plugin": "^1.2.0",
51
- "postcss-loader": "^7.3.4",
52
- "postcss-preset-env": "^9.3.0",
50
+ "postcss-loader": "^8.1.0",
51
+ "postcss-preset-env": "^9.4.0",
53
52
  "recursive-readdir": "^2.2.3",
54
- "sass": "^1.69.6",
55
- "sass-loader": "^13.3.3",
53
+ "sass": "^1.71.1",
54
+ "sass-loader": "^14.1.1",
56
55
  "strip-ansi": "^7.1.0",
57
- "style-loader": "^3.3.3",
56
+ "style-loader": "^3.3.4",
58
57
  "thread-loader": "^4.0.2",
59
58
  "ts-loader": "^9.5.1",
60
59
  "tsconfig-paths-webpack-plugin": "^4.1.0",
61
- "typescript": "^5.3.3",
62
- "webpack": "^5.89.0",
60
+ "webpack": "^5.90.3",
63
61
  "webpack-manifest-plugin": "^5.0.0",
64
62
  "workbox-webpack-plugin": "^7.0.0"
65
63
  },
66
64
  "devDependencies": {
67
- "@typescript-eslint/eslint-plugin": "^6.16.0",
68
- "@typescript-eslint/parser": "^6.16.0",
69
- "eslint-config-henderea": "^1.1.19",
70
- "eslint-plugin-import": "^2.29.1"
65
+ "@typescript-eslint/eslint-plugin": "^7.0.2",
66
+ "@typescript-eslint/parser": "^7.0.2",
67
+ "eslint": "^8.57.0",
68
+ "eslint-config-henderea": "^1.1.22",
69
+ "eslint-plugin-import": "^2.29.1",
70
+ "typescript": "^5.3.3"
71
71
  },
72
72
  "eslintConfig": {
73
73
  "extends": "henderea"