Files
anonklub/turbo.json
Iskander 25b0cd8bfc chore: lift up halo2-* package folders (#444)
* chore: merge staging (#473)

* dev sripwoud (#472)

* fix(ui): check env var def depending client/server side

* refactor(ui): remove `force-dynamic` for server route

* chore(ui): remove TODO

* chore(ui): use `next/legacy/image`

* fix(ui): force asset/nft/punk page to be dynamic

* chore(ui): custom next config instead of soft linking wasm

* upadte cond

* fix: set ARG in Dockerfile

* fix

* refactor

* fix: revert change on wasm file soft link

* chore: restructure the whole halo2 pkgs structure

* fix: cargo lint

* fix: lint

* fix: cargo lint fix

* fix: cargo lint fix

* fix: package.json

* fix: delete .env file

---------

Co-authored-by: sripwoud <me@sripwoud.xyz>
2024-08-07 22:42:08 +02:00

126 lines
3.7 KiB
JSON

{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"//#barrels": {
"inputs": [
"*.{js,jsx,ts,tsx}",
"{pkgs/query,discord-bot,query-api,test,ui}/**/{src,test}/**/*.{js,jsx,ts,tsx}",
"!{pkgs/query,discord-bot,query-api,ui}/**/{build,dist,node_modules,.next}/**"
]
},
"//#fmt": {
"inputs": [
"**/*.{cjs,js,jsx,ts,tsx,json,jsonc,md,rs,sol,yaml,yml}",
"!contracts/lib/**",
"!ui/public/**",
"!query-api/src/repositories/graph-client/.graph-client/**"
]
},
"format.cargo.fix": {
"cache": false,
"inputs": [
"pkgs/{merkle-tree,spartan-ecdsa}-wasm/src/**/*.rs",
"pkgs/halo2-{binary-merkle-tree,eth-membership}/src/**/*.rs"
]
},
"format.forge.fix": {
"cache": false,
"inputs": ["contracts/{script,src,test}/**/*.sol"]
},
"//#format.biome.fix": {
"cache": false,
"inputs": [
"*.{cjs,js,jsx,ts,tsx,json,jsonc}",
"{.github,pkgs,circom,discord-bot,query-api,ui}/**/*.{cjs,js,jsx,ts,tsx,json,jsonc}",
"!{pkgs,circom,discord-bot,query-api,ui}/**/{build,dist,node_modules,.next}/**"
]
},
"//#_knip": {
"inputs": [
"*.{cjs,js,jsx,ts,tsx}",
"package.json",
"{pkgs,circom,discord-bot,query-api,ui}/**/{package.json,*.{cjs,js,jsx,ts,tsx}}",
"!{pkgs,circom,discord-bot,query-api,ui}/**/{build,dist,node_modules,.next}/**"
]
},
"lint.solhint": {
"inputs": ["contracts/{script,src,test}/**/*.sol"]
},
"lint.solhint.fix": {
"cache": false,
"inputs": ["contracts/{script,src,test}/**/*.sol"]
},
"lint.cargo": {
"cache": false,
"inputs": [
"pkgs/{merkle-tree,spartan-ecdsa}-wasm/src/**/*.rs",
"pkgs/halo2-{binary-merkle-tree,eth-membership}/src/**/*.rs"
]
},
"lint.cargo.fix": {
"cache": false,
"inputs": [
"pkgs/{merkle-tree,spartan-ecdsa}-wasm/src/**/*.rs",
"pkgs/halo2-{binary-merkle-tree,eth-membership}/src/**/*.rs"
]
},
"//#lint.biome": {
"inputs": [
"*.{cjs,js,jsx,ts,tsx}",
"{pkgs,circom,discord-bot,query-api,test,ui}/**/*.{cjs,js,jsx,ts,tsx}",
"!{pkgs,circom,discord-bot,query-api,ui}/**/{build,dist,node_modules,.next}/**"
]
},
"//#lint.biome.fix": {
"inputs": [
"*.{cjs,js,jsx,ts,tsx}",
"{pkgs,circom,discord-bot,query-api,test,ui}/**/*.{cjs,js,jsx,ts,tsx}",
"!{pkgs,circom,discord-bot,query-api,ui}/**/{build,dist,node_modules,.next}/**"
]
},
"typecheck": {
"inputs": [
"*.{js,jsx,ts,tsx}",
"{pkgs,circom,discord-bot,query-api,test,ui}/**/{src,test}/**/*.{js,jsx,ts,tsx}",
"!{pkgs,circom,discord-bot,query-api,ui}/**/{build,dist,node_modules,.next}/**"
]
},
"build": {
"dependsOn": ["^build", "build.graph"],
"outputs": [
"{pkgs,query-api,ui}/**/{build,dist}/**",
"!{pkgs,query-api,ui}/**/node_modules/**"
]
},
"build.graph": {
"outputs": ["src/repositories/graph-client/.graphclient/**"]
},
"//#_compile": {
"outputs": [
"pkgs/{merkle-tree,spartan-ecdsa}-wasm/dist/**",
"pkgs/halo2-{binary-merkle-tree,eth-membership}/dist/**"
]
},
"//#test.jest": {
"dependsOn": ["^build"],
"inputs": [
"{pkgs/{proof,query},circom,query-api}/{src,test}/**/*.{js,jsx,ts,tsx}"
]
},
"//#test.cargo": {
"inputs": ["pkgs/**/*.rs"]
},
"_test": {
"cache": false,
"inputs": ["contracts/src/**/*.sol"]
},
"deploy": {
"dependsOn": ["test"]
},
"compile": {
"inputs": ["merkle-tree-wasm"],
"outputs": ["merkle-tree-wasm"]
}
}
}