ĐứcNiklasPor/nx-remotecache-custom
Build custom caching for @nrwl/nx in a few lines of code
⚠️ Dự án đã ngưng phát triển — chuyển sang Powerpack
Nx 21 trở lên không hỗ trợ cache tùy chỉnh nữa. Nên dùng Powerpack thay thế.
nx-remotecache-custom cung cấp hàm createCustomRunner() giúp tạo remote cache tùy chỉnh cho Nrwl Nx. Chỉ cần cài 3 hàm: lưu, tải, kiểm tra tồn tại file. Phần còn lại tự xử lý.
✨ Điểm nổi bật
- Tạo runner tùy chỉnh: Chỉ cần định nghĩa 3 hàm:
storeFile,retrieveFile,fileExists. - Hiển thị thông báo đẹp màu: Log theo phong cách Nx với màu sắc.
- Hỗ trợ async setup: Có thể chạy code bất đồng bộ khi khởi tạo runner.
- Xử lý lỗi tự động: Không gây lỗi build khi cache gặp sự cố.
- Nén file tự động: Zip cache để tiết kiệm băng rộng và lưu trữ.
- API rõ ràng: API nhỏ gọn, được tài liệu hóa rõ rệt.
💡 Vì sao đáng chú ý
Không cần viết toàn bộ logic cache phức tạp. nx-remotecache-custom giảm boilerplate tối đa — chỉ cần cài 3 hàm là được runner hoàn chỉnh với hỗ trợ zip, log đẹp, xử lý lỗi.
Rất hữu ích khi tích hợp cache lên cloud storage khác nhau như Azure Blob (qua nx-remotecache-azure).
Tuy nhiên — dự án đã bị deprecated. CVE-2025-36852 tồn tại. Dùng Powerpack thay thế.
#TypeScript #Nx #RemoteCache #Hacktoberfest #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
The Monorepo Platform that amplifies both developers and AI agents. Nx optimizes your builds, scales your CI, and fixes failed PRs automatically. Ship in half the time.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
Source for remoteintech.company — a community-maintained directory of remote-friendly tech companies