From d44c6e7902cc1025c8c6cc86dbcbcf0b027a1eb6 Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Fri, 17 May 2024 14:01:54 +0200 Subject: [PATCH] chore(deps): move some deps to `/functions` project --- functions/package.json | 6 +++++- package.json | 3 --- yarn.lock | 9 ++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/functions/package.json b/functions/package.json index 9e8bf56303a..a25acef7366 100644 --- a/functions/package.json +++ b/functions/package.json @@ -1,10 +1,14 @@ { - "name": "owid-thumbnails", + "name": "owid-functions", "dependencies": { + "@cloudflare/pages-plugin-sentry": "^1.1.1", "@ourworldindata/grapher": "workspace:^", "@ourworldindata/utils": "workspace:^", "itty-router": "^4.0.23", "stripe": "^14.20.0", "svg2png-wasm": "^1.4.1" + }, + "devDependencies": { + "@cloudflare/workers-types": "^4.20240512.0" } } diff --git a/package.json b/package.json index b5e74cc2867..187c9366f7d 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,6 @@ "@bugsnag/js": "^7.20.0", "@bugsnag/plugin-express": "^7.19.0", "@bugsnag/plugin-react": "^7.19.0", - "@cloudflare/pages-plugin-sentry": "^1.1.1", "@fortawesome/fontawesome-svg-core": "^6.5.2", "@fortawesome/free-brands-svg-icons": "^6.5.2", "@fortawesome/free-solid-svg-icons": "^6.5.2", @@ -151,7 +150,6 @@ "simple-git": "^3.16.1", "simple-statistics": "^7.3.2", "string-pixel-width": "^1.10.0", - "stripe": "^14.20.0", "striptags": "^3.2.0", "svgo": "^3.0.2", "timezone-mock": "^1.0.18", @@ -168,7 +166,6 @@ "yaml": "^2.4.2" }, "devDependencies": { - "@cloudflare/workers-types": "^4.20240512.0", "@rmp135/sql-ts": "^2.1.0", "@testing-library/jest-dom": "^6.1.3", "@testing-library/react": "^12.1.5", diff --git a/yarn.lock b/yarn.lock index d8ffd4dc98d..78333cda39c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10981,8 +10981,6 @@ __metadata: "@bugsnag/js": "npm:^7.20.0" "@bugsnag/plugin-express": "npm:^7.19.0" "@bugsnag/plugin-react": "npm:^7.19.0" - "@cloudflare/pages-plugin-sentry": "npm:^1.1.1" - "@cloudflare/workers-types": "npm:^4.20240512.0" "@fortawesome/fontawesome-svg-core": "npm:^6.5.2" "@fortawesome/free-brands-svg-icons": "npm:^6.5.2" "@fortawesome/free-solid-svg-icons": "npm:^6.5.2" @@ -11147,7 +11145,6 @@ __metadata: simple-git: "npm:^3.16.1" simple-statistics: "npm:^7.3.2" string-pixel-width: "npm:^1.10.0" - stripe: "npm:^14.20.0" striptags: "npm:^3.2.0" svgo: "npm:^3.0.2" timezone-mock: "npm:^1.0.18" @@ -15403,10 +15400,12 @@ __metadata: languageName: node linkType: hard -"owid-thumbnails@workspace:functions": +"owid-functions@workspace:functions": version: 0.0.0-use.local - resolution: "owid-thumbnails@workspace:functions" + resolution: "owid-functions@workspace:functions" dependencies: + "@cloudflare/pages-plugin-sentry": "npm:^1.1.1" + "@cloudflare/workers-types": "npm:^4.20240512.0" "@ourworldindata/grapher": "workspace:^" "@ourworldindata/utils": "workspace:^" itty-router: "npm:^4.0.23"