build: establish strict TypeScript workspace

This commit is contained in:
chick
2026-07-16 09:34:50 +08:00
parent 43a69d8617
commit aa3c3f9803
22 changed files with 5509 additions and 6 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"name": "@multi-simadmin/contracts",
"version": "0.0.0",
"private": true,
"type": "module",
"exports": "./src/index.ts",
"scripts": {
"typecheck": "tsc -p tsconfig.json"
}
}
+8
View File
@@ -0,0 +1,8 @@
import { describe, expect, it } from 'vitest';
import { contractsWorkspaceReady } from './index.js';
describe('contracts workspace baseline', () => {
it('exposes a compilable package entry', () => {
expect(contractsWorkspaceReady).toBe(true);
});
});
+1
View File
@@ -0,0 +1 @@
export const contractsWorkspaceReady = true;
+7
View File
@@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src"
},
"include": ["src/**/*.ts"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "@multi-simadmin/operation-registry",
"version": "0.0.0",
"private": true,
"type": "module"
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "@multi-simadmin/test-fixtures",
"version": "0.0.0",
"private": true,
"type": "module"
}