From cee8f9da988ec338646b3c770be20e97b1f82064 Mon Sep 17 00:00:00 2001 From: Maksim Nedoshev Date: Mon, 26 Aug 2024 14:10:55 +0300 Subject: [PATCH] chore: use docker compose instead of deprecated docker-compose --- packages/bundlers-tests/package.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/bundlers-tests/package.json b/packages/bundlers-tests/package.json index c80cb49320..0792fb68a8 100644 --- a/packages/bundlers-tests/package.json +++ b/packages/bundlers-tests/package.json @@ -3,20 +3,20 @@ "private": true, "version": "0.0.0", "scripts": { - "build:local-packages-18": "docker image prune -f && docker container prune -f && docker-compose --profile local-packages-18 build --no-cache", - "build:local-packages-lts": "docker image prune -f && docker container prune -f && docker-compose --profile local-packages-lts build --no-cache", + "build:local-packages-18": "docker image prune -f && docker container prune -f && docker compose --profile local-packages-18 build --no-cache", + "build:local-packages-lts": "docker image prune -f && docker container prune -f && docker compose --profile local-packages-lts build --no-cache", "build:test-page": "tsx ./kitchensink-builder/create-test-page.ts", - "run:vite": "docker-compose --profile run-vite up", - "run:webpack": "docker-compose --profile run-webpack up", - "run:nuxt-ssr": "docker-compose --profile nuxt-ssr up", - "run:nuxt-spa": "docker-compose --profile nuxt-spa up", - "test:vite": "docker-compose --profile vite up --build --exit-code-from cypress_vite", - "test:vite-cjs": "docker-compose --profile vite-cjs up --build --exit-code-from cypress_vite_cjs", - "test:cli": "docker-compose --profile cli up --build --exit-code-from cypress_cli", + "run:vite": "docker compose --profile run-vite up", + "run:webpack": "docker compose --profile run-webpack up", + "run:nuxt-ssr": "docker compose --profile nuxt-ssr up", + "run:nuxt-spa": "docker compose --profile nuxt-spa up", + "test:vite": "docker compose --profile vite up --build --exit-code-from cypress_vite", + "test:vite-cjs": "docker compose --profile vite-cjs up --build --exit-code-from cypress_vite_cjs", + "test:cli": "docker compose --profile cli up --build --exit-code-from cypress_cli", "test:nuxt": "yarn test:nuxt-ssr", - "test:webpack": "docker-compose --profile webpack up --build --exit-code-from cypress_webpack", - "test:nuxt-ssr": "docker-compose --profile nuxt-ssr up --build --exit-code-from cypress_nuxt_ssr", - "test:nuxt-spa": "docker-compose --profile nuxt-spa up --build --exit-code-from cypress_nuxt_spa", + "test:webpack": "docker compose --profile webpack up --build --exit-code-from cypress_webpack", + "test:nuxt-ssr": "docker compose --profile nuxt-ssr up --build --exit-code-from cypress_nuxt_ssr", + "test:nuxt-spa": "docker compose --profile nuxt-spa up --build --exit-code-from cypress_nuxt_spa", "test": "yarn build:test-page && yarn build:local-packages-18 && yarn build:local-packages-lts && yarn test:nuxt && yarn test:vite && yarn test:18", "test:18": "yarn build:local-packages-18 && yarn test:vite" }