Skip to content

Commit 47c7a96

Browse files
committed
chore: interface match for runtimePackageName destructure
1 parent 6be03b8 commit 47c7a96

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

lib/definitions/project.d.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ interface INsConfigIOS extends INsConfigPlaform {
133133
/**
134134
* Custom runtime package name
135135
*/
136-
runtimePackageName?: string
136+
runtimePackageName?: string;
137137
}
138138

139139
interface INSConfigVisionOS extends INsConfigIOS {}
@@ -176,7 +176,7 @@ interface INsConfigAndroid extends INsConfigPlaform {
176176
/**
177177
* Custom runtime package name
178178
*/
179-
runtimePackageName?: string
179+
runtimePackageName?: string;
180180
}
181181

182182
interface INsConfigHooks {
@@ -200,6 +200,13 @@ interface INsConfig {
200200
ignoredNativeDependencies?: string[];
201201
hooks?: INsConfigHooks[];
202202
projectName?: string;
203+
/**
204+
* Legacy keys still found in user configs. Declared so the
205+
* runtime-package.json generation (PrepareController) can strip them
206+
* via destructuring without losing type safety.
207+
*/
208+
webpackPackageName?: string;
209+
buildPath?: string;
203210
}
204211

205212
interface IProjectData extends ICreateProjectData {
@@ -610,9 +617,7 @@ interface INativePrepare {
610617
}
611618

612619
interface IBuildConfig
613-
extends IAndroidBuildOptionsSettings,
614-
IiOSBuildConfig,
615-
IProjectDir {
620+
extends IAndroidBuildOptionsSettings, IiOSBuildConfig, IProjectDir {
616621
clean?: boolean;
617622
architectures?: string[];
618623
buildOutputStdio?: string;
@@ -624,7 +629,8 @@ interface IBuildConfig
624629
* Describes iOS-specific build configuration properties
625630
*/
626631
interface IiOSBuildConfig
627-
extends IBuildForDevice,
632+
extends
633+
IBuildForDevice,
628634
IiCloudContainerEnvironment,
629635
IDeviceIdentifier,
630636
IProvision,

0 commit comments

Comments
 (0)