From 859d3f3db570cf2c05c33dff393fd652927cc363 Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Fri, 15 Nov 2024 13:14:53 +0300 Subject: [PATCH] fix:pull changes from contrib --- package-lock.json | 33 +++++++++++++++++++++++++++++++++ package.json | 4 +++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 4f8c36a..bb20f95 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,8 @@ "axios": "^1.7.7", "calendar-merger": "file:", "express": "^4.17.1", + "ical.js": "^2.1.0", + "node-cron": "^2.0.3", "supertest": "^7.0.0" }, "devDependencies": { @@ -4306,6 +4308,11 @@ "node": ">=10.17.0" } }, + "node_modules/ical.js": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ical.js/-/ical.js-2.1.0.tgz", + "integrity": "sha512-BOVfrH55xQ6kpS3muGvIXIg2l7p+eoe12/oS7R5yrO3TL/j/bLsR0PR+tYQESFbyTbvGgPHn9zQ6tI4FWyuSaQ==" + }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -5492,6 +5499,19 @@ "node": ">= 0.6" } }, + "node_modules/node-cron": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/node-cron/-/node-cron-2.0.3.tgz", + "integrity": "sha512-eJI+QitXlwcgiZwNNSRbqsjeZMp5shyajMR81RZCqeW0ZDEj4zU9tpd4nTh/1JsBiKbF8d08FCewiipDmVIYjg==", + "hasInstallScript": true, + "dependencies": { + "opencollective-postinstall": "^2.0.0", + "tz-offset": "0.0.1" + }, + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -5570,6 +5590,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/opencollective-postinstall": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", + "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==", + "bin": { + "opencollective-postinstall": "index.js" + } + }, "node_modules/optionator": { "version": "0.9.4", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", @@ -6568,6 +6596,11 @@ "node": ">= 0.6" } }, + "node_modules/tz-offset": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/tz-offset/-/tz-offset-0.0.1.tgz", + "integrity": "sha512-kMBmblijHJXyOpKzgDhKx9INYU4u4E1RPMB0HqmKSgWG8vEcf3exEfLh4FFfzd3xdQOw9EuIy/cP0akY6rHopQ==" + }, "node_modules/undici-types": { "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", diff --git a/package.json b/package.json index b974cf7..57db661 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,15 @@ "name": "calendar-merger", "version": "1.1.0", "scripts": { - "start": "node src/app.js", + "start": "node app.js", "test": "jest ./test" }, "dependencies": { "axios": "^1.7.7", "calendar-merger": "file:", "express": "^4.17.1", + "ical.js": "^2.1.0", + "node-cron": "^2.0.3", "supertest": "^7.0.0" }, "description": "calmerger",