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>
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"name": "style-to-js",
|
|
"version": "1.1.21",
|
|
"description": "Parses CSS inline style to JavaScript object (camelCased).",
|
|
"author": "Mark <mark@remarkablemark.org>",
|
|
"main": "cjs/index.js",
|
|
"scripts": {
|
|
"build": "npm run build:cjs && npm run build:umd",
|
|
"build:cjs": "tsc --declaration --outDir cjs",
|
|
"build:umd": "rollup --config --failAfterWarnings",
|
|
"clean": "rm -rf cjs umd",
|
|
"lint": "eslint .",
|
|
"lint:tsc": "tsc --noEmit",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"prepare": "husky",
|
|
"prepublishOnly": "npm run lint && npm run lint:tsc && npm run test:ci && npm run clean && npm run build",
|
|
"test": "jest",
|
|
"test:ci": "CI=true jest --ci --colors --coverage",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/remarkablemark/style-to-js.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/remarkablemark/style-to-js/issues"
|
|
},
|
|
"keywords": [
|
|
"style-to-js",
|
|
"css",
|
|
"style",
|
|
"javascript",
|
|
"object",
|
|
"pojo"
|
|
],
|
|
"dependencies": {
|
|
"style-to-object": "1.0.14"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "20.1.0",
|
|
"@commitlint/config-conventional": "20.0.0",
|
|
"@eslint/compat": "2.0.0",
|
|
"@eslint/eslintrc": "3.3.1",
|
|
"@eslint/js": "9.39.1",
|
|
"@rollup/plugin-commonjs": "29.0.0",
|
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
"@rollup/plugin-terser": "0.4.4",
|
|
"@types/jest": "30.0.0",
|
|
"@typescript-eslint/eslint-plugin": "8.46.4",
|
|
"@typescript-eslint/parser": "8.46.4",
|
|
"eslint": "9.39.1",
|
|
"eslint-plugin-prettier": "5.5.4",
|
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
"globals": "16.5.0",
|
|
"husky": "9.1.7",
|
|
"jest": "30.2.0",
|
|
"lint-staged": "16.2.6",
|
|
"prettier": "3.6.2",
|
|
"rollup": "4.53.2",
|
|
"ts-jest": "29.4.5",
|
|
"ts-node": "10.9.2",
|
|
"typescript": "5.9.3"
|
|
},
|
|
"files": [
|
|
"cjs/",
|
|
"src/",
|
|
"umd/"
|
|
],
|
|
"license": "MIT"
|
|
}
|