Skip to content

Commit eae4431

Browse files
committed
Update version to 1.9.0 and fix version check in test
1 parent 76f1668 commit eae4431

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# PowerPulse
22

33
![PowerPulse Logo](https://img.shields.io/badge/PowerPulse-UPS%20Monitoring-blue)
4-
![Version](https://img.shields.io/badge/version-1.8.3-green)
4+
![Version](https://img.shields.io/badge/version-1.9.0-green)
55
![License](https://img.shields.io/badge/license-MIT-lightgrey)
66

77
PowerPulse is a modern UPS (Uninterruptible Power Supply) monitoring dashboard integrated with Network UPS Tools (NUT). It provides a clean, responsive interface for monitoring and managing your UPS systems.
@@ -138,12 +138,12 @@ You can also run PowerPulse directly from Docker Hub without cloning the reposit
138138

139139
3. Download the Docker Compose file:
140140
```
141-
wget https://raw.githubusercontent.com/blink-zero/powerpulse/v1.8.3/docker-compose.dockerhub.yml -O docker-compose.yml
141+
wget https://raw.githubusercontent.com/blink-zero/powerpulse/v1.9.0/docker-compose.dockerhub.yml -O docker-compose.yml
142142
```
143143

144144
4. Create an environment file:
145145
```
146-
wget https://raw.githubusercontent.com/blink-zero/powerpulse/v1.8.3/.env.example -O .env
146+
wget https://raw.githubusercontent.com/blink-zero/powerpulse/v1.9.0/.env.example -O .env
147147
# Edit .env with your configuration
148148
```
149149

@@ -206,8 +206,8 @@ You can also run PowerPulse directly from Docker Hub without cloning the reposit
206206
# image: blinkzero/powerpulse-server:1.8.3
207207
# image: blinkzero/powerpulse-client:1.8.3
208208
# To:
209-
# image: blinkzero/powerpulse-server:1.8.3 (or whatever the latest version is)
210-
# image: blinkzero/powerpulse-client:1.8.3 (or whatever the latest version is)
209+
# image: blinkzero/powerpulse-server:1.9.0
210+
# image: blinkzero/powerpulse-client:1.9.0
211211
```
212212

213213
Alternatively, download the latest docker-compose file (replace X.Y.Z with the latest version):

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "powerpulse-client",
33
"private": true,
4-
"version": "1.8.3",
4+
"version": "1.9.0",
55
"author": "blink-zero",
66
"repository": {
77
"type": "git",

client/src/test/example.test.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { describe, it, expect } from 'vitest';
22
import { render, screen } from '@testing-library/react';
33
import appConfig from '../config/appConfig';
4+
import packageJson from '../../package.json';
45

56
// This is a simple example test to demonstrate testing setup
67
describe('Application Configuration', () => {
78
it('has the correct version number', () => {
8-
expect(appConfig.version).toBe('1.8.3');
9+
expect(appConfig.version).toBe(packageJson.version);
910
});
1011

1112
it('has the correct app name', () => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "powerpulse",
3-
"version": "1.8.3",
3+
"version": "1.9.0",
44
"description": "Modern UPS monitoring dashboard integrated with Network UPS Tools (NUT)",
55
"main": "index.js",
66
"scripts": {

server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "powerpulse-server",
3-
"version": "1.8.3",
3+
"version": "1.9.0",
44
"description": "Backend server for PowerPulse - A modern UPS monitoring dashboard",
55
"author": "blink-zero",
66
"repository": {

0 commit comments

Comments
 (0)