diff --git a/packages/backend/package.json b/packages/backend/package.json index ed07599af..798606304 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -27,7 +27,7 @@ "yaml": "^2.1.3" }, "scripts": { - "docker:up": "docker-compose up -d", + "docker:up": "docker compose up -d", "prisma-init": "prisma generate && prisma migrate deploy ", "start": "yarn prisma-init && node ./dist/index.js", "start-inspect": "node --inspect=0.0.0.0:9229 ./dist/index.js", @@ -35,7 +35,7 @@ "build": "yarn tsc && cp ./config.yml ./dist/config.yml | true", "build:schema": "sh ./schemas.sh", "createDeliveryServiceProfile": "node --no-warnings ./cli.js", - "before:tests": "docker-compose -f docker-compose.test.yml up -d && DATABASE_URL='postgresql://prisma:prisma@localhost:5433/tests?schema=public' yarn prisma-init" + "before:tests": "docker compose -f docker-compose.test.yml up -d && DATABASE_URL='postgresql://prisma:prisma@localhost:5433/tests?schema=public' yarn prisma-init" }, "devDependencies": { "@babel/core": "^7.19.6", diff --git a/packages/delivery-service/package.json b/packages/delivery-service/package.json index d9c3a4a17..e8588f753 100644 --- a/packages/delivery-service/package.json +++ b/packages/delivery-service/package.json @@ -24,14 +24,14 @@ "yaml": "^2.1.3" }, "scripts": { - "docker:up": "docker-compose up -d", + "docker:up": "docker compose up -d", "start": "node ./dist/index.js", "start-inspect": "node --inspect=0.0.0.0:9229 ./dist/index.js", "test": "yarn run before:tests && jest --coverage --runInBand --transformIgnorePatterns 'node_modules/(?!(dm3-lib-\\w*)/)' ", "build": "yarn tsc ", "createDeliveryServiceProfile": "node --no-warnings ./cli.js", - "before:tests": "docker-compose -f docker-compose.test.yml up -d", - "after:tests": "docker-compose -f docker-compose.test.yml down" + "before:tests": "docker compose -f docker-compose.test.yml up -d", + "after:tests": "docker compose -f docker-compose.test.yml down" }, "devDependencies": { "@babel/core": "^7.19.6",