@lukeashford/aurelius 2.3.0 → 2.5.0
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 +5 -0
- package/dist/styles/theme.css +1 -1
- package/llms.md +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -108,6 +108,8 @@ export default createAureliusESLintConfig({
|
|
|
108
108
|
|
|
109
109
|
### 4. Update package.json scripts
|
|
110
110
|
|
|
111
|
+
Add a lint script and wire it into your workflow:
|
|
112
|
+
|
|
111
113
|
```json
|
|
112
114
|
{
|
|
113
115
|
"scripts": {
|
|
@@ -118,6 +120,9 @@ export default createAureliusESLintConfig({
|
|
|
118
120
|
}
|
|
119
121
|
```
|
|
120
122
|
|
|
123
|
+
If your project already has CI (or you're asked to add one), include `npm run lint` in that
|
|
124
|
+
pipeline so lint failures block merges.
|
|
125
|
+
|
|
121
126
|
### 5. Use components
|
|
122
127
|
|
|
123
128
|
```tsx
|
package/dist/styles/theme.css
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
--glass-rgb: 20 20 20;
|
|
20
20
|
|
|
21
21
|
/* Gold spectrum (derived from one base where possible) */
|
|
22
|
-
--color-gold: #
|
|
22
|
+
--color-gold: #fecb6b;
|
|
23
23
|
--color-gold-light: color-mix(in oklab, var(--color-gold) 75%, white);
|
|
24
24
|
--color-gold-bright: color-mix(in oklab, var(--color-gold) 60%, white);
|
|
25
25
|
--color-gold-muted: color-mix(in oklab, var(--color-gold) 55%, #6b5a44);
|
package/llms.md
CHANGED
|
@@ -38,6 +38,23 @@ constraints — if ESLint complains, you're leaving the rails.
|
|
|
38
38
|
export { default } from '@lukeashford/aurelius/eslint';
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
### 4. Add lint script and run it
|
|
42
|
+
|
|
43
|
+
Add a lint script and wire it into your workflow:
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"scripts": {
|
|
48
|
+
"lint": "eslint src --max-warnings 0",
|
|
49
|
+
"dev": "npm run lint && vite",
|
|
50
|
+
"build": "npm run lint && vite build"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
If your project already has CI (or you're asked to add one), include `npm run lint` in that
|
|
56
|
+
pipeline so lint failures block merges.
|
|
57
|
+
|
|
41
58
|
---
|
|
42
59
|
|
|
43
60
|
## Rules (MUST follow)
|
package/package.json
CHANGED