From 8b9bd8ba21f49daf91ded3cdea3fba2e042b1635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Rame=CC=81?= Date: Tue, 20 Feb 2024 20:54:40 +0100 Subject: [PATCH] fix: prevent "only-include-used-icons" being run in parallel --- package.json | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index bde9d54..a43f755 100644 --- a/package.json +++ b/package.json @@ -8,15 +8,20 @@ }, "license": "AGPL-3.0", "scripts": { - "dev": "concurrently --kill-others -c \"auto\" \"npm:dev:app\" \"npm:dev:storybook\"", - "dev:app": "only-include-used-icons && dotenv-run-script .env.test -- dev:app:unsecure", - "dev:app:unsecure": "next dev", - "dev:storybook": "only-include-used-icons && storybook dev -p 6006 --no-open", - "build": "concurrently --kill-others-on-fail -c \"auto\" \"npm:build:app\" \"npm:build:storybook\"", - "build:test": "concurrently --kill-others-on-fail -c \"auto\" \"npm:build:app:test\" \"npm:build:storybook\"", - "build:app": "only-include-used-icons && npm run db:schema:compile && next build", - "build:app:test": "only-include-used-icons && dotenv-run-script .env.test && npm run db:schema:compile && next build", - "build:storybook": "only-include-used-icons && storybook build", + "dev": "only-include-used-icons && concurrently --kill-others -c \"auto\" \"npm:dev:app:command\" \"npm:dev:storybook:command\"", + "dev:app": "only-include-used-icons && npm run dev:app:command", + "dev:app:command": "dotenv-run-script .env.test -- dev:app:unsecure", + "dev:app:command:unsecure": "next dev", + "dev:storybook": "only-include-used-icons && npm run dev:storybook:command", + "dev:storybook:command": "storybook dev -p 6006 --no-open", + "build": "only-include-used-icons && concurrently --kill-others-on-fail -c \"auto\" \"npm:build:app:command\" \"npm:build:storybook:command\"", + "build:test": "only-include-used-icons && concurrently --kill-others-on-fail -c \"auto\" \"npm:build:app:test:command\" \"npm:build:storybook:command\"", + "build:app": "only-include-used-icons && npm run build:app:command", + "build:app:command": "npm run db:schema:compile && next build", + "build:app:test": "only-include-used-icons && npm run build:app:test:command", + "build:app:test:command": "dotenv-run-script .env.test && npm run db:schema:compile && next build", + "build:storybook": "only-include-used-icons && npm run build:storybook:command", + "build:storybook:command": "storybook build", "start:test": "concurrently --kill-others -c \"auto\" \"npm:start:app:test\" \"npm:start:storybook\"", "start": "concurrently --kill-others -c \"auto\" \"npm:start:app\" \"npm:start:storybook\"", "start:app:test": "dotenv-run-script .env.test -- start:app",