From 457eeec33bc7a1ece5bc2115af6db4fc16298650 Mon Sep 17 00:00:00 2001 From: Raymond Cheng Date: Wed, 16 Oct 2024 18:34:58 -0700 Subject: [PATCH] fix: update the root level package.json scripts --- package.json | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 86c1461..f3ab92c 100644 --- a/package.json +++ b/package.json @@ -11,25 +11,11 @@ }, "scripts": { "build": "turbo run build --concurrency=100%", - "build:dbt:docs": "poetry run dbt docs generate", - "build:docs": "turbo run build --filter=@opensource-observer/docs", - "build:frontend": "turbo run build --filter=@opensource-observer/frontend", - "build:hasura": "turbo run build --filter=@opensource-observer/hasura2", - "build:ops": "turbo run build --filter=@opensource-observer/ops-*", - "copy": "yarn copy:frontend && yarn copy:docs && yarn copy:html", - "copy:docs": "mkdir -p ./build/docs/ && cp -r ./apps/docs/build/* ./build/docs/", - "copy:frontend": "mkdir -p ./build/ && cp -r ./apps/frontend/out/* ./build/ && cp ./apps/frontend/_redirects ./build/", - "copy:html": "find build/ -name '*.html' -type f | grep -v index.html | sed s/\\.html$// | xargs -I _ bash -c 'mkdir -p _ && cp -v _.html _/index.html'", - "deploy:hasura": "turbo run deploy --filter=@opensource-observer/hasura2 --parallel", - "deploy:site": "turbo run build --filter=@opensource-observer/docs --filter=@opensource-observer/frontend && turbo run deploy --filter=@opensource-observer/frontend && yarn copy", - "dev:docs": "turbo run dev --filter=@opensource-observer/docs --parallel", - "dev:frontend": "turbo run dev --filter=@opensource-observer/frontend --parallel", + "build:docs": "turbo run build --filter=@kariba/docs", + "dev:docs": "turbo run dev --filter=@kariba/docs --parallel", "format:staged": "lint-staged", "lint": "turbo run lint --concurrency=100%", - "serve": "yarn serve build", - "pyright": "pyright --pythonpath $(poetry env info --path)/bin/python", "test": "turbo run test --concurrency=1", - "test:integration": "(docker compose -f docker/compose.yaml down || true) && docker compose -f docker/compose.yaml run --rm test", "prepare": "husky install" }, "devDependencies": {