You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(contracts): ship nativescript/contracts with a first tranche
DoctorService and ProjectNameService become @contract abstract classes;
their impls are renamed *Impl (externally invisible - outside resolution
is by string name or token, never class identity). The subpath resolves
through contracts/package.json rather than an exports map, so existing
deep requires keep working, and the entry point is side-effect-free so a
duplicated CLI copy in an extensions tree never boots a second runtime.
"Detected short imports in your application. Please note that `short imports are deprecated` since NativeScript 5.2.0. More information can be found in this blogpost https://www.nativescript.org/blog/say-goodbye-to-short-imports-in-nativescript"
257
+
"Detected short imports in your application. Please note that `short imports are deprecated` since NativeScript 5.2.0. More information can be found in this blogpost https://www.nativescript.org/blog/say-goodbye-to-short-imports-in-nativescript",
256
258
);
257
259
shortImports.forEach((shortImport)=>{
258
260
this.$logger.printMarkdown(
259
-
`In file \`${shortImport.file}\` line \`${shortImport.line}\` is short import. Add \`tns-core-modules/\` in front of the required/imported module.`
261
+
`In file \`${shortImport.file}\` line \`${shortImport.line}\` is short import. Add \`tns-core-modules/\` in front of the required/imported module.`,
260
262
);
261
263
});
262
264
}
263
265
}catch(err){
264
266
this.$logger.trace(
265
267
`Unable to validate if project has short imports. Error is`,
@@ -332,26 +334,26 @@ export class DoctorService implements IDoctorService {
332
334
333
335
privateasyncrunSetupScriptCore(
334
336
executablePath: string,
335
-
setupScriptArgs: string[]
337
+
setupScriptArgs: string[],
336
338
): Promise<ISpawnResult>{
337
339
returnthis.$childProcess.spawnFromEvent(
338
340
executablePath,
339
341
setupScriptArgs,
340
342
"close",
341
-
{stdio: "inherit"}
343
+
{stdio: "inherit"},
342
344
);
343
345
}
344
346
345
347
privateprintPackageManagerTip(){
346
348
if(this.$hostInfo.isWindows){
347
349
this.$logger.info(
348
350
"TIP: To avoid setting up the necessary environment variables, you can use the chocolatey package manager to install the Android SDK and its dependencies."+
349
-
EOL
351
+
EOL,
350
352
);
351
353
}elseif(this.$hostInfo.isDarwin){
352
354
this.$logger.info(
353
355
"TIP: To avoid setting up the necessary environment variables, you can use the Homebrew package manager to install the Android SDK and its dependencies."+
354
-
EOL
356
+
EOL,
355
357
);
356
358
}
357
359
}
@@ -390,20 +392,20 @@ export class DoctorService implements IDoctorService {
0 commit comments