@realtek/core-theme 0.0.36 → 0.0.38
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 +22 -0
- package/dist-lib/index.cjs +4 -4
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +2486 -2370
- package/dist-lib/index.js.map +1 -1
- package/dist-lib/style.css +1 -1
- package/package.json +6 -1
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
|