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.
@@ -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, defineUserConfig } from "vuepress";
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
- id: "G-Z2QNNCDQZG",
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
@@ -7,7 +7,7 @@ heroText: node-red-contrib-power-saver
7
7
  tagline: A collection of nodes to Node-RED that automates saving money on variable electricity prices
8
8
  actions:
9
9
  - text: Guide
10
- link: /guide
10
+ link: /guide/
11
11
  type: primary
12
12
  - text: Nodes
13
13
  link: /nodes/
@@ -8,6 +8,14 @@ sidebarDepth: 1
8
8
  List the most significant changes.
9
9
 
10
10
 
11
+ ## 4.2.4
12
+
13
+ - Update dependencies
14
+
15
+ ## 4.2.3
16
+
17
+ - Update dependencies
18
+
11
19
  ## 4.2.2
12
20
 
13
21
  - Remove ads from doc.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-power-saver",
3
- "version": "4.2.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-beta.67",
50
- "@vuepress/plugin-google-analytics": "2.0.0-beta.67",
51
- "@vuepress/plugin-register-components": "2.0.0-beta.67",
52
- "@vuepress/plugin-search": "2.0.0-beta.67",
53
- "@vuepress/utils": "2.0.0-beta.67",
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": "8.52.0",
56
+ "eslint": "9.17.0",
56
57
  "expect": "29.7.0",
57
- "mocha": "^10.2.0",
58
- "node-red": "^3.1.1",
59
- "node-red-node-test-helper": "0.3.2",
60
- "sass-loader": "^13.3.2",
61
- "vuepress": "2.0.0-beta.67"
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.0.0-beta.24",
66
+ "floating-vue": "5.2.2",
65
67
  "lodash.clonedeep": "4.5.0",
66
- "luxon": "3.4.3",
68
+ "luxon": "3.5.0",
67
69
  "nano-time": "1.0.0",
68
70
  "node-fetch": "2.6.7"
69
71
  }