Skip to content

Commit

Permalink
Merge branch 'main' into dsw-2324-update-overview-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
raoufswe authored Nov 19, 2024
2 parents 2add587 + 8a4c425 commit b5faa8f
Show file tree
Hide file tree
Showing 49 changed files with 659 additions and 259 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-mugs-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@justeattakeaway/pie-cookie-banner': minor
---

[Update] Set the default language for Begium to Dutch
51 changes: 51 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
ignore:
- dependency-name: "*"
update-types: ['version-update:semver-major']
open-pull-requests-limit: 3
commit-message:
prefix: "deps(npm): DSW-000 update"
groups:
babel:
patterns:
- "@babel/*"
- "babel-*"
justeattakeaway:
patterns:
- "@justeat/*"
- "@justeattakeaway/*"
percy:
patterns:
- "@axe-core/playwright"
- "@percy/*"
- "@playwright/*"
- "@sand4rt/experimental-ct-web/*"
vitest:
patterns:
- "vitest-*"
- "@vitest"
eleventy:
patterns:
- "@11ty/*"
- "eleventy-*"
storybook:
patterns:
- "@storybook/*"
- "storybook"

- package-ecosystem: "github-actions"
directory: ".github/workflows"
schedule:
interval: "weekly"
ignore:
- dependency-name: "*"
update-types: ['version-update:semver-major']
open-pull-requests-limit: 3
commit-message:
prefix: "deps(github-actions): DSW-000 update"
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,21 @@ env:

jobs:
dependency-changeset:
if: github.actor == 'renovate-bot' || github.actor == 'renovate[bot]'
uses: the-guild-org/shared-config/.github/workflows/changesets-dependencies.yaml@main
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- name: Add Changeset to PR
uses: StafflinePeoplePlus/dependabot-changesets@4844c33bad364143ee39ef4150c60409f306ed21 # v0.1.5
with:
owner: ${{ github.repository_owner }}
repo: ${{ github.repository }}
pr-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.CHANGESETS_TOKEN }}

check-change-type:
name: Get change type
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dangerjs-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
danger-checks:
permissions:
contents: read
if: ${{ github.event.pull_request.draft == false && github.actor != 'renovate-bot' && github.actor != 'renovate[bot]' }}
if: ${{ github.event.pull_request.draft == false && github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
# Checkout the Repo
Expand Down
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"github.vscode-pull-request-github",
"jamiemaguire.pie-design-system-vscode-prototype",
"ms-playwright.playwright",
"redhat.vscode-yaml",
"unem.lit-plugin",
"yoavbls.pretty-ts-errors"
]
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
<a href="https://opensource.org/licenses/Apache-2.0">
<img alt="Apache 2.0. license" src="https://img.shields.io/badge/License-Apache_2.0-blue.svg">
</a>
<a href="https://renovatebot.com/">
<img alt="Renovate status" src="https://img.shields.io/badge/renovate-enabled-brightgreen.svg">
</a>
<img alt="Libraries.io dependency status for GitHub repo" src="https://img.shields.io/librariesio/github/justeattakeaway/pie">
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/justeattakeaway/pie?style=social">
<img alt="GitHub watchers" src="https://img.shields.io/github/watchers/justeattakeaway/pie?style=social">
Expand Down
2 changes: 1 addition & 1 deletion apps/pie-docs/src/_11ty/shortcodes/indexPageDisplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const indexPageDisplay = ({
const hasMobileSource = fs.existsSync(path.join(__dirname, imgMobileSrc));

const throwOnMissingImage = () => {
throw new Error(`Image not provided for ${menuItemSlug}. Please ensure image is provided or add this item to ExcludedElements.`);
throw new Error(`Image not provided for ${menuItemSlug}. Please ensure image is provided or add this item to ExcludedElements. Expected path: ${imgSrc}`);
};

return `
Expand Down
39 changes: 39 additions & 0 deletions apps/pie-docs/src/assets/img/components/radio-group/anatomy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions apps/pie-docs/src/assets/img/components/radio-group/ltr.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b5faa8f

Please sign in to comment.