From 0099dc1e4a5ceb2753880993fb53f3362a309342 Mon Sep 17 00:00:00 2001 From: ada Date: Mon, 20 Apr 2026 18:09:16 -0600 Subject: [PATCH] other small edits like gitignore and tsconfig --- .gitignore | 25 +++++++++++++++++++++++++ helm/templates/infisical-secret.yaml | 2 +- tools/package.json | 6 ++---- tools/tsconfig.json | 6 ++++-- 4 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea84de9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,25 @@ +# Node.js +node_modules/ +dist/ +npm-debug.log +yarn-error.log +pnpm-debug.log + +# IDEs +.idea/ +.vscode/ +*.swp +*.swo + +# OS files +.DS_Store +Thumbs.db + +# Reports and temporary files +reports/ +*.sarif + +# Environment variables +.env +.env.local +.env.*.local diff --git a/helm/templates/infisical-secret.yaml b/helm/templates/infisical-secret.yaml index 9226652..2601a87 100644 --- a/helm/templates/infisical-secret.yaml +++ b/helm/templates/infisical-secret.yaml @@ -1,4 +1,4 @@ -{{- if .Values.pipeline.enabled }} +{{- if and .Values.pipeline.enabled .Values.infisical.enabled }} apiVersion: infisical.com/v1alpha1 kind: InfisicalSecret metadata: diff --git a/tools/package.json b/tools/package.json index f7d33ca..0b83526 100644 --- a/tools/package.json +++ b/tools/package.json @@ -1,17 +1,15 @@ { "name": "tools", "version": "1.0.0", - "description": "", - "main": "index.js", + "description": "Custom pipeline utilities for agentguard-ci", "type": "module", "scripts": { - "test": "vitest run", + "test": "vitest run src", "build": "tsc" }, "keywords": [], "author": "", "license": "ISC", - "type": "commonjs", "devDependencies": { "@types/node": "^25.6.0", "tsx": "^4.21.0", diff --git a/tools/tsconfig.json b/tools/tsconfig.json index eb1e98e..60f0dec 100644 --- a/tools/tsconfig.json +++ b/tools/tsconfig.json @@ -8,7 +8,9 @@ "strict": true, "esModuleInterop": true, "skipLibCheck": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "types": ["node", "vitest/globals"], + "lib": ["ES2022", "DOM"] }, - "include": ["src/**/*"] + "include": ["src/**/*.ts"] }