@cosmicdrift/kumiko-guards 0.387.0 → 0.388.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/package.json +3 -3
- package/src/_lib/agent-docs.ts +12 -7
- package/src/_lib/guards-doc.ts +4 -1
- package/src/_lib/roots.ts +9 -5
- package/src/_lib/run-slots.ts +39 -10
- package/src/_lib/security-audit.ts +15 -8
- package/src/changes.json +38 -0
- package/src/check-complexity.ts +86 -27
- package/src/check-licenses.ts +23 -6
- package/src/check-security.ts +2 -1
- package/src/dependency-license-exceptions.json +0 -24
- package/src/guard-app-feature-structure.ts +9 -7
- package/src/guard-comment-issue-ref-only.ts +4 -2
- package/src/guard-comment-lang.ts +6 -6
- package/src/guard-direct-entity-writes.ts +43 -31
- package/src/guard-file-size.ts +2 -2
- package/src/guard-import-extensions.ts +34 -9
- package/src/guard-no-direct-fs.ts +1 -1
- package/src/guard-public-exports-changelog.ts +8 -8
- package/src/guard-renderer-boundaries.ts +61 -9
- package/src/guard-test-timeouts.ts +11 -3
- package/src/guard-thin-wrappers.ts +35 -0
- package/src/pre-push.sh +22 -6
- package/src/repo-manifest/app-ports/static-app-config.ts +15 -11
- package/src/run-guards.ts +9 -4
- package/src/runtime-isolation-classify.ts +2 -1
|
@@ -49,7 +49,6 @@ const PATH_RULES: readonly (readonly [RegExp, Runtime])[] = [
|
|
|
49
49
|
// sample and import kumiko-testing/e2e; without this rule they read as
|
|
50
50
|
// runtime code importing the test tier. Deliberately not any nested e2e/.
|
|
51
51
|
[/^(?:e2e|packages\/[^/]+\/e2e|samples\/(?:.+\/)?e2e)\//, "test"],
|
|
52
|
-
[/(?:^|\/)dev\//, "dev"],
|
|
53
52
|
[/(?:^|\/)scripts\//, "tooling"],
|
|
54
53
|
[/(?:^|\/)bin\//, "tooling"],
|
|
55
54
|
[/\/drizzle\/[^/]+\.ts$/, "tooling"],
|
|
@@ -75,6 +74,8 @@ const PATH_RULES: readonly (readonly [RegExp, Runtime])[] = [
|
|
|
75
74
|
// some other package.
|
|
76
75
|
[/(?:^|\/)web\//, "client"],
|
|
77
76
|
[/\/web\.tsx?$/, "client"],
|
|
77
|
+
// After the web/ carve-out: client code under web/dev/ must stay client.
|
|
78
|
+
[/(?:^|\/)dev\//, "dev"],
|
|
78
79
|
[/^packages\/framework\/src\/(?:time|utils|engine\/types|errors)\//, "client"],
|
|
79
80
|
|
|
80
81
|
// More single-file carve-outs, same "package marker is coarser than the
|