You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/02/07 22:36:15 UTC
(superset) branch master updated: build(deps-dev): bump @types/jest from 26.0.24 to 29.5.12 in /superset-frontend/plugins/plugin-chart-handlebars (#26973)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new daaf657d47 build(deps-dev): bump @types/jest from 26.0.24 to 29.5.12 in /superset-frontend/plugins/plugin-chart-handlebars (#26973)
daaf657d47 is described below
commit daaf657d47844e0383a4c0429d6a839f06b6e25b
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Wed Feb 7 14:36:08 2024 -0800
build(deps-dev): bump @types/jest from 26.0.24 to 29.5.12 in /superset-frontend/plugins/plugin-chart-handlebars (#26973)
Signed-off-by: dependabot[bot] <su...@github.com>
Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
Co-authored-by: Maxime Beauchemin <ma...@gmail.com>
Co-authored-by: GitHub-Actions[bot] <gi...@users.noreply.github.com>
---
.github/workflows/update-monorepo-lockfiles.yml | 13 +++++++-----
superset-frontend/package-lock.json | 24 ++++++++++++++++++++--
.../plugins/plugin-chart-handlebars/package.json | 2 +-
3 files changed, 31 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/update-monorepo-lockfiles.yml b/.github/workflows/update-monorepo-lockfiles.yml
index d8c380ea7d..2ecabdfd39 100644
--- a/.github/workflows/update-monorepo-lockfiles.yml
+++ b/.github/workflows/update-monorepo-lockfiles.yml
@@ -5,18 +5,21 @@ on:
paths:
- 'superset-frontend/packages/**/package.json'
- 'superset-frontend/plugins/**/package.json'
- # Trigger this workflow when Dependabot creates a pull request
types: [opened, synchronize, reopened]
+ issue_comment:
+ types: [created]
# cancel previous workflow jobs for PRs
concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.issue.number || github.run_id }}
cancel-in-progress: true
jobs:
update-lock-file:
runs-on: ubuntu-latest
- if: github.event.pull_request.user.login == 'dependabot[bot]' # Ensure it only runs for Dependabot PRs
+ if: >
+ (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]') ||
+ (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@supersetbot trigger-dependabot-lockfile') && github.event.issue.pull_request)
defaults:
run:
working-directory: superset-frontend
@@ -24,7 +27,7 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
with:
- ref: ${{ github.head_ref }} # Checkout the branch that made the PR
+ ref: ${{ github.event.pull_request.head.ref || github.head_ref }} # Checkout the branch that made the PR or the comment's PR branch
- name: Set up Node.js
uses: actions/setup-node@v4
@@ -41,4 +44,4 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"
git add package-lock.json
# Push the changes back to the branch if they exist, and pass if there are no changes
- git diff --staged --quiet || (git commit -m "Update lock file for Dependabot PR" -a && git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} ${{github.head_ref}})
+ git diff --staged --quiet || (git commit -m "Update lock file for Dependabot PR" -a && git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} ${{ github.event.pull_request.head.ref || github.head_ref }})
diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json
index 01f8ff3d0a..ce8a0e3469 100644
--- a/superset-frontend/package-lock.json
+++ b/superset-frontend/package-lock.json
@@ -68450,7 +68450,7 @@
"just-handlebars-helpers": "^1.0.19"
},
"devDependencies": {
- "@types/jest": "^26.0.0",
+ "@types/jest": "^29.5.12",
"@types/lodash": "^4.14.202",
"jest": "^29.7.0"
},
@@ -68733,6 +68733,16 @@
"@types/istanbul-lib-report": "*"
}
},
+ "plugins/plugin-chart-handlebars/node_modules/@types/jest": {
+ "version": "29.5.12",
+ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz",
+ "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==",
+ "dev": true,
+ "dependencies": {
+ "expect": "^29.0.0",
+ "pretty-format": "^29.0.0"
+ }
+ },
"plugins/plugin-chart-handlebars/node_modules/@types/lodash": {
"version": "4.14.202",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz",
@@ -85324,7 +85334,7 @@
"@superset-ui/plugin-chart-handlebars": {
"version": "file:plugins/plugin-chart-handlebars",
"requires": {
- "@types/jest": "^26.0.0",
+ "@types/jest": "^29.5.12",
"@types/lodash": "^4.14.202",
"handlebars": "^4.7.7",
"jest": "^29.7.0",
@@ -85550,6 +85560,16 @@
"@types/istanbul-lib-report": "*"
}
},
+ "@types/jest": {
+ "version": "29.5.12",
+ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz",
+ "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==",
+ "dev": true,
+ "requires": {
+ "expect": "^29.0.0",
+ "pretty-format": "^29.0.0"
+ }
+ },
"@types/lodash": {
"version": "4.14.202",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz",
diff --git a/superset-frontend/plugins/plugin-chart-handlebars/package.json b/superset-frontend/plugins/plugin-chart-handlebars/package.json
index 0dd9f458e1..90b6359eae 100644
--- a/superset-frontend/plugins/plugin-chart-handlebars/package.json
+++ b/superset-frontend/plugins/plugin-chart-handlebars/package.json
@@ -41,7 +41,7 @@
"react-dom": "^16.13.1"
},
"devDependencies": {
- "@types/jest": "^26.0.0",
+ "@types/jest": "^29.5.12",
"@types/lodash": "^4.14.202",
"jest": "^29.7.0"
}