Use NPM workspaces (#151)
* Add linking script, use in CI * Building * Remove package locks * remove package locks * cleanup * build in order * Remove requirenambrot/fix-contract-metrics-avalanche
parent
23c3e4cd22
commit
eaa89a9c52
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,17 @@ |
||||
{ |
||||
"name": "@abacus-network/monorepo", |
||||
"scripts": { |
||||
"build": "npm run build --workspaces", |
||||
"prettier": "npm run prettier --workspaces" |
||||
}, |
||||
"workspaces": [ |
||||
"solidity/abacus-core", |
||||
"solidity/abacus-xapps", |
||||
"typescript/typechain", |
||||
"typescript/abacus-sdk", |
||||
"typescript/contract-metrics", |
||||
"typescript/abacus-deploy", |
||||
"typescript/abacus-tests" |
||||
] |
||||
} |
||||
|
@ -1,14 +0,0 @@ |
||||
# script for auto-formatting supported files |
||||
# Run from root (./scripts/format.sh) |
||||
|
||||
set -e |
||||
|
||||
# solidity |
||||
npm --prefix ./solidity/abacus-core run prettier |
||||
npm --prefix ./solidity/abacus-xapps run prettier |
||||
|
||||
# typescript |
||||
npm --prefix ./typescript/contract-metrics run prettier |
||||
npm --prefix ./typescript/abacus-deploy run prettier |
||||
npm --prefix ./typescript/optics-provider run prettier |
||||
npm --prefix ./typescript/abacus-tests run prettier |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,8 @@ |
||||
import { expect } from 'chai'; |
||||
import { OpticsContext } from '@abacus-network/sdk'; |
||||
import { AbacusContext } from '@abacus-network/sdk'; |
||||
|
||||
describe('optics multi-provider', () => { |
||||
describe('abacus sdk', () => { |
||||
it('compiles', () => { |
||||
expect(OpticsContext).to.not.be.undefined; |
||||
expect(AbacusContext).to.not.be.undefined; |
||||
}); |
||||
}); |
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue