forked from swiftwasm/JavaScriptKit
-
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] main from swiftwasm:main #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pull
wants to merge
874
commits into
majacQ:main
Choose a base branch
from
swiftwasm:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BridgeJS: fix: run swiftformat BridgeJS: chore: extend docc documentaion with namespace example
BridgeJS: Macro extension to define namespace
Embedded: Swift SDK now passes the `-Xcc -D__EMBEDDED_SWIFT__`
Xcode does not handle symlinks well, especially when showing errors in the editor. This commit removes the symlinks in the BridgeJS plugin package and use SwiftPM's native target structure. We still use symlinks for the actual BridgeJSTool executable target in the main package as a build-time optimization, but it should not affect the Xcode editing experience on the main package.
BridgeJS: Improve Xcode editing experience by removing symlinks
Document the Utilities/bridge-js-generate.sh script and when to use it for updating AoT-generated BridgeJS files.
Adds check-bridgejs-generated job that runs bridge-js-generate.sh and fails if generated files are not current.
- Add BridgeJS plugin test commands to CONTRIBUTING.md - Document UPDATE_SNAPSHOTS=1 environment variable usage for snapshot tests
…f constructors
Fix `Examples/Embedded` not building with Swift 6.2.3
BridgeJS: Fix multifile declaration resolution order issue
BridgeJS: Remove call to `getImports` when no JS interface is imported
BridgeJS: Fix enumHelper availability
BridgeJS: Unify JS function calling convention code emission
-Xlinker options are passed to host linker as well (for linking macro plugins), which causes issues. Use a toolset file to set the options only for the target being built.
BridgeJS: Macro-annotated import notations
…cles from Documentation
chore: Update main README.md to mention BridgeJS and link more articles
…an attached extension (`Sources/JavaScriptKit/Macros.swift:176`, `Plugins/BridgeJS/Sources/BridgeJSMacros/JSClassMacro.swift:56`).
- Removed `: _JSBridgedClass` from TS2Swift output so generated wrappers are just `@JSClass struct Name { ... }` (`Plugins/BridgeJS/Sources/TS2Swift/JavaScript/src/processor.js:216`).
- Updated BridgeJS snapshots + generated fixtures to match (`Plugins/BridgeJS/Tests/BridgeJSToolTests/__Snapshots__/ImportTSTests/*.Macros.swift`, `Tests/BridgeJSRuntimeTests/Generated/BridgeJS.Macros.swift:25`, `Examples/PlayBridgeJS/Sources/PlayBridgeJS/Generated/BridgeJS.Macros.swift:11`).
- `swift test --package-path ./Plugins/BridgeJS` now passes (after installing JS deps with `npm ci`).
BridgeJS: Generate `_JSBridgedClass` conformance via macro
TS2Swift: Remove unused type definitions
…ridge-js.d.ts` (#506)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )