@realtek/core-theme 0.0.35 → 0.0.37

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/README.md CHANGED
@@ -1,6 +1,28 @@
1
1
  # CORE-THEME
2
2
  CORE-THEME 1
3
3
 
4
+ ## Local setup and commit checks
5
+
6
+ After cloning the repo, run:
7
+
8
+ ```bash
9
+ npm run setup
10
+ ```
11
+
12
+ This installs dependencies with `npm ci` and configures Git to use the shared
13
+ `.githooks/pre-commit` hook. The hook runs impacted component tests before each
14
+ commit.
15
+
16
+ If dependencies are already installed, run:
17
+
18
+ ```bash
19
+ npm run install:hooks
20
+ ```
21
+
22
+ `npm run dev`, `npm test`, and `npm run build` also refresh the hook setup
23
+ automatically. Git hooks are local machine settings, so CI and branch protection
24
+ remain the final enforcement.
25
+
4
26
  ## Auth handling for pages (built in)
5
27
 
6
28
  When a page from this library (e.g. `AdminPage`, `JobsListPage`, …) is opened