@henderea/static-site-builder 1.10.1 → 1.10.3

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/config/paths.js CHANGED
@@ -12,7 +12,7 @@ import url from 'url';
12
12
  import { findMonorepo } from '../utils/workspaceUtils.js';
13
13
  import { fileURLToPath } from 'url';
14
14
 
15
- const dirname = fileURLToPath(import.meta.url);
15
+ const dirname = path.dirname(fileURLToPath(import.meta.url));
16
16
 
17
17
  // Make sure any symlinks in the project folder are resolved:
18
18
  // https://github.com/facebookincubator/create-react-app/issues/637
@@ -326,6 +326,13 @@ export default _.defaultsDeep({}, ssbConfig.webpack || {}, {
326
326
  options: {
327
327
  sourceMap: true,
328
328
  }
329
+ },
330
+ {
331
+ loader: 'postcss-loader',
332
+ options: {
333
+ postcssOptions,
334
+ sourceMap: true
335
+ }
329
336
  }
330
337
  ]
331
338
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henderea/static-site-builder",
3
- "version": "1.10.1",
3
+ "version": "1.10.3",
4
4
  "description": "A static site builder",
5
5
  "main": "index.js",
6
6
  "repository": "henderea/static-site-builder.git",
@@ -25,48 +25,48 @@
25
25
  },
26
26
  "type": "module",
27
27
  "dependencies": {
28
- "@babel/core": "^7.16.5",
28
+ "@babel/core": "^7.20.12",
29
29
  "babel-core": "^6.26.3",
30
- "babel-loader": "^8.2.3",
30
+ "babel-loader": "^9.1.2",
31
31
  "case-sensitive-paths-webpack-plugin": "^2.4.0",
32
- "chalk": "^5.0.0",
33
- "copy-webpack-plugin": "^10.2.0",
32
+ "chalk": "^5.2.0",
33
+ "copy-webpack-plugin": "^11.0.0",
34
34
  "cross-spawn": "^7.0.3",
35
- "css-loader": "^6.5.1",
36
- "dotenv": "^10.0.0",
37
- "dotenv-expand": "^5.1.0",
38
- "ejs": "^3.1.6",
39
- "eslint": "^8.5.0",
35
+ "css-loader": "^6.7.3",
36
+ "dotenv": "^16.0.3",
37
+ "dotenv-expand": "^10.0.0",
38
+ "ejs": "^3.1.8",
39
+ "eslint": "^8.31.0",
40
40
  "file-loader": "^6.2.0",
41
- "filesize": "^8.0.6",
41
+ "filesize": "^10.0.6",
42
42
  "find-pkg": "^2.0.0",
43
- "globby": "^12.0.2",
43
+ "globby": "^13.1.3",
44
44
  "gzip-size": "^7.0.0",
45
45
  "handlebars": "^4.7.7",
46
46
  "html-webpack-plugin": "^5.5.0",
47
47
  "lodash": "^4.17.21",
48
- "mini-css-extract-plugin": "^2.4.5",
49
- "moment": "^2.29.1",
48
+ "mini-css-extract-plugin": "^2.7.2",
49
+ "moment": "^2.29.4",
50
50
  "moment-locales-webpack-plugin": "^1.2.0",
51
- "node-sass": "^7.0.0",
52
- "postcss-loader": "^6.2.1",
53
- "postcss-preset-env": "^7.0.2",
54
- "recursive-readdir": "^2.2.2",
55
- "sass-loader": "^12.4.0",
51
+ "node-sass": "^8.0.0",
52
+ "postcss-loader": "^7.0.2",
53
+ "postcss-preset-env": "^7.8.3",
54
+ "recursive-readdir": "^2.2.3",
55
+ "sass-loader": "^13.2.0",
56
56
  "strip-ansi": "^7.0.1",
57
57
  "style-loader": "^3.3.1",
58
58
  "thread-loader": "^3.0.4",
59
- "ts-loader": "^9.2.6",
60
- "tsconfig-paths-webpack-plugin": "^3.5.2",
61
- "typescript": "^4.5.4",
62
- "webpack": "^5.65.0",
63
- "webpack-manifest-plugin": "^4.0.2",
64
- "workbox-webpack-plugin": "^6.4.2"
59
+ "ts-loader": "^9.4.2",
60
+ "tsconfig-paths-webpack-plugin": "^4.0.0",
61
+ "typescript": "^4.9.4",
62
+ "webpack": "^5.75.0",
63
+ "webpack-manifest-plugin": "^5.0.0",
64
+ "workbox-webpack-plugin": "^6.5.4"
65
65
  },
66
66
  "devDependencies": {
67
- "@babel/eslint-parser": "^7.16.5",
68
- "eslint-config-henderea": "1.0.9",
69
- "eslint-plugin-import": "^2.25.3"
67
+ "@babel/eslint-parser": "^7.19.1",
68
+ "eslint-config-henderea": "1.0.17",
69
+ "eslint-plugin-import": "^2.26.0"
70
70
  },
71
71
  "eslintConfig": {
72
72
  "extends": "henderea"