@geonosis/doctor 2.5.3 → 2.6.1
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 +13 -0
- package/dist/{chunk-EZB5BG4L.js → chunk-6ERJOIZS.js} +23 -4
- package/dist/doctor-cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @geonosis/doctor
|
|
2
2
|
|
|
3
|
+
## 2.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @geonosis/lint-parity@2.6.1
|
|
8
|
+
|
|
9
|
+
## 2.6.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 58565d7: `FLOOR_PACKAGES` names the nine pure domains — money, recurring, extraction, inbox, plans, assistant, interchange, files, placement — so the uncomposed-battery line asks about them; and the line's sentence is now per package (#507): a pure domain, which has no store to build and no session to open, is told to import it where it is used, while a store is told the composition root.
|
|
14
|
+
- @geonosis/lint-parity@2.6.0
|
|
15
|
+
|
|
3
16
|
## 2.5.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -1244,23 +1244,42 @@ var lintScopes = (root, workspaces) => {
|
|
|
1244
1244
|
var OBSERVABILITY = "@geonosis/observability";
|
|
1245
1245
|
var COMPOSITION_ROOT = "src/platform.ts";
|
|
1246
1246
|
var FLOOR_PACKAGES = [
|
|
1247
|
+
"@geonosis/assistant",
|
|
1247
1248
|
"@geonosis/conformance",
|
|
1248
1249
|
"@geonosis/db",
|
|
1249
1250
|
"@geonosis/document",
|
|
1250
1251
|
"@geonosis/events",
|
|
1252
|
+
"@geonosis/extraction",
|
|
1253
|
+
"@geonosis/files",
|
|
1254
|
+
"@geonosis/inbox",
|
|
1255
|
+
"@geonosis/interchange",
|
|
1256
|
+
"@geonosis/money",
|
|
1257
|
+
"@geonosis/placement",
|
|
1258
|
+
"@geonosis/plans",
|
|
1259
|
+
"@geonosis/recurring",
|
|
1251
1260
|
"@geonosis/search",
|
|
1252
1261
|
"@geonosis/ui",
|
|
1253
1262
|
"@geonosis/workflows"
|
|
1254
1263
|
];
|
|
1264
|
+
var PURE_DOMAINS = [
|
|
1265
|
+
"@geonosis/assistant",
|
|
1266
|
+
"@geonosis/extraction",
|
|
1267
|
+
"@geonosis/files",
|
|
1268
|
+
"@geonosis/inbox",
|
|
1269
|
+
"@geonosis/interchange",
|
|
1270
|
+
"@geonosis/money",
|
|
1271
|
+
"@geonosis/placement",
|
|
1272
|
+
"@geonosis/plans",
|
|
1273
|
+
"@geonosis/recurring"
|
|
1274
|
+
];
|
|
1275
|
+
var UNREACHABLE = `a battery nothing composes is behaviour no request path can reach, and an install that does nothing reads from outside exactly like one that works`;
|
|
1276
|
+
var uncomposedFloor = (name) => PURE_DOMAINS.includes(name) ? `${UNREACHABLE}. A pure domain has no store to build and no session to open: import it where its behaviour is used \u2014 the file that names it is the composition` : `${UNREACHABLE}. Compose it in the app\u2019s ${COMPOSITION_ROOT} \u2014 the composition root \`create-geonosis --domains\` writes \u2014 where the tenant session is opened before any store is built`;
|
|
1255
1277
|
var COMPOSABLE = [
|
|
1256
1278
|
{
|
|
1257
1279
|
name: OBSERVABILITY,
|
|
1258
1280
|
uncomposed: `a sink nobody composes at the composition root sends production errors nowhere, and from outside the process that reads exactly like a project with nothing to report. Build one where the app is wired (the recipe is in ${OBSERVABILITY}'s README, \xA74) and hand it the port`
|
|
1259
1281
|
},
|
|
1260
|
-
...FLOOR_PACKAGES.map((name) => ({
|
|
1261
|
-
name,
|
|
1262
|
-
uncomposed: `a battery nothing composes is behaviour no request path can reach, and an install that does nothing reads from outside exactly like one that works. Compose it in the app\u2019s ${COMPOSITION_ROOT} \u2014 the composition root \`create-geonosis --domains\` writes \u2014 where the tenant session is opened before any store is built`
|
|
1263
|
-
}))
|
|
1282
|
+
...FLOOR_PACKAGES.map((name) => ({ name, uncomposed: uncomposedFloor(name) }))
|
|
1264
1283
|
];
|
|
1265
1284
|
var SOURCE_FILE = /\.[cm]?[jt]sx?$/;
|
|
1266
1285
|
var QUOTE = "['\"`]";
|
package/dist/doctor-cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geonosis/doctor",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
5
|
"description": "The adoption doctor — declared ≠ loaded, enabled ≠ exercised, a baseline that grew, a runner whose exit code is the only verdict.",
|
|
6
6
|
"keywords": [
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@geonosis/lint-parity": "2.
|
|
39
|
+
"@geonosis/lint-parity": "2.6.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@geonosis/ratchet": "2.
|
|
42
|
+
"@geonosis/ratchet": "2.6.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"oxlint": ">=1.77"
|
|
@@ -52,6 +52,10 @@
|
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsup",
|
|
55
|
-
"typecheck": "tsc --noEmit"
|
|
55
|
+
"typecheck": "tsc --noEmit",
|
|
56
|
+
"lint": "oxlint --config ../../.oxlintrc.json .",
|
|
57
|
+
"test:unit": "vitest run --project unit --root ../.. --passWithNoTests \"$PWD\"",
|
|
58
|
+
"test:bin": "vitest run --project bin --root ../.. --passWithNoTests \"$PWD\"",
|
|
59
|
+
"test:exam": "vitest run --project exam --root ../.. --passWithNoTests \"$PWD\""
|
|
56
60
|
}
|
|
57
61
|
}
|