From 9b6423b3ae87baac9881617b7bdbb40b8a63cc11 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Sat, 11 Feb 2023 22:01:37 +0100 Subject: [PATCH] Moved JS deps --- frontend/package-lock.json | 20 +++++++++++++++++++- frontend/package.json | 7 ++++--- package-lock.json | 31 ------------------------------- package.json | 5 ----- 4 files changed, 23 insertions(+), 40 deletions(-) delete mode 100644 package-lock.json delete mode 100644 package.json diff --git a/frontend/package-lock.json b/frontend/package-lock.json index d08b8c9..b9e905f 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -8,7 +8,8 @@ "name": "frontend", "version": "0.0.0", "dependencies": { - "bson": "^4.7.2" + "bson": "^4.7.2", + "date-fns": "^2.29.3" }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^1.0.1", @@ -551,6 +552,18 @@ "node": ">= 8" } }, + "node_modules/date-fns": { + "version": "2.29.3", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz", + "integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==", + "engines": { + "node": ">=0.11" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/date-fns" + } + }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -3661,6 +3674,11 @@ "which": "^2.0.1" } }, + "date-fns": { + "version": "2.29.3", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz", + "integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==" + }, "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", diff --git a/frontend/package.json b/frontend/package.json index e500189..bdd2cd0 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -8,6 +8,10 @@ "build": "vite build", "preview": "vite preview" }, + "dependencies": { + "bson": "^4.7.2", + "date-fns": "^2.29.3" + }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^1.0.1", "eslint": "^8.31.0", @@ -21,8 +25,5 @@ "nodejs", "svelte3" ] - }, - "dependencies": { - "bson": "^4.7.2" } } diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 7b63c0c..0000000 --- a/package-lock.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "mongodup", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "dependencies": { - "date-fns": "^2.29.3" - } - }, - "node_modules/date-fns": { - "version": "2.29.3", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz", - "integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==", - "engines": { - "node": ">=0.11" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/date-fns" - } - } - }, - "dependencies": { - "date-fns": { - "version": "2.29.3", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz", - "integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==" - } - } -} diff --git a/package.json b/package.json deleted file mode 100644 index e297aa8..0000000 --- a/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "date-fns": "^2.29.3" - } -}