Skip to content

Commit 45af182

Browse files
chore(azurite): exclude test utils from package build
1 parent fc4d29e commit 45af182

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ It captures practical rules that prevent avoidable CI and PR churn.
1212
- If new learnings or misunderstandings are discovered, propose an `AGENTS.md` update in the same PR.
1313
- Tests should verify observable behavior changes, not only internal/config state.
1414
- Example: for a security option, assert a real secure/insecure behavior difference.
15+
- Test-only helper files under `src` (for example `*-test-utils.ts`) must be explicitly excluded from package `tsconfig.build.json` so they are not emitted into `build` and accidentally published.
1516

1617
## Permission and Escalation
1718

packages/modules/azurite/tsconfig.build.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
"extends": "./tsconfig.json",
33
"exclude": [
44
"build",
5-
"src/**/*.test.ts"
5+
"src/**/*.test.ts",
6+
"src/azurite-test-utils.ts"
67
],
78
"references": [
89
{
910
"path": "../../testcontainers"
1011
}
1112
]
12-
}
13+
}

0 commit comments

Comments
 (0)