@webority/repo-checks 0.167.0 → 0.169.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 CHANGED
@@ -20,6 +20,8 @@ pnpm exec webority-repo-checks --skip-lint # leave out the Biome run, for a ga
20
20
 
21
21
  A product's build script runs `--build` before its bundler, for example `"build": "webority-repo-checks --build && vite build"`.
22
22
 
23
+ desktop: a Tauri desktop app (a `@tauri-apps/*` dependency or a `src-tauri` folder); exact pins like a phone app, and no web-portal or phone rule applies to it.
24
+
23
25
  An app is a `package.json` whose `dependencies` hold `react-native` (mobile) or `react-dom` (web). A `react-dom` folder that also has `react-native-web` is a react-native-web demo: it gets the pnpm and Biome checks, not the portal rules. Biome and `@webority/biome-config` are read from the `package.json` beside the `biome.json` in effect (a nested config with `"root": false` defers to the one above), so a sub-folder linted by the root config does not repeat them. A `workspace:`, `file:` or `link:` reference is local and never counts as a lockstep version.
24
26
  A package with `agentation` in its `dependencies` is a build tool, not an app. It and anything else (tooling roots, libraries) get only the lockfile check.
25
27
 
@@ -30,7 +32,7 @@ The `missing-export:<file>` check runs the Biome installed beside the app or in
30
32
  |---|---|
31
33
  | `banned:<name>` | A dependency the rules retire or forbid (ESLint, Prettier, lint-staged, react-toastify, moment and the rest; the mobile list is the retired-libraries table) |
32
34
  | `required:<name>` | A dependency every app carries (Biome and the shared preset, the core and UI packages, Bootstrap and react-bootstrap on web, Crashlytics on mobile) |
33
- | `not-exact:<name>` | A `^` or `~` range. Web pins `@webority/*` and `bootstrap` exactly; a React Native app pins every dependency exactly |
35
+ | `not-exact:<name>` | A `^` or `~` range. Web pins `@webority/*` and `bootstrap` exactly; a React Native app and a desktop app pin every dependency exactly |
34
36
  | `lockstep:<set>` | Packages that publish together at one version are pinned at different versions |
35
37
  | `pnpm:*` | A committed `package-lock.json` or `yarn.lock`, no `pnpm-lock.yaml`, no `devEngines.packageManager` of `{ "name": "pnpm", "version": "<x.y.z>", "onFail": "error" }` (a plain `npm install` fails, and pnpm refuses any other version), a leftover `packageManager` field (pnpm ignores it beside devEngines), or a `pnpm-workspace.yaml` without `engineStrict: true` and `strictPeerDependencies: true`, or a pinned pnpm version that differs from the pnpm version in the machine prerequisites list (`pnpm:version`; skipped where the machine prerequisites list does not exist, and `WEBORITY_PREREQUISITES` points the check at another list) |
36
38
  | `biome:*` | No Biome config, a config that does not extend `@webority/biome-config/biome.jsonc`, a `formatter.lineEnding` or root `linter.rules`, or (mobile) no `__DEV__` global, either top-level or in an override whose `includes` cover the app folder |