Skip to content

[Cleanup] Component blueprint cleanup#20773

Merged
ef4 merged 2 commits intoemberjs:mainfrom
Windvis:rfc-995-component-generator-cleanup
Oct 18, 2024
Merged

[Cleanup] Component blueprint cleanup#20773
ef4 merged 2 commits intoemberjs:mainfrom
Windvis:rfc-995-component-generator-cleanup

Conversation

@Windvis
Copy link
Contributor

@Windvis Windvis commented Oct 6, 2024

This removes support for the --component-structure="classic" and --pod arguments from the component blueprint generator.

Part of RFC 995: emberjs/rfcs#1040

@Windvis Windvis changed the title Rfc 995 component blueprint cleanup [Cleanup] Component blueprint cleanup Oct 6, 2024
this.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE &&
commandOptions.componentStructure === 'flat'
) {
if (this.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE && commandOptions.componentStructure === 'flat') {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the EMBER_GLIMMER_SET_COMPONENT_TEMPLATE code can also be removed but that's unrelated to this PR.

The classic file structure is deprecated.
@Windvis Windvis force-pushed the rfc-995-component-generator-cleanup branch from 0d8919f to 36c9a0f Compare October 6, 2024 12:10
The pod layout is deprecated for components.
@Windvis Windvis force-pushed the rfc-995-component-generator-cleanup branch from 36c9a0f to 36242f3 Compare October 6, 2024 12:19
@ef4 ef4 merged commit 4671d46 into emberjs:main Oct 18, 2024
@ef4
Copy link
Contributor

ef4 commented Oct 18, 2024

Thanks!

@Windvis Windvis deleted the rfc-995-component-generator-cleanup branch October 18, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants