Skip to content

Commit 08db768

Browse files
committed
add new bs-7.2 example test
1 parent 5d7a11c commit 08db768

File tree

18 files changed

+506
-63
lines changed

18 files changed

+506
-63
lines changed

.vscode/launch.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,18 @@
7474
"stopOnEntry": false,
7575
"sourceMaps": false,
7676
},
77+
{
78+
"name": "BS 7.2",
79+
"type": "extensionHost",
80+
"request": "launch",
81+
"runtimeExecutable": "${execPath}",
82+
"args": [
83+
"--extensionDevelopmentPath=${workspaceRoot}/editor-extensions/vscode",
84+
"${workspaceRoot}/examples/bs-7.2"
85+
],
86+
"stopOnEntry": false,
87+
"sourceMaps": false,
88+
},
7789
{
7890
"name": "Workspace",
7991
"type": "extensionHost",

examples/bs-3.1.5/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"reason-react": ">=0.4.0"
2121
},
2222
"devDependencies": {
23-
"bs-platform": "7.2.0"
23+
"bs-platform": "3.1.5"
2424
}
2525
}

examples/bs-3.1.5/src/Component1.bs.js

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/bs-3.1.5/src/Component2.bs.js

Lines changed: 39 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/bs-3.1.5/src/Index.bs.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/bs-7.2/.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"reason_language_server.location": "../../lib/bs/native/bin.native"
3+
}

examples/bs-7.2/bsconfig.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* This is the BuckleScript configuration file. Note that this is a comment;
2+
BuckleScript comes with a JSON parser that supports comments and trailing
3+
comma. If this screws with your editor highlighting, please tell us by filing
4+
an issue! */
5+
{
6+
"name": "react-template",
7+
"reason": {
8+
"react-jsx": 2
9+
},
10+
"sources": {
11+
"dir" : "src",
12+
"subdirs" : true
13+
},
14+
"package-specs": [{
15+
"module": "commonjs",
16+
"in-source": true
17+
}],
18+
"suffix": ".bs.js",
19+
"namespace": true,
20+
"bs-dependencies": [
21+
"reason-react"
22+
],
23+
"refmt": 3
24+
}

0 commit comments

Comments
 (0)