Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 2e899cc
Author: Alok Gupta <alokgupta1560@gmail.com>
Date:   Mon Jul 29 16:12:12 2024 +0530

    chore(documentation) : updated docs for setting up environment variables (#797)

    * Added docs for setting up env variables

    * Updated env docs

commit b06a316
Author: Jason Desrosiers <jdesrosi@gmail.com>
Date:   Mon Jul 29 03:41:28 2024 -0700

    Fix bundling docs bug (#822)

commit 9f65d1e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 29 12:32:33 2024 +0200

    chore(deps): bump @typescript-eslint/eslint-plugin from 6.13.1 to 6.21.0 (#833)

    Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.13.1 to 6.21.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.21.0/packages/eslint-plugin)

    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit f49db67
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 29 12:32:14 2024 +0200

    chore(deps): bump husky from 9.0.11 to 9.1.3 (#834)

    Bumps [husky](https://github.com/typicode/husky) from 9.0.11 to 9.1.3.
    - [Release notes](https://github.com/typicode/husky/releases)
    - [Commits](typicode/husky@v9.0.11...v9.1.3)

    ---
    updated-dependencies:
    - dependency-name: husky
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit f7407b8
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 29 12:31:56 2024 +0200

    chore(deps): bump prettier from 3.2.5 to 3.3.3 (#835)

    Bumps [prettier](https://github.com/prettier/prettier) from 3.2.5 to 3.3.3.
    - [Release notes](https://github.com/prettier/prettier/releases)
    - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
    - [Commits](prettier/prettier@3.2.5...3.3.3)

    ---
    updated-dependencies:
    - dependency-name: prettier
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit acb797e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 29 12:31:30 2024 +0200

    chore(deps): bump axios from 1.6.0 to 1.7.2 (#836)

    Bumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.7.2.
    - [Release notes](https://github.com/axios/axios/releases)
    - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
    - [Commits](axios/axios@v1.6.0...v1.7.2)

    ---
    updated-dependencies:
    - dependency-name: axios
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 753017b
Author: Benjamin Granados <40007659+benjagm@users.noreply.github.com>
Date:   Wed Jul 24 14:15:25 2024 +0200

    New slack redirect

commit 8f099f4
Author: Dhairya Majmudar <124715224+DhairyaMajmudar@users.noreply.github.com>
Date:   Wed Jul 24 13:39:33 2024 +0530

    Feat: Refactoring toc styles (#796)

    * refactoring toc

    * updating es

    * adding heading

    * adding heading

commit 16369d3
Author: Benjamin Granados <40007659+benjagm@users.noreply.github.com>
Date:   Wed Jul 24 09:46:39 2024 +0200

    Add docs help component (#820)

commit a58bd36
Author: Benjamin Granados <40007659+benjagm@users.noreply.github.com>
Date:   Wed Jul 24 09:03:39 2024 +0200

    Web release 3 (#655)

    * Standardize List Display with Card Component (#433) (#460)

    * Standardize List Display with Card Component (#433)

    * Addressed comments, added images, and implemented new styles

    * Increased padding on the x-axis

    * feat: added Faq section (#534)

    * Fix faq

    * Added Case Studies page in Overview Section  (#473)

    * updated UI of blog-page

    * Added Case Studies Page

    * fixed linting errors

    * Added casestudies

    * changing index.page.tsx

    * Delete components/CustomComponent.tsx

    * Delete pages/overview/casestudies.md

    * removed unnecessary changes

    * removed unnecessary files

    * fixed bug

    * removed changes

    * removed unnecessary files

    * Pushing last changes.

    ---------

    Co-authored-by: Benjamin Granados <benjamin.granadosm@gmail.com>

    * feat: added resource section (#509)

    * fixed

    * feat: added resource section

    * feat: added resource section

    * revert changes cd6d848

    * revert changes 65e9f3e

    * revert changes 877b0f0

    * revert changes 74711cd

    * fix: fixed the width issue

    * revert change

    * fix: added resource icon

    * Tiny changes to adjust look and feel.

    * Last changes to fix dark theme

    ---------

    Co-authored-by: Benjamin Granados <benjamin.granadosm@gmail.com>

    * Feat: Add the Newsletter feature to the website.  (#489)

    * initialize the Test directory.

    * Added the subscribe button.

    * Added the subscribe page.

    * Added the newsletter page.

    * changed name to newsletter.

    * removed the unwated code.

    * removed the unwated components.

    * decreased the horizontal width and changed the color.

    * decreased the font size.

    * Added the changes for the newsletter banner.

    * Added the newletter component to landing page.

    * added the color for input.

    * Added the required horizontal padding.

    * Added the required horizontal padding. for newsletter page.

    * Add changes to make it work with mailchimp

    * added the yarn file back.

    * Added yarn.lock file.

    * Update yarn.lock

    * linted the newsletter.tsx

    * linted newsletter

    * fix the index.page

    * Small improvement in page layout.

    * Fix dark theme behavior

    * .

    ---------

    Co-authored-by: AyushNautiyalDeveloper <ayush@betalectic.com>
    Co-authored-by: Benjamin Granados <benjamin.granadosm@gmail.com>

    * Added welcome page (#566)

    * added welcome page

    * Pushed some changes to changes

     - Better location in sidebar
     - Changes to move what is json schema into getting started
     - move page inside overview

    ---------

    Co-authored-by: Benjamin Granados <benjamin.granadosm@gmail.com>

    * Added Use-cases page (#589)

    * added use-cases page, modified card component

    * fix

    * Added some changes to better merge with the dev branch.

    ---------

    Co-authored-by: Benjamin Granados <benjamin.granadosm@gmail.com>

    * Change docs link

    * fix: spacing between buttons  (#575)

    * docs: added definition of json hyper-schema

    * fixed

    * fix: spacing b/w buttons

    * fix: added spacing in mobile design

    * fix: spacing on tablet screen

    * fix: spacing on less than 300px screen

    * community-page (#646)

    * community-page

    * Some final changes for the community page

    ---------

    Co-authored-by: Benjamin Granados <benjamin.granadosm@gmail.com>

    * Update Sidebar.tsx

    * Add resources file

    * Update Sidebar.tsx

    * Update case-studies.json

    * Text colours for dark theme

    * New version of the implementers page

    * Feat: Replacing Axios to fs fetching in resources page (#657)

    * cleaning

    * changing axios to fs

    * Remove articles from sidebar

    ---------

    Co-authored-by: Benjamin Granados <benjamin.granadosm@gmail.com>

    * Improve Case Studies and Use Cases welcome messages

    * adding codeowners

    * Fixing bugs and adding back lost files

    * fix sidebar dropdown for FAQ

    * community page major changes and faq bug fix

    * community page bug fixes and responsive issues in several pages

    * Update index.page.tsx (#684)

    * Update index.page.tsx

    Edited the placeholder texts for the welcome page.

    * fixed lint error

    * Edited wordings for the Welcome page of release 3

    * Update pages/overview/welcome/index.page.tsx

    Co-authored-by: Benjamin Granados <40007659+benjagm@users.noreply.github.com>

    * Update pages/overview/welcome/index.page.tsx

    Co-authored-by: Benjamin Granados <40007659+benjagm@users.noreply.github.com>

    * Remove data duplication and fix intro text

    ---------

    Co-authored-by: Benjamin Granados <40007659+benjagm@users.noreply.github.com>
    Co-authored-by: Benjamin Granados <benjamin.granadosm@gmail.com>

    * Feat: Removing resources and newletter from web-release-3 branch (#698)

    * removing newsletter

    * removing resources

    * removing resources.yml file

    * removing resources from welcomee page

    ---------

    Co-authored-by: Benjamin Granados <40007659+benjagm@users.noreply.github.com>

    * case-studies bug fix and hover delay fix

    * adding ts comment

    * Small corrections

    * Update blogs link

    * Ambassadors button aligned to the left

    * Feat: Fixing responsive bugs from community page

    * community page bug fixes

    * Added uses cases texts

    * Last changes to use-cases

    * Add html to the use cases definition

    * feat:adding html parser for use-cases page

    * removing links from images

    * improved FAQ description text (#709)

    * improved FAQ description text

    * Updated FAQ general questions

    * Updated FAQ description text for fix one-sentence bug

    * Update data/faq.json

    Co-authored-by: Benjamin Granados <40007659+benjagm@users.noreply.github.com>

    * Update data/faq.json

    Co-authored-by: Benjamin Granados <40007659+benjagm@users.noreply.github.com>

    * Update data/faq.json

    Co-authored-by: Benjamin Granados <40007659+benjagm@users.noreply.github.com>

    * Update pages/overview/faq/index.page.tsx

    ---------

    Co-authored-by: Benjamin Granados <40007659+benjagm@users.noreply.github.com>

    * Improvement for case studies

    * merge confilts

    * removing merge conflicts

    * Fix:community card gap

    * Align with main branch

    * Align with main branch

    * Align with main branch

    * Update pages/overview/what-is-jsonschema.md

    Co-authored-by: Ben Hutton <relequestual@gmail.com>

    * Remove welcome data file

    * Move welcome outside overview section

    * Change welcome text

    * Feat: Replaced axios with fetch

    * moved path to function

    * Updating community filters

    * Update pages/community/index.page.tsx

    Co-authored-by: Ben Hutton <relequestual@gmail.com>

    * Fix the menu links

    * Update the JSON Schema calendar link

    * Change ambassadors image

    ---------

    Co-authored-by: Michael Obubelebra Amachree <amachree9630@gmail.com>
    Co-authored-by: Akshay Bagai <100753870+Akshaybagai52@users.noreply.github.com>
    Co-authored-by: Tamanna <96949249+TamannaVerma99@users.noreply.github.com>
    Co-authored-by: Ayush Nautiyal <78146753+ayushnau@users.noreply.github.com>
    Co-authored-by: AyushNautiyalDeveloper <ayush@betalectic.com>
    Co-authored-by: VivekJaiswal18 <96608169+VivekJaiswal18@users.noreply.github.com>
    Co-authored-by: Neeraj Saini <118799941+officeneerajsaini@users.noreply.github.com>
    Co-authored-by: Dhairya Majmudar <124715224+DhairyaMajmudar@users.noreply.github.com>
    Co-authored-by: Dhairya Majmudar <2022kuec2045@iiitkota.ac.in>
    Co-authored-by: Blessing Ene Anyebe <60541622+kwennB@users.noreply.github.com>
    Co-authored-by: Ben Hutton <relequestual@gmail.com>

commit aacf741
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Jul 24 08:41:05 2024 +0200

    chore(deps): bump @docsearch/react from 3.5.2 to 3.6.1 (#811)

    Bumps [@docsearch/react](https://github.com/algolia/docsearch) from 3.5.2 to 3.6.1.
    - [Release notes](https://github.com/algolia/docsearch/releases)
    - [Changelog](https://github.com/algolia/docsearch/blob/main/CHANGELOG.md)
    - [Commits](algolia/docsearch@v3.5.2...v3.6.1)

    ---
    updated-dependencies:
    - dependency-name: "@docsearch/react"
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit c90385b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Jul 24 08:40:47 2024 +0200

    chore(deps): bump @types/react-syntax-highlighter (#812)

    Bumps [@types/react-syntax-highlighter](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-syntax-highlighter) from 15.5.10 to 15.5.13.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-syntax-highlighter)

    ---
    updated-dependencies:
    - dependency-name: "@types/react-syntax-highlighter"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit e78dfaf
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Jul 24 08:40:27 2024 +0200

    chore(deps): bump eslint-plugin-n from 16.3.1 to 16.6.2 (#810)

    Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 16.3.1 to 16.6.2.
    - [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
    - [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md)
    - [Commits](eslint-community/eslint-plugin-n@16.3.1...16.6.2)

    ---
    updated-dependencies:
    - dependency-name: eslint-plugin-n
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 674943c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Jul 24 08:40:03 2024 +0200

    chore(deps): bump Renato66/auto-label from 3.0.0 to 3.1.0 (#809)

    Bumps [Renato66/auto-label](https://github.com/renato66/auto-label) from 3.0.0 to 3.1.0.
    - [Release notes](https://github.com/renato66/auto-label/releases)
    - [Commits](Renato66/auto-label@v3.0.0...v3.1.0)

    ---
    updated-dependencies:
    - dependency-name: Renato66/auto-label
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 4d947f5
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Jul 24 08:39:35 2024 +0200

    chore(deps): bump eslint-plugin-react from 7.33.2 to 7.35.0 (#813)

    Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.33.2 to 7.35.0.
    - [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
    - [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
    - [Commits](jsx-eslint/eslint-plugin-react@v7.33.2...v7.35.0)

    ---
    updated-dependencies:
    - dependency-name: eslint-plugin-react
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit af4ba88
Author: Benjamin Granados <40007659+benjagm@users.noreply.github.com>
Date:   Mon Jul 22 14:04:44 2024 +0200

    Add new sponsors (#814)

commit 71a18df
Author: Alok Gupta <alokgupta1560@gmail.com>
Date:   Tue Jul 16 22:08:08 2024 +0530

    Chore(github-actions) : add CI/CD workflows guidelines and improve naming conventions (#789)

    * chore(ci.yml) improve naming of ci.yml workflow

    * chore(issue.yml) : improve workflow steps, jobs name for better clarity and consistency

    * chore(link.yml & pr_target.yml) : Improve docs

    * renamed links.yml and stale.yml

    * Added workflow guidelines documentation

commit 10bb5d4
Author: Juan Cruz Viotti <jv@jviotti.com>
Date:   Tue Jul 16 12:35:24 2024 -0400

    Add JSON Toolkit as a C++ implementation (#761)

    Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>

commit a842501
Author: Zeel Rajodiya <jeelrajodiyajeel@gmail.com>
Date:   Tue Jul 16 22:04:47 2024 +0530

    Enchantment Dark Mode Toggle shows a popup  (#735)

    * Refactor DarkModeToggle component to include a
    theme selection dropdown

    * Refactor DarkModeToggle component to include a
    theme selection dropdown

    Fix dark mode toggle icon rendering issue

commit eda0dcf
Author: Joost Holslag <joostholslag@users.noreply.github.com>
Date:   Tue Jul 16 18:31:38 2024 +0200

    remove trailing comma from getting-started-step-by-step.md (#800)

commit 8f18c3a
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jul 16 18:29:22 2024 +0200

    chore(deps): bump react and @types/react (#744)

    Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together.

    Updates `react` from 18.2.0 to 18.3.1
    - [Release notes](https://github.com/facebook/react/releases)
    - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react)

    Updates `@types/react` from 18.2.37 to 18.3.3
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

    ---
    updated-dependencies:
    - dependency-name: react
      dependency-type: direct:production
      update-type: version-update:semver-minor
    - dependency-name: "@types/react"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Benjamin Granados <40007659+benjagm@users.noreply.github.com>

commit fa59c06
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jul 16 16:27:55 2024 +0200

    chore(deps): bump next from 14.1.1 to 14.2.5 (#794)

    Bumps [next](https://github.com/vercel/next.js) from 14.1.1 to 14.2.5.
    - [Release notes](https://github.com/vercel/next.js/releases)
    - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
    - [Commits](vercel/next.js@v14.1.1...v14.2.5)

    ---
    updated-dependencies:
    - dependency-name: next
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 43e3654
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jul 16 16:27:03 2024 +0200

    chore(deps): bump @types/node from 20.10.1 to 20.14.10 (#798)

    Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.1 to 20.14.10.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

    ---
    updated-dependencies:
    - dependency-name: "@types/node"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit d30dd69
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jul 16 16:26:31 2024 +0200

    chore(deps): bump markdown-to-jsx from 7.3.2 to 7.4.7 (#799)

    Bumps [markdown-to-jsx](https://github.com/quantizor/markdown-to-jsx) from 7.3.2 to 7.4.7.
    - [Release notes](https://github.com/quantizor/markdown-to-jsx/releases)
    - [Changelog](https://github.com/quantizor/markdown-to-jsx/blob/main/CHANGELOG.md)
    - [Commits](quantizor/markdown-to-jsx@v7.3.2...v7.4.7)

    ---
    updated-dependencies:
    - dependency-name: markdown-to-jsx
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 605bbb3
Author: Alok Gupta <alokgupta1560@gmail.com>
Date:   Tue Jul 16 19:19:49 2024 +0530

    Added two workflows for fetching contributor and project roadmap data (#781)

    * github-actions : added sync.contributors.yml

    * github-actions : Added sync-project-roadmap.yml

commit e9d84d0
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Jul 11 08:21:52 2024 +0200

    chore(deps): bump next-themes from 0.2.1 to 0.3.0 (#743)

    Bumps [next-themes](https://github.com/pacocoursey/next-themes) from 0.2.1 to 0.3.0.
    - [Release notes](https://github.com/pacocoursey/next-themes/releases)
    - [Commits](https://github.com/pacocoursey/next-themes/commits/v0.3.0)

    ---
    updated-dependencies:
    - dependency-name: next-themes
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit f7b499e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Jul 11 08:21:38 2024 +0200

    chore(deps): bump actions/github-script from 6 to 7 (#740)

    Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
    - [Release notes](https://github.com/actions/github-script/releases)
    - [Commits](actions/github-script@v6...v7)

    ---
    updated-dependencies:
    - dependency-name: actions/github-script
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 81de1e4
Author: Benjamin Granados <40007659+benjagm@users.noreply.github.com>
Date:   Mon Jul 8 17:25:06 2024 +0200

    Add new sopnsor (#793)

commit 2b5b44e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 8 11:03:58 2024 +0200

    chore(deps): bump eslint-plugin-promise from 6.1.1 to 6.4.0 (#787)

    Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 6.1.1 to 6.4.0.
    - [Release notes](https://github.com/eslint-community/eslint-plugin-promise/releases)
    - [Changelog](https://github.com/eslint-community/eslint-plugin-promise/blob/main/CHANGELOG.md)
    - [Commits](eslint-community/eslint-plugin-promise@v6.1.1...v6.4.0)

    ---
    updated-dependencies:
    - dependency-name: eslint-plugin-promise
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit ae2a377
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 8 11:02:13 2024 +0200

    chore(deps): bump Renato66/auto-label from 2.3.0 to 3.0.0 (#788)

    Bumps [Renato66/auto-label](https://github.com/renato66/auto-label) from 2.3.0 to 3.0.0.
    - [Release notes](https://github.com/renato66/auto-label/releases)
    - [Commits](Renato66/auto-label@v2.3.0...v3.0.0)

    ---
    updated-dependencies:
    - dependency-name: Renato66/auto-label
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 7241449
Author: Tabah Baridule M <dulemartins07@gmail.com>
Date:   Wed Jun 26 16:56:00 2024 +0100

    Update pages/understanding-json-schema/structuring.md

    Co-authored-by: Jason Desrosiers <jdesrosi@gmail.com>

commit bd7ddb2
Author: Tabah Baridule M. <dulemartins07@gmail.com>
Date:   Tue Jun 25 15:51:14 2024 +0100

    Update structuring.md

commit 3a29a33
Author: Tabah Baridule M. <dulemartins07@gmail.com>
Date:   Tue Jun 25 15:49:36 2024 +0100

    The URI-references without fragment was remove

commit 43dd3f9
Author: Tabah Baridule M. <dulemartins07@gmail.com>
Date:   Mon Apr 22 18:00:34 2024 +0100

    Updated the `$id` and included a Draft-specific info box section
  • Loading branch information
benjagm committed Jul 29, 2024
1 parent 5081742 commit 0465124
Show file tree
Hide file tree
Showing 129 changed files with 3,347 additions and 512 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
## JSON Schema Website CI/CD Workflow Guidelines

### Overview

This document outlines the guidelines for contributing to and maintaining GitHub Actions workflows in the JSON Schema Website project. Adherence to these guidelines ensures consistency, efficiency, and ease of maintenance across our CI/CD processes.

### General Principles

- **Change Management**: Modifications to files in this directory are closely monitored. Changes will trigger unauthorized file changes workflow during pull request checks. Only make changes when explicitly advised by a project contributor or maintainer.
- **Documentation and Naming**: Use descriptive, self-explanatory names for workflows, jobs, and steps. Include clear comments within workflow files to explain complex configurations.

### YAML Workflow File Structure

Our YAML files are organized based on specific roles and event triggers. When creating or modifying workflows, ensure that:
- The file roles described below are strictly maintained.
- Job sequences within workflows are preserved using [GitHub Action job dependencies](https://docs.github.com/en/actions/using-workflows/using-jobs-in-a-workflow#defining-prerequisite-jobs).

### File Categorization

Organize workflow files based on their primary event trigger:

- **Issue Workflows**:
- [Issue Workflow](./issue.yml): Handles issue-related events such as opening, closing, or labeling issues.

- **Pull Request Workflows**:
- [CI Workflow](./ci.yml): Runs for all contributors on pull requests, performing code-quality checks, unauthorized file changes detection, and build processes.
- [PR Interaction Workflow](./pull-request-target.yml): Contains workflows specifically for first-time contributors, such as welcome messages.

### Exceptions to File Categorization

Separate files may be created for workflows that:

- Require unique `cron` schedules for periodic execution.
Examples:
- [Link Checker](./link-checker.yml): Periodically checks for broken links in the repository.
- [Mark stale issues and pull requests](./stale-issues-prs.yml): Automatically labels and closes stale issues and PRs.
- [Dependabot](../dependabot.yml): Keeps dependencies up-to-date.

- Need specific `paths` triggers, activating only when files in particular directories are modified.
Example:
- [New Implementation Commenter](./new-implementation.yml): Adds comments when new implementation files are added.

- Only work correctly if they have a dedicated file.
Examples:
- [Preview Deployment](./preview-deployment.yml): Deploys preview environments for pull requests.
- [Production Deployment](./production-deployment.yml): Handles production deployments.
- [CodeQL Code Scanning](./codeql.yml): Performs code security analysis.
- [Check PR Dependencies](./pr-dependencies.yml): Enforces dependencies between PRs based on opening comments.

### Workflow Maintenance

To ensure the efficiency and reliability of our workflows, follow these maintenance guidelines:

- **Regular Review**: Review and update workflows at least quarterly to incorporate new features or best practices.
- **Dependency Updates**: Keep workflow dependencies up-to-date by reviewing and applying Dependabot suggestions promptly.
- **Documentation**: Update workflow documentation immediately after any changes or modifications to keep it current.
- **Performance Monitoring**: Regularly check workflow run times and optimize where possible to reduce GitHub Actions usage.
- **Security Checks**: Ensure that workflows using secrets or accessing sensitive data are properly secured and follow least privilege principles.

These guidelines aim to maintain the integrity and efficiency of our CI/CD processes. Always consult with the team before making significant changes to any workflow.
12 changes: 6 additions & 6 deletions .github/workflows/pull-request.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: PR Workflow
name: CI
on:
pull_request:
types: [opened, reopened, synchronize]

jobs:
linting_and_type-checking:
name: Linting, Formatting and Type checking
code-quality-checks:
name: Code Quality Checks
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -44,8 +44,8 @@ jobs:
- name: Type checking
run: yarn run typecheck

Check-Unauthorized-File-Changes:
name: Checks if no unauthorized files are changed
check-unauthorized-file-changes:
name: Check Unauthorized File Changes
if: ${{github.actor != 'dependabot[bot]'}}
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -94,8 +94,8 @@ jobs:
build:
name: Build check
needs: code-quality-checks
runs-on: ubuntu-latest
needs: linting_and_type-checking
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@ on:
types: ['opened']

jobs:
Issue-Labeler:
name: Adding Label to issue
runs-on: ubuntu-latest
steps:
- uses: Renato66/auto-label@v2.3.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ignore-comments: true
default-labels: '["Status: Triage"]'
issue-labeler:
name: Adding Label to Issue
runs-on: ubuntu-latest
steps:
- name: Auto Label Issue
uses: Renato66/auto-label@v3.1.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ignore-comments: true
default-labels: '["Status: Triage"]'

Issue-Greeting:
name: Greeting Message to User
runs-on: ubuntu-latest
steps:
- name: Greeting Message to User
uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Welcome to the [JSON Schema](https://json-schema.org/) Community. We are so excited you are here! Thanks a lot for reporting your first issue!! 🎉🎉 Please make sure to take a look to our [contributors guide](https://github.com/json-schema-org/website/blob/main/CONTRIBUTING.md) if you plan on opening a pull request.
For more details check out [README.md](https://github.com/json-schema-org/website?tab=readme-ov-file#-welcome-to-the-json-schema-website) file.
issue-greeting:
name: Greeting Message to User
runs-on: ubuntu-latest
steps:
- name: Send Greeting Message
uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Welcome to the [JSON Schema](https://json-schema.org/) Community. We are so excited you are here! Thanks a lot for reporting your first issue!! 🎉🎉 Please make sure to take a look at our [contributors guide](https://github.com/json-schema-org/website/blob/main/CONTRIBUTING.md) if you plan on opening a pull request.
For more details, check out the [README.md](https://github.com/json-schema-org/website?tab=readme-ov-file#-welcome-to-the-json-schema-website) file.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
linkChecker:
name: Check and Report Broken Links
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/new-implementation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
pull-requests: write

steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-target.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Pull Request Target Workflow
name: PR Interaction Workflow

on:
pull_request_target:
Expand Down
File renamed without changes.
59 changes: 59 additions & 0 deletions .github/workflows/sync-contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name : Sync Contributors Data

on:
schedule: # Run sunday at midnight every week
- cron: '0 0 * * 0'
workflow_dispatch:

jobs:
sync-contributors-data:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Get Token
uses: actions/create-github-app-token@v1
id: get_workflow_token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}

- name: Fetch Contributors data
uses: actions/github-script@v7
env:
ORGS: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
with:
github-token: ${{ steps.get_workflow_token.outputs.token }}
script: |
const fs = require('fs');
let data = await github.paginate(github.rest.repos.listContributors, {
owner: process.env.ORGS,
repo: process.env.REPO,
per_page: 100,
headers: {
"X-GitHub-Api-Version": "2022-11-28",
},
});
// Filter the data to get only the required fields
data = data.map(({ login, id, avatar_url, html_url }) =>
({ login, id, avatar_url, html_url }));
// Store the data in a file
fs.writeFileSync('community.json', JSON.stringify(data, null, 2));
- name: Commit changes
env:
GITHUB_APP_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
run: |
git config user.name "the-json-schema-bot[bot]"
git config user.email "the-json-schema-bot[bot]@users.noreply.github.com"
git add community.json
git diff --quiet && git diff --staged --quiet || (git commit -m "chore(community): update community.json" && git push "https://x-access-token:${GITHUB_APP_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" HEAD:${GITHUB_REF#refs/heads/})
100 changes: 100 additions & 0 deletions .github/workflows/sync-project-roadmap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name : Sync Project Roadmap Data

on:
schedule: # Run sundat at 00:05 every week
- cron: '5 0 * * 0'
workflow_dispatch:

jobs:
sync-roadmap-data:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Get Token
uses: actions/create-github-app-token@v1
id: get_workflow_token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}

# fetch project data and store it in a file
- name: Fetch project data
env:
GH_TOKEN: ${{ steps.get_workflow_token.outputs.token }} # GitHub App token stored in secrets
PROJECT_ID: ${{vars.ROADMAP_PROJECT_ID}} # Project ID
run: |
gh api graphql -f query='
query($PROJECT_ID : ID!) {
node(id: $PROJECT_ID) {
... on ProjectV2 {
items(first: 20) {
nodes {
id
fieldValues(first: 8) {
nodes {
... on ProjectV2ItemFieldTextValue {
text
field {
... on ProjectV2FieldCommon {
name
}
}
}
... on ProjectV2ItemFieldDateValue {
date
field {
... on ProjectV2FieldCommon {
name
}
}
}
... on ProjectV2ItemFieldSingleSelectValue {
name
field {
... on ProjectV2FieldCommon {
name
}
}
}
}
}
content {
... on DraftIssue {
title
body
}
... on Issue {
title
assignees(first: 10) {
nodes {
login
}
}
}
... on PullRequest {
title
assignees(first: 10) {
nodes {
login
}
}
}
}
}
}
}
}
}' -f PROJECT_ID=$PROJECT_ID | jq '.data.node.items.nodes' > project_data.json
# commit updated project data
- name: Commit changes
env:
GITHUB_APP_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
run: |
git config user.name "the-json-schema-bot[bot]"
git config user.email "the-json-schema-bot[bot]@users.noreply.github.com"
git add project_data.json
git diff --quiet && git diff --staged --quiet || (git commit -m "chore(project_data): update project_data.json" && git push "https://x-access-token:${GITHUB_APP_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" HEAD:${GITHUB_REF#refs/heads/})
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,19 @@ git submodule init
git submodule update
```

### Setup Enviroment Variables

1. Create a new `.env` file by copying the contents of the `.env.example` into `.env` file. Use this command:
```
cp .env.example .env
```
2. Open .env and fill in your actual values for each variable.

3. Save the file.

4. Ensure .env is in your .gitignore.


#### Install dependencies

Install dependencies
Expand Down
Loading

0 comments on commit 0465124

Please sign in to comment.