@capacitor/cli
Advanced tools
Comparing version 7.0.0-nightly-20241218T150539.0 to 7.0.0-nightly-20241219T150544.0
@@ -149,4 +149,4 @@ "use strict"; | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_17 | ||
targetCompatibility JavaVersion.VERSION_17 | ||
sourceCompatibility JavaVersion.VERSION_21 | ||
targetCompatibility JavaVersion.VERSION_21 | ||
} | ||
@@ -153,0 +153,0 @@ } |
@@ -262,2 +262,10 @@ export interface CapacitorConfig { | ||
useLegacyBridge?: boolean; | ||
/** | ||
* Make service worker requests go through Capacitor bridge. | ||
* Set it to false to use your own handling. | ||
* | ||
* @since 7.0.0 | ||
* @default true | ||
*/ | ||
resolveServiceWorkerRequests?: boolean; | ||
}; | ||
@@ -264,0 +272,0 @@ ios?: { |
@@ -126,4 +126,3 @@ "use strict"; | ||
.option('--list', 'list targets, then quit') | ||
// TODO: remove once --json is a hidden option (https://github.com/tj/commander.js/issues/1106) | ||
.allowUnknownOption(true) | ||
.addOption(new commander_1.Option('--json').hideHelp()) | ||
.option('--target <id>', 'use a specific target') | ||
@@ -136,3 +135,3 @@ .option('--no-sync', `do not run ${colors_1.default.input('sync')}`) | ||
.option('--configuration <name>', 'Configuration name of the iOS Scheme') | ||
.action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (platform, { scheme, flavor, list, target, sync, forwardPorts, liveReload, host, port, configuration }) => { | ||
.action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (platform, { scheme, flavor, list, json, target, sync, forwardPorts, liveReload, host, port, configuration }) => { | ||
const { runCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/run'))); | ||
@@ -143,2 +142,3 @@ await runCommand(config, platform, { | ||
list, | ||
json, | ||
target, | ||
@@ -145,0 +145,0 @@ sync, |
@@ -48,4 +48,3 @@ "use strict"; | ||
}); | ||
// TODO: make hidden commander option (https://github.com/tj/commander.js/issues/1106) | ||
if (process.argv.includes('--json')) { | ||
if (options.json) { | ||
process.stdout.write(`${JSON.stringify(outputTargets)}\n`); | ||
@@ -52,0 +51,0 @@ } |
@@ -13,3 +13,3 @@ "use strict"; | ||
// old behavior of just throwing the stdout/stderr strings | ||
throw e.output ? e.output : e.code ? e.code : e.error ? e.error.message : 'Unknown error'; | ||
throw e.output ? e.output : e.cause ? `${e.message} ${e.cause.toString()}` : e.code ? e.code : 'Unknown error'; | ||
} | ||
@@ -16,0 +16,0 @@ throw e; |
{ | ||
"name": "@capacitor/cli", | ||
"version": "7.0.0-nightly-20241218T150539.0", | ||
"version": "7.0.0-nightly-20241219T150544.0", | ||
"description": "Capacitor: Cross-platform apps with JavaScript and the web", | ||
@@ -47,34 +47,34 @@ "homepage": "https://capacitorjs.com", | ||
"dependencies": { | ||
"@ionic/cli-framework-output": "^2.2.5", | ||
"@ionic/utils-subprocess": "2.1.11", | ||
"@ionic/utils-terminal": "^2.3.3", | ||
"commander": "^9.3.0", | ||
"debug": "^4.3.4", | ||
"@ionic/cli-framework-output": "^2.2.8", | ||
"@ionic/utils-subprocess": "^3.0.1", | ||
"@ionic/utils-terminal": "^2.3.5", | ||
"commander": "^12.1.0", | ||
"debug": "^4.4.0", | ||
"env-paths": "^2.2.0", | ||
"fs-extra": "^11.2.0", | ||
"kleur": "^4.1.4", | ||
"native-run": "^2.0.0", | ||
"kleur": "^4.1.5", | ||
"native-run": "^2.0.1", | ||
"open": "^8.4.0", | ||
"plist": "^3.0.5", | ||
"plist": "^3.1.0", | ||
"prompts": "^2.4.2", | ||
"rimraf": "^4.4.1", | ||
"semver": "^7.3.7", | ||
"rimraf": "^6.0.1", | ||
"semver": "^7.6.3", | ||
"tar": "^6.1.11", | ||
"tslib": "^2.4.0", | ||
"xml2js": "^0.5.0" | ||
"tslib": "^2.8.1", | ||
"xml2js": "^0.6.2" | ||
}, | ||
"devDependencies": { | ||
"@types/debug": "^4.1.7", | ||
"@types/debug": "^4.1.12", | ||
"@types/fs-extra": "^11.0.4", | ||
"@types/jest": "^29.5.0", | ||
"@types/plist": "^3.0.2", | ||
"@types/prompts": "^2.0.14", | ||
"@types/semver": "^7.3.10", | ||
"@types/jest": "^29.5.14", | ||
"@types/plist": "^3.0.5", | ||
"@types/prompts": "^2.4.9", | ||
"@types/semver": "^7.5.8", | ||
"@types/tar": "^6.1.1", | ||
"@types/tmp": "^0.2.3", | ||
"@types/tmp": "^0.2.6", | ||
"@types/xml2js": "0.4.5", | ||
"jest": "^29.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
"jest-jasmine2": "^29.5.0", | ||
"tmp": "^0.2.1", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"jest-jasmine2": "^29.7.0", | ||
"tmp": "^0.2.3", | ||
"ts-jest": "^29.0.5", | ||
@@ -81,0 +81,0 @@ "typescript": "~5.0.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
848698
6933
+ Added@ionic/utils-array@2.1.6(transitive)
+ Added@ionic/utils-object@2.1.6(transitive)
+ Added@ionic/utils-process@2.1.12(transitive)
+ Added@ionic/utils-stream@3.1.7(transitive)
+ Added@ionic/utils-subprocess@3.0.1(transitive)
+ Added@isaacs/cliui@8.0.2(transitive)
+ Addedansi-regex@6.1.0(transitive)
+ Addedansi-styles@6.2.1(transitive)
+ Addedcommander@12.1.0(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@9.2.2(transitive)
+ Addedforeground-child@3.3.1(transitive)
+ Addedglob@11.0.1(transitive)
+ Addedjackspeak@4.1.0(transitive)
+ Addedlru-cache@11.0.2(transitive)
+ Addedminimatch@10.0.1(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-scurry@2.0.0(transitive)
+ Addedrimraf@6.0.1(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@5.1.2(transitive)
+ Addedstrip-ansi@7.1.0(transitive)
+ Addedwrap-ansi@8.1.0(transitive)
+ Addedxml2js@0.6.2(transitive)
- Removed@ionic/utils-array@2.1.5(transitive)
- Removed@ionic/utils-fs@3.1.6(transitive)
- Removed@ionic/utils-object@2.1.5(transitive)
- Removed@ionic/utils-process@2.1.10(transitive)
- Removed@ionic/utils-stream@3.1.5(transitive)
- Removed@ionic/utils-subprocess@2.1.11(transitive)
- Removed@ionic/utils-terminal@2.3.3(transitive)
- Removedcommander@9.5.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@9.3.5(transitive)
- Removedlru-cache@10.4.3(transitive)
- Removedminimatch@8.0.4(transitive)
- Removedminipass@4.2.8(transitive)
- Removedpath-scurry@1.11.1(transitive)
- Removedrimraf@4.4.1(transitive)
- Removedxml2js@0.5.0(transitive)
Updated@ionic/utils-terminal@^2.3.5
Updatedcommander@^12.1.0
Updateddebug@^4.4.0
Updatedkleur@^4.1.5
Updatednative-run@^2.0.1
Updatedplist@^3.1.0
Updatedrimraf@^6.0.1
Updatedsemver@^7.6.3
Updatedtslib@^2.8.1
Updatedxml2js@^0.6.2