chore: add CI, coverage gates, and fix template hygiene

Wires the previously-inert @vitest/coverage-v8 into the test builder with
measured thresholds, adds a GitHub Actions workflow (format, test, build),
and fixes assorted gaps a cloning team would hit: no LICENSE, no engines/
.nvmrc, an unusable prettier install, a committed local-only settings file,
a dead 0-byte stylesheet, and a broken Karma-era VS Code test/debug config.
Also drops @angular/forms, which nothing in src/ imports.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
eho
2026-08-01 10:29:32 +02:00
co-authored by Claude Sonnet 5
parent 78f590af04
commit 6ad5b65f68
11 changed files with 97 additions and 53 deletions
+6 -21
View File
@@ -7,11 +7,11 @@
"": {
"name": "ng-signals-template",
"version": "0.0.0",
"license": "MIT",
"dependencies": {
"@angular/common": "^22.1.0",
"@angular/compiler": "^22.1.0",
"@angular/core": "^22.1.0",
"@angular/forms": "^22.1.0",
"@angular/platform-browser": "^22.1.0",
"@angular/router": "^22.1.0",
"rxjs": "~7.8.0",
@@ -26,6 +26,9 @@
"prettier": "^3.8.1",
"typescript": "~6.0.2",
"vitest": "^4.0.8"
},
"engines": {
"node": "^22.22.3 || ^24.15.0 || >=26.0.0"
}
},
"node_modules/@acemir/cssom": {
@@ -373,26 +376,6 @@
}
}
},
"node_modules/@angular/forms": {
"version": "22.1.0",
"resolved": "https://registry.npmjs.org/@angular/forms/-/forms-22.1.0.tgz",
"integrity": "sha512-nWlSM/pPp78Sx/fBM/tFEgZxdfZe50LkCE2/hkO22Fi1UM2maGc43LDsu/s6l0q9hFep4Wj+xa30KXDBS7Cn8A==",
"license": "MIT",
"dependencies": {
"@standard-schema/spec": "^1.0.0",
"tslib": "^2.3.0",
"zod": "^4.0.10"
},
"engines": {
"node": "^22.22.3 || ^24.15.0 || >=26.0.0"
},
"peerDependencies": {
"@angular/common": "22.1.0",
"@angular/core": "22.1.0",
"@angular/platform-browser": "22.1.0",
"rxjs": "^6.5.3 || ^7.4.0"
}
},
"node_modules/@angular/platform-browser": {
"version": "22.1.0",
"resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-22.1.0.tgz",
@@ -3418,6 +3401,7 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
"integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
"dev": true,
"license": "MIT"
},
"node_modules/@tybys/wasm-util": {
@@ -8085,6 +8069,7 @@
"version": "4.4.3",
"resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
"integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
"dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"