@@ -12,13 +12,37 @@ const { compilerVersionFile } = require("#dev/paths");
1212/**
1313 * @param {Yarn.Constraints.Context } ctx
1414 */
15- async function enforceCompilerVersion ( { Yarn } ) {
15+ async function enforceCompilerMeta ( { Yarn } ) {
1616 const EXPECTED_VERSION = "12.0.0-alpha.13" ;
1717
1818 for ( const workspace of Yarn . workspaces ( ) ) {
1919 const { ident } = workspace . pkg ;
2020 if ( ident === "rescript" || ident . startsWith ( "@rescript/" ) ) {
2121 workspace . set ( "version" , EXPECTED_VERSION ) ;
22+ workspace . set ( "homepage" , "https://rescript-lang.org" ) ;
23+ workspace . set ( "bugs" , "https://github.com/rescript-lang/rescript/issues" ) ;
24+ workspace . set ( "repository" , {
25+ type : "git" ,
26+ url : "git+https://github.com/rescript-lang/rescript.git" ,
27+ } ) ;
28+ workspace . set ( "author" , {
29+ name : "Hongbo Zhang" ,
30+ 31+ } ) ;
32+ workspace . set ( "maintainers" , [
33+ "Christoph Knittel (https://github.com/cknitt)" ,
34+ "Cristiano Calcagno (https://github.com/cristianoc)" ,
35+ "Dmitry Zakharov (https://github.com/DZakh)" ,
36+ "Florian Hammerschmidt (https://github.com/fhammerschmidt)" ,
37+ "Gabriel Nordeborn (https://github.com/zth)" ,
38+ "Hyeseong Kim (https://github.com/cometkim)" ,
39+ "Jaap Frolich (https://github.com/jfrolich)" ,
40+ "Matthias Le Brun (https://github.com/bloodyowl)" ,
41+ "Patrick Ecker (https://github.com/ryyppy)" ,
42+ "Paul Tsnobiladzé (https://github.com/tsnobip)" ,
43+ "Woonki Moon (https://github.com/mununki)" ,
44+ ] ) ;
45+ workspace . set ( "preferUnplugged" , true ) ;
2246 }
2347 }
2448
@@ -46,6 +70,6 @@ async function enforceCompilerVersion({ Yarn }) {
4670
4771module . exports = defineConfig ( {
4872 async constraints ( ctx ) {
49- await enforceCompilerVersion ( ctx ) ;
73+ await enforceCompilerMeta ( ctx ) ;
5074 } ,
5175} ) ;
0 commit comments