@alumbwe/anvil 1.0.28 → 1.0.31

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/bunfig.toml ADDED
@@ -0,0 +1,23 @@
1
+ [test]
2
+ # bun reads bunfig.toml and .env from the CWD only, so this package needs all
3
+ # three preloads of its own:
4
+ # - setup-env.ts, or a file reaching @anvil/common/env through a module that
5
+ # doesn't import src/__tests__/test-utils.ts dies at import.
6
+ # - setup-scm-loader.ts, for the .scm queries @anvil/code-map loads via the
7
+ # @anvil/sdk barrel.
8
+ # - setup-agents-artifact.ts, which builds the gitignored bundled-agents module
9
+ # that CI produces with `bun run prebuild:agents`.
10
+ # Why an import-time throw is invisible rather than red: docs/testing.md.
11
+ #
12
+ # *.integration.test.* is not excluded here: bun 1.3.14 ignores [test].exclude,
13
+ # which is why CI filters those with `find ... ! -name` instead.
14
+ preload = [
15
+ "../sdk/test/setup-env.ts",
16
+ "../test/setup-scm-loader.ts",
17
+ "./test/setup-agents-artifact.ts",
18
+ ]
19
+
20
+ # Path mappings for module resolution (used when published to npm)
21
+ [module.paths]
22
+ "@anvil/common/*" = ["./vendor/@anvil/common/src/*", "../common/src/*"]
23
+ "@anvil/sdk" = ["./vendor/@anvil/sdk/dist/index.mjs", "../sdk/src/index.ts"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alumbwe/anvil",
3
- "version": "1.0.28",
3
+ "version": "1.0.31",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,6 +11,8 @@
11
11
  "bin/tree-sitter.wasm",
12
12
  "src/",
13
13
  "vendor/",
14
+ "tsconfig.json",
15
+ "bunfig.toml",
14
16
  "!src/__tests__/",
15
17
  "!src/testing/",
16
18
  "!src/smoke/",
@@ -4,7 +4,7 @@
4
4
  * This file is generated by scripts/prebuild-agents.ts
5
5
  * It contains all bundled agent definitions from the agents/ directory.
6
6
  *
7
- * Generated at: 2026-08-30T21:39:48.766Z
7
+ * Generated at: 2026-09-01T19:02:36.643Z
8
8
  * Agent count: 80
9
9
  */
10
10
 
package/tsconfig.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "extends": "../tsconfig.base.json",
3
+ "ts-node": {
4
+ "esm": true
5
+ },
6
+ "compilerOptions": {
7
+ "jsx": "react-jsx",
8
+ "jsxImportSource": "@opentui/react",
9
+ "outDir": "./dist",
10
+ "declaration": true,
11
+ "declarationMap": true,
12
+ "esModuleInterop": true,
13
+ "skipLibCheck": true,
14
+ "preserveSymlinks": false,
15
+ "baseUrl": ".",
16
+ "paths": {
17
+ "@anvil/sdk": ["../sdk/src/index.ts"],
18
+ "@anvil/common/*": ["../common/src/*"]
19
+ }
20
+ },
21
+ "include": ["src/**/*", "scripts/**/*.ts"],
22
+ "exclude": ["node_modules", "dist"]
23
+ }