typed-bridge 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -466,8 +466,13 @@ function cleanTsFile(src) {
466
466
  removeDefaultExportTransformer,
467
467
  pruneUnreachableTransformer
468
468
  ]);
469
- // Print final code
470
- const header = `/* This file is auto-generated by typed-bridge. Do not edit. */`;
469
+ // Print final code. The client is a generated artifact, so disable linting and type-checking
470
+ // on it (`eslint-disable` must lead so it also covers the `@ts-nocheck` directive below).
471
+ const header = [
472
+ '/* eslint-disable */',
473
+ '// @ts-nocheck',
474
+ '/* This file is auto-generated by typed-bridge. Do not edit. */'
475
+ ].join('\n');
471
476
  const printer = typescript_1.default.createPrinter();
472
477
  const transformedCode = header + '\n' + printer.printFile(result.transformed[0]).concat(proxySnippet());
473
478
  // Write back to the same file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "typed-bridge",
3
3
  "description": "Type-safe server functions for TypeScript that also expose your backend as an MCP server and LLM tools for AI agents",
4
- "version": "4.0.0",
4
+ "version": "4.0.1",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "author": "neilveil",