ark-runtime-kernel 1.4.0 → 1.5.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/README.md +10 -0
- package/bin/ark-check.mjs +141 -33
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/nestjs/index.cjs +1 -1
- package/dist/nestjs/index.cjs.map +1 -1
- package/dist/nestjs/index.js +1 -1
- package/dist/nestjs/index.js.map +1 -1
- package/docs/agent-guide.md +9 -4
- package/package.json +1 -1
- package/server.json +2 -2
package/docs/agent-guide.md
CHANGED
|
@@ -188,10 +188,15 @@ Example config:
|
|
|
188
188
|
`tsconfig.json` — relative, path-alias (e.g. `@infra/db`), package imports, dynamic
|
|
189
189
|
`import()`, and `require()` — plus string intent references. It also flags raw
|
|
190
190
|
`publish()` calls, publish calls without `metadata.source`, and source intent literals
|
|
191
|
-
whose resolved layer differs from the publishing file layer. Pass `--tsconfig <path>` to
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
191
|
+
whose resolved layer differs from the publishing file layer. Pass `--tsconfig <path>` to force one config
|
|
192
|
+
for every file; otherwise each source file uses the nearest `tsconfig.json` above it (like
|
|
193
|
+
`tsc`), so monorepos with per-package alias maps work under a single `--root`. It resolves
|
|
194
|
+
modules the way your build does, but is intentionally not yet a full type-graph analyzer
|
|
195
|
+
(cross-layer type-only references beyond the import specifier are out of scope).
|
|
196
|
+
|
|
197
|
+
Repeat runs are cached in `node_modules/.cache/ark-check.json` — unchanged files skip the
|
|
198
|
+
parse, while import edges always re-resolve against the live filesystem so the cache can
|
|
199
|
+
never hide a new violation. `--no-cache` disables it.
|
|
195
200
|
|
|
196
201
|
`ark-check --json` also reports `warnings` for incomplete governance coverage: missing
|
|
197
202
|
layers, unclassified included files, unmatched layer patterns, duplicate layers, and rules
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/pedroknigge/ark-runtime-kernel",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.5.0",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "ark-runtime-kernel",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.5.0",
|
|
15
15
|
"runtimeHint": "npx",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|