1425b0cd4f
* Add xrpc-cli package; implement 'new' and 'gen-md' commands * Add gen-ts-obj to xrpc-cli * Add gen-api command to xrpc-cli * Add gen-server to xrpc-cli * Update codegen from xrpc-cli to run prettier and include a banner comment * Use 'void' instead of 'undefined' for return type * Skip invalid schemas when generating code * Rewrite schemas package to use new simplified schema * Output type definitions in nested folders * Add record schema code-generation * Change xrcp client call() signature to be easier to use * Update client codegen to match new xrpc call signature * Fixes and improvements to generated record APIs * Update generated api to use per-service instances * Add xrpc-cli readme * (WIP) Rewrite server to use xrpc * Add missing references to server/tsconfig.json * Replace api implementation with xrpc generated client * Add /schemas folder with todo.adx * Add /schemas/todo.social * Update api package to include todo.social xrpc and adx schemas * Update server package to include todo.social xrpc and adx schemas * Fix some schema definitions * (WIP) Work toward xrpc update of server * Update auth package to use nsids for collections * Update repo package to use nsids for collections * Update AdxUri to use nsid collection IDs * Bring server CRUD tests to passing state * Move API to simpler xrpc call signature * Apply fixes and improvements to record apis * Update to new generated api with per-service instances * Rename the todo.social.* view methods * Rewrite the views system to use xrpc * Remove paths accidentally added to tsconfig * Remove microblog package * Add simple API readme * todo about deduping ucan prfs * increase postThread default depth to fix failing test. & fix USE_TEST_SERVER config Co-authored-by: dholms <dtholmgren@gmail.com>
38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"declaration": true,
|
|
"noImplicitAny": false,
|
|
"removeComments": true,
|
|
"noLib": false,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"target": "es2020",
|
|
"sourceMap": true,
|
|
"module": "commonjs",
|
|
"jsx": "preserve",
|
|
"strict": true,
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"composite": true
|
|
},
|
|
"exclude": ["node_modules", "**/*/dist"],
|
|
"references": [
|
|
{ "path": "./packages/api/tsconfig.build.json" },
|
|
{ "path": "./packages/auth/tsconfig.build.json" },
|
|
{ "path": "./packages/common/tsconfig.build.json" },
|
|
{ "path": "./packages/crypto/tsconfig.build.json" },
|
|
{ "path": "./packages/dev-env" },
|
|
{ "path": "./packages/did-sdk/tsconfig.build.json" },
|
|
{ "path": "./packages/nsid/tsconfig.build.json" },
|
|
{ "path": "./packages/schemas/tsconfig.build.json" },
|
|
{ "path": "./packages/xrpc/tsconfig.build.json" },
|
|
{ "path": "./packages/xrpc-server/tsconfig.build.json" },
|
|
{ "path": "./packages/xrpc-cli/tsconfig.build.json" },
|
|
]
|
|
} |