Skip to content

Commit 4a1ea35

Browse files
authored
chore: various small cleanup issues (#12537)
1 parent 1a3c112 commit 4a1ea35

File tree

15 files changed

+4
-26
lines changed

15 files changed

+4
-26
lines changed

yarn-project/accounts/.prettierignore

-1
This file was deleted.

yarn-project/accounts/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
},
3131
"scripts": {
3232
"build": "yarn clean && yarn generate && tsc -b",
33-
"generate": "yarn generate:noir-contracts",
34-
"generate:noir-contracts": "./scripts/copy-contracts.sh",
33+
"generate": "./scripts/copy-contracts.sh",
3534
"build:dev": "tsc -b --watch",
3635
"build:ts": "tsc -b",
3736
"clean": "rm -rf ./dest .tsbuildinfo ./artifacts",

yarn-project/accounts/package.local.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"scripts": {
33
"build": "yarn clean && yarn generate && tsc -b",
4-
"generate": "yarn generate:noir-contracts",
5-
"generate:noir-contracts": "./scripts/copy-contracts.sh",
4+
"generate": "./scripts/copy-contracts.sh",
65
"build:dev": "tsc -b --watch",
76
"build:ts": "tsc -b",
87
"clean": "rm -rf ./dest .tsbuildinfo ./artifacts"

yarn-project/aztec.js/src/utils/abi_types.ts

-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,5 @@ export type FunctionSelectorLike = FieldLike | FunctionSelector;
1818
/** Any type that can be converted into an EventSelector Aztec.nr struct. */
1919
export type EventSelectorLike = FieldLike | EventSelector;
2020

21-
/** Any type that can be converted into a U128. */
22-
export type U128Like = bigint | number;
23-
2421
/** Any type that can be converted into a struct with a single `inner` field. */
2522
export type WrappedFieldLike = { /** Wrapped value */ inner: FieldLike } | FieldLike;

yarn-project/aztec.js/src/utils/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ export {
55
type EventSelectorLike,
66
type FieldLike,
77
type FunctionSelectorLike,
8-
type U128Like,
98
type WrappedFieldLike,
109
} from './abi_types.js';
1110
export {

yarn-project/builder/.prettierignore

-1
This file was deleted.

yarn-project/builder/src/contract-interface-gen/typescript.ts

-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@ import {
344344
type PublicKey,
345345
PublicKeys,
346346
type Wallet,
347-
type U128Like,
348347
type WrappedFieldLike,
349348
} from '@aztec/aztec.js';
350349
${artifactStatement}

yarn-project/end-to-end/.prettierignore

-3
This file was deleted.

yarn-project/ivc-integration/.prettierignore

-2
This file was deleted.

yarn-project/l1-artifacts/.prettierignore

-1
This file was deleted.

yarn-project/noir-bb-bench/.prettierignore

-2
This file was deleted.

yarn-project/noir-contracts.js/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"formatting": "run -T prettier --check ./src && run -T eslint ./src",
1515
"formatting:fix": "run -T eslint --fix ./src && run -T prettier -w ./src",
1616
"test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --passWithNoTests --maxWorkers=${JEST_MAX_WORKERS:-8}",
17-
"generate": "yarn generate:noir-contracts",
18-
"generate:noir-contracts": "./scripts/generate-types.sh"
17+
"generate": "./scripts/generate-types.sh"
1918
},
2019
"inherits": [
2120
"../package.common.json",

yarn-project/noir-contracts.js/package.local.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"scripts": {
33
"build": "yarn clean && yarn generate",
4-
"generate": "yarn generate:noir-contracts",
5-
"generate:noir-contracts": "./scripts/generate-types.sh",
4+
"generate": "./scripts/generate-types.sh",
65
"clean": "rm -rf ./dest .tsbuildinfo ./artifacts ./src ./codegenCache.json"
76
},
87
"files": ["dest", "src", "artifacts", "!*.test.*"]

yarn-project/noir-protocol-circuits-types/.prettierignore

-2
This file was deleted.

yarn-project/protocol-contracts/.prettierignore

-1
This file was deleted.

0 commit comments

Comments
 (0)