Add unit tests for role middleware
Some checks are pending
Docker Test / test (push) Waiting to run

This commit is contained in:
BibaBot 2026-03-17 07:07:36 +00:00
parent 7a9bf3199a
commit c294e2e9ae
5702 changed files with 465039 additions and 34 deletions

27
node_modules/napi-postinstall/lib/cli.js generated vendored Executable file
View file

@ -0,0 +1,27 @@
#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fs = require("node:fs");
const constants_1 = require("./constants");
const index_js_1 = require("./index.js");
function readCwdPackage(packageName, packageVersion) {
try {
const packageJson = JSON.parse(fs.readFileSync(constants_1.PACKAGE_JSON, 'utf8'));
if (packageJson.name === packageName &&
packageJson.version === packageVersion) {
return packageJson;
}
}
catch { }
}
const packageName = process.argv[2];
const packageVersion = process.argv[3];
const checkVersion = ['1', 'check', 'true', 'yes'].includes(process.argv[4]);
const packageJson = readCwdPackage(packageName, packageVersion);
if (packageJson) {
void (0, index_js_1.checkAndPreparePackage)(packageJson, checkVersion);
}
else {
void (0, index_js_1.checkAndPreparePackage)(packageName, packageVersion, checkVersion);
}
//# sourceMappingURL=cli.js.map