From 467c6c8adeebe0c18246e017416eed89e3cbb669 Mon Sep 17 00:00:00 2001 From: Kevin Lam Date: Mon, 6 May 2024 14:08:46 -0700 Subject: [PATCH] Add additional missing dependencies - Add `@babel/core` and `@babel/preset-react` to match the webpack-config package - Revert the `publish-next` workf flow to use `npm ci` since `npm install` did not seem to fix the build failure --- .github/workflows/publish-next.yml | 2 +- packages/Chevron/package-lock.json | 2 ++ packages/Chevron/package.json | 4 +++- .../handleRichTextBoxKeyEventNavigation/package-lock.json | 2 ++ packages/handleRichTextBoxKeyEventNavigation/package.json | 4 +++- 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-next.yml b/.github/workflows/publish-next.yml index d9c7ff6b..92e6701f 100644 --- a/.github/workflows/publish-next.yml +++ b/.github/workflows/publish-next.yml @@ -19,7 +19,7 @@ jobs: git config --local user.email "ospreyquip@gmail.com" git config --local user.name "Osp Rey [CI]" - run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc - - run: npm install + - run: npm ci - run: npm test - run: npm run build - run: ./node_modules/.bin/lerna publish --conventional-commits --conventional-prerelease --pre-dist-tag next --yes diff --git a/packages/Chevron/package-lock.json b/packages/Chevron/package-lock.json index fe56c29c..5f666407 100644 --- a/packages/Chevron/package-lock.json +++ b/packages/Chevron/package-lock.json @@ -12,7 +12,9 @@ "quip-apps-webpack-config": "^0.2.1-alpha.2" }, "devDependencies": { + "@babel/core": "^7.5.5", "@babel/preset-env": "^7.5.5", + "@babel/preset-react": "^7.0.0", "cross-env": "^7.0.3", "webpack": "^5.91.0", "webpack-cli": "^5.1.4" diff --git a/packages/Chevron/package.json b/packages/Chevron/package.json index 958cda98..ed4470c4 100644 --- a/packages/Chevron/package.json +++ b/packages/Chevron/package.json @@ -17,6 +17,8 @@ "cross-env": "^7.0.3", "webpack-cli": "^5.1.4", "webpack": "^5.91.0", - "@babel/preset-env": "^7.5.5" + "@babel/core": "^7.5.5", + "@babel/preset-env": "^7.5.5", + "@babel/preset-react": "^7.0.0" } } diff --git a/packages/handleRichTextBoxKeyEventNavigation/package-lock.json b/packages/handleRichTextBoxKeyEventNavigation/package-lock.json index 853f260f..6b8be962 100644 --- a/packages/handleRichTextBoxKeyEventNavigation/package-lock.json +++ b/packages/handleRichTextBoxKeyEventNavigation/package-lock.json @@ -13,7 +13,9 @@ "quip-apps-webpack-config": "^0.2.1-alpha.2" }, "devDependencies": { + "@babel/core": "^7.5.5", "@babel/preset-env": "^7.5.5", + "@babel/preset-react": "^7.0.0", "cross-env": "^7.0.3", "webpack-cli": "^5.1.4" } diff --git a/packages/handleRichTextBoxKeyEventNavigation/package.json b/packages/handleRichTextBoxKeyEventNavigation/package.json index 8128df82..552cce63 100644 --- a/packages/handleRichTextBoxKeyEventNavigation/package.json +++ b/packages/handleRichTextBoxKeyEventNavigation/package.json @@ -17,6 +17,8 @@ "devDependencies": { "cross-env": "^7.0.3", "webpack-cli": "^5.1.4", - "@babel/preset-env": "^7.5.5" + "@babel/core": "^7.5.5", + "@babel/preset-env": "^7.5.5", + "@babel/preset-react": "^7.0.0" } }