Skip to content

Commit cdf46fa

Browse files
committed
Add package.json for tests/tests
1 parent b36b574 commit cdf46fa

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
"tests/analysis_tests/**",
9999
"tests/docstring_tests",
100100
"tests/gentype_tests/**",
101+
"tests/tests",
101102
"tests/tools_tests",
102103
"scripts/res"
103104
],

tests/tests/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "@tests/tests",
3+
"private": true,
4+
"dependencies": {
5+
"@rescript/react": "workspace:^",
6+
"rescript": "workspace:^"
7+
},
8+
"type": "module"
9+
}

tests/tests/rescript.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"in-source": true,
1212
"suffix": ".mjs"
1313
},
14+
"bs-dependencies": ["@rescript/react"],
1415
"bsc-flags": [
1516
"-w -3-6-26-27-29-30-32..40-44-45-52-60-9-106+104",
1617
"-warn-error A"

yarn.lock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,15 @@ __metadata:
681681
languageName: unknown
682682
linkType: soft
683683

684+
"@tests/tests@workspace:tests/tests":
685+
version: 0.0.0-use.local
686+
resolution: "@tests/tests@workspace:tests/tests"
687+
dependencies:
688+
"@rescript/react": "workspace:^"
689+
rescript: "workspace:^"
690+
languageName: unknown
691+
linkType: soft
692+
684693
"@tests/tools@workspace:tests/tools_tests":
685694
version: 0.0.0-use.local
686695
resolution: "@tests/tools@workspace:tests/tools_tests"

0 commit comments

Comments
 (0)