From 3169a3f6b0da95bc03ff4ba0f30423292abf3e06 Mon Sep 17 00:00:00 2001 From: Pavel Rakhmanov Date: Tue, 8 Oct 2024 16:41:32 +0100 Subject: [PATCH] core: update monorepo scripts --- examples/next-js-app/package.json | 4 ++-- package.json | 6 +++++- pnpm-lock.yaml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/examples/next-js-app/package.json b/examples/next-js-app/package.json index afe34dc..0c40cc1 100644 --- a/examples/next-js-app/package.json +++ b/examples/next-js-app/package.json @@ -7,7 +7,7 @@ "build": "next build", "start": "next start", "lint": "next lint", - "test": "CI=true pnpm run /^test:/", + "test": "pnpm run /^test:/", "test:typecheck": "tsc --noEmit" }, "dependencies": { @@ -17,7 +17,7 @@ "@radix-ui/react-popover": "^1.0.7", "@radix-ui/react-select": "^2.1.1", "@radix-ui/react-slot": "^1.0.2", - "@ston-fi/omniston-sdk-react": "^0.1.1", + "@ston-fi/omniston-sdk-react": "workspace:*", "@tanstack/react-query": "^5.49.2", "@tonconnect/ui-react": "^2.0.6", "@vercel/analytics": "^1.3.1", diff --git a/package.json b/package.json index cc7aaa8..c348a3e 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,11 @@ "prepare": "lefthook install", "cleanup": "rm -rf .turbo node_modules ./{examples,packages}/**/{.next,.turbo,node_modules,dist}", "lint": "biome lint ./*", - "format": "biome format ./*" + "format": "biome format ./*", + "test": "turbo run test", + "build" : "turbo run build", + "build:packages" : "turbo run build --filter=./packages/*", + "build:examples" : "turbo run build --filter=./examples/*" }, "devDependencies": { "@biomejs/biome": "^1.8.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3a10e59..49a3aa4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,7 +39,7 @@ importers: specifier: ^1.0.2 version: 1.1.0(@types/react@18.3.3)(react@18.3.1) '@ston-fi/omniston-sdk-react': - specifier: ^0.1.1 + specifier: workspace:* version: link:../../packages/omniston-sdk-react '@tanstack/react-query': specifier: ^5.49.2