Skip to content

Commit e3c5a85

Browse files
committed
bsc-flags -> compiler-flags
1 parent 50d504f commit e3c5a85

File tree

15 files changed

+15
-15
lines changed

15 files changed

+15
-15
lines changed

analysis/examples/example-project/rescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tryit",
33
"sources": "src",
4-
"bsc-flags": ["-open Belt"],
4+
"compiler-flags": ["-open Belt"],
55
"warnings": {
66
"number": "-32-26-27-33"
77
},

analysis/examples/larger-project/rescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"unsuppress": []
66
},
77
"name": "sample-typescript-app",
8-
"bsc-flags": ["-w a"],
8+
"compiler-flags": ["-w a"],
99
"bs-dependencies": ["@rescript/react", "@glennsl/bs-json"],
1010
"sources": [
1111
{

analysis/examples/workspace-project/app/rescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "app",
3-
"bsc-flags": ["-open Common"],
3+
"compiler-flags": ["-open Common"],
44
"bs-dependencies": ["common", "myplugin"],
55
"sources": [
66
{

docs/JSXV4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For example, suppose a V3 project uses rescript-react 0.11, which requires compa
2727
"version": 3,
2828
"v3-dependencies": ["rescript-react-native", "rescript-react-navigation"]
2929
},
30-
"bsc-flags": ["-open ReactV3"]
30+
"compiler-flags": ["-open ReactV3"]
3131
```
3232

3333
Another example is a V4 project that also uses `"rescript-react-native", "rescript-react-navigation"`. Then the setting will be:

rewatch/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ pub mod tests {
988988
}
989989
],
990990
"suffix": ".mjs",
991-
"bsc-flags": [ "-w" ]
991+
"compiler-flags": [ "-w" ]
992992
}
993993
"#;
994994

rewatch/testrepo/packages/deprecated-config/rescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
"suffix": ".mjs",
1313
"bs-dependencies": [],
1414
"bs-dev-dependencies": [],
15-
"bsc-flags": []
15+
"compiler-flags": []
1616
}

rewatch/testrepo/packages/file-casing/rescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"suffix": ".mjs",
1616
"dependencies": [],
17-
"bsc-flags": [],
17+
"compiler-flags": [],
1818
"jsx": {
1919
"version": 4
2020
}

runtime/Belt.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ If you want to open Belt globally for all files in your project instead, you can
5252
5353
```json
5454
{
55-
"bsc-flags": ["-open Belt"]
55+
"compiler-flags": ["-open Belt"]
5656
}
5757
```
5858

runtime/rescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"in-source": false
1616
}
1717
],
18-
"bsc-flags": [
18+
"compiler-flags": [
1919
"-make-runtime",
2020
"-nostdlib",
2121
"-nopervasives",

tests/analysis_tests/tests-generic-jsx-transform/rescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"subdirs": true
77
}
88
],
9-
"bsc-flags": ["-w -33-44-8"],
9+
"compiler-flags": ["-w -33-44-8"],
1010
"jsx": { "module": "GenericJsx" }
1111
}

0 commit comments

Comments
 (0)