@swifttui/build 0.1.15 → 0.3.0
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 +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ This exposes the `swifttui-web` CLI (`npx swifttui-web build --app <Exe>`) and a
|
|
|
31
31
|
programmatic ESM API. The package ships compiled `dist/` JavaScript — the bin
|
|
32
32
|
runs on plain Node (`#!/usr/bin/env node`), no Bun or TypeScript toolchain
|
|
33
33
|
required to consume it. Building a SwiftTUI app to wasm does require a Swift
|
|
34
|
-
6.3.x toolchain and the `swift-6.3.
|
|
34
|
+
6.3.x toolchain and the `swift-6.3.3-RELEASE_wasm` SDK on your machine.
|
|
35
35
|
|
|
36
36
|
## Use
|
|
37
37
|
|
|
@@ -57,7 +57,7 @@ Toolchain defaults match the repo:
|
|
|
57
57
|
|
|
58
58
|
- Swift command: `swiftly run swift` when `swiftly` is on `PATH`, otherwise
|
|
59
59
|
`swift`
|
|
60
|
-
- SDK: `swift-6.3.
|
|
60
|
+
- SDK: `swift-6.3.3-RELEASE_wasm`
|
|
61
61
|
- Release Swift flags:
|
|
62
62
|
`-Xswiftc -Osize -Xswiftc -Xfrontend -Xswiftc -disable-llvm-merge-functions-pass`
|
|
63
63
|
- Initial memory: `536870912`
|
|
@@ -79,7 +79,7 @@ Callers can override `swiftCommand`, `swiftSDK`, `configuration`,
|
|
|
79
79
|
> Only needed if you are working **on** `@swifttui/build` itself. Consuming it
|
|
80
80
|
> from a project needs only `npm install --save-dev` (above).
|
|
81
81
|
|
|
82
|
-
Use Bun for the CLI, bundling, and tests, and `swiftly` Swift 6.3.
|
|
82
|
+
Use Bun for the CLI, bundling, and tests, and `swiftly` Swift 6.3.3 for the wasm
|
|
83
83
|
build it invokes (not bare `swift`).
|
|
84
84
|
|
|
85
85
|
- `bun test`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swifttui/build",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@swifttui/web": "0.
|
|
42
|
+
"@swifttui/web": "0.3.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/bun": "1.3.13"
|