@swiftbrowser/cli 0.5.1 → 0.5.3

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/README.md +7 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -241,6 +241,13 @@ Everything is optional; `sources`, `catalogs` and `resources` replace what the
241
241
  Xcode project says when set (a plain folder has resources only through the
242
242
  config); `locales` and `collation` pick the ICU data that ships (see above).
243
243
 
244
+ A file in `resources` lands at the bundle's top level under its own name; a
245
+ folder keeps its name and structure, like a folder reference in Xcode:
246
+ `"MyApp/Audio"` puts `morning.wav` at `/bundle/Audio/morning.wav`, found with
247
+ `Bundle.main.url(forResource: "morning", withExtension: "wav", subdirectory:
248
+ "Audio")`. To have the files at the top level, list them (or the folder's
249
+ files) one by one.
250
+
244
251
  `packages` adds Swift packages to the ones the Xcode target links: the only
245
252
  way a plain folder of sources depends on one. Each has a `url` with one rule
246
253
  (`from`: up to the next major version, `exact`, `branch` or `revision`), or
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swiftbrowser/cli",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "Run an iOS SwiftUI app in the browser: init, doctor, check, dev and build for an Xcode project or a folder of Swift sources.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,10 +22,10 @@
22
22
  "build": "tsc -p tsconfig.build.json"
23
23
  },
24
24
  "dependencies": {
25
- "@swiftbrowser/kit": "0.5.1",
26
- "@swiftbrowser/swift": "0.5.1",
27
- "@swiftbrowser/web": "0.5.1",
28
- "@swiftbrowser/xcodeproj": "0.5.1"
25
+ "@swiftbrowser/kit": "0.5.3",
26
+ "@swiftbrowser/swift": "0.5.3",
27
+ "@swiftbrowser/web": "0.5.3",
28
+ "@swiftbrowser/xcodeproj": "0.5.3"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^26.6.4",