Add capacitorjs runtime

This commit is contained in:
olcxja 2026-05-03 17:09:55 +02:00
commit f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions

View file

@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NativeIosFramework = void 0;
const utils_fs_1 = require("@ionic/utils-fs");
const _1 = require(".");
class NativeIosFramework extends _1.Framework {
constructor() {
super();
}
static async getFramework(project) {
if (!project.config.projectRoot) {
return false;
}
const files = await (0, utils_fs_1.readdir)(project.config.projectRoot);
if (!(files.some(f => f.indexOf('.xcodeproj') >= 0))) {
return null;
}
return new NativeIosFramework();
}
}
exports.NativeIosFramework = NativeIosFramework;
//# sourceMappingURL=native-ios.js.map