From 2375a2f2dd1fec0cab9b75f65a9947011f8bc913 Mon Sep 17 00:00:00 2001 From: Akaki Mikaia Date: Wed, 14 Aug 2024 16:59:31 +0100 Subject: [PATCH] fix: Move figma-sb-links to a devDependency (#1779) --- ...pull-requests-to-origami-project-board.yml | 15 ------------- apps/o3-storybook/package.json | 3 +++ components/o3-button/package.json | 4 +++- .../o3-editorial-typography/package.json | 4 +++- components/o3-tooltip/package.json | 4 +++- components/o3-typography/package.json | 4 +++- package-lock.json | 21 ++++++++++++++----- 7 files changed, 31 insertions(+), 24 deletions(-) delete mode 100644 .github/workflows/add-new-issues-and-pull-requests-to-origami-project-board.yml diff --git a/.github/workflows/add-new-issues-and-pull-requests-to-origami-project-board.yml b/.github/workflows/add-new-issues-and-pull-requests-to-origami-project-board.yml deleted file mode 100644 index a13f612aa8..0000000000 --- a/.github/workflows/add-new-issues-and-pull-requests-to-origami-project-board.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Add new issues and pull requests to Origami Project Board -on: - - issues - - pull_request_target - -jobs: - origami_project_board_job: - runs-on: ubuntu-latest - name: Add new issue or pull request to Origami Project Board - steps: - - name: Add new issue or pull request to Origami Project Board - id: origami-project-board - uses: Financial-Times/origami-project-board-action@v1 - with: - origami-fox-access-token: ${{ secrets.ORIGAMI_FOX_ACCESS_TOKEN }} diff --git a/apps/o3-storybook/package.json b/apps/o3-storybook/package.json index 4567fe918f..502101f5e8 100644 --- a/apps/o3-storybook/package.json +++ b/apps/o3-storybook/package.json @@ -40,5 +40,8 @@ }, "volta": { "node": "18.20.3" + }, + "peerDependencies": { + "@financial-times/o3-figma-sb-links": "^0.0.0" } } diff --git a/components/o3-button/package.json b/components/o3-button/package.json index 87436c4b0f..90f4cc8c51 100644 --- a/components/o3-button/package.json +++ b/components/o3-button/package.json @@ -30,7 +30,9 @@ }, "private": false, "peerDependencies": { - "@financial-times/o3-figma-sb-links": "^0.0.0", "@financial-times/o3-foundation": "^1.0.0" + }, + "devDependencies": { + "@financial-times/o3-figma-sb-links": "^0.0.0" } } diff --git a/components/o3-editorial-typography/package.json b/components/o3-editorial-typography/package.json index 08f005295c..c906a5573d 100644 --- a/components/o3-editorial-typography/package.json +++ b/components/o3-editorial-typography/package.json @@ -31,7 +31,9 @@ }, "private": false, "peerDependencies": { - "@financial-times/o3-figma-sb-links": "^0.0.0", "@financial-times/o3-foundation": "^1.0.0" + }, + "devDependencies": { + "@financial-times/o3-figma-sb-links": "^0.0.0" } } diff --git a/components/o3-tooltip/package.json b/components/o3-tooltip/package.json index 44f6c44c82..1bf1ea08b1 100644 --- a/components/o3-tooltip/package.json +++ b/components/o3-tooltip/package.json @@ -33,9 +33,11 @@ "build": "bash ../../scripts/component/build-o3.bash o3-tooltip" }, "peerDependencies": { - "@financial-times/o3-figma-sb-links": "^0.0.0", "@financial-times/o3-foundation": "^1.0.0" }, + "devDependencies": { + "@financial-times/o3-figma-sb-links": "^0.0.0" + }, "engines": { "npm": ">7" }, diff --git a/components/o3-typography/package.json b/components/o3-typography/package.json index 9ec589249a..e94fb677d9 100644 --- a/components/o3-typography/package.json +++ b/components/o3-typography/package.json @@ -30,7 +30,9 @@ }, "private": false, "peerDependencies": { - "@financial-times/o3-figma-sb-links": "^0.0.0", "@financial-times/o3-foundation": "^1.0.0" + }, + "devDependencies": { + "@financial-times/o3-figma-sb-links": "^0.0.0" } } diff --git a/package-lock.json b/package-lock.json index c8d22491b2..7f88a0e992 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2259,6 +2259,9 @@ "storybook": "^8.1.2", "style-loader": "^3.3.3", "typescript": "^5.2.2" + }, + "peerDependencies": { + "@financial-times/o3-figma-sb-links": "^0.0.0" } }, "apps/o3-storybook/node_modules/@storybook/addon-designs": { @@ -3871,11 +3874,13 @@ "name": "@financial-times/o3-button", "version": "1.1.5", "license": "MIT", + "devDependencies": { + "@financial-times/o3-figma-sb-links": "^0.0.0" + }, "engines": { "npm": ">7" }, "peerDependencies": { - "@financial-times/o3-figma-sb-links": "^0.0.0", "@financial-times/o3-foundation": "^1.0.0" } }, @@ -3883,17 +3888,19 @@ "name": "@financial-times/o3-editorial-typography", "version": "1.2.1", "license": "MIT", + "devDependencies": { + "@financial-times/o3-figma-sb-links": "^0.0.0" + }, "engines": { "npm": ">7" }, "peerDependencies": { - "@financial-times/o3-figma-sb-links": "^0.0.0", "@financial-times/o3-foundation": "^1.0.0" } }, "components/o3-foundation": { "name": "@financial-times/o3-foundation", - "version": "1.2.0", + "version": "1.3.0", "license": "MIT", "engines": { "npm": ">7" @@ -3906,11 +3913,13 @@ "dependencies": { "@popperjs/core": "^2.11.8" }, + "devDependencies": { + "@financial-times/o3-figma-sb-links": "^0.0.0" + }, "engines": { "npm": ">7" }, "peerDependencies": { - "@financial-times/o3-figma-sb-links": "^0.0.0", "@financial-times/o3-foundation": "^1.0.0" } }, @@ -3918,11 +3927,13 @@ "name": "@financial-times/o3-typography", "version": "1.0.3", "license": "MIT", + "devDependencies": { + "@financial-times/o3-figma-sb-links": "^0.0.0" + }, "engines": { "npm": ">7" }, "peerDependencies": { - "@financial-times/o3-figma-sb-links": "^0.0.0", "@financial-times/o3-foundation": "^1.0.0" } },