@choochmeque/tauri-windows-bundle 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -100,14 +100,14 @@ Note: `runFullTrust` is always auto-added (required for Tauri apps).
100
100
  ### Build
101
101
 
102
102
  ```bash
103
- # Build x64 only (default, uses cargo)
103
+ # Build x64 only (default, uses cargo, release mode)
104
104
  pnpm tauri:windows:build
105
105
 
106
106
  # Build multiarch bundle (x64 + arm64)
107
107
  pnpm tauri:windows:build --arch x64,arm64
108
108
 
109
- # Release build
110
- pnpm tauri:windows:build --release
109
+ # Debug build (release is default)
110
+ pnpm tauri:windows:build --debug
111
111
 
112
112
  # Use different build runner (pnpm, npm, yarn, bun, etc.)
113
113
  pnpm tauri:windows:build --runner pnpm
@@ -131,7 +131,7 @@ npx @choochmeque/tauri-windows-bundle init [options]
131
131
 
132
132
  npx @choochmeque/tauri-windows-bundle build [options]
133
133
  --arch <archs> Architectures (comma-separated: x64,arm64) [default: x64]
134
- --release Build in release mode
134
+ --debug Build in debug mode (release is default)
135
135
  --min-windows <ver> Minimum Windows version [default: 10.0.17763.0]
136
136
  --runner <runner> Build runner (cargo, pnpm, npm, yarn, bun) [default: cargo]
137
137
  --verbose Show full build output instead of spinner
package/dist/cli.js CHANGED
@@ -918,17 +918,18 @@ async function build(options) {
918
918
  for (const arch of architectures) {
919
919
  // Build Tauri app
920
920
  const target = arch === 'x64' ? 'x86_64-pc-windows-msvc' : 'aarch64-pc-windows-msvc';
921
- const releaseFlag = options.release ? '--release' : '';
921
+ // Tauri CLI defaults to release mode, use --debug for debug builds
922
+ const debugFlag = options.debug ? '--debug' : '';
922
923
  // Build command based on runner
923
924
  // --no-bundle skips MSI/NSIS bundling since we're creating MSIX
924
925
  let buildCommand;
925
926
  if (runner === 'npm') {
926
927
  // npm requires -- to pass args to the script
927
- buildCommand = `npm run tauri build -- --target ${target} --no-bundle ${releaseFlag}`.trim();
928
+ buildCommand = `npm run tauri build -- --target ${target} --no-bundle ${debugFlag}`.trim();
928
929
  }
929
930
  else {
930
931
  // cargo, pnpm, yarn, bun, etc.
931
- buildCommand = `${runner} tauri build --target ${target} --no-bundle ${releaseFlag}`.trim();
932
+ buildCommand = `${runner} tauri build --target ${target} --no-bundle ${debugFlag}`.trim();
932
933
  }
933
934
  try {
934
935
  if (options.verbose) {
@@ -1710,7 +1711,7 @@ program
1710
1711
  .command('build')
1711
1712
  .description('Build MSIX package')
1712
1713
  .option('--arch <architectures>', 'Architectures to build (comma-separated: x64,arm64)', 'x64')
1713
- .option('--release', 'Build in release mode')
1714
+ .option('--debug', 'Build in debug mode (release is default)')
1714
1715
  .option('--min-windows <version>', 'Minimum Windows version', '10.0.17763.0')
1715
1716
  .option('--runner <runner>', 'Build runner (cargo, pnpm, npm, yarn, etc.)', 'cargo')
1716
1717
  .option('--verbose', 'Show full build output instead of spinner')
package/dist/index.js CHANGED
@@ -916,17 +916,18 @@ async function build(options) {
916
916
  for (const arch of architectures) {
917
917
  // Build Tauri app
918
918
  const target = arch === 'x64' ? 'x86_64-pc-windows-msvc' : 'aarch64-pc-windows-msvc';
919
- const releaseFlag = options.release ? '--release' : '';
919
+ // Tauri CLI defaults to release mode, use --debug for debug builds
920
+ const debugFlag = options.debug ? '--debug' : '';
920
921
  // Build command based on runner
921
922
  // --no-bundle skips MSI/NSIS bundling since we're creating MSIX
922
923
  let buildCommand;
923
924
  if (runner === 'npm') {
924
925
  // npm requires -- to pass args to the script
925
- buildCommand = `npm run tauri build -- --target ${target} --no-bundle ${releaseFlag}`.trim();
926
+ buildCommand = `npm run tauri build -- --target ${target} --no-bundle ${debugFlag}`.trim();
926
927
  }
927
928
  else {
928
929
  // cargo, pnpm, yarn, bun, etc.
929
- buildCommand = `${runner} tauri build --target ${target} --no-bundle ${releaseFlag}`.trim();
930
+ buildCommand = `${runner} tauri build --target ${target} --no-bundle ${debugFlag}`.trim();
930
931
  }
931
932
  try {
932
933
  if (options.verbose) {
package/dist/types.d.ts CHANGED
@@ -105,7 +105,7 @@ export interface InitOptions {
105
105
  }
106
106
  export interface BuildOptions {
107
107
  arch?: string;
108
- release?: boolean;
108
+ debug?: boolean;
109
109
  minWindows?: string;
110
110
  runner?: string;
111
111
  verbose?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choochmeque/tauri-windows-bundle",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "MSIX packaging tool for Tauri apps - Windows Store ready bundles",
5
5
  "type": "module",
6
6
  "bin": {