@henderea/static-site-builder 1.10.5 → 1.10.7
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/env.js +2 -0
- package/package.json +8 -6
package/config/env.js
CHANGED
|
@@ -83,6 +83,8 @@ export default function getClientEnvironment(publicUrl) {
|
|
|
83
83
|
// This should only be used as an escape hatch. Normally you would put
|
|
84
84
|
// images into the `src` and `import` them in code to get their paths.
|
|
85
85
|
PUBLIC_URL: publicUrl,
|
|
86
|
+
// Build Time
|
|
87
|
+
BUILD_TIME: Date.now() + '',
|
|
86
88
|
}
|
|
87
89
|
);
|
|
88
90
|
// Stringify all values so we can feed into Webpack DefinePlugin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@henderea/static-site-builder",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.7",
|
|
4
4
|
"description": "A static site builder",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "henderea/static-site-builder.git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dotenv": "^16.0.3",
|
|
37
37
|
"dotenv-expand": "^10.0.0",
|
|
38
38
|
"ejs": "^3.1.8",
|
|
39
|
-
"eslint": "^8.
|
|
39
|
+
"eslint": "^8.33.0",
|
|
40
40
|
"file-loader": "^6.2.0",
|
|
41
41
|
"filesize": "^10.0.6",
|
|
42
42
|
"find-pkg": "^2.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"moment-locales-webpack-plugin": "^1.2.0",
|
|
51
51
|
"node-sass": "^8.0.0",
|
|
52
52
|
"postcss-loader": "^7.0.2",
|
|
53
|
-
"postcss-preset-env": "^
|
|
53
|
+
"postcss-preset-env": "^8.0.1",
|
|
54
54
|
"recursive-readdir": "^2.2.3",
|
|
55
55
|
"sass-loader": "^13.2.0",
|
|
56
56
|
"strip-ansi": "^7.0.1",
|
|
@@ -58,15 +58,17 @@
|
|
|
58
58
|
"thread-loader": "^3.0.4",
|
|
59
59
|
"ts-loader": "^9.4.2",
|
|
60
60
|
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
61
|
-
"typescript": "^4.9.
|
|
61
|
+
"typescript": "^4.9.5",
|
|
62
62
|
"webpack": "^5.75.0",
|
|
63
63
|
"webpack-manifest-plugin": "^5.0.0",
|
|
64
64
|
"workbox-webpack-plugin": "^6.5.4"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@babel/eslint-parser": "^7.19.1",
|
|
68
|
-
"eslint-
|
|
69
|
-
"eslint
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
|
69
|
+
"@typescript-eslint/parser": "^5.51.0",
|
|
70
|
+
"eslint-config-henderea": "1.1.3",
|
|
71
|
+
"eslint-plugin-import": "^2.27.5"
|
|
70
72
|
},
|
|
71
73
|
"eslintConfig": {
|
|
72
74
|
"extends": "henderea"
|