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

Updated project structure #43

Merged
merged 2 commits into from
Jun 13, 2023
Merged

Updated project structure #43

merged 2 commits into from
Jun 13, 2023

Conversation

ijlee2
Copy link
Owner

@ijlee2 ijlee2 commented Jun 13, 2023

Description

In #41, I moved src/blueprints to the project root blueprints in order to quickly fit a TS compilation issue.

Although the published codemod works, the project structure became harder to understand. I think we can continue to use src/blueprints, if the build and tests explicitly copies src/blueprints to dist/src/blueprints.

@ijlee2 ijlee2 added the enhance: code Issue asks for new feature or refactor label Jun 13, 2023
@ijlee2 ijlee2 marked this pull request as ready for review June 13, 2023 16:38
@@ -6,5 +6,5 @@ const fileURL = import.meta.url;

export const blueprintsRoot: string = join(
getFilePath(fileURL),
'../../../../blueprints',
Copy link
Owner Author

Choose a reason for hiding this comment

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

This relative path, though it helps the tests pass, doesn't make sense because it points to a directory that doesn't exist.

@ijlee2 ijlee2 merged commit a34e7a8 into main Jun 13, 2023
@ijlee2 ijlee2 deleted the update-project-structure branch June 13, 2023 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhance: code Issue asks for new feature or refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant