diff --git a/components/clarinet-sdk/templates/package.json b/components/clarinet-sdk/templates/package.json index e4254433f..15eaaacbf 100644 --- a/components/clarinet-sdk/templates/package.json +++ b/components/clarinet-sdk/templates/package.json @@ -12,12 +12,12 @@ "author": "", "license": "ISC", "dependencies": { - "@hirosystems/clarinet-sdk": "^1.0.0", - "@stacks/transactions": "^6.9.0", + "@hirosystems/clarinet-sdk": "^2.3.0", + "@stacks/transactions": "^6.12.0", "chokidar-cli": "^3.0.0", - "typescript": "^5.2.2", - "vite": "^5.0.6", - "vitest": "^1.0.1", - "vitest-environment-clarinet": "^1.1.0" + "typescript": "^5.3.3", + "vite": "^5.1.4", + "vitest": "^1.3.1", + "vitest-environment-clarinet": "^2.0.0" } } diff --git a/components/clarinet-sdk/templates/vitest.config.js b/components/clarinet-sdk/templates/vitest.config.js index 8d01c50aa..6b327a6e4 100644 --- a/components/clarinet-sdk/templates/vitest.config.js +++ b/components/clarinet-sdk/templates/vitest.config.js @@ -21,7 +21,12 @@ import { vitestSetupFilePath, getClarinetVitestsArgv } from "@hirosystems/clarin export default defineConfig({ test: { environment: "clarinet", // use vitest-environment-clarinet - singleThread: true, + pool: "forks", + poolOptions: { + threads: { + singleThread: true, + }, + }, setupFiles: [ vitestSetupFilePath, // custom setup files can be added here