-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor/redis graphql restructure/draft/0 (#2084) * Chore/restructure/draft/0 (#2073) * chore: update makefile [1] Simplify make target for 'dev' setup and correct npm script target update. Includes comments clean up. * chore: update vite.config.ts (+misc) [1] Apply use of direct pacakge.json parsing and 'define' global variables respectively via vite-js. [2] Clean up console logs, comments and JsDoc. [3] Update d.ts for envrionment variables. [4] Update hooks.client.ts for latest logs and vite 'define' variables. * chore: update .eslintrc.yaml [1] Add 'no-var' and 'require-jsdoc' rules. [2] Clean up comments and JsDoc. * chore: update vscode settings [1] Update settings.json for VsCode instance with (1) cleaner comments and (2) file/directory tree-view exclusion. [2] Update debug vscode 'snippets'. [3] Add vscode extension config for 'terminals' auto-start, along with a complete config example. * chore: update .gitignore [1] Clean up comments and JsDoc. [2] Update for 'debug.log' exclusion. * chore: update codespace setup [1] Removing use of NVM due to some setup issues with Codespace. [2] Updating 'dev' script for 'scores-lib' loading over 'npm link' only. Caused errors due to absesnce of 'ad-widget'. * fix: vite hot-reload blockage [1] Update layout.svelte + package.json to remove recently pushed ad-engine widget. * refactor(connection): migrate redis + graphql logic to scores-lib (+misc) [1] ----- Update all logic to remove use of 'GraphQL' instance argument passed along to 'scores-lib' logic for entry methods. Scores-Lib will house the logic for 'GraphQL' connection instance creation. [2] ----- Update all logic to remove main use of 'Redis' client methods, such as: 'HMSET', 'SADD', etc. This logic has now been off-loaded to 'scores-lib'. * refactor(import): update module import path [1] ----- Update import paths for modules from 'scores-lib' to the correct ones. * feat(article): update author-article endpoint [1] ----- New example structure for the 'author.article.ts' data endpoint as part of the 'V8' standard. Includes 'scores-lib' import update. * chore(eslint): update ignore paths [1] ----- Update to ignore 'api/**' routes from 'EsLint'. * chore(debug): remove debug.log [1] ----- Update removal of 'debug.log' file. * refactor(misc): update key import (+misc) [1] ----- Update missing import value for one of the 'RedisKeys'. [2] ----- Code clean, commenting and format. * chore(makefile): update makefile target to use dotenv_vault secrets [1] ----- Update Makefile with the key secrets injection step. * build(scores-lib): bump to 3.0.0 * chore(graphql): update missing variable [1] ----- Update instance of target 'GraphQL' instance declaration. * Feature.Tags Section/draft/0 (#2088) * fix script error when filter returns empty mapTags (#2092) Co-authored-by: Ivan Izobov <[email protected]> --------- Co-authored-by: Ivan Izobov <[email protected]>
- Loading branch information
Showing
114 changed files
with
17,483 additions
and
25,200 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
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,17 +1,60 @@ | ||
{ | ||
// DOC: https://stackoverflow.com/questions/64365300/how-can-i-remove-unused-imports-declarations-from-the-entire-project-of-react-ty | ||
// DOC: https://stackoverflow.com/questions/46722701/is-there-a-way-to-remove-unused-imports-and-declarations-from-angular-2 | ||
"editor.codeActionsOnSave": { | ||
// ╭───── | ||
// │ DOC: | ||
// │ VsCode |:| workspace (folder) configuration | ||
// ┣───── | ||
// | 🔗 read-more |:| https://stackoverflow.com/questions/64365300/how-can-i-remove-unused-imports-declarations-from-the-entire-project-of-react-ty | ||
// | 🔗 read-more |:| https://stackoverflow.com/questions/46722701/is-there-a-way-to-remove-unused-imports-and-declarations-from-angular-2 | ||
// | 🔗 read-more |:| https://stackoverflow.com/a/49777201/8421215 | ||
// ╰───── | ||
"editor.codeActionsOnSave": | ||
{ | ||
"source.fixAll": "explicit", | ||
"source.organizeImports": "explicit", | ||
"source.sortMembers": "explicit" | ||
}, | ||
// ----------- | ||
// NOTE: [BELOW] SVELTE development specific extensions (Config) | ||
// ----------- | ||
// DOC: https://discord.com/channels/457912077277855764/1036919129782878218 | ||
// DOC: https://discord.com/channels/457912077277855764/1036369208721813554 | ||
"svelte.plugin.svelte.compilerWarnings": { | ||
"editor.folding": true, | ||
"editor.showFoldingControls": "always", | ||
"editor.foldingStrategy": "indentation", | ||
"editor.foldingImportsByDefault": true, | ||
"files.exclude": | ||
{ | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.hg": true, | ||
"**/CVS": true, | ||
"**/.DS_Store": true, | ||
"**/Thumbs.db": true, | ||
"**/.classpath": true, | ||
"**/.project": true, | ||
"**/.settings": true, | ||
"**/.factorypath": true, | ||
"**/.git/objects/**": true, | ||
"**/tmp": true, | ||
"**/bower_components": true, | ||
"**/.svelte-kit/**": true, | ||
"**/._*": true | ||
}, | ||
// ╭───── | ||
// │ NOTE: | ||
// │ EsLint |:| workspace (folder) configuration | ||
// ╰───── | ||
"eslint.validate": | ||
[ | ||
"javascript", | ||
"javascriptreact", | ||
"svelte" | ||
], | ||
"eslint.enable": true, | ||
// ╭───── | ||
// │ NOTE: | ||
// │ SvelteJs |:| workspace (folder) configuration | ||
// ┣───── | ||
// | 🔗 read-more |:| https://discord.com/channels/457912077277855764/1036919129782878218 | ||
// | 🔗 read-more |:| https://discord.com/channels/457912077277855764/1036369208721813554 | ||
// ╰───── | ||
"svelte.plugin.svelte.compilerWarnings": | ||
{ | ||
"a11y-click-events-have-key-events": "ignore", | ||
"a11y-aria-attributes": "ignore", | ||
"a11y-incorrect-aria-attribute-type": "ignore", | ||
|
@@ -36,35 +79,47 @@ | |
"a11y-mouse-events-have-key-events": "ignore", | ||
"a11y-missing-content": "ignore", | ||
}, | ||
// DOC: https://stackoverflow.com/a/49777201/8421215 | ||
"editor.folding": true, | ||
"editor.showFoldingControls": "always", | ||
"editor.foldingStrategy": "indentation", | ||
"editor.foldingImportsByDefault": true, | ||
// DOC: https://marketplace.visualstudio.com/items?itemName=maptz.regionfolder | ||
"maptz.regionfolder": { | ||
// ╭───── | ||
// │ NOTE: | ||
// │ VsCode [extensions] |:| workspace (folder) configuration | ||
// ┣───── | ||
// | 🔗 read-more |:| https://marketplace.visualstudio.com/items?itemName=maptz.regionfolder | ||
// ╰───── | ||
"maptz.regionfolder": | ||
{ | ||
"collapseAllRegions": true, | ||
"collapseDefaultRegionsOnOpen": true | ||
}, | ||
// NOTE: speeding up CSS STYLE location and importing | ||
"css.styleSheets": [ | ||
// ╭───── | ||
// │ NOTE: |:| [extension] CSS-Peek | ||
// ╰───── | ||
"css.styleSheets": | ||
[ | ||
// "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css", // example | ||
"/static/app.css" | ||
], | ||
// IMPORTANTNOTE: configured in user/settings.json | ||
"css.enabledLanguages": [ | ||
// ╭───── | ||
// │ NOTE: |:| [extension] CSS-Peek | ||
// │ IMPORTANT |:| configured in user/settings.json | ||
// ╰───── | ||
"css.enabledLanguages": | ||
[ | ||
"html", | ||
"svelte" | ||
], | ||
// NOTE: does not work for SVELTE | ||
"cssPeek.peekFromLanguages": [ | ||
// ╭───── | ||
// │ IMPORTANT |:| does not work for SVELTE | ||
// ╰───── | ||
"cssPeek.peekFromLanguages": | ||
[ | ||
"html", | ||
"svelte" | ||
], | ||
// "[css]": { | ||
// "editor.foldingStrategy": "indentation", | ||
// }, | ||
"material-icon-theme.folders.associations": { | ||
// ╭───── | ||
// │ NOTE: |:| [extension] Material-Icon | ||
// ╰───── | ||
"material-icon-theme.folders.associations": | ||
{ | ||
"redis": "Database", | ||
"player": "Layout", | ||
"fixture": "Layout", | ||
|
@@ -74,14 +129,4 @@ | |
"tablet": "Mobile", | ||
"loaders": "Theme" | ||
}, | ||
// "eslint.enable": true, | ||
// "eslint.validate": ["javascript", "javascriptreact", "svelte"] | ||
"eslint.codeActionsOnSave": false, | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"svelte" | ||
], | ||
"eslint.enable": true | ||
|
||
} |
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
Oops, something went wrong.