@nativescript/core 8.8.0-embed.1-next-07-01-2024-9752585063 → 8.8.0-embed.1-next-07-02-2024-9764786230

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -136,6 +136,26 @@ interface IConfigHook {
136
136
  */
137
137
  script: string;
138
138
  }
139
+ interface IConfigEmbedProps {
140
+ /**
141
+ * Relative path to the platform host project directory.
142
+ */
143
+ hostProjectPath?: string;
144
+ /**
145
+ * (Android only) Optional custom module name.
146
+ */
147
+ hostProjectModuleName?: string;
148
+ }
149
+ interface IConfigEmbed extends IConfigEmbedProps {
150
+ /**
151
+ * iOS specific embed configurations
152
+ */
153
+ ios?: IConfigEmbedProps;
154
+ /**
155
+ * Android specific embed configurations
156
+ */
157
+ android?: IConfigEmbedProps;
158
+ }
139
159
  export interface NativeScriptConfig {
140
160
  /**
141
161
  * App's bundle id
@@ -165,6 +185,10 @@ export interface NativeScriptConfig {
165
185
  * You can override that to use a name of your choice by setting this.
166
186
  */
167
187
  projectName?: string;
188
+ /**
189
+ * For embedding into existing platform host projects.
190
+ */
191
+ embed?: IConfigEmbed;
168
192
  /**
169
193
  * Custom webpack config path
170
194
  * The default is `webpack.config.js` in the root however you can use a custom name and place elsewhere.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript/core",
3
- "version": "8.8.0-embed.1-next-07-01-2024-9752585063",
3
+ "version": "8.8.0-embed.1-next-07-02-2024-9764786230",
4
4
  "description": "A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.",
5
5
  "main": "index",
6
6
  "types": "index.d.ts",