Fixed moved utilies

This commit is contained in:
Zakary Timson 2024-10-30 14:27:55 +00:00
parent 00f11f8c08
commit f5e1d73988
3 changed files with 9 additions and 2 deletions

7
package-lock.json generated
View File

@ -9,6 +9,7 @@
"version": "0.0.0", "version": "0.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@ztimson/utils": "^0.21.6",
"cors": "^2.8.5", "cors": "^2.8.5",
"express": "^4.21.1", "express": "^4.21.1",
"i2c-bus": "^5.2.3", "i2c-bus": "^5.2.3",
@ -220,6 +221,12 @@
"url": "https://opencollective.com/serialport/donate" "url": "https://opencollective.com/serialport/donate"
} }
}, },
"node_modules/@ztimson/utils": {
"version": "0.21.6",
"resolved": "https://registry.npmjs.org/@ztimson/utils/-/utils-0.21.6.tgz",
"integrity": "sha512-wOjwd9N6m73NgsuCIWr1yrmWwp7CLoDu6vdlhE0CiXhEqzC9qRhkOcP8Sgn7n0nK3RANlwDtYKJl02iuRAcoJw==",
"license": "MIT"
},
"node_modules/accepts": { "node_modules/accepts": {
"version": "1.3.8", "version": "1.3.8",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",

View File

@ -5,7 +5,7 @@
"main": "index.js", "main": "index.js",
"type": "module", "type": "module",
"scripts": { "scripts": {
"start": "node src/main.js" "apollo": "node src/main.js"
}, },
"author": "", "author": "",
"license": "MIT", "license": "MIT",

View File

@ -1,4 +1,4 @@
import {adjustedInterval, sleep} from './misc.js'; import {adjustedInterval, sleep} from '@ztimson/utils';
import {bms} from './bms.js'; import {bms} from './bms.js';
import {bme} from './bme280.js'; import {bme} from './bme280.js';