From 10d742ac80e072f8a292aedcb05d463c64c1eb6c Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:24:51 +0100 Subject: [PATCH 01/32] chore(husky): initialize adding husky used for forcing conventional commits format --- .husky/commit-msg | 4 ++++ .husky/prepare-commit-msg | 4 ++++ commitlint.config.cjs | 1 + package.json | 5 +++++ 4 files changed, 14 insertions(+) create mode 100644 .husky/commit-msg create mode 100644 .husky/prepare-commit-msg create mode 100644 commitlint.config.cjs diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100644 index 000000000..b56767669 --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npx --no -- commitlint --edit "$1" diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg new file mode 100644 index 000000000..79661848e --- /dev/null +++ b/.husky/prepare-commit-msg @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +exec < /dev/tty && npx cz --hook || true \ No newline at end of file diff --git a/commitlint.config.cjs b/commitlint.config.cjs new file mode 100644 index 000000000..28fe5c5bf --- /dev/null +++ b/commitlint.config.cjs @@ -0,0 +1 @@ +module.exports = {extends: ['@commitlint/config-conventional']} diff --git a/package.json b/package.json index c6946af6f..b50ae1670 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "node": "16.17.0" }, "scripts": { + "prepare": "is-ci || husky install", "start": "node build/index.js", "build": "cross-env NODE_OPTIONS=--max_old_space_size=4096 VITE_SCORES_PKG_VERSION=v.$(npm pkg get version --workspaces=false | tr -d \\\") VITE_SCORES_LIB_PKG_VERSION=v.$(npm info @betarena/scores-lib version | tr -d \\\") VITE_SENTRY_UPLOAD_SOURCEMAPS=true vite build", "build-2": "cross-env NODE_OPTIONS=--max_old_space_size=4096 VITE_SCORES_PKG_VERSION=v.$(npm pkg get version --workspaces=false | tr -d \\\") VITE_SCORES_LIB_PKG_VERSION=v.$(npm info @betarena/scores-lib version | tr -d \\\") VITE_SENTRY_UPLOAD_SOURCEMAPS=true vite build", @@ -76,6 +77,8 @@ "xml-formatter": "^2.6.1" }, "devDependencies": { + "@commitlint/cli": "^17.8.0", + "@commitlint/config-conventional": "^17.8.0", "@playwright/test": "^1.36.1", "@sveltejs/adapter-node": "^1.3.1", "@sveltejs/kit": "^1.22.3", @@ -86,10 +89,12 @@ "@typescript-eslint/eslint-plugin": "^5.59.1", "@typescript-eslint/parser": "^5.59.1", "cross-env": "^7.0.3", + "husky": "^8.0.3", "cypress": "^12.17.1", "eslint": "^8.39.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-svelte": "^2.30.0", + "is-ci": "^3.0.1", "jsdom": "^22.1.0", "node-fetch": "^3.3.1", "prettier": "^2.8.8", From 1ae682ef95cde18c9c56f11b7da31dbf8f3d898a Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:31:26 +0100 Subject: [PATCH 02/32] chore(makefile): add misc. targets add miscellenous target for mac-os target used for *_. files cleaning; --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index 1a8df4976..3b2a5f923 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,19 @@ COLOUR_R=\033[0;31m COLOUR_B=\033[0;34m END_COLOUR=\033[0m +# ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ +# ▓ 💠 MISCELLANOUS ▓ +# ▓ 👇 contains custom `miscellaneous` commands ▓ +# ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ + +mac-os: + @# ▓ NOTE: + @# ▓ > required for MacOS removal of `._*` files. + @# ▓ > @see :> https://apple.stackexchange.com/questions/14980/why-are-dot-underscore-files-created-and-how-can-i-avoid-them + -@dot_clean . +# + + # ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ # ▓▓ 🐳 DOCKER | 🚀 PRODUCTION ▓▓ # ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ From 3eecfb0af8cbc7428e42b4c902099f30c5c0cad1 Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:33:48 +0100 Subject: [PATCH 03/32] chore(makefile): add setup target add setup target for quicker project spin-up and development; --- Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Makefile b/Makefile index 3b2a5f923..013603dc6 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,33 @@ COLOUR_R=\033[0;31m COLOUR_B=\033[0;34m END_COLOUR=\033[0m +# ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ +# ▓ 🏗️ SETUP ▓ +# ▓ 👇 contains custom `node` commands ▓ +# ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ + +node-setup: + @echo "" + # ▓ DESCRIPTION + # ▓ > custom use of `nvm` command. + # ▓ > for switching between `node` and `npm` versions. + # ▓ @see :> https://github.com/nvm-sh/nvm + @echo "" + + @ # ▓ NOTE: + @ # ▓ > install target `node` version if absent + @ # ▓ > from the list of availble `node` versions with `nvm`. + @nvm install 16.17.0 + + @ # ▓ NOTE: + @ # ▓ > change machine `node` version to use that of this project. + @nvm use 16.17.0 + + @ # ▓ NOTE: + @ # ▓ > check machine `architecture` being employed. + -@arch +# + # ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ # ▓ 💠 MISCELLANOUS ▓ # ▓ 👇 contains custom `miscellaneous` commands ▓ From 7c290ec0ed4d1d3697b3b89a0dea6c2a44b8efcb Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:36:58 +0100 Subject: [PATCH 04/32] chore(makefile): add misc. targets add miscellenous target for MAKE target to signal completion; --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 013603dc6..fc0858b5c 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,15 @@ mac-os: -@dot_clean . # +misc-end-target: + @echo "" + @echo\ + "$(COLOUR_B)\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + \n▓ 🟩 Done! ▓\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + $(END_COLOUR)\n" +# # ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ # ▓▓ 🐳 DOCKER | 🚀 PRODUCTION ▓▓ From c2399d8c32c0217ed8aa9a75fcd3d6659582096a Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:41:18 +0100 Subject: [PATCH 05/32] chore(changelog): initialize add changelog support for the project. --- CHANGELOG.md | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 7 +++ 2 files changed, 141 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..afeac89a3 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,134 @@ +## [2.3.10](https://github.com/Betarena/scores/compare/v2.3.9...v2.3.10) (2023-10-19) + + + +## [2.3.9](https://github.com/Betarena/scores/compare/v2.3.8...v2.3.9) (2023-10-19) + + + +## [2.3.8](https://github.com/Betarena/scores/compare/v2.3.7...v2.3.8) (2023-10-18) + + + +## [2.3.7](https://github.com/Betarena/scores/compare/v2.3.6...v2.3.7) (2023-10-17) + + + +## [2.3.6](https://github.com/Betarena/scores/compare/v2.3.5...v2.3.6) (2023-10-15) + + + +## [2.3.5](https://github.com/Betarena/scores/compare/v2.3.4...v2.3.5) (2023-10-15) + + + +## [2.3.4](https://github.com/Betarena/scores/compare/v2.3.3...v2.3.4) (2023-10-15) + + + +## [2.3.3](https://github.com/Betarena/scores/compare/v2.3.2...v2.3.3) (2023-10-12) + + + +## [2.3.2](https://github.com/Betarena/scores/compare/v2.3.1...v2.3.2) (2023-10-11) + + + +## [2.3.1](https://github.com/Betarena/scores/compare/v2.3.0...v2.3.1) (2023-10-11) + + + +# [2.3.0](https://github.com/Betarena/scores/compare/v2.2.0...v2.3.0) (2023-10-11) + + + +# [2.2.0](https://github.com/Betarena/scores/compare/v2.1.6...v2.2.0) (2023-10-03) + + + +## [2.1.6](https://github.com/Betarena/scores/compare/v2.1.5...v2.1.6) (2023-09-26) + + + +## [2.1.5](https://github.com/Betarena/scores/compare/v2.1.4...v2.1.5) (2023-09-26) + + + +## [2.1.4](https://github.com/Betarena/scores/compare/v2.1.3...v2.1.4) (2023-09-25) + + + +## [2.1.3](https://github.com/Betarena/scores/compare/v2.1.2...v2.1.3) (2023-09-21) + + + +## [2.1.2](https://github.com/Betarena/scores/compare/v2.1.1...v2.1.2) (2023-09-14) + + + +## [2.1.1](https://github.com/Betarena/scores/compare/v2.1.0...v2.1.1) (2023-09-14) + + + +# [2.1.0](https://github.com/Betarena/scores/compare/v2.0.0...v2.1.0) (2023-09-13) + + + +# [2.0.0](https://github.com/Betarena/scores/compare/v1.1.1...v2.0.0) (2023-08-10) + + + +## [1.1.1](https://github.com/Betarena/scores/compare/v1.1.0...v1.1.1) (2023-07-26) + + + +# [1.1.0](https://github.com/Betarena/scores/compare/v1.0.3...v1.1.0) (2023-07-24) + + + +## [1.0.3](https://github.com/Betarena/scores/compare/v1.0.2...v1.0.3) (2023-07-22) + + + +## [1.0.2](https://github.com/Betarena/scores/compare/v1.0.1...v1.0.2) (2023-07-22) + + + +## [1.0.1](https://github.com/Betarena/scores/compare/v1.0.0...v1.0.1) (2023-07-11) + + + +# [1.0.0](https://github.com/Betarena/scores/compare/v0.13.0...v1.0.0) (2023-06-30) + + + +# [0.13.0](https://github.com/Betarena/scores/compare/v0.12.0...v0.13.0) (2023-06-22) + + + +# [0.12.0](https://github.com/Betarena/scores/compare/v0.11.0...v0.12.0) (2023-06-13) + + + +# [0.11.0](https://github.com/Betarena/scores/compare/v0.10.0...v0.11.0) (2023-06-07) + + + +# [0.10.0](https://github.com/Betarena/scores/compare/v0.9.0...v0.10.0) (2023-05-31) + + + +# [0.9.0](https://github.com/Betarena/scores/compare/v0.8.1...v0.9.0) (2023-05-25) + + + +## [0.8.1](https://github.com/Betarena/scores/compare/578db331f304bdd576e9633bbb5ef40211a6f564...v0.8.1) (2023-05-23) + + +### Bug Fixes + +* [#1113](https://github.com/Betarena/scores/issues/1113); ([#1122](https://github.com/Betarena/scores/issues/1122)) ([a3a1969](https://github.com/Betarena/scores/commit/a3a19698eb6ab59bb466cf05fde6f8696a09764a)) +* [#117](https://github.com/Betarena/scores/issues/117); ([#1118](https://github.com/Betarena/scores/issues/1118)) ([578db33](https://github.com/Betarena/scores/commit/578db331f304bdd576e9633bbb5ef40211a6f564)) + + + diff --git a/package.json b/package.json index b50ae1670..c3c304972 100644 --- a/package.json +++ b/package.json @@ -88,9 +88,11 @@ "@types/ua-parser-js": "^0.7.36", "@typescript-eslint/eslint-plugin": "^5.59.1", "@typescript-eslint/parser": "^5.59.1", + "conventional-changelog-cli": "^4.1.0", "cross-env": "^7.0.3", "husky": "^8.0.3", "cypress": "^12.17.1", + "cz-conventional-changelog": "^3.3.0", "eslint": "^8.39.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-svelte": "^2.30.0", @@ -108,5 +110,10 @@ "vite": "^4.4.4", "vite-plugin-compression": "^0.5.1", "vitest": "^0.33.0" + }, + "config": { + "commitizen": { + "path": "./node_modules/cz-conventional-changelog" + } } } From 2228360cc4e648b15d815df029da1160568cb1b4 Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:42:45 +0100 Subject: [PATCH 06/32] docs(code-style): initialize add code-style.md for developer guideline on code structure, format and expectation; --- docs/code-style.md | 85 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 docs/code-style.md diff --git a/docs/code-style.md b/docs/code-style.md new file mode 100644 index 000000000..d4a78cdcc --- /dev/null +++ b/docs/code-style.md @@ -0,0 +1,85 @@ +## About + +`_this_` markdown contains the outlined guidelines as to how the code should be `styled` and `commented`. + +> **Important ::** +> Code structure and/or format are not discussed in this `markdown` as they are enforced already with `EsLint` and will/should be enforced as standard `Intellisense`. + +### 📝 Documentation + +For `_this_` project, the following `documentation` can be found, and should be followed: + + +#### JavaScript/TypeScript + +```typescript +/** + * @author + * migbash + * @summary + * quick-function-tag/summary-goes-here + * @description + * function-description-goes-here + * @param { number } [valueX = 0] + * function-target-parameter-description-goes-here + * @return { number } + * function-return-description-goes-here + */ +function doSomething +( + valueX: number = 0 +): number +{ + // logic goes here +} +``` + +#### SvelteJs/SvelteKit + +Take a look at `.github/CONTRIBUTING_TEMPLATES/Svelte-Boilerplate.v6.svelte` to understand the structure that should be implied in the `.svelte` files. + +In addition, take a look at the other files provided in `.github/CONTRIBUTING_TEMPLATES` folder/directory to better understand different types of possible `.svelte` structures that should be employed in different situations. + +#### Makefile + +```makefile +target-execute: + @echo "" + # ▓ DESCRIPTION + # ▓ > add _this_ target description purpose here. + # ▓ > can be multi-line description. + @echo "" + + @ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ + + @echo\ + "$(COLOUR_G)\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + \n▓ 🚀 target execute running ▓\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + $(END_COLOUR)\n" + + @ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ + + @your-command-goes-here\ + preferrably-multi-line + + @ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ + + @echo "" +# +``` + +### 📌 Comments + +For this project, the following `comments` can be found, and should be followed: + +```javascript +// ▓ NOTE: +// ▓ > used to describe code that follows suit. +// ▓ > can be multi-line comment, but preferred to be single-line. +// const doSomething = [..] + +// ▓ @see :> http://some-link-for-reference-on-below-topic +// const doSomethingUnique = [..] +``` \ No newline at end of file From d02ee7481d646616e90ffeffda25f045c2834eae Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:44:46 +0100 Subject: [PATCH 07/32] docs(filesystem): initialize add filesystem.md for developer guideline on project/filesystem used; --- docs/filesystem.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 docs/filesystem.md diff --git a/docs/filesystem.md b/docs/filesystem.md new file mode 100644 index 000000000..1b171fa75 --- /dev/null +++ b/docs/filesystem.md @@ -0,0 +1,37 @@ +## About + +**This** section contains further information on how the `project` is currently structured, and what the general structure should be followed. + +#### `.husky/` + +related `commitlint.config.cjs`. + +Provides **strict** guidelines for as to _how_ commit messages should be formatted and written. + +#### `Makefile` + +#### `Procfile` + +Used by `Heroku`. + +read-more https://devcenter.heroku.com/articles/procfile + +#### `openapi.yaml` + +Contains definitions for the available `endpoints` that _this_ project provides following the Swagger/OpenAPI `^3.0.X` standard. + +#### `tsconfig.json` + +#### `.eslint.yaml` + +#### `.env.vault` + +#### `.deepsource.toml` + +#### `.dockerignore` & `docker/` + +#### `src/` + +#### `static/` + +As the implies, _this_ directory should contain files that are _static_, that will require very/no major change and/or need to be available globally. \ No newline at end of file From 624b765283fdd5daea27ae73ce71e1c300f9ca08 Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:53:12 +0100 Subject: [PATCH 08/32] chore(makefile): update heroku, dotenv, git update targets for heroku (most) including secrets update (heroku-dev), targets for git (most) including git-commit and git-setup, targets for dotenv-vault support (init); --- Makefile | 259 ++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 211 insertions(+), 48 deletions(-) diff --git a/Makefile b/Makefile index fc0858b5c..d9a743a77 100644 --- a/Makefile +++ b/Makefile @@ -118,7 +118,8 @@ dev-local-preview-1-click-spin: # # ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -# ▓▓ 🟪 HEROKU ▓▓ +# ▓ 🟪 HEROKU ▓ +# ▓ 👇 contains custom `heroku` commands and interaction with Heroku ▓ # ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ heroku-production-deploy: @@ -134,24 +135,47 @@ heroku-production-deploy: # heroku-production-deploy-branch-current: - @echo \ - "$(COLOUR_R)\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ - \n◼️ 🚀 Pushing current branch to Heroku-Prod ◼️\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ + @echo "" + # ▓ DESCRIPTION + # ▓ > custom use of `heroku` command. + # ▓ > for deploying currently active branch. + @echo "" + + @echo\ + "$(COLOUR_G)\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + \n▓ 🚀 heroku-prod | deploy current branch ▓\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ $(END_COLOUR)\n" + + @heroku\ + --remote heroku-dev\ + releases + @git push heroku-prod $$(git branch --show-current):main -f + + @ $(MAKE) misc-end-target # heroku-production-deploy-STOP: - @echo \ - "$(COLOUR_R)\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ - \n◼️ ❌ Heroku-Prod | Stopping Builds ◼️\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ - $(END_COLOUR)\n" - @heroku builds:cancel --remote heroku-prod @echo "" + # ▓ DESCRIPTION + # ▓ > custom use of `heroku` command. + # ▓ > for stopping currently active build. + @echo "" + + @echo\ + "$(COLOUR_G)\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + \n▓ ❌ heroku-prod | stop active build ▓\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + $(END_COLOUR)\n" + + @heroku\ + --remote heroku-prod\ + builds:cancel + + @ $(MAKE) misc-end-target # heroku-production-secrets-update: @@ -166,61 +190,165 @@ heroku-production-secrets-update: # heroku-development-deploy-branch-current: - @echo \ + @echo "" + # ▓ DESCRIPTION + # ▓ > custom use of `heroku` command. + # ▓ > for deploying currently active branch. + @echo "" + + @echo\ "$(COLOUR_G)\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ - \n◼️ 🚀 Pushing current branch to Heroku-Dev ◼️\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + \n▓ 🚀 heroku-dev | deploy current branch ▓\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ $(END_COLOUR)\n" - @heroku releases --remote heroku-dev - @echo "" + + @heroku\ + --remote heroku-dev\ + releases + @git push heroku-dev $$(git branch --show-current):main -f - @echo "" + + @ $(MAKE) misc-end-target # heroku-development-maintenance-OFF: - @echo \ + @echo "" + # ▓ DESCRIPTION + # ▓ > custom use of `heroku` command. + # ▓ > for setting project `maintenance mode` to OFF (a.k.a enabled) + @echo "" + + @echo\ "$(COLOUR_G)\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ - \n◼️ 🛠️ Heroku-Dev | Setting maintenance OFF ◼️\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + \n▓ 🛠️ heroku-dev | maintenance DISABLED ▓\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ $(END_COLOUR)\n" - # ### SEE: - # ### https://devcenter.heroku.com/articles/maintenance-mode - @heroku maintenance:off --remote heroku-dev + + @ # @see :> https://devcenter.heroku.com/articles/maintenance-mode + @heroku\ + --remote heroku-dev\ + maintenance:off + + @ $(MAKE) misc-end-target # heroku-development-maintenance-ON: - @echo \ + @echo "" + # ▓ DESCRIPTION + # ▓ > custom use of `heroku` command. + # ▓ > for setting project `maintenance mode` to ON (a.k.a disabled) + @echo "" + + @echo\ "$(COLOUR_G)\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ - \n◼️ 🛠️ Heroku-Dev | Setting maintenance ON ◼️\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + \n▓ 🛠️ heroku-dev | maintenance ACTIVE ▓\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ $(END_COLOUR)\n" - # ### SEE: - # ### https://devcenter.heroku.com/articles/maintenance-mode - @heroku maintenance:on --remote heroku-dev + + @ # @see :> https://devcenter.heroku.com/articles/maintenance-mode + @heroku\ + --remote heroku-dev\ + maintenance:on + + @ $(MAKE) misc-end-target # heroku-development-secrets-update: - @echo \ + @echo "" + # ▓ DESCRIPTION + # ▓ > custom use of `heroku` command. + # ▓ > for setting/pushing secrets for heroku. + @echo "" + + @echo\ "$(COLOUR_G)\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ - \n◼️ 🔑 Heroku-Dev | Updating Secrets ◼️\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + \n▓ 🔑 heroku-dev | setting secrets ▓\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ $(END_COLOUR)\n" - @heroku config:set --remote heroku-dev $$(grep -v '^#' .env.development | xargs) - @echo "" + + @ # ▓ TODO: + @ # ▓ > add support for 'unesetting ALL target .env.* file secrets' + @ # @heroku\ + config:unset\ + --remote heroku-dev\ + 🟩 SENTRY_AUTH_TOKEN SENTRY_ENVIRONMENT etc. + ❌ grep -v '^#' .env.development | xargs | grep -e '/(?:^|\s)([^=]*)/g' + + @ # ▓ NOTE: + @ # ▓ > ❌ deprecated + @ # ▓ > please use the command below (following). + @ # @heroku\ + config:set\ + --remote heroku-dev\ + $$(grep -v '^#' .env.development | xargs) + + @heroku\ + config:set\ + --remote heroku-dev\ + DOTENV_KEY=$$(npx dotenv-vault@1.25.0 keys production) + + @ $(MAKE) misc-end-target # heroku-development-bash: + @echo "" + # ▓ DESCRIPTION + # ▓ > custom use of `heroku` command. + # ▓ > used to access target `heroku remote bash` console. + @echo "" + + @heroku\ + --remote heroku-dev\ + run bash + + @ $(MAKE) misc-end-target +# + +# ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ +# ▓ 🔑 DOTENV SECRETS ▓ +# ▓ 👇 contains custom `heroku` commands and interaction with Heroku ▓ +# ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ + +dotenv-secrets-pull: + @echo "" + # ▓ DESCRIPTION + # ▓ > custom use of `dotenv` command. + # ▓ > for importing/pulling secrets. + # ▓ > use the `dotenv-vault help` for more information. + @echo "" + @echo \ "$(COLOUR_G)\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ - \n◼️ 🔑 Heroku-Dev | Accessing BASH ◼️\ - \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + \n▓ 🔑 dotenv | importing secrets ▓\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ $(END_COLOUR)\n" - @heroku run bash --remote heroku-dev + + @npx dotenv-vault@1.25.0 pull +# + +dotnev-secrets-keys: + @echo "" + # ▓ DESCRIPTION + # ▓ > custom use of `dotenv` command. + # ▓ > for importing/pulling secrets. + # ▓ > use the `dotenv-vault help` for more information. + @echo "" + + @echo \ + "$(COLOUR_G)\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + \n▓ 🔑 dotenv | generate encrypted secrets ▓\ + \n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\ + $(END_COLOUR)\n" + + @npx dotenv-vault@1.25.0 build + + @npx dotenv-vault@1.25.0 keys # # ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ @@ -240,13 +368,48 @@ sentry-sourcemaps-upload: # # ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -# ▓▓ 🐙 GITHUB ▓▓ +# ▓ 🐙 GIT ▓ +# ▓ 👇 contains custom `git` commands ▓ # ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -# ▓▓ NOTE: ▓▓ IMPORTANT -# ▓▓ next-line :: please run '_this_' Makefile target AFTER a successull "closed" -# ▓▓ next-line :: PR -> (main) to get (local) dev in pair with (main). +git-setup: + @echo "" + # ▓ DESCRIPTION + # ▓ > custom setup for GIT target executable. + @echo "" + + # ▓ @see :> https://stackoverflow.com/questions/1257592/how-do-i-remove-files-saying-old-mode-100755-new-mode-100644-from-unstaged-cha + @git config core.filemode false + + @git config \ + --list \ + --show-origin +# + +git-commit: + @echo "" + # ▓ DESCRIPTION + # ▓ > custom GIT commit target executable. + # ▓ > used for: + # ▓ > 1. MacOS system file clean, and + # ▓ > 2. enforce husky use + @echo "" + + $(MAKE) mac-os + + @# ▓ NOTE: + @# ▓ > initiate custom GIT commit flow. + @git commit +# + git-main-pr-close-clean: + @echo "" + # ▓ DESCRIPTION + # ▓ NOTE: ▓ IMPORTANT + # ▓ > please run '_this_' Makefile Target AFTER a successull "closed" + # ▓ > PR -> (main) to get (local) dev in pair with (main). + @echo "" + @echo \ "$(COLOUR_B)\ \n◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️\ From 175f6d4df8dd9aa00746b3c86860ece5d2aec78c Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:56:41 +0100 Subject: [PATCH 09/32] docs(_stash): rename README-DEV.md name change for README-DEV.md to _stash.md, containing stashed link resources used and encountered through the development of this project. --- README-DEV.md => docs/_stash.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename README-DEV.md => docs/_stash.md (100%) diff --git a/README-DEV.md b/docs/_stash.md similarity index 100% rename from README-DEV.md rename to docs/_stash.md From 2842d7d9ceb0548aa1afc511e249d030af290be7 Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 16:03:32 +0100 Subject: [PATCH 10/32] chore(prettier): delete remove use of prettier from the project, unecessary opiniated code styling enforcing when project uses its own styles enforced with eslint. --- .prettierignore | 13 ------------- .prettierrc | 14 -------------- 2 files changed, 27 deletions(-) delete mode 100644 .prettierignore delete mode 100644 .prettierrc diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 38972655f..000000000 --- a/.prettierignore +++ /dev/null @@ -1,13 +0,0 @@ -.DS_Store -node_modules -/build -/.svelte-kit -/package -.env -.env.* -!.env.example - -# Ignore files for PNPM, NPM and YARN -pnpm-lock.yaml -package-lock.json -yarn.lock diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 5bf51dcac..000000000 --- a/.prettierrc +++ /dev/null @@ -1,14 +0,0 @@ -{ - "useTabs": true, - "singleQuote": true, - "trailingComma": "none", - "singleAttributePerLine": true, - "bracketSameLine": false, - "printWidth": 120, - "plugins": ["prettier-plugin-svelte"], - "pluginSearchDirs": ["."], - "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }], - "svelteSortOrder" : "scripts-options-markup-styles", - "svelteStrictMode": false, - "svelteAllowShorthand": true -} \ No newline at end of file From 497c8fd5e1ca30650af7a5bb184373cfeb06e8da Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 16:06:36 +0100 Subject: [PATCH 11/32] chore(eslint): initialize add EsLint for project, including package.json and `.vscode/settings.json` update for `auto-fix` on save EsLint detected issues. --- .eslintignore | 13 ---- .eslintrc.cjs | 20 ------ .eslintrc.yaml | 139 ++++++++++++++++++++++++++++++++++++++++++ .vscode/settings.json | 12 +++- package.json | 6 +- 5 files changed, 153 insertions(+), 37 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc.cjs create mode 100644 .eslintrc.yaml diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 38972655f..000000000 --- a/.eslintignore +++ /dev/null @@ -1,13 +0,0 @@ -.DS_Store -node_modules -/build -/.svelte-kit -/package -.env -.env.* -!.env.example - -# Ignore files for PNPM, NPM and YARN -pnpm-lock.yaml -package-lock.json -yarn.lock diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index 3ccf435f0..000000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = { - root: true, - parser: '@typescript-eslint/parser', - extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'], - plugins: ['svelte3', '@typescript-eslint'], - ignorePatterns: ['*.cjs'], - overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], - settings: { - 'svelte3/typescript': () => require('typescript') - }, - parserOptions: { - sourceType: 'module', - ecmaVersion: 2020 - }, - env: { - browser: true, - es2017: true, - node: true - } -}; diff --git a/.eslintrc.yaml b/.eslintrc.yaml new file mode 100644 index 000000000..4d073c20d --- /dev/null +++ b/.eslintrc.yaml @@ -0,0 +1,139 @@ +# ▓▓ @see https://github.com/sveltejs/eslint-plugin-svelte + +root: true + +env: + es2017: true + node: true + browser: true + +extends: + - plugin:svelte/recommended + - eslint:recommended + - plugin:@typescript-eslint/strict + # ▓▓ WARNING: + # ▓▓ 👇 all-below :: does not work with svelte. + # - plugin:import/errors + # - plugin:import/warnings + # - plugin:import/typescript + # ▓▓ @see https://www.npmjs.com/package/eslint-config-google + # - google + # - prettier + # ▓▓ NOTE: + # ▓▓ 👇 already contained within ../strict. + # - plugin:@typescript-eslint/recommended + # - plugin:@typescript-eslint/stylistic + +parser: + "@typescript-eslint/parser" + +parserOptions: + project: + - tsconfig.json + sourceType: module + ecmaVersion: 2020 + extraFileExtensions: + - '.svelte' + +overrides: + - files: + - '*.svelte' + parser: 'svelte-eslint-parser' + parserOptions: + parser: '@typescript-eslint/parser' + +ignorePatterns: + - .DS_Store + - node_modules + - /build + - /.svelte-kit + - /package + - .env + - .env.* + - '!.env.example' + - pnpm-lock.yaml + - package-lock.json + - yarn.lock + +plugins: + - "@typescript-eslint" + - svelte + # ▓▓ WARNING: + # ▓▓ 👇 all-below :: does not work with svelte. + # - import + +# ▓▓ IMPORTANT +# ▓▓ Main 'defacto' configuration, do not remove and/or alter heavily. +# ▓▓ @see https://eslint.org/docs/latest/rules/ +rules: + + # ▓▓ NOTE: + # ▓▓ has been depreceted. + # "valid-jsdoc": [..] + no-unexpected-multiline: 0 + import/no-unresolved: 0 + # ▓▓ NOTE: + # ▓▓ Ideal, but doesn't work as expected :: [ "error", "always", { "allowNewlines": true } ] + # ▓▓ as it requires a space after function declaration, 'always'. + func-call-spacing: 0 + + "@typescript-eslint/no-inferrable-types": 0 + "@typescript-eslint/prefer-for-of": error + "@typescript-eslint/no-non-null-asserted-nullish-coalescing": error + + curly: + - error + - multi-or-nest + max-len: + - error + - code: 150 + quotes: + - error + - single + object-curly-spacing: + - error + - always + brace-style: + - error + - allman + - allowSingleLine: true + indent: + - error + - 2 + space-before-function-paren: + - error + - anonymous: always + named: always + asyncArrow: always + padded-blocks: + - error + - blocks: never + comma-dangle: + - error + - only-multiline + comma-style: + - error + - first + operator-linebreak: + - error + - before + new-cap: + - error + - capIsNewExceptionPattern: "^express\\.." + camelcase: + - error + - ignoreImports: true + ignoreDestructuring: true + properties: never + allow: + - "^if_M_" + - "^B_H_" + eol-last: + - error + - always + arrow-body-style: + - error + - always + one-var: + - error + - initialized: "consecutive" \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 4e36284e3..38799c043 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -74,5 +74,15 @@ "profile": "Layout", "tablet": "Mobile", "loaders": "Theme" - } + }, + // "eslint.enable": true, + // "eslint.validate": ["javascript", "javascriptreact", "svelte"] + "eslint.codeActionsOnSave": false, + "eslint.validate": [ + "javascript", + "javascriptreact", + "svelte" + ], + "eslint.enable": true + } \ No newline at end of file diff --git a/package.json b/package.json index c3c304972..efb7ee30a 100644 --- a/package.json +++ b/package.json @@ -93,10 +93,10 @@ "husky": "^8.0.3", "cypress": "^12.17.1", "cz-conventional-changelog": "^3.3.0", - "eslint": "^8.39.0", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-svelte": "^2.30.0", "is-ci": "^3.0.1", + "eslint": "^8.51.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-svelte": "^2.34.0", "jsdom": "^22.1.0", "node-fetch": "^3.3.1", "prettier": "^2.8.8", From c6e0ed86a322e79b3094cb2a4cea75ddd66f1232 Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Thu, 23 Nov 2023 16:19:03 +0100 Subject: [PATCH 12/32] docs(readme.md): update adding project badges --- README.md | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e784e2b38..b9a66aa88 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,34 @@ -