@webority/repo-checks 0.109.3 → 0.109.5
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 +2 -1
- package/dist/repo-checks.js +31 -30
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -36,6 +36,7 @@ The `missing-export:<file>` check runs the Biome installed beside the app or in
|
|
|
36
36
|
| `android-release-signing` | `android/app/build.gradle` has no guard that throws a `GradleException` when a requested task name contains `release` and a signing setting or the upload key is missing |
|
|
37
37
|
| `android-edge-to-edge` | `android/gradle.properties` sets `edgeToEdgeEnabled=false` |
|
|
38
38
|
| `rn-mainactivity-oncreate-bundle:<file>` | A `MainActivity.kt` or `.java` passes a bundle to `super.onCreate`; pass `null` |
|
|
39
|
+
| `mobile-production-stamps:<file>` | A mobile app's Android manifest or iOS `Expo.plist` points over-the-air updates at the Staging or Development feed, or `android/gradle.properties` carries a `.staging` or `.development` app id, left by `mobile-tools prebuild`. Run `mobile-tools prebuild --env Production` before committing |
|
|
39
40
|
| `spa-host-immutable-assets:<file>` | A web app's `web.config`, `staticwebapp.config.json`, `_headers` or `spa-host*.json` sets Cache-Control with `immutable` |
|
|
40
41
|
| `stale-theme-name:<file>` | A web style or source file reads a pre-0.89.0 theme name as a whole token (`var(--radius)`, `--color-primary-ink`). No alias ships for these. Run `webority upgrade 0.89.0 --path <folder>` once, then `webority brand`. `--color-primary-text` is not flagged. Never recorded in the baseline |
|
|
41
42
|
| `lint:<file>` | Biome's check, with warnings as errors, over the app folder: any error or warning. Never recorded in the baseline; fix the finding |
|
|
@@ -52,7 +53,7 @@ The `missing-export:<file>` check runs the Biome installed beside the app or in
|
|
|
52
53
|
| `raw-bootstrap:<file>` | A `.jsx`, `.tsx` or `.cshtml` file writes a raw Bootstrap component class (`btn`, `card`, `modal`, `table`, `badge`, `alert`, `form-control`, `form-select`, `form-check-input`, `pagination`, `nav-tabs`, `dropdown-menu`, `offcanvas`, `breadcrumb`, `progress`, `spinner-border`, `accordion`); the message names the library component. A modifier such as `btn-primary` alone is not counted. Counted per file. |
|
|
53
54
|
| `library-class-restyle:<file>` | A product `.scss` or `.css` selector names a class the library theme defines, including as an ancestor (`.my-page .card-body`); use a library prop or token, or a product class. Counted per file. |
|
|
54
55
|
| `rename-wrapper:<file>` | A re-export of `@webority/ui-react`, a component whose body only returns one catalogue component, or a `_Name.cshtml` partial that is one `<app-*>` element: import the library name. Counted per file. |
|
|
55
|
-
| `single-use-component:<file>` | A file under `src/components/<feature>/` (not `layout/`), or a shared partial under `Pages/Shared/` or a `*.Web.Common` project, that fewer than two files use; move it next to the page that uses it. Counted per file. |
|
|
56
|
+
| `single-use-component:<file>` | A file under `src/components/<feature>/` (not `layout/`), or a shared partial under `Pages/Shared/` or a `*.Web.Common` project, that fewer than two files use; move it next to the page that uses it. A layout is skipped: a `_…Layout.cshtml` file, or one that a `_ViewStart.cshtml` of the same project names with `Layout = "<name>"`, because areas find it by that name. A Razor file whose first line is `@* layering-allow single-use-component: <reason> *@` is skipped too; a mark with no reason is a finding. Counted per file. |
|
|
56
57
|
| `oversize:<file>` | A `.jsx`, `.tsx` or `.cshtml` file over 600 lines (over 800 says to split it along its concerns). A warning only: it never fails, even outside the baseline. Counted per file. |
|
|
57
58
|
| `hook:drift` | The root `.husky/pre-commit` is missing or differs from the shared hook this package ships (CRLF is ignored) |
|
|
58
59
|
|