@choochmeque/tauri-windows-bundle 0.1.10 → 0.1.11

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
@@ -29,13 +29,15 @@ rustup target add aarch64-pc-windows-msvc
29
29
  ## Installation
30
30
 
31
31
  ```bash
32
- # One-time setup
33
- npx @choochmeque/tauri-windows-bundle init
32
+ # One-time setup (use @latest to ensure newest version)
33
+ npx @choochmeque/tauri-windows-bundle@latest init
34
34
 
35
35
  # Or install as dev dependency
36
36
  npm install -D @choochmeque/tauri-windows-bundle
37
37
  ```
38
38
 
39
+ > **Tip:** Use `@latest` with npx to bypass cached versions: `npx @choochmeque/tauri-windows-bundle@latest --version`
40
+
39
41
  ## Usage
40
42
 
41
43
  ### Initialize
package/dist/cli.js CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { Command } from 'commander';
3
+ import { createRequire } from 'node:module';
3
4
  import * as fs from 'node:fs';
4
5
  import * as path from 'node:path';
5
6
  import { Jimp } from 'jimp';
@@ -1689,11 +1690,13 @@ async function extensionRemove(type, name, options) {
1689
1690
  }
1690
1691
  }
1691
1692
 
1693
+ const require$1 = createRequire(import.meta.url);
1694
+ const pkg = require$1('../package.json');
1692
1695
  const program = new Command();
1693
1696
  program
1694
1697
  .name('tauri-windows-bundle')
1695
1698
  .description('MSIX packaging tool for Tauri apps')
1696
- .version('0.1.0');
1699
+ .version(pkg.version);
1697
1700
  program
1698
1701
  .command('init')
1699
1702
  .description('Initialize Windows bundle configuration')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choochmeque/tauri-windows-bundle",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "MSIX packaging tool for Tauri apps - Windows Store ready bundles",
5
5
  "type": "module",
6
6
  "bin": {