Skip to content

Commit debe9db

Browse files
committed
more
1 parent 914e839 commit debe9db

File tree

7 files changed

+15
-114
lines changed

7 files changed

+15
-114
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Js.log("01")
1+
Console.log("01")
22
Dep01.log()
33

4-
Js.log(InternalDep.value)
4+
Console.log(InternalDep.value)
55

66
module Array = Belt.Array
77
module String = Js.String

rewatch/tests/snapshots/dependency-cycle.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Cleaned 0/114
2-
Parsed 2 source files
1+
Cleaned 0/115
2+
Parsed 1 source files
33
Compiled 0 modules
44

55
The field 'bs-dependencies' found in the package config of '@testrepo/deprecated-config' is deprecated and will be removed in a future version.

rewatch/tests/snapshots/remove-file.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Cleaned 1/114
2-
Parsed 1 source files
1+
Cleaned 1/115
2+
Parsed 0 source files
33
Compiled 1 modules
44

55
The field 'bs-dependencies' found in the package config of '@testrepo/deprecated-config' is deprecated and will be removed in a future version.

rewatch/tests/snapshots/rename-file-internal-dep.txt

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Cleaned 1/114
1+
Cleaned 2/115
22
Parsed 2 source files
33
Compiled 2 modules
44

@@ -11,36 +11,12 @@ Use 'dev-dependencies' instead.
1111
The field 'bsc-flags' found in the package config of '@testrepo/deprecated-config' is deprecated and will be removed in a future version.
1212
Use 'compiler-flags' instead.
1313

14-
Warning number 3
15-
/packages/main/src/Main.res:1:1-6
16-
17-
1 │ Js.log("01")
18-
2 │ Dep01.log()
19-
3 │
20-
21-
deprecated: Js.log
22-
Use `Console.log` instead.
23-
24-
25-
Warning number 3
26-
/packages/main/src/Main.res:4:1-6
27-
28-
2 │ Dep01.log()
29-
3 │
30-
4 │ Js.log(InternalDep.value)
31-
5 │
32-
6 │ module Array = Belt.Array
33-
34-
deprecated: Js.log
35-
Use `Console.log` instead.
36-
37-
3814
We've found a bug for you!
39-
/packages/main/src/Main.res:4:8-24
15+
/packages/main/src/Main.res:4:13-29
4016

4117
2 │ Dep01.log()
4218
3 │
43-
4 │ Js.log(InternalDep.value)
19+
4 │ Console.log(InternalDep.value)
4420
5 │
4521
6 │ module Array = Belt.Array
4622

rewatch/tests/snapshots/rename-file-with-interface.txt

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,8 @@
11
 No implementation file found for interface file (skipping): src/ModuleWithInterface.resi
2-
Cleaned 2/114
3-
Parsed 2 source files
2+
Cleaned 2/115
3+
Parsed 1 source files
44
Compiled 2 modules
55

6-
Warning number 3
7-
/packages/main/src/Main.res:1:1-6
8-
9-
1 │ Js.log("01")
10-
2 │ Dep01.log()
11-
3 │
12-
13-
deprecated: Js.log
14-
Use `Console.log` instead.
15-
16-
17-
Warning number 3
18-
/packages/main/src/Main.res:4:1-6
19-
20-
2 │ Dep01.log()
21-
3 │
22-
4 │ Js.log(InternalDep.value)
23-
5 │
24-
6 │ module Array = Belt.Array
25-
26-
deprecated: Js.log
27-
Use `Console.log` instead.
28-
29-
30-
316
The field 'bs-dependencies' found in the package config of '@testrepo/deprecated-config' is deprecated and will be removed in a future version.
327
Use 'dependencies' instead.
338

rewatch/tests/snapshots/rename-file.txt

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,7 @@
1-
Cleaned 0/114
1+
Cleaned 1/115
22
Parsed 1 source files
33
Compiled 1 modules
44

5-
Warning number 3
6-
/packages/main/src/Main2.res:1:1-6
7-
8-
1 │ Js.log("01")
9-
2 │ Dep01.log()
10-
3 │
11-
12-
deprecated: Js.log
13-
Use `Console.log` instead.
14-
15-
16-
Warning number 3
17-
/packages/main/src/Main2.res:4:1-6
18-
19-
2 │ Dep01.log()
20-
3 │
21-
4 │ Js.log(InternalDep.value)
22-
5 │
23-
6 │ module Array = Belt.Array
24-
25-
deprecated: Js.log
26-
Use `Console.log` instead.
27-
28-
29-
305
The field 'bs-dependencies' found in the package config of '@testrepo/deprecated-config' is deprecated and will be removed in a future version.
316
Use 'dependencies' instead.
327

rewatch/tests/snapshots/rename-interface-file.txt

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,7 @@
11
 No implementation file found for interface file (skipping): src/ModuleWithInterface2.resi
2-
Cleaned 1/114
3-
Parsed 2 source files
4-
Compiled 3 modules
5-
6-
Warning number 3
7-
/packages/main/src/Main.res:1:1-6
8-
9-
1 │ Js.log("01")
10-
2 │ Dep01.log()
11-
3 │
12-
13-
deprecated: Js.log
14-
Use `Console.log` instead.
15-
16-
17-
Warning number 3
18-
/packages/main/src/Main.res:4:1-6
19-
20-
2 │ Dep01.log()
21-
3 │
22-
4 │ Js.log(InternalDep.value)
23-
5 │
24-
6 │ module Array = Belt.Array
25-
26-
deprecated: Js.log
27-
Use `Console.log` instead.
28-
29-
2+
Cleaned 1/115
3+
Parsed 1 source files
4+
Compiled 2 modules
305

316
The field 'bs-dependencies' found in the package config of '@testrepo/deprecated-config' is deprecated and will be removed in a future version.
327
Use 'dependencies' instead.

0 commit comments

Comments
 (0)