@geonosis/oxlint-plugin-biological-architecture 2.1.0 → 2.2.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/RULES.md +16 -0
- package/dist/index.js +3 -0
- package/package.json +2 -2
package/RULES.md
CHANGED
|
@@ -921,3 +921,19 @@ option not named here is one no rule reads.
|
|
|
921
921
|
| `zustand-v5-best-practices` | — |
|
|
922
922
|
|
|
923
923
|
<!-- END GENERATED -->
|
|
924
|
+
|
|
925
|
+
<!-- GENERATED: the floor each rule’s pattern belongs to -->
|
|
926
|
+
|
|
927
|
+
## The floor each rule’s pattern belongs to
|
|
928
|
+
|
|
929
|
+
A rule here lints a pattern one of the kit’s floors implements. While the floor is PENDING the
|
|
930
|
+
rule is a requirement with nothing to install behind it — a repo enabling it writes the pattern
|
|
931
|
+
itself, and the doctor says so on the `exercised` line.
|
|
932
|
+
|
|
933
|
+
| Rule | Floor | Shipped |
|
|
934
|
+
|---|---|---|
|
|
935
|
+
| `document-sagas-are-generic` | `document` | PENDING |
|
|
936
|
+
| `documents-share-one-table` | `document` | PENDING |
|
|
937
|
+
| `step-opens-its-own-cell` | `workflows` | yes |
|
|
938
|
+
|
|
939
|
+
<!-- END GENERATED FLOORS -->
|
package/dist/index.js
CHANGED
|
@@ -899,6 +899,7 @@ through \`perKindPrefixes\`, the tree that holds the flows through \`within\` (a
|
|
|
899
899
|
filename), and \`factories\` if the repo declares them under other names; enabled without
|
|
900
900
|
\`perKindPrefixes\` or \`within\` the rule refuses the run.`,
|
|
901
901
|
meta: {
|
|
902
|
+
floor: { name: "document", pending: true },
|
|
902
903
|
docs: {
|
|
903
904
|
description: "Document sagas are minted, not written: `documentSagas(entity, effects)` gives every entity that extends Document its create/save/setStatus/remove/send/convert/duplicate/share from one body. A saga or workflow named with a LITERAL for one entity is a fork; a name assembled from the entity is the mint and is unreadable here on purpose. `factories`, `perKindPrefixes` and `within` are options."
|
|
904
905
|
},
|
|
@@ -963,6 +964,7 @@ the dialect is a seam fact, not a reason for a kind to own storage. The forbidde
|
|
|
963
964
|
\`perKindTables\` option; enabled without it the rule refuses the run rather than passing every
|
|
964
965
|
schema silently.`,
|
|
965
966
|
meta: {
|
|
967
|
+
floor: { name: "document", pending: true },
|
|
966
968
|
docs: {
|
|
967
969
|
description: "Documents share ONE table: `documents` holds the head every kind derives and the body its kind declares. A table named for one kind of document is a second storage."
|
|
968
970
|
},
|
|
@@ -5003,6 +5005,7 @@ On \`sagaflow-js\` there is no such seam and the older shape stays reachable: se
|
|
|
5003
5005
|
Configure \`within\`; \`hosts\`, \`scopeKey\`, \`engine\` and \`wrapper\` have defaults or are off. Enabled
|
|
5004
5006
|
without \`within\` the rule refuses the run.`,
|
|
5005
5007
|
meta: {
|
|
5008
|
+
floor: { name: "workflows" },
|
|
5006
5009
|
docs: {
|
|
5007
5010
|
description: "A durable host declares the scope its steps run in \u2014 `scope.perStep` on the runtime it builds \u2014 because a durable run hibernates and retries, so a handle opened once per run is dead by the time a later step uses it. A repo on an engine with no such seam names its `engine` and `wrapper` instead, and a saga importing the engine's `step` around that wrapper is the finding. The guarded tree is required; enabled without it the rule refuses the run."
|
|
5008
5011
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geonosis/oxlint-plugin-biological-architecture",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
5
|
"description": "Biological tier architecture as lint — the union of the dielime and during.day rule sets, shipped as presets.",
|
|
6
6
|
"keywords": [
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"oxlint": ">=1.77"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@geonosis/lint-parity": "2.
|
|
47
|
+
"@geonosis/lint-parity": "2.2.0"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=22"
|