mirror of
https://github.com/anonklub/anonklub.git
synced 2026-05-03 03:00:04 -04:00
* 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>
77 lines
3.0 KiB
JSON
77 lines
3.0 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@anonklub/test": "workspace:^",
|
|
"@biomejs/biome": "latest",
|
|
"@changesets/cli": "^2.26.2",
|
|
"@faker-js/faker": "^7.6.0",
|
|
"@types/jest": "^29.5.3",
|
|
"@types/node": "^20.3.1",
|
|
"barrelsby": "^2.5.1",
|
|
"dprint": "latest",
|
|
"find-up-cli": "^5.0.0",
|
|
"jest": "^29.6.2",
|
|
"jest-chain": "^1.1.6",
|
|
"jest-extended": "^4.0.1",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"jest-mock-extended": "^3.0.5",
|
|
"jest-silent-reporter": "^0.5.0",
|
|
"jest-watch-select-projects": "^2.0.0",
|
|
"jest-watch-typeahead": "^2.2.2",
|
|
"knip": "^2.19.0",
|
|
"lefthook": "latest",
|
|
"reflect-metadata": "^0.1.13",
|
|
"ts-jest": "^29.2.3",
|
|
"ts-node": "^10.9.1",
|
|
"ts-node-dev": "^2.0.0",
|
|
"tsc-files": "^1.1.4",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"ttab": "^0.8.0",
|
|
"turbo": "^1.10.16",
|
|
"typescript": "5.1.6"
|
|
},
|
|
"scripts": {
|
|
"_compile": "pnpm --filter merkle-tree-wasm compile && pnpm --filter spartan-ecdsa-wasm compile",
|
|
"barrels": "barrelsby --config .barrelsby.json",
|
|
"build": "turbo build _compile",
|
|
"build.docker.discord": "docker build -f discord-bot/Dockerfile . -t discord-bot",
|
|
"build.docker.query": "docker build -f query-api/Dockerfile . -t query-api",
|
|
"build.docker.ui": "docker build -f ui/Dockerfile --build-arg NEXT_PUBLIC_QUERY_API_URL=$QUERY_API_URL . -t anonklub-ui",
|
|
"build.pkgs": "turbo --filter=// --filter='./pkgs/*' build _compile",
|
|
"build.ui": "pnpm --filter @anonklub/ui build",
|
|
"changeset": "changeset",
|
|
"clean": "find . \\( -name 'node_modules' -o -name 'dist' -o -name 'next' \\) -type d -prune -exec rm -rf '{}' +",
|
|
"compile": "turbo _compile",
|
|
"fix": "turbo _lint.fix && pnpm fmt",
|
|
"fmt": "dprint fmt",
|
|
"format.biome.fix": "biome format --config-path=.biome.jsonc --write .",
|
|
"knip": "knip -c .knip.ts --production --strict",
|
|
"lint": "turbo lint.cargo lint.biome lint.solhint",
|
|
"lint.biome": "biome lint --config-path=.biome.jsonc --max-diagnostics 200 . --no-errors-on-unmatched",
|
|
"lint.biome.fix": "biome lint --config-path=.biome.jsonc --write --max-diagnostics 200 .",
|
|
"lint.cargo.fix": "turbo lint.cargo.fix",
|
|
"lint.fix": "turbo lint.cargo.fix lint.biome.fix lint.solhint.fix",
|
|
"publish.pkgs": "pnpm build.pkgs && changeset version && changeset publish",
|
|
"start.query-api": "pnpm --filter query-api start.dev",
|
|
"start.ui": "pnpm --filter @anonklub/ui dev",
|
|
"test.cargo": "cargo nextest run --workspace",
|
|
"test": "turbo _test test.jest test.cargo",
|
|
"test.jest": "jest",
|
|
"test.watch": "jest --watch",
|
|
"test.coverage.html": "cargo llvm-cov --all-features --workspace --html --output-dir=target/llvm-cov/html",
|
|
"test.coverage.summary": "cargo llvm-cov --all-features --workspace --summary-only",
|
|
"typecheck": "turbo typecheck",
|
|
"validate": "turbo fmt lint.solhint build _compile --cache-dir=.turbo"
|
|
},
|
|
"workspaces": [
|
|
"contracts",
|
|
"circom",
|
|
"discord-bot",
|
|
"pkgs/*",
|
|
"query-api",
|
|
"test",
|
|
"ui"
|
|
]
|
|
}
|