From 47659831a9f1216344d4131ab6283fc5a01823eb Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 3 Sep 2023 20:25:07 -0500 Subject: [PATCH] Raise typescript version, expand setup details in README with Node v18 specification --- README.md | 9 +++++++++ package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e49cd04..7c2e979 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,15 @@ might be easier (although I require Node APIs, I believe). - [Upstash][upstash] for Redis (free) - [Discord][discord] to deliver notifications via Bot account. +## Setup + +- Requires Node v18 (`Intl.supportedValuesOf` will issue type errors otherwise) +- Requires credentials specified in `.env` (use [`.env.example`](./.env.example) as a template) + - Redis + - Discord + - Life360 (username, password) + - Optional: Loki (logging) + [nextjs]: https://nextjs.org/ [life360-node-api]: https://github.com/kaylathedev/life360-node-api [vercel]: https://vercel.com diff --git a/package.json b/package.json index 500eae0..f31a63d 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "react-simple-code-editor": "^0.13.1", "sass": "^1.58.3", "tailwindcss": "^3.2.7", - "typescript": "4.9.5", + "typescript": "^5.1.3", "zod": "^3.20.6" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 36e06c0..be82f9d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1023,10 +1023,10 @@ tslib@^2.4.0, tslib@^2.4.1: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== -typescript@4.9.5: - version "4.9.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" - integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== +typescript@^5.1.3: + version "5.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== undici@^5.13.0: version "5.20.0"