Implements Phases 1-8 of the TFTSR implementation plan. Rust backend (Tauri 2.x, src-tauri/): - Multi-provider AI: OpenAI-compatible, Anthropic, Gemini, Mistral, Ollama - PII detection engine: 11 regex patterns with overlap resolution - SQLCipher AES-256 encrypted database with 10 versioned migrations - 28 Tauri IPC commands for triage, analysis, document, and system ops - Ollama: hardware probe, model recommendations, pull/delete with events - RCA and blameless post-mortem Markdown document generators - PDF export via printpdf - Audit log: SHA-256 hash of every external data send - Integration stubs for Confluence, ServiceNow, Azure DevOps (v0.2) Frontend (React 18 + TypeScript + Vite, src/): - 9 pages: full triage workflow NewIssue→LogUpload→Triage→Resolution→RCA→Postmortem→History+Settings - 7 components: ChatWindow, TriageProgress, PiiDiffViewer, DocEditor, HardwareReport, ModelSelector, UI primitives - 3 Zustand stores: session, settings (persisted), history - Type-safe tauriCommands.ts matching Rust backend types exactly - 8 IT domain system prompts (Linux, Windows, Network, K8s, DB, Virt, HW, Obs) DevOps: - .woodpecker/test.yml: rustfmt, clippy, cargo test, tsc, vitest on every push - .woodpecker/release.yml: linux/amd64 + linux/arm64 builds, Gogs release upload Verified: - cargo check: zero errors - tsc --noEmit: zero errors - vitest run: 13/13 unit tests passing Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
117 lines
3.3 KiB
JSON
117 lines
3.3 KiB
JSON
{
|
|
"name": "@testing-library/react",
|
|
"version": "16.3.2",
|
|
"description": "Simple and complete React DOM testing utilities that encourage good testing practices.",
|
|
"main": "dist/index.js",
|
|
"types": "types/index.d.ts",
|
|
"module": "dist/@testing-library/react.esm.js",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"prebuild": "rimraf dist",
|
|
"build": "npm-run-all --parallel build:main build:bundle:main build:bundle:pure",
|
|
"build:bundle:main": "dotenv -e .bundle.main.env kcd-scripts build -- --bundle --no-clean --no-ts-defs",
|
|
"build:bundle:pure": "dotenv -e .bundle.main.env -e .bundle.pure.env kcd-scripts build -- --bundle --no-clean --no-ts-defs",
|
|
"build:main": "kcd-scripts build --no-clean --no-ts-defs",
|
|
"format": "kcd-scripts format",
|
|
"install:csb": "npm install",
|
|
"lint": "kcd-scripts lint",
|
|
"setup": "npm install && npm run validate -s",
|
|
"test": "kcd-scripts test",
|
|
"test:update": "npm test -- --updateSnapshot --coverage",
|
|
"typecheck": "tsc --project tsconfig.json",
|
|
"validate": "kcd-scripts validate"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"dont-cleanup-after-each.js",
|
|
"pure.js",
|
|
"pure.d.ts",
|
|
"types/*.d.ts"
|
|
],
|
|
"keywords": [
|
|
"testing",
|
|
"react",
|
|
"ui",
|
|
"dom",
|
|
"jsdom",
|
|
"unit",
|
|
"integration",
|
|
"functional",
|
|
"end-to-end",
|
|
"e2e"
|
|
],
|
|
"author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.12.5"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^10.0.0",
|
|
"@testing-library/jest-dom": "^5.11.6",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"chalk": "^4.1.2",
|
|
"dotenv-cli": "^4.0.0",
|
|
"jest-diff": "^29.7.0",
|
|
"kcd-scripts": "^13.0.0",
|
|
"npm-run-all2": "^6.2.6",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@testing-library/dom": "^10.0.0",
|
|
"@types/react": "^18.0.0 || ^19.0.0",
|
|
"@types/react-dom": "^18.0.0 || ^19.0.0",
|
|
"react": "^18.0.0 || ^19.0.0",
|
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@types/react": {
|
|
"optional": true
|
|
},
|
|
"@types/react-dom": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "./node_modules/kcd-scripts/eslint.js",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2022
|
|
},
|
|
"globals": {
|
|
"globalThis": "readonly"
|
|
},
|
|
"rules": {
|
|
"react/prop-types": "off",
|
|
"react/no-adjacent-inline-elements": "off",
|
|
"import/no-unassigned-import": "off",
|
|
"import/named": "off",
|
|
"testing-library/no-container": "off",
|
|
"testing-library/no-debugging-utils": "off",
|
|
"testing-library/no-dom-import": "off",
|
|
"testing-library/no-unnecessary-act": "off",
|
|
"testing-library/prefer-explicit-assert": "off",
|
|
"testing-library/prefer-find-by": "off",
|
|
"testing-library/prefer-user-event": "off"
|
|
}
|
|
},
|
|
"eslintIgnore": [
|
|
"node_modules",
|
|
"coverage",
|
|
"dist",
|
|
"*.d.ts"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/testing-library/react-testing-library"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/testing-library/react-testing-library/issues"
|
|
},
|
|
"homepage": "https://github.com/testing-library/react-testing-library#readme"
|
|
}
|