Skip to content

Commit

Permalink
chore: fix nexus import (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
joepegler committed Sep 5, 2024
1 parent 1a85cb6 commit 7cb4ff8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 15 deletions.
4 changes: 0 additions & 4 deletions .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ runs:
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Installs with yarn
shell: bash
run: yarn install

- name: Install dependencies
shell: bash
run: |
Expand Down
11 changes: 2 additions & 9 deletions .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,14 @@
{
"name": "core (esm)",
"path": "./dist/_esm/index.js",
"limit": "180 kB",
"limit": "25 kB",
"import": "*",
"ignore": ["node:fs", "fs"]
},
{
"name": "core (cjs)",
"path": "./dist/_cjs/index.js",
"limit": "180 kB",
"ignore": ["node:fs", "fs"]
},
{
"name": "account (tree-shaking)",
"path": "./dist/_esm/index.js",
"limit": "180 kB",
"import": "{ createSmartAccountClient }",
"limit": "25 kB",
"ignore": ["node:fs", "fs"]
},
{
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"execa": "^9.3.1",
"get-port": "^7.1.0",
"gh-pages": "^6.1.1",
"nexus": "github:bcnmy/nexus#dev",
"nexus": "git@github.com:bcnmy/nexus.git#b8085a3d688afb9149c129a34b4bb9cefb93ae38",
"prool": "^0.0.16",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
Expand Down
3 changes: 2 additions & 1 deletion tests/src/executables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { execa } from "execa"

const cwd = "./node_modules/nexus"

export const init = async () => await execa({ cwd })`yarn install`
export const init = async () =>
await execa({ cwd })`yarn install --frozen-lockfile`

export const cleanOne = async (rpcPort: number) =>
await execa({ cwd })`rm -rf ./deployments/anvil-${rpcPort}`
Expand Down
5 changes: 5 additions & 0 deletions tests/src/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,15 @@ export const toConfiguredAnvil = async ({
// forkUrl: "https://base-sepolia.gateway.tenderly.co/2oxlNZ7oiNCUpXzrWFuIHx"
})
await instance.start()
console.log("")
console.log(`configuring module bytecode on http://localhost:${rpcPort}`)
await deployContracts(rpcPort)
await init()
await clean()
console.log(`deploying nexus contracts to http://localhost:${rpcPort}`)
await deploy(rpcPort)
console.log("deployment complete")
console.log("")
return instance
}

Expand Down

0 comments on commit 7cb4ff8

Please sign in to comment.