@swiftbrowser/wasm-sdk-testing 0.0.0-stage → 0.9.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.
Files changed (22) hide show
  1. package/LICENSE.txt +1445 -0
  2. package/README.md +24 -2
  3. package/files.json +20 -0
  4. package/package.json +18 -4
  5. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/AppKit.swiftoverlay +3 -0
  6. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/CoreGraphics.swiftoverlay +3 -0
  7. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/CoreImage.swiftoverlay +3 -0
  8. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/CoreTransferable.swiftoverlay +3 -0
  9. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/Foundation.swiftoverlay +3 -0
  10. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/UIKit.swiftoverlay +3 -0
  11. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/WinSDK.swiftoverlay +3 -0
  12. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftmodule/wasm32-unknown-wasip1.swiftinterface +1043 -0
  13. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/XCTest.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  14. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/_TestDiscovery.swiftmodule/wasm32-unknown-wasip1.swiftinterface +8 -0
  15. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/_TestingInterop.swiftmodule/wasm32-unknown-wasip1.swiftinterface +28 -0
  16. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/_Testing_Foundation.swiftmodule/wasm32-unknown-wasip1.swiftinterface +41 -0
  17. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libTesting.a +0 -0
  18. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libXCTest.a +0 -0
  19. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_TestDiscovery.a +0 -0
  20. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_TestingInternals.a +0 -0
  21. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_TestingInterop.a +0 -0
  22. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_Testing_Foundation.a +0 -0
package/README.md CHANGED
@@ -1,3 +1,25 @@
1
- # Temporary Holding Version
1
+ # @swiftbrowser/wasm-sdk-testing
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ XCTest, Testing and their support modules (_Testing_Foundation, _TestingInterop, _TestDiscovery): what `swiftbrowser test` compiles and links test targets against.
4
+
5
+ One of the packages that carry the Swift SDK for WebAssembly (swift-6.4.0-RELEASE_wasm)
6
+ for SwiftBrowser, split by who needs which files:
7
+
8
+ | Package | Contents |
9
+ | --- | --- |
10
+ | @swiftbrowser/wasm-sdk | the WASI sysroot, clang's headers, the standard library |
11
+ | @swiftbrowser/wasm-sdk-foundation | Foundation and CoreFoundation |
12
+ | @swiftbrowser/wasm-sdk-icu | lib_FoundationICU.a, its data member emptied |
13
+ | @swiftbrowser/wasm-sdk-icu-data | ICU's whole data package |
14
+ | @swiftbrowser/wasm-sdk-testing | XCTest and Swift Testing |
15
+ | @swiftbrowser/wasm-sdk-cxx | libc++'s headers and C++ interop |
16
+
17
+ Each keeps its files at their paths in the SDK's `wasm32-unknown-wasip1`
18
+ directory, and lists them in `files.json`, so the SDK is the packages laid
19
+ over each other. [@swiftbrowser/cli](https://www.npmjs.com/package/@swiftbrowser/cli)
20
+ does that when it compiles with the Swift compiler built as WebAssembly and
21
+ no Swift is installed (`swiftbrowser doctor --install`), and SwiftBrowser's
22
+ playground fetches the files it needs from them. The files are the SDK's,
23
+ unchanged but for ICU's data moving out of its archive; the dynamic-linking
24
+ libraries, Embedded Swift and the modules' documentation are left out. See
25
+ LICENSE.txt for the licenses of what they contain.
package/files.json ADDED
@@ -0,0 +1,20 @@
1
+ [
2
+ "swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/AppKit.swiftoverlay",
3
+ "swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/CoreGraphics.swiftoverlay",
4
+ "swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/CoreImage.swiftoverlay",
5
+ "swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/CoreTransferable.swiftoverlay",
6
+ "swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/Foundation.swiftoverlay",
7
+ "swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/UIKit.swiftoverlay",
8
+ "swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftcrossimport/WinSDK.swiftoverlay",
9
+ "swift.xctoolchain/usr/lib/swift_static/wasi/Testing.swiftmodule/wasm32-unknown-wasip1.swiftinterface",
10
+ "swift.xctoolchain/usr/lib/swift_static/wasi/XCTest.swiftmodule/wasm32-unknown-wasip1.swiftmodule",
11
+ "swift.xctoolchain/usr/lib/swift_static/wasi/_TestDiscovery.swiftmodule/wasm32-unknown-wasip1.swiftinterface",
12
+ "swift.xctoolchain/usr/lib/swift_static/wasi/_TestingInterop.swiftmodule/wasm32-unknown-wasip1.swiftinterface",
13
+ "swift.xctoolchain/usr/lib/swift_static/wasi/_Testing_Foundation.swiftmodule/wasm32-unknown-wasip1.swiftinterface",
14
+ "swift.xctoolchain/usr/lib/swift_static/wasi/libTesting.a",
15
+ "swift.xctoolchain/usr/lib/swift_static/wasi/libXCTest.a",
16
+ "swift.xctoolchain/usr/lib/swift_static/wasi/lib_TestDiscovery.a",
17
+ "swift.xctoolchain/usr/lib/swift_static/wasi/lib_TestingInternals.a",
18
+ "swift.xctoolchain/usr/lib/swift_static/wasi/lib_TestingInterop.a",
19
+ "swift.xctoolchain/usr/lib/swift_static/wasi/lib_Testing_Foundation.a"
20
+ ]
package/package.json CHANGED
@@ -1,6 +1,20 @@
1
1
  {
2
2
  "name": "@swiftbrowser/wasm-sdk-testing",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.9.0",
4
+ "description": "XCTest and Swift Testing for the Swift SDK for WebAssembly: their modules and archives, for `swiftbrowser test` (Swift 6.4.0, wasm32-unknown-wasip1).",
5
+ "license": "SEE LICENSE IN LICENSE.txt",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/noya-app/SwiftBrowser.git",
9
+ "directory": "packages/wasm-sdk-testing"
10
+ },
11
+ "files": [
12
+ "wasm32-unknown-wasip1",
13
+ "files.json",
14
+ "LICENSE.txt",
15
+ "README.md"
16
+ ],
17
+ "scripts": {
18
+ "prepack": "node ../wasm-sdk/pack-sdk.mjs --check wasm-sdk-testing"
19
+ }
20
+ }