@intentius/gitlab-warden 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +49 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -9293,7 +9293,54 @@ var CYCLE_REGISTRY = {
|
|
|
9293
9293
|
[mrApprovalsCycle.name]: mrApprovalsCycle
|
|
9294
9294
|
};
|
|
9295
9295
|
|
|
9296
|
+
// package.json
|
|
9297
|
+
var package_default = {
|
|
9298
|
+
name: "@intentius/gitlab-warden",
|
|
9299
|
+
version: "0.2.1",
|
|
9300
|
+
type: "module",
|
|
9301
|
+
description: "Declarative governance for GitLab groups & projects \u2014 stateless, drift-correcting reconcile in CI (no Terraform state, no Ultimate)",
|
|
9302
|
+
license: "Apache-2.0",
|
|
9303
|
+
repository: {
|
|
9304
|
+
type: "git",
|
|
9305
|
+
url: "git+https://github.com/INTENTIUS/gitlab-warden.git"
|
|
9306
|
+
},
|
|
9307
|
+
homepage: "https://github.com/INTENTIUS/gitlab-warden#readme",
|
|
9308
|
+
bugs: {
|
|
9309
|
+
url: "https://github.com/INTENTIUS/gitlab-warden/issues"
|
|
9310
|
+
},
|
|
9311
|
+
publishConfig: {
|
|
9312
|
+
access: "public"
|
|
9313
|
+
},
|
|
9314
|
+
bin: {
|
|
9315
|
+
"gitlab-warden": "bin/gitlab-warden.js"
|
|
9316
|
+
},
|
|
9317
|
+
files: [
|
|
9318
|
+
"bin",
|
|
9319
|
+
"dist"
|
|
9320
|
+
],
|
|
9321
|
+
scripts: {
|
|
9322
|
+
tsc: "tsc --noEmit",
|
|
9323
|
+
test: "vitest run",
|
|
9324
|
+
"test:e2e:run": "vitest run --config vitest.e2e.config.ts",
|
|
9325
|
+
"e2e:up": "bash e2e/bootstrap.sh",
|
|
9326
|
+
"e2e:down": "docker compose -f e2e/docker-compose.yml down -v",
|
|
9327
|
+
build: `esbuild src/cli.ts --bundle --platform=node --format=esm --banner:js="import{createRequire as __cr}from'module';const require=__cr(import.meta.url);" --outfile=dist/cli.js && chmod +x dist/cli.js`,
|
|
9328
|
+
prepublishOnly: "npm run build"
|
|
9329
|
+
},
|
|
9330
|
+
devDependencies: {
|
|
9331
|
+
"@types/node": "^22.0.0",
|
|
9332
|
+
esbuild: "^0.28.0",
|
|
9333
|
+
typescript: "^5.9.3",
|
|
9334
|
+
vitest: "^4.1.9"
|
|
9335
|
+
},
|
|
9336
|
+
dependencies: {
|
|
9337
|
+
"@intentius/chant": "^0.12.0",
|
|
9338
|
+
yaml: "^2.9.0"
|
|
9339
|
+
}
|
|
9340
|
+
};
|
|
9341
|
+
|
|
9296
9342
|
// src/cli.ts
|
|
9343
|
+
var VERSION = package_default.version;
|
|
9297
9344
|
var CliError = class extends Error {
|
|
9298
9345
|
constructor(code, message) {
|
|
9299
9346
|
super(message);
|
|
@@ -9470,7 +9517,8 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
9470
9517
|
process.exit(0);
|
|
9471
9518
|
}
|
|
9472
9519
|
if (sub === "--version" || sub === "-v") {
|
|
9473
|
-
process.stdout.write(
|
|
9520
|
+
process.stdout.write(`${VERSION}
|
|
9521
|
+
`);
|
|
9474
9522
|
process.exit(0);
|
|
9475
9523
|
}
|
|
9476
9524
|
if (sub === "reconcile") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/gitlab-warden",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Declarative governance for GitLab groups & projects — stateless, drift-correcting reconcile in CI (no Terraform state, no Ultimate)",
|
|
6
6
|
"license": "Apache-2.0",
|