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

31
node_modules/@capacitor/assets/dist/util/cli.js generated vendored Normal file
View file

@ -0,0 +1,31 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapAction = void 0;
const log_1 = require("./log");
function wrapAction(action) {
return async (...args) => {
try {
await action(...args);
}
catch (e) {
log_1.logger.error(e.message);
throw e;
}
};
}
exports.wrapAction = wrapAction;
/*
export async function logPrompt(msg: string, promptObject: any) {
const { wordWrap } = await import('@ionic/cli-framework-output');
const prompt = await import('prompts');
logger.log({
msg: `${c.input(`[?]`)} ${wordWrap(msg, { indentation: 4 })}`,
logger,
format: false,
});
return prompt.default(promptObject, { onCancel: () => process.exit(1) });
}
*/