Skip to content

Commit 34bf819

Browse files
committed
Use rescript from local repo in rewatch testrepo
1 parent a20c5ab commit 34bf819

File tree

2 files changed

+6
-65
lines changed

2 files changed

+6
-65
lines changed

rewatch/testrepo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
]
1414
},
1515
"dependencies": {
16-
"rescript": "12.0.0-alpha.13"
16+
"rescript": "link:../.."
1717
},
1818
"scripts": {
1919
"build": "../target/release/rewatch build .",

rewatch/testrepo/yarn.lock

Lines changed: 5 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,6 @@ __metadata:
55
version: 8
66
cacheKey: 10c0
77

8-
"@rescript/darwin-arm64@npm:12.0.0-alpha.13":
9-
version: 12.0.0-alpha.13
10-
resolution: "@rescript/darwin-arm64@npm:12.0.0-alpha.13"
11-
conditions: os=darwin & cpu=arm64
12-
languageName: node
13-
linkType: hard
14-
15-
"@rescript/darwin-x64@npm:12.0.0-alpha.13":
16-
version: 12.0.0-alpha.13
17-
resolution: "@rescript/darwin-x64@npm:12.0.0-alpha.13"
18-
conditions: os=darwin & cpu=x64
19-
languageName: node
20-
linkType: hard
21-
22-
"@rescript/linux-arm64@npm:12.0.0-alpha.13":
23-
version: 12.0.0-alpha.13
24-
resolution: "@rescript/linux-arm64@npm:12.0.0-alpha.13"
25-
conditions: os=linux & cpu=arm64
26-
languageName: node
27-
linkType: hard
28-
29-
"@rescript/linux-x64@npm:12.0.0-alpha.13":
30-
version: 12.0.0-alpha.13
31-
resolution: "@rescript/linux-x64@npm:12.0.0-alpha.13"
32-
conditions: os=linux & cpu=x64
33-
languageName: node
34-
linkType: hard
35-
36-
"@rescript/win32-x64@npm:12.0.0-alpha.13":
37-
version: 12.0.0-alpha.13
38-
resolution: "@rescript/win32-x64@npm:12.0.0-alpha.13"
39-
conditions: os=win32 & cpu=x64
40-
languageName: node
41-
linkType: hard
42-
438
"@testrepo/compiled-by-legacy@npm:*, @testrepo/compiled-by-legacy@workspace:packages/compiled-by-legacy":
449
version: 0.0.0-use.local
4510
resolution: "@testrepo/compiled-by-legacy@workspace:packages/compiled-by-legacy"
@@ -87,40 +52,16 @@ __metadata:
8752
languageName: unknown
8853
linkType: soft
8954

90-
"rescript@npm:12.0.0-alpha.13":
91-
version: 12.0.0-alpha.13
92-
resolution: "rescript@npm:12.0.0-alpha.13"
93-
dependencies:
94-
"@rescript/darwin-arm64": "npm:12.0.0-alpha.13"
95-
"@rescript/darwin-x64": "npm:12.0.0-alpha.13"
96-
"@rescript/linux-arm64": "npm:12.0.0-alpha.13"
97-
"@rescript/linux-x64": "npm:12.0.0-alpha.13"
98-
"@rescript/win32-x64": "npm:12.0.0-alpha.13"
99-
dependenciesMeta:
100-
"@rescript/darwin-arm64":
101-
optional: true
102-
"@rescript/darwin-x64":
103-
optional: true
104-
"@rescript/linux-arm64":
105-
optional: true
106-
"@rescript/linux-x64":
107-
optional: true
108-
"@rescript/win32-x64":
109-
optional: true
110-
bin:
111-
bsc: cli/bsc.js
112-
bstracing: cli/bstracing.js
113-
rescript: cli/rescript-legacy.js
114-
rescript-tools: cli/rescript-tools.js
115-
rewatch: cli/rewatch.js
116-
checksum: 10c0/97ad8615b1a1cbace61e050b65a10bbe280c77b4fe693b99aee7d3c6bb0b2ebd284db16a7aec3d65179267dc610a9737fdf74197f6322b1281113fd588fe1b32
55+
"rescript@link:../..::locator=testrepo%40workspace%3A.":
56+
version: 0.0.0-use.local
57+
resolution: "rescript@link:../..::locator=testrepo%40workspace%3A."
11758
languageName: node
118-
linkType: hard
59+
linkType: soft
11960

12061
"testrepo@workspace:.":
12162
version: 0.0.0-use.local
12263
resolution: "testrepo@workspace:."
12364
dependencies:
124-
rescript: "npm:12.0.0-alpha.13"
65+
rescript: "link:../.."
12566
languageName: unknown
12667
linkType: soft

0 commit comments

Comments
 (0)