From 9d135c88fc2f810353c194de16b08a939a7b84df Mon Sep 17 00:00:00 2001 From: Richard Kenigs Date: Fri, 25 Oct 2024 15:53:35 +0200 Subject: [PATCH] imporve dev mode --- packages/builder/package.json | 2 +- packages/config/package.json | 2 +- packages/mrl/package.json | 2 +- packages/sdk/package.json | 2 +- packages/types/package.json | 2 +- packages/utils/package.json | 2 +- turbo.json | 3 ++- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/builder/package.json b/packages/builder/package.json index 14ba345c..3f5fe8a6 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -4,7 +4,7 @@ "description": "Moonbeam XCM builder", "scripts": { "build": "tsup", - "dev": "pnpm run build -- --watch", + "dev": "tsup --watch", "typecheck": "tsc --noEmit", "test": "vitest --run", "test:watch": "vitest", diff --git a/packages/config/package.json b/packages/config/package.json index 8d67c9e0..3753a617 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -4,7 +4,7 @@ "description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back", "scripts": { "build": "tsup", - "dev": "pnpm run build -- --watch", + "dev": "tsup --watch", "typecheck": "tsc --noEmit", "test": "vitest --run", "test:watch": "vitest", diff --git a/packages/mrl/package.json b/packages/mrl/package.json index 3be6de5b..3a84588b 100644 --- a/packages/mrl/package.json +++ b/packages/mrl/package.json @@ -4,7 +4,7 @@ "description": "Moonbeam Routed Liquidity", "scripts": { "build": "tsup", - "dev": "pnpm run build -- --watch", + "dev": "tsup --watch", "typecheck": "tsc --noEmit", "prepack": "prettier --write build/index.d.ts" }, diff --git a/packages/sdk/package.json b/packages/sdk/package.json index cfc54326..4c6e2328 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -4,7 +4,7 @@ "description": "The Moonbeam XCM SDK enables developers to easily deposit and withdraw assets to Moonbeam/Moonriver from the relay chain and other parachains in the Polkadot/Kusama ecosystem", "scripts": { "build": "tsup", - "dev": "pnpm run build -- --watch", + "dev": "tsup --watch", "typecheck": "tsc --noEmit", "test:acc": "vitest --run --testTimeout 300000 ./tests/acceptance", "prepack": "prettier --write build/index.d.ts" diff --git a/packages/types/package.json b/packages/types/package.json index 0988a403..522166fe 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -4,7 +4,7 @@ "description": "Moonbeam XCM Types", "scripts": { "build": "tsup", - "dev": "pnpm run build -- --watch", + "dev": "tsup --watch", "test": "vitest --run", "test:watch": "vitest", "test:update": "vitest -u", diff --git a/packages/utils/package.json b/packages/utils/package.json index 1e955efa..a655149d 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -4,7 +4,7 @@ "description": "Moonbeam XCM utilities", "scripts": { "build": "tsup", - "dev": "pnpm run build -- --watch", + "dev": "tsup --watch", "typecheck": "tsc --noEmit", "test": "vitest --run", "test:watch": "vitest", diff --git a/turbo.json b/turbo.json index 251e6da8..92657dd8 100644 --- a/turbo.json +++ b/turbo.json @@ -6,7 +6,8 @@ "dependsOn": ["^build"] }, "dev": { - "cache": false + "cache": false, + "persistent": true }, "link": { "cache": false