Skip to content

Instantly share code, notes, and snippets.

View Jordan-Hall's full-sized avatar
💭
Faced with tyranny by the big corporation, open source becomes the resistance.

Jordan Hall Jordan-Hall

💭
Faced with tyranny by the big corporation, open source becomes the resistance.
  • Mansfield woodhouse
View GitHub Profile
@Jordan-Hall
Jordan-Hall / nx+19.8.2.patch
Created September 27, 2024 13:19
Community remote cache support
diff --git a/node_modules/nx/src/tasks-runner/cache.js b/node_modules/nx/src/tasks-runner/cache.js
index 36a7089..a1b7809 100644
--- a/node_modules/nx/src/tasks-runner/cache.js
+++ b/node_modules/nx/src/tasks-runner/cache.js
@@ -110,7 +110,8 @@ class DbCache {
}
}
else {
- return ((await this.getPowerpackS3Cache()) ??
+ return ((await this.getPowerpackCache(nxJson.communityCache)) ??
@Jordan-Hall
Jordan-Hall / compiler.ts
Created October 26, 2024 19:41
Make the functions return state correctly for ivy
import * as ts from "typescript";
// Input function
const sourceCode = `
function example() {
let test = 1;
let helloWorld;
const add = (by) => {
test += by;
};