Skip to content

Commit 1119f59

Browse files
committed
constraints for other meta
1 parent f80b835 commit 1119f59

File tree

8 files changed

+139
-14
lines changed

8 files changed

+139
-14
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
"Language"
1212
],
1313
"license": "SEE LICENSE IN LICENSE",
14-
"homepage": "http://rescript-lang.org",
15-
"bugs": "https://github.com/rescript-lang/rescript-compiler/issues",
14+
"homepage": "https://rescript-lang.org",
15+
"bugs": "https://github.com/rescript-lang/rescript/issues",
1616
"repository": {
1717
"type": "git",
18-
"url": "git+https://github.com/rescript-lang/rescript-compiler.git"
18+
"url": "git+https://github.com/rescript-lang/rescript.git"
1919
},
2020
"author": {
2121
"name": "Hongbo Zhang",
@@ -97,5 +97,6 @@
9797
"tests/gentype_tests/**",
9898
"tests/tools_tests"
9999
],
100-
"packageManager": "[email protected]"
100+
"packageManager": "[email protected]",
101+
"preferUnplugged": true
101102
}

packages/@rescript/darwin-arm64/package.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,29 @@
33
"version": "12.0.0-alpha.13",
44
"description": "ReScript binaries for MacOS ARM64",
55
"type": "module",
6+
"homepage": "https://rescript-lang.org",
7+
"bugs": "https://github.com/rescript-lang/rescript/issues",
68
"repository": {
79
"type": "git",
8-
"url": "git+https://github.com/rescript-lang/rescript-compiler.git"
10+
"url": "git+https://github.com/rescript-lang/rescript.git"
911
},
12+
"author": {
13+
"name": "Hongbo Zhang",
14+
"email": "[email protected]"
15+
},
16+
"maintainers": [
17+
"Christoph Knittel (https://github.com/cknitt)",
18+
"Cristiano Calcagno (https://github.com/cristianoc)",
19+
"Dmitry Zakharov (https://github.com/DZakh)",
20+
"Florian Hammerschmidt (https://github.com/fhammerschmidt)",
21+
"Gabriel Nordeborn (https://github.com/zth)",
22+
"Hyeseong Kim (https://github.com/cometkim)",
23+
"Jaap Frolich (https://github.com/jfrolich)",
24+
"Matthias Le Brun (https://github.com/bloodyowl)",
25+
"Patrick Ecker (https://github.com/ryyppy)",
26+
"Paul Tsnobiladzé (https://github.com/tsnobip)",
27+
"Woonki Moon (https://github.com/mununki)"
28+
],
1029
"publishConfig": {
1130
"access": "public",
1231
"executableFiles": [

packages/@rescript/darwin-x64/package.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,29 @@
33
"version": "12.0.0-alpha.13",
44
"description": "ReScript binaries for MacOS x86_64",
55
"type": "module",
6+
"homepage": "https://rescript-lang.org",
7+
"bugs": "https://github.com/rescript-lang/rescript/issues",
68
"repository": {
79
"type": "git",
8-
"url": "git+https://github.com/rescript-lang/rescript-compiler.git"
10+
"url": "git+https://github.com/rescript-lang/rescript.git"
911
},
12+
"author": {
13+
"name": "Hongbo Zhang",
14+
"email": "[email protected]"
15+
},
16+
"maintainers": [
17+
"Christoph Knittel (https://github.com/cknitt)",
18+
"Cristiano Calcagno (https://github.com/cristianoc)",
19+
"Dmitry Zakharov (https://github.com/DZakh)",
20+
"Florian Hammerschmidt (https://github.com/fhammerschmidt)",
21+
"Gabriel Nordeborn (https://github.com/zth)",
22+
"Hyeseong Kim (https://github.com/cometkim)",
23+
"Jaap Frolich (https://github.com/jfrolich)",
24+
"Matthias Le Brun (https://github.com/bloodyowl)",
25+
"Patrick Ecker (https://github.com/ryyppy)",
26+
"Paul Tsnobiladzé (https://github.com/tsnobip)",
27+
"Woonki Moon (https://github.com/mununki)"
28+
],
1029
"publishConfig": {
1130
"access": "public",
1231
"executableFiles": [

packages/@rescript/linux-arm64/package.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,29 @@
33
"version": "12.0.0-alpha.13",
44
"description": "ReScript binaries for Linux ARM64",
55
"type": "module",
6+
"homepage": "https://rescript-lang.org",
7+
"bugs": "https://github.com/rescript-lang/rescript/issues",
68
"repository": {
79
"type": "git",
8-
"url": "git+https://github.com/rescript-lang/rescript-compiler.git"
10+
"url": "git+https://github.com/rescript-lang/rescript.git"
911
},
12+
"author": {
13+
"name": "Hongbo Zhang",
14+
"email": "[email protected]"
15+
},
16+
"maintainers": [
17+
"Christoph Knittel (https://github.com/cknitt)",
18+
"Cristiano Calcagno (https://github.com/cristianoc)",
19+
"Dmitry Zakharov (https://github.com/DZakh)",
20+
"Florian Hammerschmidt (https://github.com/fhammerschmidt)",
21+
"Gabriel Nordeborn (https://github.com/zth)",
22+
"Hyeseong Kim (https://github.com/cometkim)",
23+
"Jaap Frolich (https://github.com/jfrolich)",
24+
"Matthias Le Brun (https://github.com/bloodyowl)",
25+
"Patrick Ecker (https://github.com/ryyppy)",
26+
"Paul Tsnobiladzé (https://github.com/tsnobip)",
27+
"Woonki Moon (https://github.com/mununki)"
28+
],
1029
"publishConfig": {
1130
"access": "public",
1231
"executableFiles": [

packages/@rescript/linux-x64/package.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,29 @@
33
"version": "12.0.0-alpha.13",
44
"description": "ReScript binaries for Linux x86_64",
55
"type": "module",
6+
"homepage": "https://rescript-lang.org",
7+
"bugs": "https://github.com/rescript-lang/rescript/issues",
68
"repository": {
79
"type": "git",
8-
"url": "git+https://github.com/rescript-lang/rescript-compiler.git"
10+
"url": "git+https://github.com/rescript-lang/rescript.git"
911
},
12+
"author": {
13+
"name": "Hongbo Zhang",
14+
"email": "[email protected]"
15+
},
16+
"maintainers": [
17+
"Christoph Knittel (https://github.com/cknitt)",
18+
"Cristiano Calcagno (https://github.com/cristianoc)",
19+
"Dmitry Zakharov (https://github.com/DZakh)",
20+
"Florian Hammerschmidt (https://github.com/fhammerschmidt)",
21+
"Gabriel Nordeborn (https://github.com/zth)",
22+
"Hyeseong Kim (https://github.com/cometkim)",
23+
"Jaap Frolich (https://github.com/jfrolich)",
24+
"Matthias Le Brun (https://github.com/bloodyowl)",
25+
"Patrick Ecker (https://github.com/ryyppy)",
26+
"Paul Tsnobiladzé (https://github.com/tsnobip)",
27+
"Woonki Moon (https://github.com/mununki)"
28+
],
1029
"publishConfig": {
1130
"access": "public",
1231
"executableFiles": [

packages/@rescript/win32-x64/package.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,29 @@
33
"version": "12.0.0-alpha.13",
44
"description": "ReScript binaries for Windows x86_64",
55
"type": "module",
6+
"homepage": "https://rescript-lang.org",
7+
"bugs": "https://github.com/rescript-lang/rescript/issues",
68
"repository": {
79
"type": "git",
8-
"url": "git+https://github.com/rescript-lang/rescript-compiler.git"
10+
"url": "git+https://github.com/rescript-lang/rescript.git"
911
},
12+
"author": {
13+
"name": "Hongbo Zhang",
14+
"email": "[email protected]"
15+
},
16+
"maintainers": [
17+
"Christoph Knittel (https://github.com/cknitt)",
18+
"Cristiano Calcagno (https://github.com/cristianoc)",
19+
"Dmitry Zakharov (https://github.com/DZakh)",
20+
"Florian Hammerschmidt (https://github.com/fhammerschmidt)",
21+
"Gabriel Nordeborn (https://github.com/zth)",
22+
"Hyeseong Kim (https://github.com/cometkim)",
23+
"Jaap Frolich (https://github.com/jfrolich)",
24+
"Matthias Le Brun (https://github.com/bloodyowl)",
25+
"Patrick Ecker (https://github.com/ryyppy)",
26+
"Paul Tsnobiladzé (https://github.com/tsnobip)",
27+
"Woonki Moon (https://github.com/mununki)"
28+
],
1029
"publishConfig": {
1130
"access": "public",
1231
"executableFiles": [

packages/std/package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@
77
"functional programming"
88
],
99
"license": "SEE LICENSE IN LICENSE",
10-
"homepage": "http://rescript-lang.org",
11-
"bugs": "https://github.com/rescript-compiler/issues",
10+
"homepage": "https://rescript-lang.org",
11+
"bugs": "https://github.com/rescript-lang/rescript/issues",
12+
"repository": {
13+
"type": "git",
14+
"url": "git+https://github.com/rescript-lang/rescript.git"
15+
},
1216
"author": {
1317
"name": "Hongbo Zhang",
1418
"email": "[email protected]"
@@ -28,5 +32,6 @@
2832
],
2933
"files": [
3034
"lib"
31-
]
35+
],
36+
"preferUnplugged": true
3237
}

yarn.config.cjs

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

4771
module.exports = defineConfig({
4872
async constraints(ctx) {
49-
await enforceCompilerVersion(ctx);
73+
await enforceCompilerMeta(ctx);
5074
},
5175
});

0 commit comments

Comments
 (0)