-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(api): proper esm support and codegen overhauls #754
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
8e5558d
feat(api): wip of proper esm support and codegen overhauls
erunion 0db62a3
Merge branch 'main' into refactor/codegen
erunion 84872e6
docs: documenting why we're exporting `createSDK` the way we are
erunion e2e1259
chore(deps): bumping ts-morph
erunion 6463a02
fix: overhauling schemas to now be stored in a `schemas/` directory
erunion ccbdc40
Merge branch 'main' into refactor/codegen
erunion 654194e
fix: storage system didn't properly create subdirectories
erunion 9ade11b
fix: broken test
erunion 8e11923
fix: flaky test in ci
erunion d33e655
fix: bringing back some tests
erunion 7d7b4cc
feat: refactoring codegen'd sdks to be placed into a `src/` directory
erunion d4e5d5a
fix: pinning installed sdk dependencies to known working versions
erunion 330a3a1
fix: cjs compatibility with our `types` file being exported in `index`
erunion 488041e
fix: removing some dead code
erunion 9fd0370
fix: compatibility with node 20 on `npm run debug:bin`
erunion b1e705d
v7.0.0-alpha.5
erunion 87f7319
fix: minor `tsup` codegen fixes (#759)
kanadgupta 594710c
Update packages/api/src/codegen/languages/typescript/index.ts
erunion c7c7f55
Revert "refactor: slight cleanup"
kanadgupta e681ee7
Update packages/api/test/codegen/languages/typescript/index.test.ts
erunion 6a66d22
Update packages/api/test/codegen/languages/typescript/index.test.ts
erunion 7173c80
fix: pr feedback
erunion d591696
fix: ts ignore typo
erunion File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as a follow-up to the work I added in #759, i was thinking it might make sense to have a
devDep
flag that splits out our required deps (e.g.,@readme/api-core
) from our required dev-deps (e.g.,typescript
)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do this in another PR since it's going to require a little bit of work