forked from AOEpeople/aoe_technology_radar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve config values by extending default config
related to AOEpeople#113
- Loading branch information
1 parent
c518635
commit 04053c6
Showing
7 changed files
with
146 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
{ | ||
"basePath": "/techradar", | ||
"editUrl": "https://github.dev/AOEpeople/techradar/blob/main/radar/{release}/{id}.md", | ||
"colors": { | ||
"foreground": "#fcf2e6", | ||
"background": "#113521", | ||
"highlight": "#d4a373", | ||
"content": "#fff", | ||
"text": "#575757", | ||
"link": "#bc6c25", | ||
"border": "rgba(255, 255, 255, 0.1)", | ||
"tag": "rgba(255, 255, 255, 0.1)" | ||
}, | ||
"quadrants": [ | ||
{ | ||
"id": "languages-and-frameworks", | ||
"title": "Languages & Frameworks", | ||
"description": "A selection of programming languages, alongside essential frameworks for building a variety of custom software.", | ||
"color": "#a3b18a" | ||
}, | ||
{ | ||
"id": "methods-and-patterns", | ||
"title": "Methods & Patterns", | ||
"description": "Key software development methods and design patterns, covering everything from continuous integration and testing to architecture.", | ||
"color": "#588157" | ||
}, | ||
{ | ||
"id": "platforms-and-operations", | ||
"title": "Platforms & Operations", | ||
"description": "Technologies and tools for software and infrastructure operations, including platforms and services for managing and scaling applications.", | ||
"color": "#3f633e" | ||
}, | ||
{ | ||
"id": "tools", | ||
"title": "Tools", | ||
"description": "A range of software tools, from simple productivity enhancers to comprehensive project solutions, catering to various project needs.", | ||
"color": "#40713f" | ||
} | ||
], | ||
"rings": [ | ||
{ | ||
"id": "adopt", | ||
"title": "Adopt", | ||
"description": "", | ||
"color": "#588157", | ||
"radius": 0.5, | ||
"strokeWidth": 5 | ||
}, | ||
{ | ||
"id": "trial", | ||
"title": "Trial", | ||
"description": "", | ||
"color": "#457b9d", | ||
"radius": 0.69, | ||
"strokeWidth": 3 | ||
}, | ||
{ | ||
"id": "assess", | ||
"title": "Assess", | ||
"description": "", | ||
"color": "#bc6c25", | ||
"radius": 0.85, | ||
"strokeWidth": 2 | ||
}, | ||
{ | ||
"id": "hold", | ||
"title": "Hold", | ||
"description": "", | ||
"color": "#d62828", | ||
"radius": 1, | ||
"strokeWidth": 0.75 | ||
} | ||
], | ||
"flags": { | ||
"new": { | ||
"color": "#f1235a", | ||
"title": "New", | ||
"titleShort": "N", | ||
"description": "New in this version" | ||
}, | ||
"changed": { | ||
"color": "#40a7d1", | ||
"title": "Changed", | ||
"titleShort": "C", | ||
"description": "Recently changed" | ||
}, | ||
"default": { | ||
"description": "Unchanged" | ||
} | ||
}, | ||
"chart": { | ||
"size": 800, | ||
"blipSize": 12 | ||
}, | ||
"social": [ | ||
{ | ||
"href": "https://twitter.com/aoepeople", | ||
"icon": "x" | ||
}, | ||
{ | ||
"href": "https://www.linkedin.com/company/aoe", | ||
"icon": "linkedIn" | ||
}, | ||
{ | ||
"href": "https://www.xing.com/company/aoe", | ||
"icon": "xing" | ||
}, | ||
{ | ||
"href": "https://github.com/aoepeople", | ||
"icon": "github" | ||
} | ||
], | ||
"imprint": "https://www.aoe.com/en/imprint.html", | ||
"labels": { | ||
"title": "Technology Radar", | ||
"imprint": "Legal Information", | ||
"quadrant": "Quadrant", | ||
"quadrantOverview": "Quadrant Overview", | ||
"zoomIn": "Zoom in", | ||
"filterByTag": "Filter by Tag", | ||
"footer": "The technology radar is a project by AOE GmbH. Feel free to build your own radar based on the open source project.", | ||
"notUpdated": "This item was not updated in last three versions of the Radar. Should it have appeared in one of the more recent editions, there is a good chance it remains pertinent. However, if the item dates back further, its relevance may have diminished and our current evaluation could vary. Regrettably, our capacity to consistently revisit items from past Radar editions is limited.", | ||
"notFound": "404 - Page not found", | ||
"pageAbout": "How to use AOE Technology Radar?", | ||
"pageOverview": "Technologies Overview", | ||
"pageSearch": "Search", | ||
"searchPlaceholder": "What are you looking for?" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,129 +1 @@ | ||
{ | ||
"basePath": "/techradar", | ||
"editUrl": "https://github.dev/AOEpeople/techradar/blob/main/radar/{release}/{id}.md", | ||
"colors": { | ||
"foreground": "#fcf2e6", | ||
"background": "#113521", | ||
"highlight": "#d4a373", | ||
"content": "#fff", | ||
"text": "#575757", | ||
"link": "#bc6c25", | ||
"border": "rgba(255, 255, 255, 0.1)", | ||
"tag": "rgba(255, 255, 255, 0.1)" | ||
}, | ||
"quadrants": [ | ||
{ | ||
"id": "languages-and-frameworks", | ||
"title": "Languages & Frameworks", | ||
"description": "A selection of programming languages, alongside essential frameworks for building a variety of custom software.", | ||
"color": "#a3b18a" | ||
}, | ||
{ | ||
"id": "methods-and-patterns", | ||
"title": "Methods & Patterns", | ||
"description": "Key software development methods and design patterns, covering everything from continuous integration and testing to architecture.", | ||
"color": "#588157" | ||
}, | ||
{ | ||
"id": "platforms-and-operations", | ||
"title": "Platforms & Operations", | ||
"description": "Technologies and tools for software and infrastructure operations, including platforms and services for managing and scaling applications.", | ||
"color": "#3f633e" | ||
}, | ||
{ | ||
"id": "tools", | ||
"title": "Tools", | ||
"description": "A range of software tools, from simple productivity enhancers to comprehensive project solutions, catering to various project needs.", | ||
"color": "#40713f" | ||
} | ||
], | ||
"rings": [ | ||
{ | ||
"id": "adopt", | ||
"title": "Adopt", | ||
"description": "", | ||
"color": "#588157", | ||
"radius": 0.5, | ||
"strokeWidth": 5 | ||
}, | ||
{ | ||
"id": "trial", | ||
"title": "Trial", | ||
"description": "", | ||
"color": "#457b9d", | ||
"radius": 0.69, | ||
"strokeWidth": 3 | ||
}, | ||
{ | ||
"id": "assess", | ||
"title": "Assess", | ||
"description": "", | ||
"color": "#bc6c25", | ||
"radius": 0.85, | ||
"strokeWidth": 2 | ||
}, | ||
{ | ||
"id": "hold", | ||
"title": "Hold", | ||
"description": "", | ||
"color": "#d62828", | ||
"radius": 1, | ||
"strokeWidth": 0.75 | ||
} | ||
], | ||
"flags": { | ||
"new": { | ||
"color": "#f1235a", | ||
"title": "New", | ||
"titleShort": "N", | ||
"description": "New in this version" | ||
}, | ||
"changed": { | ||
"color": "#40a7d1", | ||
"title": "Changed", | ||
"titleShort": "C", | ||
"description": "Recently changed" | ||
}, | ||
"default": { | ||
"description": "Unchanged" | ||
} | ||
}, | ||
"chart": { | ||
"size": 800, | ||
"blipSize": 12 | ||
}, | ||
"social": [ | ||
{ | ||
"href": "https://twitter.com/aoepeople", | ||
"icon": "x" | ||
}, | ||
{ | ||
"href": "https://www.linkedin.com/company/aoe", | ||
"icon": "linkedIn" | ||
}, | ||
{ | ||
"href": "https://www.xing.com/company/aoe", | ||
"icon": "xing" | ||
}, | ||
{ | ||
"href": "https://github.com/aoepeople", | ||
"icon": "github" | ||
} | ||
], | ||
"imprint": "https://www.aoe.com/en/imprint.html", | ||
"labels": { | ||
"title": "Technology Radar", | ||
"imprint": "Legal Information", | ||
"quadrant": "Quadrant", | ||
"quadrantOverview": "Quadrant Overview", | ||
"zoomIn": "Zoom in", | ||
"filterByTag": "Filter by Tag", | ||
"footer": "The technology radar is a project by AOE GmbH. Feel free to build your own radar based on the open source project.", | ||
"notUpdated": "This item was not updated in last three versions of the Radar. Should it have appeared in one of the more recent editions, there is a good chance it remains pertinent. However, if the item dates back further, its relevance may have diminished and our current evaluation could vary. Regrettably, our capacity to consistently revisit items from past Radar editions is limited.", | ||
"notFound": "404 - Page not found", | ||
"pageAbout": "How to use AOE Technology Radar?", | ||
"pageOverview": "Technologies Overview", | ||
"pageSearch": "Search", | ||
"searchPlaceholder": "What are you looking for?" | ||
} | ||
} | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import defaultConfig from "../../data/config.default.json"; | ||
import _userConfig from "../../data/config.json"; | ||
|
||
const userConfig = _userConfig as typeof defaultConfig; | ||
const config = { ...defaultConfig, ...userConfig }; | ||
|
||
if (userConfig.colors) | ||
config.colors = { ...defaultConfig.colors, ...userConfig.colors }; | ||
|
||
if (userConfig.labels) | ||
config.labels = { ...defaultConfig.labels, ...userConfig.labels }; | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters