node-red-contrib-power-saver 4.2.2 → 4.2.4
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/docs/.vuepress/config.js +18 -5
- package/docs/README.md +1 -1
- package/docs/changelog/README.md +8 -0
- package/package.json +16 -14
package/docs/.vuepress/config.js
CHANGED
|
@@ -3,11 +3,23 @@ import { path } from "@vuepress/utils";
|
|
|
3
3
|
import { registerComponentsPlugin } from "@vuepress/plugin-register-components";
|
|
4
4
|
import { searchPlugin } from "@vuepress/plugin-search";
|
|
5
5
|
import { googleAnalyticsPlugin } from "@vuepress/plugin-google-analytics";
|
|
6
|
-
|
|
7
|
-
import { defaultTheme
|
|
6
|
+
import { viteBundler } from "@vuepress/bundler-vite"
|
|
7
|
+
import { defaultTheme } from "@vuepress/theme-default";
|
|
8
|
+
import { defineUserConfig } from "vuepress";
|
|
8
9
|
|
|
9
10
|
export default defineUserConfig({
|
|
10
11
|
base: "/",
|
|
12
|
+
bundler: viteBundler({
|
|
13
|
+
viteOptions: {
|
|
14
|
+
css: {
|
|
15
|
+
preprocessorOptions: {
|
|
16
|
+
scss: {
|
|
17
|
+
api: "modern-compiler"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}),
|
|
11
23
|
description: "A Node-RED node collection to save money on hourly changing power prices",
|
|
12
24
|
head: [
|
|
13
25
|
["link", { rel: "shortcut icon", type: "image/x-icon", href: "euro.png" }],
|
|
@@ -24,9 +36,9 @@ export default defineUserConfig({
|
|
|
24
36
|
plugins: [
|
|
25
37
|
registerComponentsPlugin({ componentsDir: path.resolve(__dirname, "./components") }),
|
|
26
38
|
searchPlugin({}),
|
|
27
|
-
googleAnalyticsPlugin({
|
|
28
|
-
|
|
29
|
-
}),
|
|
39
|
+
// googleAnalyticsPlugin({
|
|
40
|
+
// id: "G-Z2QNNCDQZG",
|
|
41
|
+
// }),
|
|
30
42
|
],
|
|
31
43
|
theme: defaultTheme({
|
|
32
44
|
contributors: false,
|
|
@@ -79,4 +91,5 @@ export default defineUserConfig({
|
|
|
79
91
|
"/changelog/": [{ text: "Changelog", children: ["/changelog/README.md"] }],
|
|
80
92
|
},
|
|
81
93
|
}),
|
|
94
|
+
title: "PowerSaver"
|
|
82
95
|
});
|
package/docs/README.md
CHANGED
package/docs/changelog/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-power-saver",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.4",
|
|
4
4
|
"description": "A module for Node-RED that you can use to turn on and off a switch based on power prices",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -46,24 +46,26 @@
|
|
|
46
46
|
"url": "https://github.com/ottopaulsen/node-red-contrib-power-saver.git"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@vuepress/bundler-vite": "2.0.0-
|
|
50
|
-
"@vuepress/plugin-google-analytics": "2.0.0-
|
|
51
|
-
"@vuepress/plugin-register-components": "2.0.0-
|
|
52
|
-
"@vuepress/plugin-search": "2.0.0-
|
|
53
|
-
"@vuepress/
|
|
49
|
+
"@vuepress/bundler-vite": "2.0.0-rc.19",
|
|
50
|
+
"@vuepress/plugin-google-analytics": "2.0.0-rc.66",
|
|
51
|
+
"@vuepress/plugin-register-components": "2.0.0-rc.66",
|
|
52
|
+
"@vuepress/plugin-search": "2.0.0-rc.66",
|
|
53
|
+
"@vuepress/theme-default": "2.0.0-rc.66",
|
|
54
|
+
"@vuepress/utils": "2.0.0-rc.19",
|
|
54
55
|
"chai": "^4.3.10",
|
|
55
|
-
"eslint": "
|
|
56
|
+
"eslint": "9.17.0",
|
|
56
57
|
"expect": "29.7.0",
|
|
57
|
-
"mocha": "^
|
|
58
|
-
"node-red": "^
|
|
59
|
-
"node-red-node-test-helper": "0.3.
|
|
60
|
-
"sass-
|
|
61
|
-
"
|
|
58
|
+
"mocha": "^11.0.1",
|
|
59
|
+
"node-red": "^4.0.8",
|
|
60
|
+
"node-red-node-test-helper": "0.3.4",
|
|
61
|
+
"sass-embedded": "^1.83.1",
|
|
62
|
+
"sass-loader": "^16.0.4",
|
|
63
|
+
"vuepress": "2.0.0-rc.19"
|
|
62
64
|
},
|
|
63
65
|
"dependencies": {
|
|
64
|
-
"floating-vue": "2.
|
|
66
|
+
"floating-vue": "5.2.2",
|
|
65
67
|
"lodash.clonedeep": "4.5.0",
|
|
66
|
-
"luxon": "3.
|
|
68
|
+
"luxon": "3.5.0",
|
|
67
69
|
"nano-time": "1.0.0",
|
|
68
70
|
"node-fetch": "2.6.7"
|
|
69
71
|
}
|