@xmbl/simulator 0.1.13 → 0.1.15

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.15
4
+
5
+ ### Patch Changes
6
+
7
+ - **The Linux and Windows desktop builds still failed at v0.1.14; both are fixed.** v0.1.14 attached
8
+ the macOS dmg (x64 + arm64), both web bundles and the extension zip — the first downloadable
9
+ builds this repo has ever produced — but two targets were still missing:
10
+
11
+ - **Linux** — the default deb/AppImage artifact name is `${name}_${version}_${arch}`, and `name`
12
+ is the SCOPED package name `@xmbl/desktop-app`, so fpm tried to write into `dist/@xmbl/` and
13
+ died with "Parent directory does not exist". Artifacts are now named explicitly.
14
+ - **Windows** — electron-builder rebuilt every native dependency in the hoisted workspace tree
15
+ for the electron ABI, and `classic-level`'s node-gyp build fails on Windows, so the `.exe` was
16
+ never produced. Nothing in the desktop app loads a native module (`main.js` and
17
+ `src/core/xmbl-core.js` require only `electron` and `path`), so the rebuild is skipped.
18
+
19
+ No change to any published package's code in this release.
20
+
21
+ ## 0.1.14
22
+
23
+ ### Patch Changes
24
+
25
+ - **Every prebuilt binary was broken; all four causes are fixed.** `gh release list` returned
26
+ nothing for any version of this repo. The release workflow gated its artifacts job on the
27
+ crates.io job, which had no token from the first tag onward, so packaging was SKIPPED on every
28
+ release ever cut — and underneath that, all three packaging jobs would have failed anyway:
29
+
30
+ - **desktop** — `packages/desktop-app` is `"type": "module"`, so the CommonJS
31
+ `electron-builder.config.js` threw on load and electron-builder fell back to a `build` key that
32
+ does not exist: appId, targets, output directory and file globs were all dead. Renamed `.cjs`
33
+ and passed explicitly. `electron` was also a runtime dependency (electron-builder refuses to
34
+ package at all) and npm workspaces hoist it out of the project, so the version could not be
35
+ computed. Both fixed, with the author/maintainer fields `deb` and `AppImage` require, both
36
+ target architectures for mac/win/linux, and the `deb` target the workflow always globbed for.
37
+ - **web** — `apps/app-builder/vite.config.js` aliased `buffer` into the app's own
38
+ `node_modules`, which npm workspaces hoist to the root, so `vite build` died with ENOENT. Two
39
+ Vue templates also carried `:id="@xmbl/identity"`, which is not a JavaScript expression.
40
+ - **extension** — `@xmbl/lng`'s exports map had no `browser` condition, so bundlers resolved the
41
+ node entry, which reads its own `package.json` through `node:fs` at module scope. **`@xmbl/lng`
42
+ now declares `browser` -> `dist/lng.browser.js` in `exports`**, which is the one change in this
43
+ release that affects consumers: a bundler targeting the browser now gets the prebuilt bundle
44
+ (same export surface, including `VERSION`) instead of failing on `node:fs`.
45
+
3
46
  ## 0.1.13
4
47
 
5
48
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmbl/simulator",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "description": "XMBL Simulator",