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

[CLI] Fix create plugin wizard #103

Merged
merged 10 commits into from
Oct 4, 2024
Merged

Conversation

yoannmoinet
Copy link
Member

@yoannmoinet yoannmoinet commented Oct 3, 2024

What and why?

yarn cli create-plugin drifted a bit given we're not using it that much.

We need to update/fix it, have it follow current standards and test it to ensure it remains as up to date as possible with the reste of the codebase's growth.

How?

  • Fix bugs.
  • Update contents.
  • Test it.

@yoannmoinet yoannmoinet force-pushed the yoann/fix-create-plugin-workflow branch from d934170 to 5333b35 Compare October 4, 2024 10:09
@yoannmoinet yoannmoinet marked this pull request as ready for review October 4, 2024 13:00
@yoannmoinet yoannmoinet changed the title Yoann/fix create plugin workflow [CLI] Fix create plugin wizard Oct 4, 2024
Comment on lines 6 to +12
"module": "CommonJS",
"moduleResolution": "Node",
"rootDir": "./",
"outDir": "./dist"
"outDir": "./dist",
"paths": {
"@dd/tools/*": ["./src/*"],
"@dd/core/*": ["../core/src/*"]
}
Copy link
Member Author

Choose a reason for hiding this comment

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

This config is slightly different from the other workspaces because we use ts-node to run the CLI.

I'd love to have the exact same config everywhere, but it bite me a few times already trying to unify this.
Taking me hours every time I try to find a way, always reverting everything in the end.

Open to discuss if you have a very clear vision of it.

@yoannmoinet yoannmoinet merged commit fe6dc46 into master Oct 4, 2024
5 checks passed
@yoannmoinet yoannmoinet deleted the yoann/fix-create-plugin-workflow branch October 4, 2024 15:02
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.

2 participants