mirror of
https://github.com/hanzoai/viem.git
synced 2026-10-30 19:36:39 +00:00
* wip: checkpoint * wip: checkpoint * wip: checkpoint * wip: checkpoint * docs: stub sidebar * chore: snapshots * wip: solady signTypedData * chore: comments * wip * wip: utilize getEip712Domain * fix * wip: refactor * tests * fix types * types * chore: update test * wip: checkpoint * wip: checkpoint * wip: checkpoint * wip: checkpoint * wip: checkpoint * wip: checkpoint * wip: checkpoint * wip: EP 0.6 types * wip: checkpoint * wip: checkpoint * wip: ep 0.6 * wip: type test * wip: errors * wip * wip * wip * wip: errors * wip: knip * wip: fix * wip: fix * wip: no more experimental * wip: errors * wip: errors * wip: docs init * wip: docs * docs * wip: errors * wip: checkpoint * wip: update tests * wip: debug bundler types * wip: tweak test * test: fix * wip: getUserOperation * wip: waitForUserOperationReceipt * wip: update tests * wip: tweaks * wip: tweaks * wip * wip: checkpoint * wip: docs * wip: checkpoint * wip: checkpoint * chore: rebase * chore: snaps * wip: errors * chore: update test * test * test * tests * fix * fix * docs * update * skip * fix * chore: up * chore: up * chore: up * chore: up * chore: up * chore: size * chore: update submodule * chore: rename mock account * wip * tweak: account sigs * tests: cb * docs: sidebar * wip: webauthn accounts + coinbase p256 owners * chore: size-limit * docs * chore: bump vocs * chore: refactor structure * chore: refactor accounts * chore: up site * chore: up * chore: up * chore: snapshots * chore: up * chore: up * chore: up * chore: up * chore: up * chore: up * chore: up * chore: up site * chore: up * chore: up * docs: up * wip: solady deployments * chore: up * chore: up * chore: up * wip: paymasters * tests: up * chore: up docs * chore: simplify account types * chore: merge * docs: up * docs: tweak * chore: tweak docs; tweak nonce impl * docs: up * chore: changeset * chore: up size * chore: tweak tests * fix: types * docs: tweaks * chore: up Co-authored-by: awkweb <[email protected]> * chore: up Co-authored-by: awkweb <[email protected]> * chore: up Co-authored-by: awkweb <[email protected]> * chore: up Co-authored-by: awkweb <[email protected]> * docs: pimlico * chore: rm internalType * docs: up pimlico usage * chore: error types * chore: error types * docs: up note * chore: knip * chore: up snaps * chore: add paymaster to example * chore: format * docs: tweaks * format * tweak: smart account types * chore: format * chore: tweaks * chore: format * test: up * chore: knip * chore: tweaks * docs: up --------- Co-authored-by: awkweb <[email protected]>
11 lines
406 B
TypeScript
11 lines
406 B
TypeScript
import { join } from 'node:path'
|
|
|
|
const packageJsonPath = join(import.meta.dir, '../src/package.json')
|
|
const packageJson = await Bun.file(packageJsonPath).json()
|
|
|
|
// NOTE: We explicitly don't want to publish the type field.
|
|
// We create a separate package.json for `dist/cjs` and `dist/esm` that has the type field.
|
|
delete packageJson.type
|
|
|
|
Bun.write(packageJsonPath, JSON.stringify(packageJson, null, 2))
|