From 0ef3484231a56524586ae0eb8cffb1ba60a733dc Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Tue, 6 Aug 2024 08:52:33 +0200 Subject: [PATCH 1/2] [KocalBiomeJsBundle] Add recipe for 1.1 --- kocal/biome-js-bundle/1.1/biome.json | 12 ++++++++++++ .../1.1/config/packages/kocal_biome_js.yaml | 7 +++++++ kocal/biome-js-bundle/1.1/manifest.json | 9 +++++++++ 3 files changed, 28 insertions(+) create mode 100644 kocal/biome-js-bundle/1.1/biome.json create mode 100644 kocal/biome-js-bundle/1.1/config/packages/kocal_biome_js.yaml create mode 100644 kocal/biome-js-bundle/1.1/manifest.json diff --git a/kocal/biome-js-bundle/1.1/biome.json b/kocal/biome-js-bundle/1.1/biome.json new file mode 100644 index 000000000..1a38bd8c2 --- /dev/null +++ b/kocal/biome-js-bundle/1.1/biome.json @@ -0,0 +1,12 @@ +{ + "files": { + "ignore": [ + "assets/vendor/*", + "assets/controllers.json", + "composer.json", + "public/assets/*", + "public/bundles/*", + "vendor/*" + ] + } +} diff --git a/kocal/biome-js-bundle/1.1/config/packages/kocal_biome_js.yaml b/kocal/biome-js-bundle/1.1/config/packages/kocal_biome_js.yaml new file mode 100644 index 000000000..233a5d8b3 --- /dev/null +++ b/kocal/biome-js-bundle/1.1/config/packages/kocal_biome_js.yaml @@ -0,0 +1,7 @@ +when@dev: + kocal_biome_js: + # Biome.js CLI version to use: + # - "latest_stable": use the latest stable version + # - "latest_nightly": use the latest nightly version + # - or a specific version, e.g. "v1.8.3", find available tags at https://github.com/biomejs/biome/tags + binary_version: 'latest_stable' diff --git a/kocal/biome-js-bundle/1.1/manifest.json b/kocal/biome-js-bundle/1.1/manifest.json new file mode 100644 index 000000000..a4422b626 --- /dev/null +++ b/kocal/biome-js-bundle/1.1/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Kocal\\BiomeJsBundle\\KocalBiomeJsBundle": ["dev"] + }, + "copy-from-recipe": { + "biome.json": "biome.json", + "config/": "%CONFIG_DIR%/" + } +} From c431d88343360b01e2cd5fdc48d0e485c02a813c Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Tue, 6 Aug 2024 08:54:47 +0200 Subject: [PATCH 2/2] =?UTF-8?q?[KocalBiomeJsBundle]=C2=A0Apply=20biome.jso?= =?UTF-8?q?n=20config=20from=201.1=20to=201.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kocal/biome-js-bundle/1.0/biome.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kocal/biome-js-bundle/1.0/biome.json b/kocal/biome-js-bundle/1.0/biome.json index d93e56596..1a38bd8c2 100644 --- a/kocal/biome-js-bundle/1.0/biome.json +++ b/kocal/biome-js-bundle/1.0/biome.json @@ -1,10 +1,12 @@ { "files": { "ignore": [ - "composer.json", "assets/vendor/*", - "vendor/*", - "public/bundles/*" + "assets/controllers.json", + "composer.json", + "public/assets/*", + "public/bundles/*", + "vendor/*" ] } }