@hirosystems/clarinet-sdk
Advanced tools
Comparing version 2.8.0-beta4 to 2.8.0-beta5
import path from "node:path"; | ||
import url from "node:url"; | ||
import yargs from "yargs"; | ||
@@ -40,4 +41,9 @@ import { hideBin } from "yargs/helpers"; | ||
} | ||
export const vitestHelpersPath = path.join(import.meta.resolve("@hirosystems/clarinet-sdk"), "../../vitest-helpers/src/"); | ||
// ensure vitest helpers can be imported even in workspace setup | ||
// import.meta.resolve return an url like "file:///absolute/path/to/clarinet-sdk/dist/esm/index.js" | ||
const sdkURL = import.meta.resolve("@hirosystems/clarinet-sdk"); | ||
const sdkPath = url.fileURLToPath(sdkURL); | ||
const sdkDir = path.dirname(sdkPath); | ||
export const vitestHelpersPath = path.join(sdkDir, "../../vitest-helpers/src/"); | ||
export const vitestSetupFilePath = path.join(vitestHelpersPath, "vitest.setup.ts"); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@hirosystems/clarinet-sdk", | ||
"version": "2.8.0-beta4", | ||
"version": "2.8.0-beta5", | ||
"description": "A SDK to interact with Clarity Smart Contracts in node.js", | ||
@@ -64,3 +64,3 @@ "homepage": "https://www.hiro.so/clarinet", | ||
"dependencies": { | ||
"@hirosystems/clarinet-sdk-wasm": "^2.8.0-beta4", | ||
"@hirosystems/clarinet-sdk-wasm": "^2.8.0-beta5", | ||
"@stacks/transactions": "^6.13.0", | ||
@@ -67,0 +67,0 @@ "kolorist": "^1.8.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94564
1536