From 46998d33d02e9ef38cdd5bd0579141613b49134b Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Fri, 28 Apr 2023 12:17:22 +0200 Subject: [PATCH 1/5] Use generic Prettier job in GitLab CI --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6193962..f686b80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ include: - config/node/npm-install.yml - config/node/eslint.yml - config/node/stylelint.yml - - config/node/prettier-twig.yml + - config/node/prettier.yml - config/php/composer-install.yml - config/php/phpcs.yml - config/php/phpstan.yml @@ -29,7 +29,7 @@ node_stylelint: variables: STYLELINT_ARGS: 'web/wp-content/themes/studiometa/src/**/*.scss' -node_prettier_twig: +node_prettier: variables: PRETTIER_ARGS: 'web/wp-content/themes/studiometa/templates/**/*.twig' From a91753eb81381f04a035572ab2600556b1d35246 Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Fri, 26 May 2023 13:38:05 +0200 Subject: [PATCH 2/5] Remove obsolete override of the `php_phpstan` job --- .gitlab-ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f686b80..62ced25 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,7 +37,3 @@ php_phpcs: variables: PHPCS_ARGS: --extensions=php --standard=./phpcs.xml --report=\\Satesh\\Phpcs\\GitLabReport --report-file=gl-phpcs-codequality.json -php_phpstan: - variables: - PHP_EXEC_CMD_ARGS: -e 'XDEBUG_MODE=off' - PHPSTAN_ARGS: analyse --error-format=gitlab > gl-phpstan-codequality.json From c40fcdcedf4af798521997bf51694031cb441f8c Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Fri, 26 May 2023 13:38:12 +0200 Subject: [PATCH 3/5] Update changelog --- CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26de372..f8adc9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,5 @@ # Changelog -Tous les changements notables de ce projet seront documentés dans ce fichier. Le format est basé sur [Keep a Changelog](https://keepachangelog.com/fr/1.0.0/), -et ce projet suit les règles du [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +Tous les changements notables de ce projet seront documentés dans ce fichier. Le format est basé sur [Keep a Changelog](https://keepachangelog.com/fr/1.0.0/), et ce projet suit les règles du [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Non publié From e450829394eced4010da81c77605e2407f60a5bc Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Fri, 26 May 2023 13:41:27 +0200 Subject: [PATCH 4/5] Update TS module resolution --- jsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsconfig.json b/jsconfig.json index 9cad53f..10c6aae 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -9,6 +9,6 @@ "noImplicitThis": true, "esModuleInterop": true, "lib": ["esnext", "dom"], - "moduleResolution": "node" + "moduleResolution": "bundler" } } From 402ecb7b159616da61f3d6a80f27389d97e8bb59 Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Fri, 26 May 2023 13:41:58 +0200 Subject: [PATCH 5/5] Rename readme file to follow convention --- readme.md => README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename readme.md => README.md (100%) diff --git a/readme.md b/README.md similarity index 100% rename from readme.md rename to README.md