-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): proper esm support and codegen overhauls (#754)
* feat(api): wip of proper esm support and codegen overhauls * docs: documenting why we're exporting `createSDK` the way we are * chore(deps): bumping ts-morph * fix: overhauling schemas to now be stored in a `schemas/` directory * fix: storage system didn't properly create subdirectories * fix: broken test * fix: flaky test in ci * fix: bringing back some tests * feat: refactoring codegen'd sdks to be placed into a `src/` directory * fix: pinning installed sdk dependencies to known working versions * fix: cjs compatibility with our `types` file being exported in `index` * fix: removing some dead code * fix: compatibility with node 20 on `npm run debug:bin` * v7.0.0-alpha.5 * fix: minor `tsup` codegen fixes (#759) * chore: minor tsconfig cleanup * fix: point to correct api-core pkg version * fix: install TS as dev-dep * fix: add this to silence the JSON import warning * refactor: slight cleanup * Update packages/api/src/codegen/languages/typescript/index.ts * Revert "refactor: slight cleanup" This reverts commit 3b82df8. * Update packages/api/test/codegen/languages/typescript/index.test.ts Co-authored-by: Kanad Gupta <[email protected]> * Update packages/api/test/codegen/languages/typescript/index.test.ts Co-authored-by: Kanad Gupta <[email protected]> * fix: pr feedback * fix: ts ignore typo --------- Co-authored-by: Kanad Gupta <[email protected]> Co-authored-by: Kanad Gupta <[email protected]>
- Loading branch information
1 parent
a9618e5
commit e739d30
Showing
246 changed files
with
685 additions
and
1,109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"packages": ["packages/*"], | ||
"version": "7.0.0-alpha.3" | ||
"version": "7.0.0-alpha.5" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/usr/bin/env node | ||
#!/usr/bin/env NODE_OPTIONS=--no-warnings node | ||
import '../dist/bin.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.