From 10ddbfb6924886f88f9ddf79644fd5946fbd76b6 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Mon, 13 Mar 2023 22:52:54 +0100 Subject: [PATCH] update scripts --- apps/desktop/package.json | 2 +- apps/mobile/package.json | 2 +- packages/icons/package.json | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/desktop/package.json b/apps/desktop/package.json index db4876d9..74a60a5d 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -8,7 +8,7 @@ "build": "vite build", "typecheck": "tsc", "preview": "vite preview", - "clean": "rimraf node_modules" + "clean": "rimraf node_modules .turbo" }, "dependencies": { "@tauri-apps/api": "^1.2.0", diff --git a/apps/mobile/package.json b/apps/mobile/package.json index 36131485..5708d41c 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -10,7 +10,7 @@ "start": "expo start --dev-client", "lint": "eslint screens", "#typecheck": "tsc", - "clean": "rimraf node_modules" + "clean": "rimraf node_modules .turbo" }, "dependencies": { "@babel/runtime": "^7.18.9", diff --git a/packages/icons/package.json b/packages/icons/package.json index ca9a8340..5ef13864 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -37,7 +37,7 @@ }, "scripts": { "dev": "vite build --watch --mode development", - "generate": "rimraf 12 16 20 reactions && svgr src && yarn fix", + "generate": "rimraf 12 16 20 reactions && svgr src --silent && yarn fix", "prebuild": "yarn generate", "build": "vite build", "postbuild": "yarn typegen", @@ -45,10 +45,10 @@ "typecheck": "tsc", "typegen": "tsc --noEmit false --emitDeclarationOnly || true", "lint": "eslint '{12,16,20,reactions}/**/*.{ts,tsx}'", - "lint:fix": "eslint '{12,16,20,reactions}/**/*.{ts,tsx}' --fix", + "lint:fix": "yarn lint --fix", "format": "prettier --write '{12,16,20,reactions}/**/*.{ts,tsx}'", - "fix": "yarn lint:fix && yarn format", - "clean": "rimraf dist node_modules .turbo" + "fix": "yarn lint:fix && yarn format --loglevel=silent", + "clean": "rimraf 12 16 20 dist node_modules .turbo" }, "peerDependencies": { "react": "^16.x || ^17.x || ^18.x",