Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add JSON schema validation #797

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
86da2d9
Added JSON schema validation
ritesh-pandey Nov 6, 2020
d50f4e6
Moved ajv from dependency to devDependency
ritesh-pandey Nov 7, 2020
23f6888
Added Chai plug-in for running tests
ritesh-pandey Nov 7, 2020
2b4426c
Removed chai plug-in for schema validation
ritesh-pandey Nov 8, 2020
7ae574e
feat: expose dataset on website (#795)
ARKEOLOGIST Nov 10, 2020
12f69af
fix(swag): update broken image links (#835)
aslafy-z Jul 26, 2021
4a247fe
chore(deps): bump path-parse from 1.0.6 to 1.0.7 (#838)
dependabot[bot] Aug 24, 2021
5d2a40a
fix(swag): set Img Bot opportunity as expired (#837)
Nikhil27b Aug 24, 2021
e333076
fix(swag): update openebs image (#844)
aslafy-z Aug 24, 2021
8c3556f
feat: replace renovate with dependabot (#841)
aslafy-z Aug 24, 2021
7651c9c
chore(deps): bump actions/setup-node from 1 to 2.4.0 (#845)
dependabot[bot] Aug 24, 2021
9f7f3ae
chore(deps): bump actions/cache from 1 to 2.1.6 (#846)
dependabot[bot] Aug 24, 2021
4db726e
chore(deps-dev): bump postcss from 8.1.6 to 8.3.6 (#847)
dependabot[bot] Aug 24, 2021
f48d027
chore(deps): bump browserslist from 4.14.5 to 4.16.8 (#848)
dependabot[bot] Aug 24, 2021
67862a8
chore(deps): bump hosted-git-info from 2.7.1 to 2.8.9 (#820)
dependabot[bot] Aug 24, 2021
1e1e743
chore(deps): bump lodash from 4.17.19 to 4.17.21 (#819)
dependabot[bot] Aug 24, 2021
7f0773e
chore(deps): bump ini from 1.3.5 to 1.3.8 (#849)
dependabot[bot] Aug 24, 2021
6308d9f
chore(deps): bump y18n from 3.2.1 to 3.2.2 (#814)
dependabot[bot] Aug 24, 2021
e8e7948
chore(deps): bump pug-code-gen from 2.0.1 to 2.0.3 (#813)
dependabot[bot] Aug 24, 2021
eef510e
chore(deps-dev): bump chai from 4.2.0 to 4.3.4 (#851)
dependabot[bot] Aug 24, 2021
c860f07
chore(deps-dev): bump mocha from 8.2.1 to 9.1.0 (#850)
dependabot[bot] Aug 24, 2021
e5855b0
chore(deps-dev): bump sharp from 0.26.2 to 0.29.0 (#852)
dependabot[bot] Aug 24, 2021
dbac040
chore(deps-dev): bump @babel/core from 7.12.3 to 7.15.0 (#853)
dependabot[bot] Aug 24, 2021
f0b2f31
fix: update tag selector background color (#854)
aslafy-z Aug 24, 2021
c41d68c
feat: mark opportunities as done (#438)
amhislop Aug 24, 2021
e281582
Update test/functional/data.spec.js
aslafy-z Aug 24, 2021
2f31701
Update test/functional/data.spec.js
aslafy-z Aug 24, 2021
344b453
Update schema.json
aslafy-z Aug 24, 2021
d2f6503
Update data.spec.js
aslafy-z Aug 24, 2021
d117814
Added JSON schema validation
ritesh-pandey Nov 6, 2020
341af8a
Moved ajv from dependency to devDependency
ritesh-pandey Nov 7, 2020
d3c5c1e
Added Chai plug-in for running tests
ritesh-pandey Nov 7, 2020
db1c678
Removed chai plug-in for schema validation
ritesh-pandey Nov 8, 2020
6ff5f8c
Update test/functional/data.spec.js
aslafy-z Aug 24, 2021
7075125
Update test/functional/data.spec.js
aslafy-z Aug 24, 2021
4d2fcf5
Update schema.json
aslafy-z Aug 24, 2021
4695e5f
Update data.spec.js
aslafy-z Aug 24, 2021
4adfcf0
Merge branch 'JSON-schema-validation-745' of github.com:ritesh-pandey…
ritesh-pandey Aug 26, 2021
6b93da5
Updated package-lock.json
ritesh-pandey Aug 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
4 changes: 2 additions & 2 deletions .github/workflows/expire-hacktoberfest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
- uses: actions/cache@v2.1.6
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -19,7 +19,7 @@ jobs:
run: echo "##[set-output name=nvmrc;]$(cat .nvmrc)"
id: nvm
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v2.4.0
with:
node-version: ${{ steps.nvm.outputs.nvmrc }}
- name: Run expire script
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/cache@v1
- uses: actions/cache@v2.1.6
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -22,7 +22,7 @@ jobs:
run: echo "##[set-output name=nvmrc;]$(cat .nvmrc)"
id: nvm
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v2.4.0
with:
node-version: ${{ steps.nvm.outputs.nvmrc }}
- run: npm ci
Expand All @@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/cache@v1
- uses: actions/cache@v2.1.6
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -44,7 +44,7 @@ jobs:
run: echo "##[set-output name=nvmrc;]$(cat .nvmrc)"
id: nvm
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v2.4.0
with:
node-version: ${{ steps.nvm.outputs.nvmrc }}
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# swag-for-dev

[![Build Status](https://github.com/swapagarwal/swag-for-dev/workflows/All%20the%20CI/badge.svg)](https://github.com/swapagarwal/swag-for-dev/actions)
[![Renovate](https://badges.renovateapi.com/github/swapagarwal/swag-for-dev)](https://renovatebot.com/)
[![Dependabot](https://img.shields.io/badge/dependabot-enabled-green?logo=dependabot)](https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/about-dependabot-version-updates)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)
[![open issues](https://img.shields.io/github/issues/swapagarwal/swag-for-dev.svg)](https://github.com/swapagarwal/swag-for-dev/issues?q=is%3Aopen+is%3Aissue)
[![closed pull requests](https://img.shields.io/github/issues-pr-closed/swapagarwal/swag-for-dev.svg)](htps://github.com/swapagarwal/swag-for-dev/pulls?q=is%3Apr+is%3Aclosed)
Expand Down
14 changes: 7 additions & 7 deletions data.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@
"reference": "https://docs.google.com/forms/d/e/1FAIpQLScpL5wT5dsFTXZou49p7_W7Y2sbMeqKulvDrwHQabecc4YF7w/viewform",
"image": "https://pbs.twimg.com/media/EJzGQGKUwAALlSC?format=jpg&name=4096x4096",
"dateAdded": "2020-01-02T05:30:00.000Z",
"tags": ["stickers"]
"tags": ["stickers", "expired"]
},
{
"name": "Indeed",
Expand Down Expand Up @@ -499,7 +499,7 @@
"difficulty": "medium",
"description": "Help improve our code and earn a limited edition shirt.",
"reference": "https://openbazaar.org/blog/Hacktoberfest-with-OpenBazaar-Help-Make-Trade-Free-Get-Rewards/",
"image": "https://gateway.ob1.io/ob/images/zb2rhXcLCmwrpNgucgrAtPL6JYtpMhk35GFqaSKux4sFbBUma",
"image": "https://openbazaar.org/blog/Hacktoberfest-with-OpenBazaar-Help-Make-Trade-Free-Get-Rewards/Hacktoberfest_2018_poster1_1600x850.png",
"dateAdded": "2018-10-23T10:06:06.000Z",
"tags": ["clothing", "hacktoberfest", "expired"]
},
Expand All @@ -508,7 +508,7 @@
"difficulty": "hard",
"description": "One merged PR to OpenEBS Repository and a change get exclusive and limited OpenEBS swag, OpenEBS will contact you to fill out a form to send a special edition swag designed for Hacktoberfest. Not only this but by becoming a top weekly contributor, you’ll be able to grab even more swag.",
"reference": "https://openebs.io/blog/hacktoberfest-2020-contribute-to-openebs/",
"image": "https://admin.mayadata.io/content/images/2020/09/With-OpenEBS--1-.png",
"image": "https://raw.githubusercontent.com/cncf/artwork/ef31e1ee9503c134a13c6340ef2284d1b76ea38d/projects/openebs/stacked/color/openebs-stacked-color.png",
"dateAdded": "2020-10-01T03:58:08.000Z",
"tags": ["hacktoberfest", "stickers", "expired"]
},
Expand Down Expand Up @@ -543,8 +543,8 @@
"name": "Parity Technologies",
"difficulty": "medium",
"description": "Anyone who makes any significant contribution to the Substrate ecosystem during Hacktoberfest is eligible for a special limited edition Parity Hacktoberfest 2019 gym bag.",
"reference": "https://www.parity.io/hacktoberfest-2019-parity/",
"image": "https://www.parity.io/content/images/2019/09/hacktoberfest2019_bag.jpg",
"reference": "https://www.parity.io/blog/hacktoberfest-2019-parity/",
"image": "https://www.parity.io/images/hacktoberfest2019_bag.jpeg",
"dateAdded": "2019-10-12T19:49:00.000Z",
"tags": ["hacktoberfest", "accessories", "expired"]
},
Expand Down Expand Up @@ -615,8 +615,8 @@
"name": "Sense/Net",
"difficulty": "easy",
"description": "First 100 participants to make a pull request to any Sense/Net repo between October 1 and October 31 will receive a limited edition sensenet #hacktoberfest t-shirt.",
"reference": "https://community.sensenet.com/blog/2019/10/01/hacktoberfest-is-here",
"image": "https://community.sensenet.com/img/posts/hacktoberfest2019.png",
"reference": "https://www.sensenet.com/blog/2019-10-01-hacktoberfest-is-here",
"image": "https://raw.githubusercontent.com/SenseNet/sncom-resources/master/img/posts/hacktoberfest2019.png",
"dateAdded": "2019-10-05T22:56:53.000Z",
"tags": ["clothing", "hacktoberfest", "expired"]
},
Expand Down
Loading