Skip to content

feat: load template config from external packages#2819

Open
tido64 wants to merge 1 commit into
trunkfrom
tido/dynamic-templates
Open

feat: load template config from external packages#2819
tido64 wants to merge 1 commit into
trunkfrom
tido/dynamic-templates

Conversation

@tido64

@tido64 tido64 commented Jun 16, 2026

Copy link
Copy Markdown
Member

Description

Allows initializing and configuring existing apps to support additional platforms provided by external packages.

Part of #2211.

Platforms affected

  • Android
  • iOS
  • macOS
  • visionOS
  • Windows

Test plan

Configure example app to add web support:

cd packages/app/example
node ../scripts/configure.mjs -p web --force

Verify that:

  • A build:web script was added to package.json
  • react-native-web was added under dependencies
  • web/index.html was created

@github-actions github-actions Bot added platform: Android This affects Android platform: iOS This affects iOS platform: macOS This affects macOS platform: Windows This affects Windows platform: visionOS labels Jun 16, 2026
@tido64 tido64 mentioned this pull request Jun 16, 2026
11 tasks
@github-actions

This comment was marked as resolved.

@tido64 tido64 force-pushed the tido/dynamic-templates branch from deb7f09 to e8c9f42 Compare June 16, 2026 13:18
Allows initializing and configuring existing apps to support additional
platforms provided by external packages.
@tido64 tido64 force-pushed the tido/dynamic-templates branch from e8c9f42 to ee075b3 Compare June 16, 2026 14:23

@JasonVMo JasonVMo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Generally looks good, one question for follow up but approving in case you think the ordering is correct as it stands.

}),
dependencies: {
...dependencies,
...platformConfig.dependencies,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should the order of these two be reversed? In other words, should the platform config be a baseline with the dependencies taking precedence?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: Android This affects Android platform: iOS This affects iOS platform: macOS This affects macOS platform: visionOS platform: Windows This affects Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants