Skip to content

Commit dfb3bdd

Browse files
Brian M Huntclaude
authored andcommitted
Remove helpers export from binding.template, use relative import
dummyTemplateEngine is a test helper that should never ship to npm. Change crossWindowBehaviors.ts to use a relative workspace path instead of the package specifier. Remove the tsconfig path alias since it's no longer needed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f5e3efc commit dfb3bdd

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

packages/bind/spec/crossWindowBehaviors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { bindings as coreBindings } from '@tko/binding.core'
2121

2222
import { bindings as ifBindings } from '@tko/binding.if'
2323

24-
import { dummyTemplateEngine } from '@tko/binding.template/helpers/dummyTemplateEngine'
24+
import { dummyTemplateEngine } from '../../binding.template/helpers/dummyTemplateEngine'
2525

2626
const BLANK_HTML = `
2727
<!doctype html>

packages/binding.template/package.json

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

tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
"types": ["mocha", "jquery"],
2323
"lib": ["es2022", "dom"],
2424
"paths": {
25-
"@tko/binding.template/helpers/dummyTemplateEngine": [
26-
"./packages/binding.template/helpers/dummyTemplateEngine.ts"
27-
],
2825
"@tko/*": [
2926
"./packages/*/index.ts",
3027
"./builds/*/index.ts"

0 commit comments

Comments
 (0)