Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ orbs:
jobs:
create-release-draft:
docker:
- image: cimg/node:24.15.0
- image: cimg/node:24.18.0
resource_class: small
steps:
- run:
Expand Down Expand Up @@ -44,8 +44,8 @@ jobs:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
nvm install v24.15.0
nvm alias default v24.15.0
nvm install v24.18.0
nvm alias default v24.18.0
- run: node -v
- run: npm install --global node-gyp
- run: echo $SHELL
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
BASH_ENV: ".circleci/bash_env.sh"
DISPLAY: ":99"
docker:
- image: cimg/node:24.15.0-browsers
- image: cimg/node:24.18.0-browsers
steps:
- setup_remote_docker:
version: default
Expand All @@ -147,7 +147,7 @@ jobs:
- run: yarn install --immutable
# Test
- run: yarn lint
- run: Xvfb :99 -screen 0 1280x1024x24 & > /dev/null && yarn test
- run: yarn test
# Build docker image
- run: if [ -z "$CIRCLE_PR_NUMBER" ]; then ./artifact.sh; else echo "Forked repo; no docker image built."; fi
build-windows:
Expand All @@ -163,8 +163,8 @@ jobs:
- run: pwsh.exe -command "Register-PSRepository -Name 'Nuget' -SourceLocation 'https://api.nuget.org/v3/index.json' -InstallationPolicy Trusted"
- run: python -m pip install packaging
- run: pip install setuptools
- run: nvm install v24.15.0
- run: nvm use v24.15.0
- run: nvm install v24.18.0
- run: nvm use v24.18.0
- run: node -v
- run: npm install --global npm@8 node-gyp
- run: npm -v
Expand Down
7 changes: 0 additions & 7 deletions .config.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,6 @@ function stringToBoolean(str, defaultValue) {
return defaultValue || false;
}

function stringToArray(str, defaultValue) {
if (!(str && str.length)) {
return defaultValue;
}
return str.split(',');
}

const selectedServerEnv = env.browser ? serverEnvFromLocation() : 'prd';

module.exports = {
Expand Down
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

76 changes: 0 additions & 76 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24.15.0
24.18.0
23 changes: 23 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"categories": {
"correctness": "error"
},
"ignorePatterns": [
"app/dist",
"app/main.prod.js",
"app/node_modules",
"dist",
"web",
"lib/drivers/tandem",
"lib/drivers/fora"
],
"overrides": [
{
"files": ["test/**", "__mocks__/**", "jest.setup.js"],
"rules": {
"no-unused-expressions": "off"
}
}
]
}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:24.11.1-alpine as base
FROM node:24.18.0-alpine as base
WORKDIR /app
RUN mkdir -p dist node_modules .yarn-cache && chown -R node:node .

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:18.04
FROM ubuntu:22.04

ENV DEBIAN_FRONTEND noninteractive
ENV NODE_VERSION "v12.13.0"
ENV NODE_VERSION "v24.18.0"

# Lots of packages. Some dependencies and stuff for GUI.
RUN apt-get -qq -y update && \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $ yarn dev

### Docker for Linux

If you are running Linux you probably need to be using an Ubuntu distribution or derivative. To get around this for other distrubutions you can try to build a local docker image which is based on Ubuntu 18.04 and use the yarn/npm commands interactively.
If you are running Linux you probably need to be using an Ubuntu distribution or derivative. To get around this for other distrubutions you can try to build a local docker image which is based on Ubuntu 22.04 and use the yarn/npm commands interactively.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated

**NOTE:** You need to add udev rules to your host for uploads to actually work. You can find the udev rules [here](resources/linux/51-tidepool-uploader.rules). The file should be placed in `/etc/udev/rules.d/` and the host should be rebooted.

Expand Down
11 changes: 11 additions & 0 deletions app/actions/appState.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* App-level mutable state shared by the action creators: the service
* implementations injected at app init time, and the running app's
* version info.
*/
const appState = {
services: {},
versionInfo: {},
};

export default appState;
Loading