Skip to content

Commit 07c450e

Browse files
committed
feat(linux): V8, Hermes and JSC Node-API runtime packages
1 parent 0aeb081 commit 07c450e

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎lib/constants.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ export const SCOPED_WINDOWS_QUICKJS_RUNTIME_NAME =
3939
export const SCOPED_WINDOWS_JSC_RUNTIME_NAME = "@nativescript/windows-jsc";
4040
export const SCOPED_LINUX_RUNTIME_NAME = "@nativescript/linux";
4141
export const SCOPED_LINUX_QUICKJS_RUNTIME_NAME = "@nativescript/linux-quickjs";
42+
export const SCOPED_LINUX_V8_RUNTIME_NAME = "@nativescript/linux-v8";
43+
export const SCOPED_LINUX_HERMES_RUNTIME_NAME = "@nativescript/linux-hermes";
44+
export const SCOPED_LINUX_JSC_RUNTIME_NAME = "@nativescript/linux-jsc";
4245
export const PACKAGE_JSON_FILE_NAME = "package.json";
4346
export const PACKAGE_LOCK_JSON_FILE_NAME = "package-lock.json";
4447
export const ANDROID_DEVICE_APP_ROOT_TEMPLATE = `/data/data/%s/files`;

‎lib/services/project-data-service.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,9 @@ export class ProjectDataService implements IProjectDataService {
659659
return [
660660
constants.SCOPED_LINUX_RUNTIME_NAME,
661661
constants.SCOPED_LINUX_QUICKJS_RUNTIME_NAME,
662+
constants.SCOPED_LINUX_V8_RUNTIME_NAME,
663+
constants.SCOPED_LINUX_HERMES_RUNTIME_NAME,
664+
constants.SCOPED_LINUX_JSC_RUNTIME_NAME,
662665
].includes(d.name);
663666
}
664667
});

0 commit comments

Comments
 (0)