From bc1878c1da6a7b22a003d9716620aec669df181e Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Tue, 31 Mar 2026 21:25:35 +0000 Subject: [PATCH] add workspace base Co-authored-by: Codex --- .gitignore | 5 +++++ package.json | 15 +++++++++++++++ tsconfig.base.json | 14 ++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 .gitignore create mode 100644 package.json create mode 100644 tsconfig.base.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5cd9d1f --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +node_modules/ +dist/ +.DS_Store +npm-debug.log* + diff --git a/package.json b/package.json new file mode 100644 index 0000000..39c245f --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "ainas", + "private": true, + "packageManager": "npm@10.9.7", + "workspaces": [ + "packages/*", + "exapps/*" + ], + "scripts": { + "build": "npm run build --workspace @ainas/contracts && npm run build --workspace @ainas/control-plane", + "typecheck": "npm run typecheck --workspace @ainas/contracts && npm run typecheck --workspace @ainas/control-plane", + "dev:control-plane": "npm run dev --workspace @ainas/control-plane" + } +} + diff --git a/tsconfig.base.json b/tsconfig.base.json new file mode 100644 index 0000000..a91a39f --- /dev/null +++ b/tsconfig.base.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "NodeNext", + "moduleResolution": "NodeNext", + "strict": true, + "declaration": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, + "resolveJsonModule": true + } +} +