Skip to content

Commit

Permalink
feat: add data for 2023 orgs
Browse files Browse the repository at this point in the history
Signed-off-by: Nishant Mittal <[email protected]>
  • Loading branch information
nishantwrp committed Feb 25, 2023
1 parent 3cfc1e0 commit 4353683
Show file tree
Hide file tree
Showing 3 changed files with 5,432 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/compile-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const {
nameFilters,
} = require("./filters")

const YEARS = [2016, 2017, 2018, 2019, 2020, 2021, 2022]
const YEARS = [2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023]

const getDataPath = year => {
return `api/data/${year}.json`
Expand Down Expand Up @@ -157,6 +157,8 @@ const updateOrg = (combinedJson, orgJson) => {
"twitter_url",
"blog_url",
"category",
"ideas_url",
"guide_url"
]
for (const prop of basic_properties) {
combinedJson[prop] = orgJson[prop] || combinedJson[prop]
Expand Down Expand Up @@ -208,6 +210,8 @@ const getCombinedOrgJson = orgList => {
irc_channel: "",
contact_email: "",
mailing_list: "",
ideas_url: "",
guide_url: ""
}

orgList = orgList.sort((a, b) => {
Expand Down
Loading

0 comments on commit 4353683

Please sign in to comment.