diff --git a/.gitignore b/.gitignore index 1bbe080e..2523f928 100644 --- a/.gitignore +++ b/.gitignore @@ -58,4 +58,7 @@ jspm_packages/ *.sln # Compact -managed/ \ No newline at end of file +managed/ + +# Turbo +.turbo \ No newline at end of file diff --git a/bboard-cli/package.json b/bboard-cli/package.json index d0470c58..499438a1 100644 --- a/bboard-cli/package.json +++ b/bboard-cli/package.json @@ -5,12 +5,15 @@ "license": "MIT", "private": true, "type": "module", + "engines": { + "node": ">=20.0.0" + }, "scripts": { "build": "rm -rf dist && tsc --project tsconfig.build.json && cp -R ../contract/src/managed dist/contract/src/managed", "ci": "npm run typecheck && npm run lint && npm run build", "lint": "eslint src", "prepack": "npm run build", - "standalone": "docker compose -f standalone.yml pull && node --experimental-specifier-resolution=node dist/launcher/standalone.js", + "standalone": "docker compose -f standalone.yml pull && node --experimental-specifier-resolution=node --loader ts-node/esm src/launcher/standalone.ts", "testnet-remote": "node --experimental-specifier-resolution=node --loader ts-node/esm src/launcher/testnet-remote.ts", "testnet-remote-ps": "node --experimental-specifier-resolution=node dist/launcher/testnet-remote-start-proof-server.js", "testnet-local": "node --experimental-specifier-resolution=node dist/launcher/testnet-local.js", diff --git a/bboard-cli/turbo.json b/turbo.json similarity index 60% rename from bboard-cli/turbo.json rename to turbo.json index ad6effd3..51934c99 100644 --- a/bboard-cli/turbo.json +++ b/turbo.json @@ -1,20 +1,21 @@ { "extends": ["//"], "$schema": "https://turbo.build/schema.json", - "pipeline": { + "dangerouslyDisablePackageManagerCheck": true, + "tasks": { "build": { - "dependsOn": ["compact"], - "outputMode": "new-only", + "dependsOn": ["^compact"], + "outputLogs": "new-only", "inputs": ["src/**/*.ts", "src/**/*.mts", "src/**/*.tsx", "!src/**/*.test.ts", "tsconfig.json", "tsconfig.build.json"], "outputs": ["dist/**"] }, "lint": { - "outputMode": "new-only", - "dependsOn": ["compact", "build"] + "outputLogs": "new-only", + "dependsOn": ["^compact", "build"] }, "test": { - "outputMode": "new-only", - "dependsOn": ["build", "compact"], + "outputLogs": "new-only", + "dependsOn": ["build", "^compact"], "inputs": ["src/**/*.ts", "jest.config.ts", "tsconfig.json", "*.yml", "dist/**/.js"], "outputs": ["reports/**"] }