@fougere/cli 0.8.2-alpha.0 → 0.8.3-alpha.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.
|
@@ -161,11 +161,13 @@ export default class CheckHandler {
|
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
+
const conventions = resolveConventions(config.conventions);
|
|
165
|
+
|
|
164
166
|
/**
|
|
165
167
|
* What no convention names. Reported before the declarations below, because a frond
|
|
166
168
|
* with nowhere to put a word is why the word ends up in a handler.
|
|
167
169
|
*/
|
|
168
|
-
for (const unplaced of await outsideConventions(fronds,
|
|
170
|
+
for (const unplaced of await outsideConventions(fronds, conventions)) {
|
|
169
171
|
findings.push({
|
|
170
172
|
severity: 'warning',
|
|
171
173
|
code: unplaced.rule,
|
|
@@ -180,7 +182,7 @@ export default class CheckHandler {
|
|
|
180
182
|
* what it costs is the next caller — a test, a second operation, another handler —
|
|
181
183
|
* that cannot reach it without moving it first.
|
|
182
184
|
*/
|
|
183
|
-
for (const held of await handlerDeclarations(fronds)) {
|
|
185
|
+
for (const held of await handlerDeclarations(fronds, conventions)) {
|
|
184
186
|
findings.push({
|
|
185
187
|
severity: 'warning',
|
|
186
188
|
code: held.rule,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fougere/cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3-alpha.0",
|
|
4
4
|
"description": "The Fougere CLI — compose a workspace, serve a frond, call an operation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fougere",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"jiti": "^2.4.2",
|
|
43
43
|
"picocolors": "^1.1.1",
|
|
44
44
|
"safe-regex": "^2.1.1",
|
|
45
|
-
"@fougere/
|
|
46
|
-
"@fougere/
|
|
47
|
-
"@fougere/
|
|
48
|
-
"@fougere/schema": "0.8.
|
|
49
|
-
"@fougere/
|
|
50
|
-
"@fougere/
|
|
45
|
+
"@fougere/adapter-sql": "0.8.3-alpha.0",
|
|
46
|
+
"@fougere/defaults": "0.8.3-alpha.0",
|
|
47
|
+
"@fougere/transport-http": "0.8.3-alpha.0",
|
|
48
|
+
"@fougere/schema": "0.8.3-alpha.0",
|
|
49
|
+
"@fougere/core": "0.8.3-alpha.0",
|
|
50
|
+
"@fougere/container": "0.8.3-alpha.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"vitest": "^4.1.0"
|