Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions 4 .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
git diff --exit-code Sources/JavaScriptKit/Runtime
- run: swift test --package-path ./Plugins/PackageToJS
- run: swift test --package-path ./Plugins/BridgeJS
- name: Validate BridgeJS TypeScript declarations
run: npm run check:bridgejs-dts

test-bridgejs-against-swift-versions:
name: Test BridgeJS against Swift versions
Expand All @@ -90,6 +92,8 @@ jobs:
node-version: '20'
- name: Install TypeScript
run: npm install
- name: Validate BridgeJS TypeScript declarations
run: npm run check:bridgejs-dts
- name: Run BridgeJS tests
# NOTE: Seems like the prebuilt SwiftSyntax binaries are not compatible with
# non-macro dependents, so disable experimental prebuilts for now.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"strict": true,
"noEmit": true,
"skipLibCheck": false,
"target": "ES2020",
"module": "ES2020",
"moduleResolution": "node",
"lib": ["ES2020", "DOM"]
},
"include": ["*.d.ts"]
}
3 changes: 2 additions & 1 deletion 3 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"build:clean": "rm -rf Runtime/lib",
"build:ts": "cd Runtime; rollup -c",
"prepublishOnly": "npm run build",
"format": "prettier --write Runtime/src"
"format": "prettier --write Runtime/src",
"check:bridgejs-dts": "tsc --project Plugins/BridgeJS/Tests/BridgeJSToolTests/__Snapshots__/BridgeJSLinkTests/tsconfig.json"
},
"keywords": [
"Swift",
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.