Skip to content

Commit c629545

Browse files
authored
Merge pull request #312 from knockout/modern-tooling/phase-6-knip-findings
Fix knip findings: unused files, deps, unlisted deps
2 parents 8dd7e0f + d699e89 commit c629545

18 files changed

Lines changed: 21 additions & 36 deletions

File tree

builds/knockout/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@
4343
"@tko/builder": "^4.0.1",
4444
"@tko/filter.punches": "^4.0.1",
4545
"@tko/provider.attr": "^4.0.1",
46-
"@tko/provider.bindingstring": "^4.0.1",
4746
"@tko/provider.component": "^4.0.1",
4847
"@tko/provider.databind": "^4.0.1",
4948
"@tko/provider.multi": "^4.0.1",
5049
"@tko/provider.virtual": "^4.0.1",
5150
"@tko/utils.component": "^4.0.1",
5251
"@tko/utils.functionrewrite": "^4.0.1",
53-
"tslib": "^2.2.0"
52+
"tslib": "^2.2.0",
53+
"@tko/utils": "^4.0.1"
5454
},
5555
"exports": {
5656
".": {

builds/knockout/src/common.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

builds/reference/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"@tko/builder": "^4.0.1",
1818
"@tko/filter.punches": "^4.0.1",
1919
"@tko/provider.attr": "^4.0.1",
20-
"@tko/provider.bindingstring": "^4.0.1",
2120
"@tko/provider.component": "^4.0.1",
2221
"@tko/provider.databind": "^4.0.1",
2322
"@tko/provider.multi": "^4.0.1",
@@ -26,7 +25,8 @@
2625
"@tko/provider.virtual": "^4.0.1",
2726
"@tko/utils.component": "^4.0.1",
2827
"@tko/utils.jsx": "^4.0.1",
29-
"tslib": "^2.2.0"
28+
"tslib": "^2.2.0",
29+
"@tko/utils": "^4.0.1"
3030
},
3131
"files": [
3232
"dist/"

builds/reference/src/common.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

knip.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://unpkg.com/knip@6/schema.json",
33
"workspaces": {
44
".": {
5-
"entry": ["vitest.config.ts", "tools/build.ts"],
5+
"entry": ["tools/build.ts"],
66
"project": ["*.ts", "tools/**/*.ts"]
77
},
88
"packages/*": {
@@ -16,9 +16,7 @@
1616
},
1717
"ignoreDependencies": [
1818
"tslib",
19-
"@vitest/browser",
20-
"@vitest/browser-playwright",
2119
"esbuild",
22-
"playwright"
20+
"@vitest/browser"
2321
]
2422
}

packages/bind/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"@tko/observable": "^4.0.1",
1010
"@tko/provider": "^4.0.1",
1111
"@tko/utils": "^4.0.1",
12-
"tslib": "^2.2.0"
12+
"tslib": "^2.2.0",
13+
"@tko/builder": "^4.0.1"
1314
},
1415
"peerDependencies": {
1516
"@tko/binding.foreach": "^4.0.1"

packages/binding.component/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"@tko/bind": "^4.0.1",
99
"@tko/lifecycle": "^4.0.1",
1010
"@tko/observable": "^4.0.1",
11-
"@tko/provider": "^4.0.1",
1211
"@tko/provider.native": "^4.0.1",
1312
"@tko/utils": "^4.0.1",
1413
"@tko/utils.component": "^4.0.1",

packages/binding.foreach/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"dependencies": {
2525
"@tko/bind": "^4.0.1",
2626
"@tko/observable": "^4.0.1",
27-
"@tko/provider": "^4.0.1",
2827
"@tko/utils": "^4.0.1",
2928
"tslib": "^2.2.0"
3029
},

packages/binding.if/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"homepage": "https://tko.io",
2424
"dependencies": {
2525
"@tko/bind": "^4.0.1",
26-
"@tko/computed": "^4.0.1",
2726
"@tko/observable": "^4.0.1",
2827
"@tko/utils": "^4.0.1",
2928
"tslib": "^2.2.0"

packages/builder/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"@tko/bind": "^4.0.1",
1313
"@tko/binding.template": "^4.0.1",
1414
"@tko/computed": "^4.0.1",
15-
"@tko/filter.punches": "^4.0.1",
1615
"@tko/lifecycle": "^4.0.1",
1716
"@tko/observable": "^4.0.1",
1817
"@tko/provider": "^4.0.1",

0 commit comments

Comments
 (0)