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

Add missing .gitignores to better support --addon-only scenarios (no test app) #256

Merged
merged 3 commits into from
Feb 15, 2024

Conversation

NullVoxPopuli
Copy link
Collaborator

@NullVoxPopuli NullVoxPopuli commented Feb 11, 2024

I've been using --addon-only a lot lately (no test-app, only generates the addon),
and noticed that some .gitignore entries were missing.

To protect silly files from accidentally getting committed to git, I've added more entries to the .gitignore.

My use case is likely not my own, but also we want to actually support a non-monorepo layout eventually anyway, so this progresses us towards that as well.

atm, it looks like main is broken: https://github.com/embroider-build/addon-blueprint/actions/runs/7864883532
But: ember-cli/ember-cli#10443
But also: platinumazure/eslint-plugin-qunit#478

@NullVoxPopuli NullVoxPopuli self-assigned this Feb 11, 2024
@NullVoxPopuli NullVoxPopuli added the bug Something isn't working label Feb 11, 2024
@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review February 12, 2024 22:17
@@ -5,8 +5,13 @@
/LICENSE.md
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

a gitignore file (especially this one) must not assume a parent gitignore exists.

@@ -85,8 +85,8 @@ for (let packageManager of SUPPORTED_PACKAGE_MANAGERS) {
"index.js",
"index.js.map",
"services",
"template-only-dYTzhOEA.js",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

inconsequential snapshot update - likely due to a floating dep change

@NullVoxPopuli NullVoxPopuli merged commit b05518c into main Feb 15, 2024
19 checks passed
@NullVoxPopuli NullVoxPopuli deleted the fix-addon-gitignore branch February 15, 2024 18:43
@github-actions github-actions bot mentioned this pull request Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants