Skip to content
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

Multiple file output #166

Merged
merged 84 commits into from
May 1, 2024

Conversation

darrell-roberts
Copy link
Member

@darrell-roberts darrell-roberts commented Apr 14, 2024

Solution to #71

Adds option to generate multiple modules per source crate.

Supports imports for multiple modules

  • Typescript
  • Kotlin
  • Swift

Updates package declarations for

  • Kotlin

Ex:

typeshare ~/projects/core --lang typescript --output-folder ~/projects/core/new-types/src --config-file ~/projects/core/typeshare.toml

@darrell-roberts darrell-roberts force-pushed the multi-file-output branch 5 times, most recently from 28faf5e to 482ef87 Compare April 17, 2024 19:21
Copy link
Collaborator

@LuminaSapphira LuminaSapphira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This is a partial review, leaving the following comments. Will return.

.clippy.toml Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
cli/src/args.rs Outdated Show resolved Hide resolved
cli/src/config.rs Show resolved Hide resolved
cli/src/main.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@LuminaSapphira LuminaSapphira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Part 2/2 of review: overall great, some minor notes

core/src/language/go.rs Outdated Show resolved Hide resolved
core/src/language/go.rs Outdated Show resolved Hide resolved
core/src/language/go.rs Outdated Show resolved Hide resolved
core/src/language/mod.rs Outdated Show resolved Hide resolved
core/src/language/mod.rs Outdated Show resolved Hide resolved
core/src/language/swift.rs Outdated Show resolved Hide resolved
core/src/language/mod.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@LuminaSapphira LuminaSapphira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your hard work on this!

@LuminaSapphira
Copy link
Collaborator

One request: would you mind rebasing to squash some commits for a cleaner history?

There's also some merge conflicts that need resolving before I can merge.

Thanks again, and we'll get this merged this week!

@LuminaSapphira LuminaSapphira merged commit 11ef8a8 into 1Password:main May 1, 2024
5 checks passed
@darrell-roberts darrell-roberts deleted the multi-file-output branch June 7, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants