@aquera/nile-lint 0.1.3 → 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 +9 -5
- package/manifest.json +7 -3
- 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,10 @@ 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
|
+
|
|
221
225
|
#### Version 0.1.3 (November 13, 2026)
|
|
222
226
|
|
|
223
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)
|
package/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"note": "GENERATED by scripts/build-manifest.js — do not edit by hand.",
|
|
3
3
|
"versions": {
|
|
4
|
-
"@aquera/nile": "1.3.
|
|
4
|
+
"@aquera/nile": "1.3.6",
|
|
5
5
|
"@aquera/nile-elements": "2.0.22",
|
|
6
6
|
"@aquera/nile-glyph": "1.0.9"
|
|
7
7
|
},
|
|
@@ -23497,6 +23497,7 @@
|
|
|
23497
23497
|
"--ng-componentcolors-alpha-white-80": "#FFFFFFCC",
|
|
23498
23498
|
"--ng-componentcolors-alpha-white-90": "#FFFFFFE5",
|
|
23499
23499
|
"--ng-componentcolors-alpha-white-100": "#FFFFFFFF",
|
|
23500
|
+
"--ng-componentcolors-alpha-black-4": "#0000000A",
|
|
23500
23501
|
"--ng-componentcolors-alpha-black-10": "#0000001A",
|
|
23501
23502
|
"--ng-componentcolors-alpha-black-20": "#00000033",
|
|
23502
23503
|
"--ng-componentcolors-alpha-black-30": "#0000004D",
|
|
@@ -23531,6 +23532,9 @@
|
|
|
23531
23532
|
"--ng-componentcolors-components-toggle-slim-border-pressed": "#1868DBFF",
|
|
23532
23533
|
"--ng-componentcolors-components-toggle-slim-border-pressed-hover": "#005BD4FF",
|
|
23533
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",
|
|
23534
23538
|
"--ng-componentcolors-components-text-editor-icon-fg": "#A4A7AEFF",
|
|
23535
23539
|
"--ng-componentcolors-components-text-editor-icon-fg-active": "#717680FF",
|
|
23536
23540
|
"--ng-componentcolors-utility-gray-100": "#F5F5F5FF",
|
|
@@ -23719,11 +23723,11 @@
|
|
|
23719
23723
|
"--ng-colors-effects-shadow-skeumorphic-inner": "#0A0D120D",
|
|
23720
23724
|
"--ng-colors-effects-shadow-skeumorphic-inner-border": "#0A0D122E",
|
|
23721
23725
|
"--ng-colors-bg-primary-alt": "#FFFFFFFF",
|
|
23722
|
-
"--ng-colors-bg-primary-hover": "#
|
|
23726
|
+
"--ng-colors-bg-primary-hover": "#0000000A",
|
|
23723
23727
|
"--ng-colors-bg-primary-solid": "#0A0D12FF",
|
|
23724
23728
|
"--ng-colors-bg-secondary": "#FAFAFAFF",
|
|
23725
23729
|
"--ng-colors-bg-secondary-alt": "#FAFAFAFF",
|
|
23726
|
-
"--ng-colors-bg-secondary-hover": "#
|
|
23730
|
+
"--ng-colors-bg-secondary-hover": "#0000000A",
|
|
23727
23731
|
"--ng-colors-bg-secondary-subtle": "#FDFDFDFF",
|
|
23728
23732
|
"--ng-colors-bg-secondary-solid": "#535862FF",
|
|
23729
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",
|