-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding foundation to bb.js (AztecProtocol/barretenberg#274)
* cleaning up bb.js deps * update bb structure to use workspaces * remove foundation .yarn/cache * chore: don't bundle .yalc * Update readme * chore: modularize bb (AztecProtocol/barretenberg#271) * chore: modularize ts * chore: reformat * merge * remove yalc * Unbundle tsbuildinfo --------- Co-authored-by: ludamad <domuradical@gmail.com> Co-authored-by: ludamad <adam.domurad@gmail.com>
- Loading branch information
1 parent
bd3dc38
commit a360b48
Showing
202 changed files
with
7,264 additions
and
4,257 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
.vscode | ||
result | ||
node_modules | ||
.yarn/cache | ||
.yarn/install-state.gz | ||
ts/dest | ||
.tsbuildinfo |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "foundation"] | ||
path = foundation | ||
url = git@github.com:AztecProtocol/foundation.git |
28 changes: 28 additions & 0 deletions
28
circuits/cpp/barretenberg/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
873 changes: 873 additions & 0 deletions
873
circuits/cpp/barretenberg/.yarn/releases/yarn-3.4.1.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs | ||
spec: '@yarnpkg/plugin-workspace-tools' | ||
|
||
# note that pnp is used in CI | ||
nodeLinker: node-modules | ||
yarnPath: .yarn/releases/yarn-3.4.1.cjs |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
barretenberg.js |
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
Submodule foundation
added at
003b3a
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "@aztec/barretenberg-workspace", | ||
"packageManager": "yarn@3.4.1", | ||
"private": true, | ||
"scripts": { | ||
"docs": "typedoc --out docs/dist && cd docs && yarn serve", | ||
"test": "cd ts && yarn test", | ||
"build": "cd foundation && yarn && yarn build && cd ../ts && yarn build", | ||
"formatting": "cd ts && yarn formatting", | ||
"formatting:fix": "cd ts && yarn formatting:fix" | ||
}, | ||
"workspaces": [ | ||
"ts", | ||
"foundation" | ||
], | ||
"prettier": "@aztec/foundation/prettier", | ||
"devDependencies": { | ||
"eslint": "^8.21.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"prettier": "^2.7.1", | ||
"typedoc": "^0.23.26", | ||
"typescript": "^4.9.5" | ||
}, | ||
"comments": { | ||
"purpose": "Workspace for barretenberg/ts. Provides dependencies, while allowing ts/ to be cleanly symlinked." | ||
} | ||
} |
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,6 +1,6 @@ | ||
require('@rushstack/eslint-patch/modern-module-resolution'); | ||
|
||
module.exports = { | ||
extends: ['@aztec/eslint-config'], | ||
extends: ['@aztec/foundation/eslint'], | ||
parserOptions: { tsconfigRootDir: __dirname }, | ||
}; |
This file was deleted.
Oops, something went wrong.
99 changes: 0 additions & 99 deletions
99
circuits/cpp/barretenberg/ts/.yalc/@aztec/eslint-config/index.js
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
circuits/cpp/barretenberg/ts/.yalc/@aztec/eslint-config/package.json
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
circuits/cpp/barretenberg/ts/.yalc/@aztec/eslint-config/yalc.sig
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
circuits/cpp/barretenberg/ts/.yalc/@aztec/log/dest/index.d.ts
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
circuits/cpp/barretenberg/ts/.yalc/@aztec/log/dest/index.d.ts.map
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.