@imfusion/web-ui 0.6.4-dev.22.ge7bf54c9 → 0.6.4-dev.27.gda42e9c3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imfusion/web-ui",
3
- "version": "0.6.4-dev.22.ge7bf54c9",
3
+ "version": "0.6.4-dev.27.gda42e9c3",
4
4
  "description": "The official Web UI component library for ImFusion web apps",
5
5
  "author": "ImFusion GmbH",
6
6
  "homepage": "https://imfusion.com",
@@ -148,7 +148,6 @@
148
148
  "jiti": "2.7.0",
149
149
  "knip": "6.14.2",
150
150
  "lightningcss": "1.32.0",
151
- "nano-staged": "1.0.2",
152
151
  "playwright": "1.60.0",
153
152
  "prettier": "3.8.3",
154
153
  "react-docgen-typescript": "2.4.0",
@@ -18,7 +18,8 @@ The hooks are tracked in `.githooks/`. Check both the Git setting and the direct
18
18
 
19
19
  There are two scopes:
20
20
 
21
- - **staged**: `verify:staged`, run by pre-commit. It is fast and checks the staged files plus relevant project-wide checks.
21
+ - **commit**: `verify:staged`, run by pre-commit. It checks whole-repository lint and formatting, then runs project checks
22
+ for staged inputs.
22
23
  - **full**: `verify:full`, the build and complete verification used by CI.
23
24
 
24
25
  The scripts under `scripts/verify/` own the step lists. Hooks and npm scripts only launch them.
@@ -17,7 +17,7 @@ Read this topic before adding a dependency or configuring a tool. Use the tool's
17
17
  | Format | Prettier |
18
18
  | Lint | ESLint flat config |
19
19
  | Types | `tsc --noEmit` |
20
- | Staged files | lint-staged or nano-staged |
20
+ | Pre-commit checks | Whole-repository lint and format checks |
21
21
  | Dead code | Knip via `verify:knip` |
22
22
 
23
23
  ## When a library owns a layer
@@ -65,10 +65,11 @@ tests, requires the `#/` alias instead of parent-relative imports, and uses proj
65
65
  Use strict TypeScript with bundler module resolution, `verbatimModuleSyntax`, unused-value checks, and `#/` paths. Keep
66
66
  `import type` for type-only imports.
67
67
 
68
- ## Staged files
68
+ ## Pre-commit checks
69
69
 
70
- The staged-file runner applies ESLint fixes and Prettier writes only to staged files. It also runs the relevant project
71
- checks when source or config can affect the dependency graph.
70
+ The pre-commit hook checks the whole repository with ESLint and Prettier, then runs project checks for staged inputs that can
71
+ affect generated files, types, dependencies, or TeamCity configuration. It does not rewrite files during a commit; use
72
+ `npm run format` to apply Prettier changes explicitly.
72
73
 
73
74
  ## CSS class names
74
75