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

fix(cli): update tsconfig template excludes #4728

Conversation

dougal83
Copy link
Contributor

#4707 (comment)

Signed-off-by: Douglas McConnachie dougal83+git@gmail.com

See also #4707

Checklist

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

Copy link
Member

@bajtos bajtos 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 @dougal83 for following up on my PR improving eslint config 👍

The code changes LGTM.

However, the commit message is not very good. AFAIK, chore commits are not mentioned in release notes that are auto-generated by conventional-commit tooling. I'd like to have this change mentioned in the release notes, because it's affecting experience of @loopback/cli users. Both feat and fix is fine with me.

@bajtos bajtos added community-contribution Internal Tooling Issues related to our tooling and monorepo infrastructore labels Feb 24, 2020
loopbackio#4707 (comment)

Signed-off-by: Douglas McConnachie <dougal83+git@gmail.com>
@dougal83 dougal83 force-pushed the chore/update-cli-template-root-tsconfig branch from bfa8048 to 048fda9 Compare February 24, 2020 12:57
@dougal83
Copy link
Contributor Author

@bajtos Updated: Thanks for the feedback. 👍 I was not aware how the commit messages affected the process down the line.

@dougal83 dougal83 requested a review from bajtos February 24, 2020 13:01
@dougal83 dougal83 changed the title chore(cli): update tsconfig template excludes fix(cli): update tsconfig template excludes Feb 24, 2020
@@ -31,8 +31,8 @@
},
"include": ["src"],
"exclude": [
"node_modules/**",
"packages/*/node_modules/**",
"**/node_modules/**",
Copy link
Contributor

@jannyHou jannyHou Feb 24, 2020

Choose a reason for hiding this comment

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

I think here it should still be "/node_modules/**", since the loopback app has node_modules as the root level folder.
Otherwise LGTM.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please check this glob example and let me know if it is correct.

Copy link
Contributor

Choose a reason for hiding this comment

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

I see.

@dougal83
Copy link
Contributor Author

@raymondfeng Would the change to dist here be surplus to requirements?

@raymondfeng raymondfeng merged commit 1fcc463 into loopbackio:master Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal Tooling Issues related to our tooling and monorepo infrastructore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants