Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reorganize to v2 addon format #678

Draft
wants to merge 19 commits into
base: master
Choose a base branch
from
Draft

Conversation

muziejus
Copy link

@muziejus muziejus commented Jun 1, 2022

No description provided.

muziejus added 19 commits June 1, 2022 17:28
The first step in porting to v2 is to separate the addon code from the
test-app code. I've followed the standard of building a monorepo with
the addon code in `packages/ember-leaflet` and the (eventual) test-app
in `packages/test-app`. Additionally, the republishing code in `app/` is
no longer necessary. Finally, I've moved the addon's package.json into
the addon space, where it will be pared down.
The old dummy app is a new packages, in `packages/docs`. The test app is
exclusively for use with testing. All of the tests have been moved into
the test app's workspace.
Ember-related files have been deleted or moved into the addon's space.
…test error

As discussed [on
discord](https://discord.com/channels/480462759797063690/973199754446131223/981925562769625150),
I've run into a problem with the various ember-leaflet components'
looking for htmlbars and not finding it. Even though I should not
technically have to include it as a dependency in the addon, the tests
crash because of it.

Additionally, the tests crash because of importing the components from
the addon and not the test-app, but I'll get to that problem later.
Now the test-app does not even build, complaining about being unable to
resolve ember-cli-htmlbars in the addon.
@kaermorchen
Copy link
Contributor

Hi!

Thank you for your PR. Is it not done yet?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants