- Add .gitignore: exclude compiled binaries, build artifacts, and Helm values files containing real secrets (authentik, prometheus) - Add all Kubernetes deployment manifests (deployment/) - Add services source code: ha-sync, device-inventory, games-console, paperclip, parts-inventory - Add Ansible orchestration: playbooks, roles, inventory, cloud-init - Add hardware specs, execution plans, scripts, HOMELAB.md - Add skills/homelab/SKILL.md + skills/install.sh to preserve Copilot skill - Remove previously-tracked inventory-cli binary from git index Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
16 lines
541 B
JavaScript
16 lines
541 B
JavaScript
"use strict";
|
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var fs_1 = __importDefault(require("fs"));
|
|
var filePath = process.argv[2];
|
|
var handler = function (stat) {
|
|
if (stat && stat.birthtime.getTime() > 0) {
|
|
process.exit(0);
|
|
}
|
|
};
|
|
fs_1.default.watchFile(filePath, { interval: 100 }, handler);
|
|
fs_1.default.stat(filePath, function (err, stat) {
|
|
handler(stat);
|
|
});
|