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

Deprecate the app/styles/* import paths #444

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

Windvis
Copy link
Contributor

@Windvis Windvis commented Oct 11, 2023

This adds new top level import paths and deprecates the old ones that depend on ember-cli's app folder merging.

I didn't find a way to do this without duplicating the files, so we'll need to do some git trickery when removing the old files in the future so the git history is kept.

Closes #443

@Windvis Windvis added the enhancement Used when the PR adds a new feature or enhancement. label Oct 11, 2023
These new paths are compatible with v2 addons so we can convert the addon without it being a breaking change in the future.
This pattern only works for v1 addons so it's a blocker for the v2 addon conversion. By deprecating the old paths we can convert Appuniversum to the v2 blueprint in the future.
Adding "node_modules" to the `includePath` option slows down rebuilds _a lot_ (x10). Adding only the appuniversum package also seems to work (without changing the import paths, strangely) without slowing down the build.
@Windvis Windvis force-pushed the chore/deprecate-app-style-import-paths branch from 21d7e69 to 57b0ebc Compare October 12, 2023 07:34
@Windvis Windvis merged commit 8834b4b into master Oct 12, 2023
13 checks passed
@Windvis Windvis deleted the chore/deprecate-app-style-import-paths branch October 12, 2023 08:51
@Windvis Windvis added the Deprecation This change introduces a deprecation. A simple guide should be provided in the description. label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecation This change introduces a deprecation. A simple guide should be provided in the description. enhancement Used when the PR adds a new feature or enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New Sass import paths
1 participant