Skip to content

Commit

Permalink
fix knip issues
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy committed Jan 5, 2025
1 parent 89a603a commit d957aa6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 131 deletions.
4 changes: 2 additions & 2 deletions knip.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"ignoreDependencies": ["@size-limit/preset-small-lib"],
"ignoreWorkspaces": ["examples/**"],
"ignoreDependencies": ["@size-limit/preset-small-lib", "@faker-js/faker"],
"ignoreWorkspaces": ["examples/**", "packages/table-core/tests/**"],
"workspaces": {
"packages/match-sorter-utils": {
"ignoreDependencies": ["remove-accents"]
Expand Down
4 changes: 2 additions & 2 deletions packages/angular-table/src/constructTableHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import type { Signal } from '@angular/core'
* Options for creating a table helper to share common options across multiple tables
* coreColumnsFeature, data, and state are excluded from this type and reserved for only the `useTable`/`createTable` functions
*/
export type TableHelperOptions<
type TableHelperOptions<
TFeatures extends TableFeatures,
TDataList extends Array<RowData> = Array<any>,
> = Omit<
Expand All @@ -31,7 +31,7 @@ export type TableHelperOptions<
/**
* Internal type that each adapter package will build off of to create a table helper
*/
export type TableHelper_Core<
type TableHelper_Core<
TFeatures extends TableFeatures,
TData extends RowData = any,
> = {
Expand Down
2 changes: 1 addition & 1 deletion packages/angular-table/src/createTableHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type {
TableOptions,
} from '@tanstack/table-core'

export type TableHelper<
type TableHelper<
TFeatures extends TableFeatures,
TData extends RowData = any,
> = Omit<TableHelper_Core<TFeatures, TData>, 'tableCreator'> & {
Expand Down
3 changes: 0 additions & 3 deletions packages/react-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"scripts": {
"clean": "rimraf ./build && rimraf ./dist",
"test:eslint": "eslint ./src",
"test:lib": "vitest",
"test:lib:dev": "pnpm test:lib --watch",
"test:types": "tsc",
"test:build": "publint --strict",
Expand All @@ -59,8 +58,6 @@
},
"devDependencies": {
"@eslint-react/eslint-plugin": "^1.17.3",
"@testing-library/react": "^16.1.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/react": "^19.0.1",
"@vitejs/plugin-react": "^4.3.4",
"eslint-plugin-react-hooks": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte-table/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export * from '@tanstack/table-core'

export { createTable } from './createTable.svelte'
export { createTableHelper } from './createTableHelper'
export { createTableHelper, type TableHelper } from './createTableHelper'
export { createTableState } from './createTableState.svelte'
export { default as FlexRender } from './FlexRender.svelte'
export { renderComponent } from './render-component'
125 changes: 3 additions & 122 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d957aa6

Please sign in to comment.