|
45 | 45 | "compile:docs": "typedoc", |
46 | 46 | "compile:js": "tsup --config build-scripts/tsup.config.package.ts", |
47 | 47 | "compile:typedefs": "tsc -p ./tsconfig.declarations.json", |
48 | | - "dev": "jest -c ../../node_modules/@solana/test-config/jest-dev.config.ts --rootDir . --watch", |
| 48 | + "dev": "NODE_OPTIONS=\"--localstorage-file=/tmp/node-localstorage-$(head /dev/urandom | tr -dc a-zA-Z0-9 | head -c 8)\" jest -c ../../node_modules/@solana/test-config/jest-dev.config.ts --rootDir . --watch", |
49 | 49 | "prepublishOnly": "pnpm pkg delete devDependencies", |
50 | 50 | "publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || (pnpm publish --tag ${PUBLISH_TAG:-canary} --access public --no-git-checks && (([ -n \"${GITHUB_OUTPUT:-}\" ] && echo 'published=true' >> \"$GITHUB_OUTPUT\") || true) && (([ \"$PUBLISH_TAG\" != \"canary\" ] && ../build-scripts/maybe-tag-latest.ts --token \"$GITHUB_TOKEN\" $npm_package_name@$npm_package_version) || true))", |
51 | 51 | "publish-packages": "pnpm prepublishOnly && pnpm publish-impl", |
|
56 | 56 | "test:treeshakability:native": "agadoo dist/index.node.mjs", |
57 | 57 | "test:treeshakability:node": "agadoo dist/index.native.mjs", |
58 | 58 | "test:typecheck": "tsc --noEmit", |
59 | | - "test:unit:browser": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-unit.config.browser.ts --rootDir . --silent", |
60 | | - "test:unit:node": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-unit.config.node.ts --rootDir . --silent" |
| 59 | + "test:unit:browser": "NODE_OPTIONS=\"--localstorage-file=/tmp/node-localstorage-$(head /dev/urandom | tr -dc a-zA-Z0-9 | head -c 8)\" TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-unit.config.browser.ts --rootDir . --silent", |
| 60 | + "test:unit:node": "NODE_OPTIONS=\"--localstorage-file=/tmp/node-localstorage-$(head /dev/urandom | tr -dc a-zA-Z0-9 | head -c 8)\" TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-unit.config.node.ts --rootDir . --silent" |
61 | 61 | }, |
62 | 62 | "author": "Solana Labs Maintainers <maintainers@solanalabs.com>", |
63 | 63 | "license": "MIT", |
|
0 commit comments