Skip to content

Commit f5e3efc

Browse files
Brian M Huntclaude
authored andcommitted
Keep helpers export in binding.template, add changeset
binding.template has a legitimate test consumer (crossWindowBehaviors.ts imports dummyTemplateEngine). Keep ./helpers/* in its exports. Add changeset for the module path fix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3bef343 commit f5e3efc

2 files changed

Lines changed: 35 additions & 1 deletion

File tree

.changeset/fix-module-paths.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
"@tko/bind": patch
3+
"@tko/binding.component": patch
4+
"@tko/binding.core": patch
5+
"@tko/binding.foreach": patch
6+
"@tko/binding.if": patch
7+
"@tko/binding.template": patch
8+
"@tko/builder": patch
9+
"@tko/computed": patch
10+
"@tko/filter.punches": patch
11+
"@tko/lifecycle": patch
12+
"@tko/observable": patch
13+
"@tko/provider": patch
14+
"@tko/provider.attr": patch
15+
"@tko/provider.bindingstring": patch
16+
"@tko/provider.component": patch
17+
"@tko/provider.databind": patch
18+
"@tko/provider.multi": patch
19+
"@tko/provider.mustache": patch
20+
"@tko/provider.native": patch
21+
"@tko/provider.virtual": patch
22+
"@tko/utils": patch
23+
"@tko/utils.component": patch
24+
"@tko/utils.functionrewrite": patch
25+
"@tko/utils.jsx": patch
26+
"@tko/utils.parser": patch
27+
"@tko/build.knockout": patch
28+
"@tko/build.reference": patch
29+
---
30+
31+
Fix broken ESM module paths and remove test helpers from published packages
32+
33+
The `module` field in 22 packages pointed to non-existent files (e.g., `dist/bind.js`). Fixed to `dist/index.js`. Test helpers are no longer included in published packages.

packages/binding.template/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
".": {
4242
"require": "./dist/index.cjs",
4343
"import": "./dist/index.js"
44-
}
44+
},
45+
"./helpers/*": "./helpers/*"
4546
}
4647
}

0 commit comments

Comments
 (0)