@geonosis/oxlint-plugin-biological-architecture 2.6.1 → 2.8.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/CHANGELOG.md +59 -0
- package/README.md +0 -2
- package/RULES.md +12 -39
- package/corpus/.oxlintrc.json +0 -18
- package/corpus/manifest.json +0 -2
- package/dist/{chunk-KV7JRNAP.js → chunk-24K5232K.js} +0 -2
- package/dist/index.d.ts +11 -1
- package/dist/index.js +221 -262
- package/dist/presets.js +1 -1
- package/package.json +2 -2
- package/corpus/domains/document/workflows/bad-per-kind-saga.ts +0 -3
- package/corpus/domains/document/workflows/bad-per-kind-workflow.ts +0 -5
- package/corpus/domains/document/workflows/good-minted-workflow.ts +0 -8
package/dist/presets.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geonosis/oxlint-plugin-biological-architecture",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.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": [
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"oxlint": ">=1.77"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@geonosis/lint-parity": "2.
|
|
48
|
+
"@geonosis/lint-parity": "2.8.0"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=22"
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { createWorkflow } from '@corpus/workflows'
|
|
2
|
-
|
|
3
|
-
// BREACH: the same hand-written fork under the other engine's factory. A plain string names ONE
|
|
4
|
-
// entity, which is what the generic base entity replaced.
|
|
5
|
-
export const createInvoice = createWorkflow('invoice.create', async (input) => input)
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { createWorkflow } from '@corpus/workflows'
|
|
2
|
-
|
|
3
|
-
// ACCEPTED: the generic factory. Every entity's create flow comes from one body, and the name is
|
|
4
|
-
// assembled from the entity — a template literal the rule cannot read, which is the point rather
|
|
5
|
-
// than a gap: what is minted is exactly what this rule is asking for.
|
|
6
|
-
export const documentWorkflows = (entity: string) => ({
|
|
7
|
-
create: createWorkflow(`${entity}.create`, async (input) => input),
|
|
8
|
-
})
|