@henderea/static-site-builder 1.10.10 → 1.10.11

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.
@@ -166,7 +166,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
166
166
  ...extraLoaders,
167
167
  {
168
168
  test: /\.ts$/,
169
- exclude: [/[/\\\\]node_modules[/\\\\]/],
169
+ exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/\\\\]/],
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[/\\\\]/],
181
+ exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/\\\\]/],
182
182
  use: [
183
183
  require.resolve('thread-loader'),
184
184
  {
@@ -196,6 +196,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
196
196
  },
197
197
  {
198
198
  test: /\.js$/,
199
+ exclude: [/[/\\\\]public[/\\\\]/],
199
200
  use: [
200
201
  require.resolve('thread-loader'),
201
202
  {
@@ -214,6 +215,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
214
215
  },
215
216
  {
216
217
  test: /\.css$/,
218
+ exclude: [/[/\\\\]public[/\\\\]/],
217
219
  use: [
218
220
  'style-loader',
219
221
  'css-loader',
@@ -227,6 +229,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
227
229
  },
228
230
  {
229
231
  test: /\.scss$/,
232
+ exclude: [/[/\\\\]public[/\\\\]/],
230
233
  use: [
231
234
  'style-loader',
232
235
  'css-loader',
@@ -245,7 +248,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
245
248
  // its runtime that would otherwise processed through "file" loader.
246
249
  // Also exclude `html` and `json` extensions so they get processed
247
250
  // by webpack's internal loaders.
248
- exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/],
251
+ exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/, /[/\\\\]public[/\\\\]/],
249
252
  options: {
250
253
  name: '[name].[ext]'
251
254
  }
@@ -274,7 +274,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
274
274
  ...extraLoaders,
275
275
  {
276
276
  test: /\.ts$/,
277
- exclude: [/[/\\\\]node_modules[/\\\\]/],
277
+ exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/\\\\]/],
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[/\\\\]/],
289
+ exclude: [/[/\\\\]node_modules[/\\\\]/, /[/\\\\]public[/\\\\]/],
290
290
  use: [
291
291
  require.resolve('thread-loader'),
292
292
  {
@@ -301,6 +301,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
301
301
  },
302
302
  {
303
303
  test: /\.js$/,
304
+ exclude: [/[/\\\\]public[/\\\\]/],
304
305
  use: [
305
306
  require.resolve('thread-loader'),
306
307
  {
@@ -319,6 +320,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
319
320
  },
320
321
  {
321
322
  test: /\.css$/,
323
+ exclude: [/[/\\\\]public[/\\\\]/],
322
324
  use: [
323
325
  MiniCssExtractPlugin.loader,
324
326
  {
@@ -338,6 +340,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
338
340
  },
339
341
  {
340
342
  test: /\.scss$/,
343
+ exclude: [/[/\\\\]public[/\\\\]/],
341
344
  use: [
342
345
  MiniCssExtractPlugin.loader,
343
346
  {
@@ -371,7 +374,7 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
371
374
  // its runtime that would otherwise processed through "file" loader.
372
375
  // Also exclude `html` and `json` extensions so they get processed
373
376
  // by webpack's internal loaders.
374
- exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/],
377
+ exclude: [/\.jsx?$/, /\.tsx?$/, /\.svg$/, /\.html$/, /\.ejs$/, /\.hbs$/, /\.json$/, /[/\\\\]public[/\\\\]/],
375
378
  options: {
376
379
  name: '[name].[ext]'
377
380
  }
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@henderea/static-site-builder",
3
- "version": "1.10.10",
3
+ "version": "1.10.11",
4
4
  "description": "A static site builder",
5
5
  "main": "index.js",
6
- "repository": "henderea/static-site-builder.git",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/henderea/static-site-builder.git"
9
+ },
7
10
  "author": "Eric Henderson <henderea@gmail.com>",
8
11
  "license": "MIT",
9
12
  "engines": {
10
- "node": ">=18"
13
+ "node": ">=6"
11
14
  },
12
- "engineStrict": true,
13
15
  "files": [
14
16
  "bin",
15
17
  "config",
@@ -26,48 +28,48 @@
26
28
  },
27
29
  "type": "module",
28
30
  "dependencies": {
29
- "@babel/core": "^7.23.6",
30
- "babel-loader": "^9.1.3",
31
+ "@babel/core": "^7.21.3",
32
+ "babel-loader": "^9.1.2",
31
33
  "case-sensitive-paths-webpack-plugin": "^2.4.0",
32
- "chalk": "^5.3.0",
34
+ "chalk": "^5.2.0",
33
35
  "copy-webpack-plugin": "^11.0.0",
34
36
  "cross-spawn": "^7.0.3",
35
- "css-loader": "^6.8.1",
36
- "dotenv": "^16.3.1",
37
+ "css-loader": "^6.7.3",
38
+ "dotenv": "^16.0.3",
37
39
  "dotenv-expand": "^10.0.0",
38
40
  "ejs": "^3.1.9",
39
- "eslint": "^8.56.0",
41
+ "eslint": "^8.37.0",
40
42
  "file-loader": "^6.2.0",
41
- "filesize": "^10.1.0",
43
+ "filesize": "^10.0.7",
42
44
  "find-pkg": "^2.0.0",
43
- "globby": "^14.0.0",
45
+ "globby": "^13.1.3",
44
46
  "gzip-size": "^7.0.0",
45
- "handlebars": "^4.7.8",
46
- "html-webpack-plugin": "^5.6.0",
47
+ "handlebars": "^4.7.7",
48
+ "html-webpack-plugin": "^5.5.0",
47
49
  "lodash": "^4.17.21",
48
- "mini-css-extract-plugin": "^2.7.6",
49
- "moment": "^2.30.1",
50
+ "mini-css-extract-plugin": "^2.7.5",
51
+ "moment": "^2.29.4",
50
52
  "moment-locales-webpack-plugin": "^1.2.0",
51
- "postcss-loader": "^7.3.4",
52
- "postcss-preset-env": "^9.3.0",
53
+ "node-sass": "^8.0.0",
54
+ "postcss-loader": "^7.1.0",
55
+ "postcss-preset-env": "^8.2.0",
53
56
  "recursive-readdir": "^2.2.3",
54
- "sass": "^1.69.6",
55
- "sass-loader": "^13.3.3",
56
- "strip-ansi": "^7.1.0",
57
- "style-loader": "^3.3.3",
58
- "thread-loader": "^4.0.2",
59
- "ts-loader": "^9.5.1",
60
- "tsconfig-paths-webpack-plugin": "^4.1.0",
61
- "typescript": "^5.3.3",
62
- "webpack": "^5.89.0",
57
+ "sass-loader": "^13.2.2",
58
+ "strip-ansi": "^7.0.1",
59
+ "style-loader": "^3.3.2",
60
+ "thread-loader": "^3.0.4",
61
+ "ts-loader": "^9.4.2",
62
+ "tsconfig-paths-webpack-plugin": "^4.0.1",
63
+ "typescript": "^5.0.2",
64
+ "webpack": "^5.77.0",
63
65
  "webpack-manifest-plugin": "^5.0.0",
64
- "workbox-webpack-plugin": "^7.0.0"
66
+ "workbox-webpack-plugin": "^6.5.4"
65
67
  },
66
68
  "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"
69
+ "@typescript-eslint/eslint-plugin": "^5.57.0",
70
+ "@typescript-eslint/parser": "^5.57.0",
71
+ "eslint-config-henderea": "1.1.6",
72
+ "eslint-plugin-import": "^2.27.5"
71
73
  },
72
74
  "eslintConfig": {
73
75
  "extends": "henderea"