Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize packages #566

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,21 @@
},
"resolutions": {},
"workspaces": [
"packages/*"
"packages/0xsequence",
"packages/tests",
"packages/common/*",
"packages/apis/*",
"packages/wallet/*",
"packages/dapp/*"
],
"preconstruct": {
"packages": [
"packages/*"
"packages/0xsequence",
"packages/tests",
"packages/common/*",
"packages/apis/*",
"packages/wallet/*",
"packages/dapp/*"
],
"globals": {
"ethers": "ethers"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"test": "pnpm test:file tests/**/*.spec.ts",
"test:file": "NODE_OPTIONS='--import tsx' mocha --timeout 30000",
"typecheck": "tsc --noEmit",
"build": "rm -rf src/typings && TS_NODE_PROJECT=../../tsconfig.test.json hardhat clean && pnpm compile-contracts && pnpm gen:typings",
"compile-contracts": "TS_NODE_PROJECT=../../tsconfig.test.json hardhat --max-memory 4096 compile",
"build": "rm -rf src/typings && TS_NODE_PROJECT=../../../tsconfig.test.json hardhat clean && pnpm compile-contracts && pnpm gen:typings",
"compile-contracts": "TS_NODE_PROJECT=../../../tsconfig.test.json hardhat --max-memory 4096 compile",
"gen:typings": "rm -rf ./src/typings/contracts/* && typechain --target ethers-v6 --out-dir src/typings/contracts './artifacts/contracts/!(build-info)/**/*[^dbg].json'"
},
"dependencies": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/tests/src/networks.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChainId, NetworkConfig, NetworkMetadata } from '../../network/src'
import { ChainId, NetworkConfig, NetworkMetadata } from '../../common/network/src'

export enum HardhatChainId {
HARDHAT = 31337,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"test": "pnpm test:concurrently 'pnpm test:run'",
"test:run": "pnpm test:file tests/**/*.spec.ts",
"test:file": "TS_NODE_PROJECT=../../tsconfig.test.json mocha -r ts-node/register --timeout 120000",
"test:file": "TS_NODE_PROJECT=../../../tsconfig.test.json mocha -r ts-node/register --timeout 120000",
"test:concurrently": "concurrently -k --success first 'pnpm start:hardhat2 > /dev/null'",
"start:hardhat2": "hardhat node --hostname 0.0.0.0 --port 7048 --config ./hardhat2.config.js",
"test:coverage": "nyc pnpm test"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "Apache-2.0",
"scripts": {
"test": "pnpm test:file tests/**/*.spec.ts",
"test:file": "TS_NODE_PROJECT=../../tsconfig.test.json mocha -r ts-node/register --timeout 30000",
"test:file": "TS_NODE_PROJECT=../../../tsconfig.test.json mocha -r ts-node/register --timeout 30000",
"test:coverage": "nyc pnpm test"
},
"peerDependencies": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "Apache-2.0",
"scripts": {
"test": "pnpm test:file tests/**/*.spec.ts",
"test:file": "TS_NODE_PROJECT=../../tsconfig.test.json mocha -r ts-node/register --timeout 60000",
"test:file": "TS_NODE_PROJECT=../../../tsconfig.test.json mocha -r ts-node/register --timeout 60000",
"test:coverage": "nyc pnpm test"
},
"dependencies": {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "Apache-2.0",
"scripts": {
"test": "pnpm test:file tests/**/*.spec.ts",
"test:file": "TS_NODE_PROJECT=../../tsconfig.test.json mocha -r ts-node/register --timeout 30000",
"test:file": "TS_NODE_PROJECT=../../../tsconfig.test.json mocha -r ts-node/register --timeout 30000",
"test:coverage": "nyc pnpm test"
},
"dependencies": {
Expand Down
File renamed without changes.
Loading
Loading