File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
Plugins/BridgeJS/Tests/BridgeJSToolTests/__Snapshots__/BridgeJSLinkTests Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 6969 git diff --exit-code Sources/JavaScriptKit/Runtime
7070 - run : swift test --package-path ./Plugins/PackageToJS
7171 - run : swift test --package-path ./Plugins/BridgeJS
72+ - name : Validate BridgeJS TypeScript declarations
73+ run : npm run check:bridgejs-dts
7274
7375 test-bridgejs-against-swift-versions :
7476 name : Test BridgeJS against Swift versions
9092 node-version : ' 20'
9193 - name : Install TypeScript
9294 run : npm install
95+ - name : Validate BridgeJS TypeScript declarations
96+ run : npm run check:bridgejs-dts
9397 - name : Run BridgeJS tests
9498 # NOTE: Seems like the prebuilt SwiftSyntax binaries are not compatible with
9599 # non-macro dependents, so disable experimental prebuilts for now.
Original file line number Diff line number Diff line change 1+ {
2+ "compilerOptions" : {
3+ "strict" : true ,
4+ "noEmit" : true ,
5+ "skipLibCheck" : false ,
6+ "target" : " ES2020" ,
7+ "module" : " ES2020" ,
8+ "moduleResolution" : " node" ,
9+ "lib" : [" ES2020" , " DOM" ]
10+ },
11+ "include" : [" *.d.ts" ]
12+ }
Original file line number Diff line number Diff line change 1313 "build:clean" : " rm -rf Runtime/lib" ,
1414 "build:ts" : " cd Runtime; rollup -c" ,
1515 "prepublishOnly" : " npm run build" ,
16- "format" : " prettier --write Runtime/src"
16+ "format" : " prettier --write Runtime/src" ,
17+ "check:bridgejs-dts" : " tsc --project Plugins/BridgeJS/Tests/BridgeJSToolTests/__Snapshots__/BridgeJSLinkTests/tsconfig.json"
1718 },
1819 "keywords" : [
1920 " Swift" ,
You can’t perform that action at this time.
0 commit comments