-
-
Notifications
You must be signed in to change notification settings - Fork 958
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
13,201 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,6 @@ export default defineConfig({ | |
}, | ||
], | ||
webServer: { | ||
command: 'bun run dev', | ||
command: 'pnpm dev', | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,6 @@ export default defineConfig({ | |
}, | ||
], | ||
webServer: { | ||
command: 'bun run dev', | ||
command: 'pnpm dev', | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,38 @@ | ||
{ | ||
"workspaces": ["examples/*", "environments/*", "site", "src", "test"], | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"bench": "vitest bench", | ||
"bench:ci": "CI=true vitest bench", | ||
"build": "bun run clean && bun run build:cjs && bun run build:esm && bun run build:types", | ||
"build:cjs": "bun run build:trustedSetups:start && tsc --project ./tsconfig.build.json --module commonjs --outDir ./src/_cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./src/_cjs/package.json && bun run build:trustedSetups:end", | ||
"build:esm": "tsc --project ./tsconfig.build.json --module es2015 --outDir ./src/_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./src/_esm/package.json", | ||
"build": "pnpm clean && pnpm build:cjs && pnpm build:esm && pnpm build:types", | ||
"build:cjs": "pnpm build:trustedSetups:start && tsc --project ./tsconfig.build.json --module commonjs --outDir ./src/_cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./src/_cjs/package.json && pnpm build:trustedSetups:end", | ||
"build:esm": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./src/_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./src/_esm/package.json", | ||
"build:trustedSetups:start": "mv src/node/trustedSetups.ts src/node/trustedSetups_esm.ts && mv src/node/trustedSetups_cjs.ts src/node/trustedSetups.ts", | ||
"build:trustedSetups:end": "mv src/node/trustedSetups.ts src/node/trustedSetups_cjs.ts && mv src/node/trustedSetups_esm.ts src/node/trustedSetups.ts", | ||
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./src/_types --emitDeclarationOnly --declaration --declarationMap", | ||
"changeset": "changeset", | ||
"changeset:prepublish": "bun run version:update && bun scripts/prepublishOnly.ts && bun run build", | ||
"changeset:publish": "bun run changeset:prepublish && changeset publish", | ||
"changeset:version": "changeset version && bun install --lockfile-only && bun version:update", | ||
"clean": "rimraf src/_esm src/_cjs src/_types", | ||
"changeset:prepublish": "pnpm version:update && bun scripts/prepublishOnly.ts && pnpm build", | ||
"changeset:publish": "pnpm changeset:prepublish && changeset publish", | ||
"changeset:version": "changeset version && pnpm install --lockfile-only && pnpm version:update", | ||
"clean": "rimraf tsconfig.tsbuildinfo src/_esm src/_cjs src/_types", | ||
"contracts:build": "forge build --config-path ./test/foundry.toml && bun ./scripts/generateTypedArtifacts.ts", | ||
"docs:dev": "cd site && bun run dev", | ||
"docs:build": "cd site && bun run build", | ||
"docs:preview": "cd site && bun run preview", | ||
"docs:dev": "cd site && pnpm dev", | ||
"docs:build": "cd site && pnpm build", | ||
"docs:preview": "cd site && pnpm preview", | ||
"lint": "biome check . --apply", | ||
"postinstall": "git submodule update --init --recursive && bun run contracts:build", | ||
"prepare": "bun x simple-git-hooks", | ||
"postinstall": "git submodule update --init --recursive && pnpm contracts:build", | ||
"prepare": "pnpm simple-git-hooks", | ||
"prepublishOnly": "bun scripts/prepublishOnly.ts", | ||
"size": "size-limit", | ||
"test": "vitest -c ./test/vitest.config.ts dev", | ||
"test:chains": "vitest test/chains.test.ts", | ||
"test:ci": "CI=true vitest -c ./test/vitest.config.ts --coverage --retry=3 --bail=1 --pool=forks", | ||
"test:cov": "vitest dev -c ./test/vitest.config.ts --coverage", | ||
"test:env": "bun run test:env:bun && bun run test:env:next && bun run test:env:node && bun run test:env:vite && bun run test:env:sveltekit", | ||
"test:env:bun": "cd environments/bun && bun run test", | ||
"test:env:next": "cd environments/next && bun run test", | ||
"test:env:node": "cd environments/node && bun run test", | ||
"test:env:sveltekit": "cd environments/sveltekit && bun run test", | ||
"test:env:tsc": "cd environments/tsc && bun run test", | ||
"test:env:vite": "cd environments/vite && bun run test", | ||
"test:env": "pnpm test:env:bun && pnpm test:env:next && pnpm test:env:node && pnpm test:env:vite && pnpm test:env:sveltekit", | ||
"test:env:bun": "cd environments/bun && pnpm test", | ||
"test:env:next": "cd environments/next && pnpm test", | ||
"test:env:node": "cd environments/node && pnpm test", | ||
"test:env:sveltekit": "cd environments/sveltekit && pnpm test", | ||
"test:env:tsc": "cd environments/tsc && pnpm test", | ||
"test:env:vite": "cd environments/vite && pnpm test", | ||
"test:typecheck": "SKIP_GLOBAL_SETUP=true vitest --typecheck.only -c ./test/vitest.config.ts", | ||
"test:ui": "vitest dev -c ./test/vitest.config.ts --ui", | ||
"typebench": "tsx test/typebench.ts --benchPercentThreshold 10 --benchErrorOnThresholdExceeded", | ||
|
@@ -56,6 +53,8 @@ | |
"@viem/anvil": "0.0.10", | ||
"@vitest/coverage-v8": "^1.0.4", | ||
"@vitest/ui": "^1.0.4", | ||
"abitype": "1.0.0", | ||
"bun": "^1.1.12", | ||
"c-kzg": "^2.1.2", | ||
"ethers": "^6.0.2", | ||
"fs-extra": "^10.1.0", | ||
|
@@ -64,12 +63,13 @@ | |
"simple-git-hooks": "^2.8.1", | ||
"size-limit": "^11.1.2", | ||
"tsx": "^4.11.0", | ||
"typescript": "5.4.2", | ||
"typescript": "5.4.5", | ||
"vite": "^5.0.7", | ||
"vitest": "^1.0.4" | ||
}, | ||
"trustedDependencies": ["c-kzg"], | ||
"packageManager": "[email protected]", | ||
"simple-git-hooks": { | ||
"pre-commit": "bun run lint" | ||
"pre-commit": "pnpm lint" | ||
} | ||
} |
Oops, something went wrong.