Skip to content

Commit

Permalink
initial commit, project layout notes
Browse files Browse the repository at this point in the history
  • Loading branch information
heckj committed May 23, 2024
1 parent f107c3b commit f357916
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 0 deletions.
8 changes: 8 additions & 0 deletions notes/project-layers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Project layers for Automerge-swift

![Block diagram of the Automerge swift project layers](./project-layout.svg)

The Automerge package intentionally holds no additional package dependencies, aside from the core Automerge library.
In Automerge, conditionally compile for platform specific dependencies (for example, `Combine`, `SwiftUI`, `CoreTransferrable`, `UniformTypeIdentifiers`) so that the package compiles cleanly in WASM.
This is "enforced" by a validation build that compiles the project using a Swift-WASM toolchain.

Binary file added notes/project-layout.afdesign
Binary file not shown.
112 changes: 112 additions & 0 deletions notes/project-layout.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f357916

Please sign in to comment.