1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
--- a/scripts/hak/fetch.ts 2025-07-30 17:41:30.000000000 +0300
+++ b/scripts/hak/fetch.ts 2025-08-10 20:00:44.506272030 +0300
@@ -31,7 +31,7 @@
});
console.log("Running yarn install in " + moduleInfo.moduleBuildDir);
- await hakEnv.spawn("yarn", ["install", "--ignore-scripts"], {
+ await hakEnv.spawn("yarn", ["install", "--offline", "--ignore-scripts"], {
cwd: moduleInfo.moduleBuildDir,
});
--- a/hak/matrix-seshat/build.ts 2025-08-12 20:56:41.683279350 +0300
+++ b/hak/matrix-seshat/build.ts 2025-08-12 20:35:48.549674868 +0300
@@ -17,7 +17,7 @@
}
console.log("Running yarn install");
- await hakEnv.spawn("yarn", ["install"], {
+ await hakEnv.spawn("yarn", ["install", "--offline"], {
cwd: moduleInfo.moduleBuildDir,
env,
shell: true,
@@ -26,7 +26,7 @@
const buildTarget = hakEnv.wantsStaticSqlCipher() ? "build-bundled" : "build";
console.log("Running yarn build");
- await hakEnv.spawn("yarn", ["run", buildTarget], {
+ await hakEnv.spawn("yarn", ["--offline", "run", buildTarget], {
cwd: moduleInfo.moduleBuildDir,
env,
shell: true,
--- a/scripts/hak/link.ts 2025-12-16 17:54:33.000000000 +0300
+++ b/scripts/hak/link.ts 2025-12-16 21:47:41.160382012 +0300
@@ -13,11 +13,11 @@
export default async function link(hakEnv: HakEnv, moduleInfo: DependencyInfo): Promise<void> {
const linkFolder = path.join(hakEnv.dotHakDir, "links");
- await hakEnv.spawn("yarn", ["link", "--link-folder", linkFolder], {
+ await hakEnv.spawn("yarn", ["--offline", "link", "--link-folder", linkFolder], {
cwd: moduleInfo.moduleOutDir,
});
- await hakEnv.spawn("yarn", ["link", "--link-folder", linkFolder, moduleInfo.name], {
+ await hakEnv.spawn("yarn", ["--offline", "link", "--link-folder", linkFolder, moduleInfo.name], {
cwd: hakEnv.projectRoot,
});
}
|