Skip to content

Commit 0465124

Browse files
committed
Squashed commit of the following:
commit 2e899cc Author: Alok Gupta <[email protected]> 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 <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 753017b Author: Benjamin Granados <[email protected]> Date: Wed Jul 24 14:15:25 2024 +0200 New slack redirect commit 8f099f4 Author: Dhairya Majmudar <[email protected]> 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 <[email protected]> Date: Wed Jul 24 09:46:39 2024 +0200 Add docs help component (#820) commit a58bd36 Author: Benjamin Granados <[email protected]> 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Benjamin Granados <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * Update pages/overview/welcome/index.page.tsx Co-authored-by: Benjamin Granados <[email protected]> * Remove data duplication and fix intro text --------- Co-authored-by: Benjamin Granados <[email protected]> Co-authored-by: Benjamin Granados <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * Update data/faq.json Co-authored-by: Benjamin Granados <[email protected]> * Update data/faq.json Co-authored-by: Benjamin Granados <[email protected]> * Update pages/overview/faq/index.page.tsx --------- Co-authored-by: Benjamin Granados <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * Fix the menu links * Update the JSON Schema calendar link * Change ambassadors image --------- Co-authored-by: Michael Obubelebra Amachree <[email protected]> Co-authored-by: Akshay Bagai <[email protected]> Co-authored-by: Tamanna <[email protected]> Co-authored-by: Ayush Nautiyal <[email protected]> Co-authored-by: AyushNautiyalDeveloper <[email protected]> Co-authored-by: VivekJaiswal18 <[email protected]> Co-authored-by: Neeraj Saini <[email protected]> Co-authored-by: Dhairya Majmudar <[email protected]> Co-authored-by: Dhairya Majmudar <[email protected]> Co-authored-by: Blessing Ene Anyebe <[email protected]> Co-authored-by: Ben Hutton <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit af4ba88 Author: Benjamin Granados <[email protected]> Date: Mon Jul 22 14:04:44 2024 +0200 Add new sponsors (#814) commit 71a18df Author: Alok Gupta <[email protected]> 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 <[email protected]> Date: Tue Jul 16 12:35:24 2024 -0400 Add JSON Toolkit as a C++ implementation (#761) Signed-off-by: Juan Cruz Viotti <[email protected]> commit a842501 Author: Zeel Rajodiya <[email protected]> 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 <[email protected]> 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Benjamin Granados <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 605bbb3 Author: Alok Gupta <[email protected]> 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] <[email protected]> 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 81de1e4 Author: Benjamin Granados <[email protected]> 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] <[email protected]> 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 7241449 Author: Tabah Baridule M <[email protected]> Date: Wed Jun 26 16:56:00 2024 +0100 Update pages/understanding-json-schema/structuring.md Co-authored-by: Jason Desrosiers <[email protected]> commit bd7ddb2 Author: Tabah Baridule M. <[email protected]> Date: Tue Jun 25 15:51:14 2024 +0100 Update structuring.md commit 3a29a33 Author: Tabah Baridule M. <[email protected]> Date: Tue Jun 25 15:49:36 2024 +0100 The URI-references without fragment was remove commit 43dd3f9 Author: Tabah Baridule M. <[email protected]> Date: Mon Apr 22 18:00:34 2024 +0100 Updated the `$id` and included a Draft-specific info box section
1 parent 5081742 commit 0465124

File tree

129 files changed

+3347
-512
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+3347
-512
lines changed

.github/workflows/README.md

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
## JSON Schema Website CI/CD Workflow Guidelines
2+
3+
### Overview
4+
5+
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.
6+
7+
### General Principles
8+
9+
- **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.
10+
- **Documentation and Naming**: Use descriptive, self-explanatory names for workflows, jobs, and steps. Include clear comments within workflow files to explain complex configurations.
11+
12+
### YAML Workflow File Structure
13+
14+
Our YAML files are organized based on specific roles and event triggers. When creating or modifying workflows, ensure that:
15+
- The file roles described below are strictly maintained.
16+
- 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).
17+
18+
### File Categorization
19+
20+
Organize workflow files based on their primary event trigger:
21+
22+
- **Issue Workflows**:
23+
- [Issue Workflow](./issue.yml): Handles issue-related events such as opening, closing, or labeling issues.
24+
25+
- **Pull Request Workflows**:
26+
- [CI Workflow](./ci.yml): Runs for all contributors on pull requests, performing code-quality checks, unauthorized file changes detection, and build processes.
27+
- [PR Interaction Workflow](./pull-request-target.yml): Contains workflows specifically for first-time contributors, such as welcome messages.
28+
29+
### Exceptions to File Categorization
30+
31+
Separate files may be created for workflows that:
32+
33+
- Require unique `cron` schedules for periodic execution.
34+
Examples:
35+
- [Link Checker](./link-checker.yml): Periodically checks for broken links in the repository.
36+
- [Mark stale issues and pull requests](./stale-issues-prs.yml): Automatically labels and closes stale issues and PRs.
37+
- [Dependabot](../dependabot.yml): Keeps dependencies up-to-date.
38+
39+
- Need specific `paths` triggers, activating only when files in particular directories are modified.
40+
Example:
41+
- [New Implementation Commenter](./new-implementation.yml): Adds comments when new implementation files are added.
42+
43+
- Only work correctly if they have a dedicated file.
44+
Examples:
45+
- [Preview Deployment](./preview-deployment.yml): Deploys preview environments for pull requests.
46+
- [Production Deployment](./production-deployment.yml): Handles production deployments.
47+
- [CodeQL Code Scanning](./codeql.yml): Performs code security analysis.
48+
- [Check PR Dependencies](./pr-dependencies.yml): Enforces dependencies between PRs based on opening comments.
49+
50+
### Workflow Maintenance
51+
52+
To ensure the efficiency and reliability of our workflows, follow these maintenance guidelines:
53+
54+
- **Regular Review**: Review and update workflows at least quarterly to incorporate new features or best practices.
55+
- **Dependency Updates**: Keep workflow dependencies up-to-date by reviewing and applying Dependabot suggestions promptly.
56+
- **Documentation**: Update workflow documentation immediately after any changes or modifications to keep it current.
57+
- **Performance Monitoring**: Regularly check workflow run times and optimize where possible to reduce GitHub Actions usage.
58+
- **Security Checks**: Ensure that workflows using secrets or accessing sensitive data are properly secured and follow least privilege principles.
59+
60+
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.

.github/workflows/pull-request.yml renamed to .github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: PR Workflow
1+
name: CI
22
on:
33
pull_request:
44
types: [opened, reopened, synchronize]
55

66
jobs:
7-
linting_and_type-checking:
8-
name: Linting, Formatting and Type checking
7+
code-quality-checks:
8+
name: Code Quality Checks
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout repository
@@ -44,8 +44,8 @@ jobs:
4444
- name: Type checking
4545
run: yarn run typecheck
4646

47-
Check-Unauthorized-File-Changes:
48-
name: Checks if no unauthorized files are changed
47+
check-unauthorized-file-changes:
48+
name: Check Unauthorized File Changes
4949
if: ${{github.actor != 'dependabot[bot]'}}
5050
runs-on: ubuntu-latest
5151
steps:
@@ -94,8 +94,8 @@ jobs:
9494
9595
build:
9696
name: Build check
97+
needs: code-quality-checks
9798
runs-on: ubuntu-latest
98-
needs: linting_and_type-checking
9999
steps:
100100
- name: Checkout repository
101101
uses: actions/checkout@v4

.github/workflows/issue.yml

+21-21
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ on:
55
types: ['opened']
66

77
jobs:
8-
Issue-Labeler:
9-
name: Adding Label to issue
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: Renato66/[email protected]
13-
with:
14-
repo-token: ${{ secrets.GITHUB_TOKEN }}
15-
ignore-comments: true
16-
default-labels: '["Status: Triage"]'
8+
issue-labeler:
9+
name: Adding Label to Issue
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Auto Label Issue
13+
uses: Renato66/[email protected]
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
ignore-comments: true
17+
default-labels: '["Status: Triage"]'
1718

18-
Issue-Greeting:
19-
name: Greeting Message to User
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Greeting Message to User
23-
uses: actions/first-interaction@v1
24-
with:
25-
repo-token: ${{ secrets.GITHUB_TOKEN }}
26-
issue-message: |
27-
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.
28-
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.
29-
19+
issue-greeting:
20+
name: Greeting Message to User
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Send Greeting Message
24+
uses: actions/first-interaction@v1
25+
with:
26+
repo-token: ${{ secrets.GITHUB_TOKEN }}
27+
issue-message: |
28+
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.
29+
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.

.github/workflows/links.yml renamed to .github/workflows/link-checker.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
linkChecker:
11+
name: Check and Report Broken Links
1112
runs-on: ubuntu-latest
1213
steps:
1314
- name: Checkout Repository

.github/workflows/new-implementation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
pull-requests: write
2222

2323
steps:
24-
- uses: actions/github-script@v6
24+
- uses: actions/github-script@v7
2525
with:
2626
script: |
2727
github.rest.issues.createComment({

.github/workflows/pull-request-target.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pull Request Target Workflow
1+
name: PR Interaction Workflow
22

33
on:
44
pull_request_target:
File renamed without changes.
+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name : Sync Contributors Data
2+
3+
on:
4+
schedule: # Run sunday at midnight every week
5+
- cron: '0 0 * * 0'
6+
workflow_dispatch:
7+
8+
jobs:
9+
sync-contributors-data:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v4
14+
15+
- name: Get Token
16+
uses: actions/create-github-app-token@v1
17+
id: get_workflow_token
18+
with:
19+
app-id: ${{ vars.APP_ID }}
20+
private-key: ${{ secrets.PRIVATE_KEY }}
21+
22+
- name: Fetch Contributors data
23+
uses: actions/github-script@v7
24+
env:
25+
ORGS: ${{ github.repository_owner }}
26+
REPO: ${{ github.event.repository.name }}
27+
with:
28+
github-token: ${{ steps.get_workflow_token.outputs.token }}
29+
script: |
30+
const fs = require('fs');
31+
32+
let data = await github.paginate(github.rest.repos.listContributors, {
33+
owner: process.env.ORGS,
34+
repo: process.env.REPO,
35+
per_page: 100,
36+
headers: {
37+
"X-GitHub-Api-Version": "2022-11-28",
38+
},
39+
});
40+
41+
// Filter the data to get only the required fields
42+
data = data.map(({ login, id, avatar_url, html_url }) =>
43+
({ login, id, avatar_url, html_url }));
44+
45+
// Store the data in a file
46+
fs.writeFileSync('community.json', JSON.stringify(data, null, 2));
47+
48+
- name: Commit changes
49+
env:
50+
GITHUB_APP_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
51+
run: |
52+
git config user.name "the-json-schema-bot[bot]"
53+
git config user.email "the-json-schema-bot[bot]@users.noreply.github.com"
54+
git add community.json
55+
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/})
56+
57+
58+
59+
+100
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
name : Sync Project Roadmap Data
2+
3+
on:
4+
schedule: # Run sundat at 00:05 every week
5+
- cron: '5 0 * * 0'
6+
workflow_dispatch:
7+
8+
jobs:
9+
sync-roadmap-data:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Get Token
16+
uses: actions/create-github-app-token@v1
17+
id: get_workflow_token
18+
with:
19+
app-id: ${{ vars.APP_ID }}
20+
private-key: ${{ secrets.PRIVATE_KEY }}
21+
22+
# fetch project data and store it in a file
23+
- name: Fetch project data
24+
env:
25+
GH_TOKEN: ${{ steps.get_workflow_token.outputs.token }} # GitHub App token stored in secrets
26+
PROJECT_ID: ${{vars.ROADMAP_PROJECT_ID}} # Project ID
27+
run: |
28+
gh api graphql -f query='
29+
query($PROJECT_ID : ID!) {
30+
node(id: $PROJECT_ID) {
31+
... on ProjectV2 {
32+
items(first: 20) {
33+
nodes {
34+
id
35+
fieldValues(first: 8) {
36+
nodes {
37+
... on ProjectV2ItemFieldTextValue {
38+
text
39+
field {
40+
... on ProjectV2FieldCommon {
41+
name
42+
}
43+
}
44+
}
45+
... on ProjectV2ItemFieldDateValue {
46+
date
47+
field {
48+
... on ProjectV2FieldCommon {
49+
name
50+
}
51+
}
52+
}
53+
... on ProjectV2ItemFieldSingleSelectValue {
54+
name
55+
field {
56+
... on ProjectV2FieldCommon {
57+
name
58+
}
59+
}
60+
}
61+
}
62+
}
63+
content {
64+
... on DraftIssue {
65+
title
66+
body
67+
}
68+
... on Issue {
69+
title
70+
assignees(first: 10) {
71+
nodes {
72+
login
73+
}
74+
}
75+
}
76+
... on PullRequest {
77+
title
78+
assignees(first: 10) {
79+
nodes {
80+
login
81+
}
82+
}
83+
}
84+
}
85+
}
86+
}
87+
}
88+
}
89+
}' -f PROJECT_ID=$PROJECT_ID | jq '.data.node.items.nodes' > project_data.json
90+
91+
# commit updated project data
92+
- name: Commit changes
93+
env:
94+
GITHUB_APP_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
95+
run: |
96+
git config user.name "the-json-schema-bot[bot]"
97+
git config user.email "the-json-schema-bot[bot]@users.noreply.github.com"
98+
git add project_data.json
99+
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/})
100+

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,19 @@ git submodule init
4040
git submodule update
4141
```
4242

43+
### Setup Enviroment Variables
44+
45+
1. Create a new `.env` file by copying the contents of the `.env.example` into `.env` file. Use this command:
46+
```
47+
cp .env.example .env
48+
```
49+
2. Open .env and fill in your actual values for each variable.
50+
51+
3. Save the file.
52+
53+
4. Ensure .env is in your .gitignore.
54+
55+
4356
#### Install dependencies
4457

4558
Install dependencies

0 commit comments

Comments
 (0)