You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .windsurf/workflows/prepare-update.md
+52-23Lines changed: 52 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,22 @@
1
1
---
2
-
description: Prepare a MotelyJAML version update - bump version, clean, build all projects, AOTpublish WASM, prepare npm packages, and guide user through npm publish
2
+
description: Prepare a MotelyJAML version update - bump version, clean, build all projects, AOT-publish WASM, prepare npm packages, and guide user through npm publish
3
3
---
4
4
5
5
# Prepare Update
6
6
7
7
Bumps the MotelyVersion, cleans everything, builds all .NET projects, AOT-publishes both WASM targets, prepares both npm packages, and walks the user through publishing.
8
8
9
-
**User provides**: the new version number — OR if not specified, read the current `<MotelyVersion>` from `Directory.Build.props` and auto-increment the patch (e.g. `2.2.1` → `2.2.2`).
9
+
**User provides**: the new version number — OR if not specified, read the current `<MotelyVersion>` from `Directory.Packages.props` and auto-increment the patch (e.g. `2.2.1` → `2.2.2`).
10
10
11
11
---
12
12
13
13
## Step 1: Bump MotelyVersion
14
14
15
-
Edit `x:\JammySeedFinder\src\MotelyJAML\Directory.Build.props` — set `<MotelyVersion>` to the new version.
15
+
Edit `x:\JammySeedFinder\src\MotelyJAML\Directory.Packages.props` — set `<MotelyVersion>` to the new version.
16
16
17
-
Then update **both** npm package.json files to match:
17
+
Then update **all three** npm package.json files to match:
18
18
-`x:\JammySeedFinder\src\MotelyJAML\Motely.npm\package.json` → set `"version"` to the new version
19
+
-`x:\JammySeedFinder\src\MotelyJAML\Motely.npm.singlethread\package.json` → set `"version"` to the new version
19
20
-`x:\JammySeedFinder\src\MotelyJAML\Motely.node\package.json` → set `"version"` to the new version
20
21
21
22
Print the version you just set so the user can confirm.
@@ -65,39 +66,48 @@ If any project fails, report the error and stop.
This publishes `Motely.BrowserWasm` and auto-copies `_framework` into `Motely.npm/_framework/` via MSBuild target.
78
+
This publishes `Motely.BrowserWasm`with browser AOT enabled at publish time and auto-copies `_framework` into `Motely.npm/_framework/` via MSBuild target. The packaged `_framework` output keeps raw `.wasm` assets only and excludes `.br` / `.gz` sidecars.
0 commit comments