@aquera/nile-lint 0.1.2 → 0.1.4
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 +13 -5
- package/manifest.json +23 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ dynamic is skipped rather than guessed.
|
|
|
41
41
|
| Rule | recommended | cascade | Fix | What it catches |
|
|
42
42
|
| ------------------------ | ----------- | ------- | --- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
43
43
|
| `no-unknown-elements` | error | error | | `<nile-buton>` — tags that don't exist |
|
|
44
|
-
| `no-unknown-attributes` | error | error | | attributes/properties a component doesn't declare — incl. the Lit trap `help-text` vs `helptext`, and `@state()` fields
|
|
44
|
+
| `no-unknown-attributes` | error | error | | attributes/properties a component doesn't declare — incl. the Lit trap `help-text` vs `helptext`, and internal `@state()` fields that do nothing |
|
|
45
45
|
| `valid-attribute-values` | error | error | | `variant="danger"` (lists the real values); `disabled="false"` (which is still _on_) |
|
|
46
46
|
| `no-unknown-events` | warn | warn | | `(nile-clik)` — event names no Nile component emits |
|
|
47
47
|
| `no-unknown-icons` | error | error | | `nile-icon`/`nile-glyph` names and Cascade sprite `#ng-*` refs that render nothing |
|
|
@@ -49,7 +49,7 @@ dynamic is skipped rather than guessed.
|
|
|
49
49
|
| `no-raw-colors` | error | error | ✓ | hex/rgb/hsl/named colors → nearest token of the right role (text/bg/border/fg) |
|
|
50
50
|
| `no-arbitrary-values` | warn | off | ✓ | raw px/rem in spacing, radius, font-size that **is** a token → `--ng-spacing-*`, `--ng-radius-*`, `--ng-font-size-*` (`strict` also flags near-misses) |
|
|
51
51
|
| `no-unknown-tokens` | error | error | ✓ | `var(--ng-typo)` that resolves to nothing; Cascade roles (`--ng-text`) used in apps |
|
|
52
|
-
| `no-legacy-tokens` | error | error |
|
|
52
|
+
| `no-legacy-tokens` | error | error | ✓ | `--nile-*` enterprise theme tokens (component-scoped `--nile-<component>-*` props are fine) |
|
|
53
53
|
| `no-legacy-theme` | error | error | ✓ | `nile-theme-enterprise`, loading `variables.css` |
|
|
54
54
|
| `no-restyle` | error | error | | restyling a `nile-*` host from outside, unknown `::part()`s, `!important`, `::ng-deep` |
|
|
55
55
|
| `gradient-budget` | warn | error | | gradients other than `--ng-grad-brand` / `--ng-grad-ai` |
|
|
@@ -77,7 +77,7 @@ npx nile-lint [paths/globs…] [--profile recommended|cascade|strict] [--format
|
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
`--version` prints the linter's version and the Nile versions its manifest was built from. The
|
|
80
|
-
`pretty` output starts with the same line (`nile-lint 0.1.
|
|
80
|
+
`pretty` output starts with the same line (`nile-lint 0.1.4 · Nile 2.0.22`), and the `agent` summary
|
|
81
81
|
line names them too. When the project's installed `@aquera/nile-elements` is newer than the
|
|
82
82
|
manifest, a warning goes to stderr: newer components and attributes would otherwise be reported
|
|
83
83
|
as unknown — update `@aquera/nile-lint`.
|
|
@@ -111,8 +111,8 @@ it. `--no-baseline` shows everything; `--baseline <file>` uses another file.
|
|
|
111
111
|
`matTooltip`…), ARIA/DOM properties (`[ariaDisabled]`), **your project's own directives**
|
|
112
112
|
(read from its `@Directive` declarations: selectors, `@Input()`, `input()`, `inputs: []`,
|
|
113
113
|
aliases) and **directives from its Angular library dependencies** (read from their typings).
|
|
114
|
-
- Anything else on a `nile-*` element is reported — e.g. `
|
|
115
|
-
|
|
114
|
+
- Anything else on a `nile-*` element is reported — e.g. an internal `@state()` field is not an
|
|
115
|
+
attribute and does nothing, and `[attr.ariaLabel]` sets a meaningless `arialabel` attribute
|
|
116
116
|
(use `aria-label`).
|
|
117
117
|
|
|
118
118
|
## Config
|
|
@@ -218,6 +218,14 @@ master never blocks other packages' releases; ship it to apps with a nile-lint p
|
|
|
218
218
|
|
|
219
219
|
In this section, you can find the updates for each release of `nile-lint`. It's a good practice to maintain detailed release notes to help users and developers understand what changes have been made from one version to another and how these changes might affect their projects.
|
|
220
220
|
|
|
221
|
+
#### Version 0.1.4 (November 13, 2026)
|
|
222
|
+
|
|
223
|
+
- Nile Lint: Manifest rebuilt for `@aquera/nile` 1.3.6. The new NxtGen tokens `--ng-componentcolors-alpha-black-4` and `--ng-componentcolors-components-tooltips-tooltip-bg`, `-border` and `-text` are now known, so `no-unknown-tokens` no longer reports them. `--ng-colors-bg-primary-hover` and `--ng-colors-bg-secondary-hover` resolve to the new light-mode value, so `no-raw-colors` suggestions for those colors can change (UIF-1412)
|
|
224
|
+
|
|
225
|
+
#### Version 0.1.3 (November 13, 2026)
|
|
226
|
+
|
|
227
|
+
- Nile Lint: Manifest rebuilt for nile-elements 2.0.22. `no-theme` and `no-theme-components` on `<nile-wysiwyg-editor>` are now known attributes, so `no-unknown-attributes` no longer reports them. The same goes for `iconMethod` on `<nile-empty-state>`. No existing usage changes (UIF-1413)
|
|
228
|
+
|
|
221
229
|
#### Version 0.1.2 (November 11, 2026)
|
|
222
230
|
|
|
223
231
|
- Nile Lint: Recognises the new `<nile-access-graph>` from `@aquera/nile-flow` 0.0.9 — its attributes, `nile-access-*` events and CSS parts. No existing usage changes (UIF-1411)
|
package/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"note": "GENERATED by scripts/build-manifest.js — do not edit by hand.",
|
|
3
3
|
"versions": {
|
|
4
|
-
"@aquera/nile": "1.3.
|
|
5
|
-
"@aquera/nile-elements": "2.0.
|
|
4
|
+
"@aquera/nile": "1.3.6",
|
|
5
|
+
"@aquera/nile-elements": "2.0.22",
|
|
6
6
|
"@aquera/nile-glyph": "1.0.9"
|
|
7
7
|
},
|
|
8
8
|
"sources": [
|
|
@@ -9697,6 +9697,10 @@
|
|
|
9697
9697
|
"type": "string",
|
|
9698
9698
|
"property": "icon"
|
|
9699
9699
|
},
|
|
9700
|
+
"iconmethod": {
|
|
9701
|
+
"type": "string",
|
|
9702
|
+
"property": "iconMethod"
|
|
9703
|
+
},
|
|
9700
9704
|
"layout": {
|
|
9701
9705
|
"type": "NileEmptyStateLayout",
|
|
9702
9706
|
"property": "layout"
|
|
@@ -9761,6 +9765,7 @@
|
|
|
9761
9765
|
"code",
|
|
9762
9766
|
"glyphColor",
|
|
9763
9767
|
"icon",
|
|
9768
|
+
"iconMethod",
|
|
9764
9769
|
"layout",
|
|
9765
9770
|
"liveRegion",
|
|
9766
9771
|
"preset",
|
|
@@ -22385,6 +22390,14 @@
|
|
|
22385
22390
|
"type": "boolean",
|
|
22386
22391
|
"property": "noTextTransform"
|
|
22387
22392
|
},
|
|
22393
|
+
"no-theme": {
|
|
22394
|
+
"type": "boolean",
|
|
22395
|
+
"property": "noTheme"
|
|
22396
|
+
},
|
|
22397
|
+
"no-theme-components": {
|
|
22398
|
+
"type": "string",
|
|
22399
|
+
"property": "noThemeComponents"
|
|
22400
|
+
},
|
|
22388
22401
|
"paste-as-plain-text": {
|
|
22389
22402
|
"type": "boolean",
|
|
22390
22403
|
"property": "pasteAsPlainText"
|
|
@@ -22495,6 +22508,8 @@
|
|
|
22495
22508
|
"noSlashCommands",
|
|
22496
22509
|
"noTableMenu",
|
|
22497
22510
|
"noTextTransform",
|
|
22511
|
+
"noTheme",
|
|
22512
|
+
"noThemeComponents",
|
|
22498
22513
|
"normalizedAllowedStyles",
|
|
22499
22514
|
"onAnyScroll",
|
|
22500
22515
|
"onOutsidePointerDown",
|
|
@@ -23482,6 +23497,7 @@
|
|
|
23482
23497
|
"--ng-componentcolors-alpha-white-80": "#FFFFFFCC",
|
|
23483
23498
|
"--ng-componentcolors-alpha-white-90": "#FFFFFFE5",
|
|
23484
23499
|
"--ng-componentcolors-alpha-white-100": "#FFFFFFFF",
|
|
23500
|
+
"--ng-componentcolors-alpha-black-4": "#0000000A",
|
|
23485
23501
|
"--ng-componentcolors-alpha-black-10": "#0000001A",
|
|
23486
23502
|
"--ng-componentcolors-alpha-black-20": "#00000033",
|
|
23487
23503
|
"--ng-componentcolors-alpha-black-30": "#0000004D",
|
|
@@ -23516,6 +23532,9 @@
|
|
|
23516
23532
|
"--ng-componentcolors-components-toggle-slim-border-pressed": "#1868DBFF",
|
|
23517
23533
|
"--ng-componentcolors-components-toggle-slim-border-pressed-hover": "#005BD4FF",
|
|
23518
23534
|
"--ng-componentcolors-components-tooltips-tooltip-supporting-text": "#D5D7DAFF",
|
|
23535
|
+
"--ng-componentcolors-components-tooltips-tooltip-bg": "#0A0D12FF",
|
|
23536
|
+
"--ng-componentcolors-components-tooltips-tooltip-border": "#0A0D12FF",
|
|
23537
|
+
"--ng-componentcolors-components-tooltips-tooltip-text": "#FFFFFFFF",
|
|
23519
23538
|
"--ng-componentcolors-components-text-editor-icon-fg": "#A4A7AEFF",
|
|
23520
23539
|
"--ng-componentcolors-components-text-editor-icon-fg-active": "#717680FF",
|
|
23521
23540
|
"--ng-componentcolors-utility-gray-100": "#F5F5F5FF",
|
|
@@ -23704,11 +23723,11 @@
|
|
|
23704
23723
|
"--ng-colors-effects-shadow-skeumorphic-inner": "#0A0D120D",
|
|
23705
23724
|
"--ng-colors-effects-shadow-skeumorphic-inner-border": "#0A0D122E",
|
|
23706
23725
|
"--ng-colors-bg-primary-alt": "#FFFFFFFF",
|
|
23707
|
-
"--ng-colors-bg-primary-hover": "#
|
|
23726
|
+
"--ng-colors-bg-primary-hover": "#0000000A",
|
|
23708
23727
|
"--ng-colors-bg-primary-solid": "#0A0D12FF",
|
|
23709
23728
|
"--ng-colors-bg-secondary": "#FAFAFAFF",
|
|
23710
23729
|
"--ng-colors-bg-secondary-alt": "#FAFAFAFF",
|
|
23711
|
-
"--ng-colors-bg-secondary-hover": "#
|
|
23730
|
+
"--ng-colors-bg-secondary-hover": "#0000000A",
|
|
23712
23731
|
"--ng-colors-bg-secondary-subtle": "#FDFDFDFF",
|
|
23713
23732
|
"--ng-colors-bg-secondary-solid": "#535862FF",
|
|
23714
23733
|
"--ng-colors-bg-tertiary": "#F5F5F5FF",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aquera/nile-lint",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Agent-first linter for the Nile design system: components, tokens, classes and icons checked against the real Nile manifest, with fixes an agent can apply.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Aquera Inc",
|