diff --git a/knip.json b/knip.json index e049d30947..be4039de5c 100644 --- a/knip.json +++ b/knip.json @@ -1,10 +1,6 @@ { - "$schema": "https://unpkg.com/knip@4/schema.json", - "ignoreDependencies": [ - "size-limit", - "@size-limit/preset-small-lib", - "@builder.io/qwik" - ], + "$schema": "https://unpkg.com/knip@5/schema.json", + "ignoreDependencies": ["@size-limit/preset-small-lib"], "ignoreWorkspaces": ["examples/**"], "workspaces": { "packages/match-sorter-utils": { diff --git a/package.json b/package.json index 96edf260f3..1b21ff10e7 100644 --- a/package.json +++ b/package.json @@ -54,13 +54,13 @@ "@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-terser": "^0.4.4", "@size-limit/preset-small-lib": "^11.1.2", - "@tanstack/config": "^0.8.7", + "@tanstack/config": "^0.9.0", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^15.0.4", "@testing-library/react-hooks": "^8.0.1", "@types/node": "^20.12.7", "jsdom": "^24.0.0", - "knip": "^5.10.0", + "knip": "^5.23.1", "nx": "^19.3.0", "prettier": "^3.3.2", "prettier-plugin-svelte": "^3.2.3", diff --git a/packages/angular-table/package.json b/packages/angular-table/package.json index d935bffcdb..757d51bcf8 100644 --- a/packages/angular-table/package.json +++ b/packages/angular-table/package.json @@ -46,8 +46,7 @@ "test:types": "tsc --noEmit", "test:lib": "vitest", "test:lib:dev": "vitest --watch", - "build": "pnpm ng-packagr -p ng-package.json && rimraf ./build/lib/package.json", - "build:types": "tsc --emitDeclarationOnly" + "build": "ng-packagr -p ng-package.json -c tsconfig.build.json && rimraf ./build/lib/package.json" }, "dependencies": { "@tanstack/table-core": "workspace:*", diff --git a/packages/angular-table/src/__tests__/createAngularTable.test.ts b/packages/angular-table/tests/createAngularTable.test.ts similarity index 97% rename from packages/angular-table/src/__tests__/createAngularTable.test.ts rename to packages/angular-table/tests/createAngularTable.test.ts index 38191f9b8a..344cfe2630 100644 --- a/packages/angular-table/src/__tests__/createAngularTable.test.ts +++ b/packages/angular-table/tests/createAngularTable.test.ts @@ -1,10 +1,10 @@ -import { describe, test } from 'vitest' +import { describe, expect, test } from 'vitest' import { type ColumnDef, createAngularTable, getCoreRowModel, type Table, -} from '../index' +} from '../src/index' import { Component, input, isSignal, signal, untracked } from '@angular/core' import { TestBed } from '@angular/core/testing' import { setSignalInputs } from './test-utils' diff --git a/packages/angular-table/src/__tests__/flex-render.test.ts b/packages/angular-table/tests/flex-render.test.ts similarity index 99% rename from packages/angular-table/src/__tests__/flex-render.test.ts rename to packages/angular-table/tests/flex-render.test.ts index 6d678c573c..ee5336690c 100644 --- a/packages/angular-table/src/__tests__/flex-render.test.ts +++ b/packages/angular-table/tests/flex-render.test.ts @@ -7,7 +7,7 @@ import { FlexRenderComponent, FlexRenderDirective, injectFlexRenderContext, -} from '../flex-render' +} from '../src/flex-render' import { setFixtureSignalInput, setFixtureSignalInputs } from './test-utils' interface Data { diff --git a/packages/angular-table/src/__tests__/lazy-init.test.ts b/packages/angular-table/tests/lazy-init.test.ts similarity index 96% rename from packages/angular-table/src/__tests__/lazy-init.test.ts rename to packages/angular-table/tests/lazy-init.test.ts index e953d38065..5f6563e2a6 100644 --- a/packages/angular-table/src/__tests__/lazy-init.test.ts +++ b/packages/angular-table/tests/lazy-init.test.ts @@ -1,4 +1,4 @@ -import { describe, expect, test } from 'vitest' +import { describe, expect, test, vi } from 'vitest' import { ChangeDetectionStrategy, Component, @@ -9,7 +9,7 @@ import { signal, } from '@angular/core' import { TestBed } from '@angular/core/testing' -import { lazyInit } from '../lazy-signal-initializer' +import { lazyInit } from '../src/lazy-signal-initializer' import { flushQueue, setFixtureSignalInputs } from './test-utils' describe('lazyInit', () => { diff --git a/packages/angular-table/src/__tests__/test-setup.ts b/packages/angular-table/tests/test-setup.ts similarity index 88% rename from packages/angular-table/src/__tests__/test-setup.ts rename to packages/angular-table/tests/test-setup.ts index f7d41c2329..8bd07572e8 100644 --- a/packages/angular-table/src/__tests__/test-setup.ts +++ b/packages/angular-table/tests/test-setup.ts @@ -1,4 +1,5 @@ import '@analogjs/vite-plugin-angular/setup-vitest' +import '@testing-library/jest-dom/vitest' import { BrowserDynamicTestingModule, diff --git a/packages/angular-table/src/__tests__/test-utils.ts b/packages/angular-table/tests/test-utils.ts similarity index 100% rename from packages/angular-table/src/__tests__/test-utils.ts rename to packages/angular-table/tests/test-utils.ts diff --git a/packages/angular-table/tsconfig.build.json b/packages/angular-table/tsconfig.build.json new file mode 100644 index 0000000000..b44d5d729c --- /dev/null +++ b/packages/angular-table/tsconfig.build.json @@ -0,0 +1,17 @@ +{ + "extends": "./node_modules/ng-packagr/lib/ts/conf/tsconfig.ngc.json", + "compilerOptions": { + "allowJs": true, + "module": "ESNext", + "moduleDetection": "force", + "moduleResolution": "Bundler" + }, + "angularCompilerOptions": { + "enableI18nLegacyMessageIdFormat": false, + "strictInjectionParameters": true, + "strictInputAccessModifiers": true, + "strictTemplates": true, + "compilationMode": "partial" + }, + "include": ["src"] +} diff --git a/packages/angular-table/tsconfig.json b/packages/angular-table/tsconfig.json index 9752af8706..98fc43a815 100644 --- a/packages/angular-table/tsconfig.json +++ b/packages/angular-table/tsconfig.json @@ -1,8 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "./src", - "outDir": "./build/lib", "useDefineForClassFields": false, "forceConsistentCasingInFileNames": true, "strict": true, @@ -12,16 +10,7 @@ "noFallthroughCasesInSwitch": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, - "importHelpers": true, - "types": ["vitest/globals"] + "importHelpers": true }, - "angularCompilerOptions": { - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true, - "compilationMode": "partial" - }, - "include": ["src/**/*.ts"], - "exclude": ["**/*.spec.ts"] + "include": ["src", "tests", "vitest.config.ts"] } diff --git a/packages/angular-table/vitest.config.ts b/packages/angular-table/vitest.config.ts index e4e12f2969..523b22e583 100644 --- a/packages/angular-table/vitest.config.ts +++ b/packages/angular-table/vitest.config.ts @@ -1,15 +1,13 @@ import { defineConfig } from 'vitest/config' import packageJson from './package.json' -export default defineConfig(({ mode }) => ({ +export default defineConfig({ test: { name: packageJson.name, - globals: true, - setupFiles: ['src/__tests__/test-setup.ts'], + dir: './tests', + watch: false, environment: 'jsdom', - include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], - }, - define: { - 'import.meta.vitest': mode !== 'production', + setupFiles: ['./tests/test-setup.ts'], + globals: true, }, -})) +}) diff --git a/packages/match-sorter-utils/test-setup.ts b/packages/match-sorter-utils/test-setup.ts deleted file mode 100644 index c44951a680..0000000000 --- a/packages/match-sorter-utils/test-setup.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom' diff --git a/packages/match-sorter-utils/__tests__/match-sorter-utils.test.ts b/packages/match-sorter-utils/tests/match-sorter-utils.test.ts similarity index 98% rename from packages/match-sorter-utils/__tests__/match-sorter-utils.test.ts rename to packages/match-sorter-utils/tests/match-sorter-utils.test.ts index 951ae2fa25..873ea47b81 100644 --- a/packages/match-sorter-utils/__tests__/match-sorter-utils.test.ts +++ b/packages/match-sorter-utils/tests/match-sorter-utils.test.ts @@ -1,3 +1,4 @@ +import { describe, expect, it } from 'vitest' import { rankings, rankItem } from '../src' interface Person { diff --git a/packages/match-sorter-utils/tests/test-setup.ts b/packages/match-sorter-utils/tests/test-setup.ts new file mode 100644 index 0000000000..a9d0dd31aa --- /dev/null +++ b/packages/match-sorter-utils/tests/test-setup.ts @@ -0,0 +1 @@ +import '@testing-library/jest-dom/vitest' diff --git a/packages/match-sorter-utils/vitest.config.ts b/packages/match-sorter-utils/vitest.config.ts index 76cc838656..5ed2c402ee 100644 --- a/packages/match-sorter-utils/vitest.config.ts +++ b/packages/match-sorter-utils/vitest.config.ts @@ -1,11 +1,12 @@ import { defineConfig } from 'vitest/config' +import packageJson from './package.json' export default defineConfig({ test: { + name: packageJson.name, + dir: './tests', watch: false, - setupFiles: ['test-setup.ts'], environment: 'jsdom', - globals: true, - dir: '__tests__', + setupFiles: ['./tests/test-setup.ts'], }, }) diff --git a/packages/react-table/test-setup.ts b/packages/react-table/test-setup.ts deleted file mode 100644 index c44951a680..0000000000 --- a/packages/react-table/test-setup.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom' diff --git a/packages/react-table/__tests__/core/__snapshots__/core.test.tsx.snap b/packages/react-table/tests/core/__snapshots__/core.test.tsx.snap similarity index 100% rename from packages/react-table/__tests__/core/__snapshots__/core.test.tsx.snap rename to packages/react-table/tests/core/__snapshots__/core.test.tsx.snap diff --git a/packages/react-table/__tests__/core/core.test.tsx b/packages/react-table/tests/core/core.test.tsx similarity index 99% rename from packages/react-table/__tests__/core/core.test.tsx rename to packages/react-table/tests/core/core.test.tsx index 042fcb6b7b..d6f8e76178 100644 --- a/packages/react-table/__tests__/core/core.test.tsx +++ b/packages/react-table/tests/core/core.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react' - +import { describe, expect, it } from 'vitest' import { act, renderHook } from '@testing-library/react-hooks' import * as RTL from '@testing-library/react' import { diff --git a/packages/react-table/__tests__/features/RowSelection.test.tsx b/packages/react-table/tests/features/RowSelection.test.tsx similarity index 99% rename from packages/react-table/__tests__/features/RowSelection.test.tsx rename to packages/react-table/tests/features/RowSelection.test.tsx index 25be29b130..0db73f476b 100644 --- a/packages/react-table/__tests__/features/RowSelection.test.tsx +++ b/packages/react-table/tests/features/RowSelection.test.tsx @@ -1,3 +1,4 @@ +import { expect, test } from 'vitest' import { ColumnDef, flexRender, diff --git a/packages/react-table/__tests__/features/Visibility.test.tsx b/packages/react-table/tests/features/Visibility.test.tsx similarity index 99% rename from packages/react-table/__tests__/features/Visibility.test.tsx rename to packages/react-table/tests/features/Visibility.test.tsx index e121a94988..7d13d7828d 100644 --- a/packages/react-table/__tests__/features/Visibility.test.tsx +++ b/packages/react-table/tests/features/Visibility.test.tsx @@ -1,8 +1,7 @@ import * as React from 'react' - +import { describe, expect, it } from 'vitest' // import { renderHook } from '@testing-library/react-hooks' import * as RTL from '@testing-library/react' -import '@testing-library/jest-dom' import { useReactTable, getCoreRowModel, diff --git a/packages/react-table/__tests__/features/__snapshots__/Visibility.test.tsx.snap b/packages/react-table/tests/features/__snapshots__/Visibility.test.tsx.snap similarity index 100% rename from packages/react-table/__tests__/features/__snapshots__/Visibility.test.tsx.snap rename to packages/react-table/tests/features/__snapshots__/Visibility.test.tsx.snap diff --git a/packages/react-table/__tests__/features/useAbsoluteLayout.notest.js b/packages/react-table/tests/features/useAbsoluteLayout.notest.js similarity index 100% rename from packages/react-table/__tests__/features/useAbsoluteLayout.notest.js rename to packages/react-table/tests/features/useAbsoluteLayout.notest.js diff --git a/packages/react-table/__tests__/features/useBlockLayout.notest.js b/packages/react-table/tests/features/useBlockLayout.notest.js similarity index 100% rename from packages/react-table/__tests__/features/useBlockLayout.notest.js rename to packages/react-table/tests/features/useBlockLayout.notest.js diff --git a/packages/react-table/__tests__/features/useColumnOrder.notest.js b/packages/react-table/tests/features/useColumnOrder.notest.js similarity index 100% rename from packages/react-table/__tests__/features/useColumnOrder.notest.js rename to packages/react-table/tests/features/useColumnOrder.notest.js diff --git a/packages/react-table/__tests__/features/useExpanded.notest.js b/packages/react-table/tests/features/useExpanded.notest.js similarity index 100% rename from packages/react-table/__tests__/features/useExpanded.notest.js rename to packages/react-table/tests/features/useExpanded.notest.js diff --git a/packages/react-table/__tests__/features/useFilters.notest.js b/packages/react-table/tests/features/useFilters.notest.js similarity index 100% rename from packages/react-table/__tests__/features/useFilters.notest.js rename to packages/react-table/tests/features/useFilters.notest.js diff --git a/packages/react-table/__tests__/features/useFiltersAndRowSelect.notest.js b/packages/react-table/tests/features/useFiltersAndRowSelect.notest.js similarity index 100% rename from packages/react-table/__tests__/features/useFiltersAndRowSelect.notest.js rename to packages/react-table/tests/features/useFiltersAndRowSelect.notest.js diff --git a/packages/react-table/__tests__/features/useFlexLayout.notest.js b/packages/react-table/tests/features/useFlexLayout.notest.js similarity index 100% rename from packages/react-table/__tests__/features/useFlexLayout.notest.js rename to packages/react-table/tests/features/useFlexLayout.notest.js diff --git a/packages/react-table/__tests__/features/useGroupBy.notest.js b/packages/react-table/tests/features/useGroupBy.notest.js similarity index 100% rename from packages/react-table/__tests__/features/useGroupBy.notest.js rename to packages/react-table/tests/features/useGroupBy.notest.js diff --git a/packages/react-table/__tests__/features/usePagination.notest.js b/packages/react-table/tests/features/usePagination.notest.js similarity index 100% rename from packages/react-table/__tests__/features/usePagination.notest.js rename to packages/react-table/tests/features/usePagination.notest.js diff --git a/packages/react-table/__tests__/features/useResizeColumns.notest.js b/packages/react-table/tests/features/useResizeColumns.notest.js similarity index 100% rename from packages/react-table/__tests__/features/useResizeColumns.notest.js rename to packages/react-table/tests/features/useResizeColumns.notest.js diff --git a/packages/react-table/__tests__/features/useRowSelect.notest.js b/packages/react-table/tests/features/useRowSelect.notest.js similarity index 100% rename from packages/react-table/__tests__/features/useRowSelect.notest.js rename to packages/react-table/tests/features/useRowSelect.notest.js diff --git a/packages/react-table/__tests__/features/useRowState.notest.js b/packages/react-table/tests/features/useRowState.notest.js similarity index 100% rename from packages/react-table/__tests__/features/useRowState.notest.js rename to packages/react-table/tests/features/useRowState.notest.js diff --git a/packages/react-table/__tests__/features/withSorting.notest.tsx b/packages/react-table/tests/features/withSorting.notest.tsx similarity index 100% rename from packages/react-table/__tests__/features/withSorting.notest.tsx rename to packages/react-table/tests/features/withSorting.notest.tsx diff --git a/packages/react-table/__tests__/makeTestData.ts b/packages/react-table/tests/makeTestData.ts similarity index 100% rename from packages/react-table/__tests__/makeTestData.ts rename to packages/react-table/tests/makeTestData.ts diff --git a/packages/react-table/tests/test-setup.ts b/packages/react-table/tests/test-setup.ts new file mode 100644 index 0000000000..a9d0dd31aa --- /dev/null +++ b/packages/react-table/tests/test-setup.ts @@ -0,0 +1 @@ +import '@testing-library/jest-dom/vitest' diff --git a/packages/react-table/vitest.config.ts b/packages/react-table/vitest.config.ts index 76cc838656..523b22e583 100644 --- a/packages/react-table/vitest.config.ts +++ b/packages/react-table/vitest.config.ts @@ -1,11 +1,13 @@ import { defineConfig } from 'vitest/config' +import packageJson from './package.json' export default defineConfig({ test: { + name: packageJson.name, + dir: './tests', watch: false, - setupFiles: ['test-setup.ts'], environment: 'jsdom', + setupFiles: ['./tests/test-setup.ts'], globals: true, - dir: '__tests__', }, }) diff --git a/packages/table-core/test-setup.ts b/packages/table-core/test-setup.ts deleted file mode 100644 index c44951a680..0000000000 --- a/packages/table-core/test-setup.ts +++ /dev/null @@ -1 +0,0 @@ -import '@testing-library/jest-dom' diff --git a/packages/table-core/__tests__/RowPinning.test.ts b/packages/table-core/tests/RowPinning.test.ts similarity index 99% rename from packages/table-core/__tests__/RowPinning.test.ts rename to packages/table-core/tests/RowPinning.test.ts index dfe4ffda9f..a8757bd071 100644 --- a/packages/table-core/__tests__/RowPinning.test.ts +++ b/packages/table-core/tests/RowPinning.test.ts @@ -1,3 +1,4 @@ +import { describe, expect, it } from 'vitest' import { ColumnDef, createColumnHelper, diff --git a/packages/table-core/__tests__/RowSelection.test.ts b/packages/table-core/tests/RowSelection.test.ts similarity index 99% rename from packages/table-core/__tests__/RowSelection.test.ts rename to packages/table-core/tests/RowSelection.test.ts index f8d2fc9279..38bdfb7dcb 100644 --- a/packages/table-core/__tests__/RowSelection.test.ts +++ b/packages/table-core/tests/RowSelection.test.ts @@ -1,3 +1,4 @@ +import { describe, expect, it } from 'vitest' import { ColumnDef, createColumnHelper, diff --git a/packages/table-core/__tests__/getGroupedRowModel.test.ts b/packages/table-core/tests/getGroupedRowModel.test.ts similarity index 97% rename from packages/table-core/__tests__/getGroupedRowModel.test.ts rename to packages/table-core/tests/getGroupedRowModel.test.ts index 5f81d94a6a..2448547b75 100644 --- a/packages/table-core/__tests__/getGroupedRowModel.test.ts +++ b/packages/table-core/tests/getGroupedRowModel.test.ts @@ -1,3 +1,4 @@ +import { describe, expect, it } from 'vitest' import { ColumnDef, getCoreRowModel } from '../src' import { createColumnHelper } from '../src/columnHelper' import { createTable } from '../src/core/table' diff --git a/packages/table-core/__tests__/makeTestData.ts b/packages/table-core/tests/makeTestData.ts similarity index 100% rename from packages/table-core/__tests__/makeTestData.ts rename to packages/table-core/tests/makeTestData.ts diff --git a/packages/table-core/tests/test-setup.ts b/packages/table-core/tests/test-setup.ts new file mode 100644 index 0000000000..a9d0dd31aa --- /dev/null +++ b/packages/table-core/tests/test-setup.ts @@ -0,0 +1 @@ +import '@testing-library/jest-dom/vitest' diff --git a/packages/table-core/vitest.config.ts b/packages/table-core/vitest.config.ts index 76cc838656..523b22e583 100644 --- a/packages/table-core/vitest.config.ts +++ b/packages/table-core/vitest.config.ts @@ -1,11 +1,13 @@ import { defineConfig } from 'vitest/config' +import packageJson from './package.json' export default defineConfig({ test: { + name: packageJson.name, + dir: './tests', watch: false, - setupFiles: ['test-setup.ts'], environment: 'jsdom', + setupFiles: ['./tests/test-setup.ts'], globals: true, - dir: '__tests__', }, }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ca4ff1b6dc..54facb1e86 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,8 +42,8 @@ importers: specifier: ^11.1.2 version: 11.1.4(size-limit@11.1.4) '@tanstack/config': - specifier: ^0.8.7 - version: 0.8.7(@types/node@20.14.9)(esbuild@0.21.5)(eslint@8.57.0)(rollup@4.18.0)(typescript@5.4.5)(vite@5.3.1(@types/node@20.14.9)(less@4.2.0)(sass@1.77.6)(terser@5.31.1)) + specifier: ^0.9.0 + version: 0.9.0(@types/node@20.14.9)(esbuild@0.21.5)(eslint@8.57.0)(rollup@4.18.0)(typescript@5.4.5)(vite@5.3.1(@types/node@20.14.9)(less@4.2.0)(sass@1.77.6)(terser@5.31.1)) '@testing-library/jest-dom': specifier: ^6.4.2 version: 6.4.6(vitest@1.6.0(@types/node@20.14.9)(jsdom@24.1.0)(less@4.2.0)(sass@1.77.6)(terser@5.31.1)) @@ -60,8 +60,8 @@ importers: specifier: ^24.0.0 version: 24.1.0 knip: - specifier: ^5.10.0 - version: 5.23.0(@types/node@20.14.9)(typescript@5.4.5) + specifier: ^5.23.1 + version: 5.23.1(@types/node@20.14.9)(typescript@5.4.5) nx: specifier: ^19.3.0 version: 19.3.1 @@ -4448,14 +4448,14 @@ packages: resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint/eslintrc@3.1.0': + resolution: {integrity: sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/js@8.57.0': resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@eslint/js@9.6.0': - resolution: {integrity: sha512-D9B0/3vNg44ZeWbYMpBoXqNP4j6eQD5vNwIlGAuFRRzK/WtT/jvDQW3Bi9kkf3PMDMlM7Yi+73VLUsn5bJcl8A==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@faker-js/faker@8.4.1': resolution: {integrity: sha512-XQ3cU+Q8Uqmrbf2e0cIC/QN43sTBSC8KF12u29Mb47tWrt2hAgBXSgpZMj4Ao8Uk0iJcU99QsOCaIL8934obCg==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0, npm: '>=6.14.13'} @@ -5082,8 +5082,8 @@ packages: '@swc/helpers@0.5.11': resolution: {integrity: sha512-YNlnKRWF2sVojTpIyzwou9XoTNbzbzONwRhOoniEioF1AtaitTvVZblaQRrAzChWQ1bLYyYSWzM18y4WwgzJ+A==} - '@tanstack/config@0.8.7': - resolution: {integrity: sha512-z9/NgWPA22Z8P3bPHNzF0rWFwzUUKP1azww5+Xb/Om8ffHNAcI7FtCqSfAq+n9UWNbRa6Eo2gAMorYO1FpwZ/w==} + '@tanstack/config@0.9.0': + resolution: {integrity: sha512-SeJjYW2RMaO+U51aNu3p92GHzs4yZPeKT9F4R32U7PgDFRGMLUpFh5oiYwtr5RuEddn0Vk9jwcfhnCuCHUgSuQ==} engines: {node: '>=18'} hasBin: true @@ -5327,6 +5327,9 @@ packages: '@types/node@20.14.9': resolution: {integrity: sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==} + '@types/normalize-package-data@2.4.4': + resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} + '@types/parse-json@4.0.2': resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==} @@ -6025,9 +6028,17 @@ packages: ci-env@1.17.0: resolution: {integrity: sha512-NtTjhgSEqv4Aj90TUYHQLxHdnCPXnjdtuGG1X8lTfp/JqeXTdw0FTWl/vUAPuvbWZTF8QVpv6ASe/XacE+7R2A==} + ci-info@4.0.0: + resolution: {integrity: sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==} + engines: {node: '>=8'} + classnames@2.5.1: resolution: {integrity: sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==} + clean-regexp@1.0.0: + resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} + engines: {node: '>=4'} + clean-stack@2.2.0: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} @@ -6589,6 +6600,12 @@ packages: peerDependencies: eslint: ^8.56.0 || ^9.0.0-0 + eslint-plugin-unicorn@54.0.0: + resolution: {integrity: sha512-XxYLRiYtAWiAjPv6z4JREby1TAE2byBC7wlh0V4vWDCpccOSU1KovWV//jqPXF6bq3WKxqX9rdjoRQ1EhdmNdQ==} + engines: {node: '>=18.18'} + peerDependencies: + eslint: '>=8.56.0' + eslint-scope@5.1.1: resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} engines: {node: '>=8.0.0'} @@ -6601,11 +6618,19 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.0.0: + resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true + espree@10.1.0: + resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -6926,6 +6951,10 @@ packages: resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} engines: {node: '>=8'} + globals@14.0.0: + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} + globals@15.6.0: resolution: {integrity: sha512-UzcJi88Hw//CurUIRa9Jxb0vgOCcuD/MNjwmXp633cyaRKkCWACkoqHCtfZv43b1kqXGg/fpOa8bwgacCeXsVg==} engines: {node: '>=18'} @@ -6994,6 +7023,9 @@ packages: resolution: {integrity: sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==} engines: {node: '>=0.10.0'} + hosted-git-info@2.8.9: + resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + hosted-git-info@7.0.2: resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} engines: {node: ^16.14.0 || >=18.0.0} @@ -7405,6 +7437,11 @@ packages: engines: {node: '>=4'} hasBin: true + jsesc@3.0.2: + resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} + engines: {node: '>=6'} + hasBin: true + json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} @@ -7491,8 +7528,8 @@ packages: resolution: {integrity: sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==} engines: {node: '>= 8'} - knip@5.23.0: - resolution: {integrity: sha512-kHXcxmbbpTa+ZPx29KfAbBGP6TK81wXjvHyUPTCbGNFwOVnVUminesaO/of+9KleCzw3pUPiK/k4UsEu+aFK4Q==} + knip@5.23.1: + resolution: {integrity: sha512-2IhQPeo4z/6DWZJMqkFEFryJSA6cO3CSRbNrAQC8VbiRdgteCsu0+8F3anlHXyiAHH+w3sfpal+uO+N1ZhCWow==} engines: {node: '>=18.6.0'} hasBin: true peerDependencies: @@ -7933,6 +7970,9 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} hasBin: true + normalize-package-data@2.5.0: + resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} + normalize-package-data@6.0.2: resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} engines: {node: ^16.14.0 || >=18.0.0} @@ -8265,6 +8305,10 @@ packages: pkg-types@1.1.1: resolution: {integrity: sha512-ko14TjmDuQJ14zsotODv7dBlwxKhUKQEhuhmbqo1uCi9BB0Z2alo/wAXg6q1dTR5TyuqYyWhjtfe/Tsh+X28jQ==} + pluralize@8.0.0: + resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} + engines: {node: '>=4'} + postcss-loader@8.1.1: resolution: {integrity: sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==} engines: {node: '>= 18.12.0'} @@ -8494,6 +8538,14 @@ packages: engines: {node: ^16.14.0 || >=18.0.0} deprecated: This package is no longer supported. Please use @npmcli/package-json instead. + read-pkg-up@7.0.1: + resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} + engines: {node: '>=8'} + + read-pkg@5.2.0: + resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} + engines: {node: '>=8'} + readable-stream@2.3.8: resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} @@ -8532,6 +8584,10 @@ packages: regex-parser@2.3.0: resolution: {integrity: sha512-TVILVSz2jY5D47F4mA4MppkBrafEaiUWJO/TcZHEIuI13AqoZMkK1WMA4Om1YkYbTx+9Ki1/tSUXbceyr9saRg==} + regexp-tree@0.1.27: + resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} + hasBin: true + regexpu-core@5.3.2: resolution: {integrity: sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==} engines: {node: '>=4'} @@ -8543,6 +8599,10 @@ packages: resolution: {integrity: sha512-ZbgR5aZEdf4UKZVBPYIgaglBmSF2Hi94s2PcIHhRGFjKYu+chjJdYfHn4rt3hB6eCKLJ8giVIIfgMa1ehDfZKA==} engines: {node: '>=0.10.0'} + regjsparser@0.10.0: + resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} + hasBin: true + regjsparser@0.9.1: resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} hasBin: true @@ -9369,6 +9429,14 @@ packages: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} + type-fest@0.6.0: + resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} + engines: {node: '>=8'} + + type-fest@0.8.1: + resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} + engines: {node: '>=8'} + type-fest@2.19.0: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} @@ -12182,9 +12250,21 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@8.57.0': {} + '@eslint/eslintrc@3.1.0': + dependencies: + ajv: 6.12.6 + debug: 4.3.5 + espree: 10.1.0 + globals: 14.0.0 + ignore: 5.3.1 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + minimatch: 3.1.2 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color - '@eslint/js@9.6.0': {} + '@eslint/js@8.57.0': {} '@faker-js/faker@8.4.1': {} @@ -12831,15 +12911,16 @@ snapshots: dependencies: tslib: 2.6.3 - '@tanstack/config@0.8.7(@types/node@20.14.9)(esbuild@0.21.5)(eslint@8.57.0)(rollup@4.18.0)(typescript@5.4.5)(vite@5.3.1(@types/node@20.14.9)(less@4.2.0)(sass@1.77.6)(terser@5.31.1))': + '@tanstack/config@0.9.0(@types/node@20.14.9)(esbuild@0.21.5)(eslint@8.57.0)(rollup@4.18.0)(typescript@5.4.5)(vite@5.3.1(@types/node@20.14.9)(less@4.2.0)(sass@1.77.6)(terser@5.31.1))': dependencies: '@commitlint/parse': 19.0.3 - '@eslint/js': 9.6.0 + '@eslint/js': 8.57.0 commander: 12.1.0 current-git-branch: 1.1.0 esbuild-register: 3.5.0(esbuild@0.21.5) eslint-config-prettier: 9.1.0(eslint@8.57.0) eslint-plugin-import-x: 0.5.2(eslint@8.57.0)(typescript@5.4.5) + eslint-plugin-unicorn: 54.0.0(eslint@8.57.0) globals: 15.6.0 interpret: 3.1.1 jsonfile: 6.1.0 @@ -13112,6 +13193,8 @@ snapshots: dependencies: undici-types: 5.26.5 + '@types/normalize-package-data@2.4.4': {} + '@types/parse-json@4.0.2': {} '@types/prop-types@15.7.12': {} @@ -13989,8 +14072,14 @@ snapshots: ci-env@1.17.0: {} + ci-info@4.0.0: {} + classnames@2.5.1: {} + clean-regexp@1.0.0: + dependencies: + escape-string-regexp: 1.0.5 + clean-stack@2.2.0: {} cli-boxes@3.0.0: {} @@ -14621,6 +14710,28 @@ snapshots: - supports-color - typescript + eslint-plugin-unicorn@54.0.0(eslint@8.57.0): + dependencies: + '@babel/helper-validator-identifier': 7.24.7 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@eslint/eslintrc': 3.1.0 + ci-info: 4.0.0 + clean-regexp: 1.0.0 + core-js-compat: 3.37.1 + eslint: 8.57.0 + esquery: 1.5.0 + indent-string: 4.0.0 + is-builtin-module: 3.2.1 + jsesc: 3.0.2 + pluralize: 8.0.0 + read-pkg-up: 7.0.1 + regexp-tree: 0.1.27 + regjsparser: 0.10.0 + semver: 7.6.2 + strip-indent: 3.0.0 + transitivePeerDependencies: + - supports-color + eslint-scope@5.1.1: dependencies: esrecurse: 4.3.0 @@ -14633,6 +14744,8 @@ snapshots: eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@4.0.0: {} + eslint@8.57.0: dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) @@ -14676,6 +14789,12 @@ snapshots: transitivePeerDependencies: - supports-color + espree@10.1.0: + dependencies: + acorn: 8.12.0 + acorn-jsx: 5.3.2(acorn@8.12.0) + eslint-visitor-keys: 4.0.0 + espree@9.6.1: dependencies: acorn: 8.12.0 @@ -15061,6 +15180,8 @@ snapshots: dependencies: type-fest: 0.20.2 + globals@14.0.0: {} + globals@15.6.0: {} globby@11.1.0: @@ -15129,6 +15250,8 @@ snapshots: dependencies: parse-passwd: 1.0.0 + hosted-git-info@2.8.9: {} + hosted-git-info@7.0.2: dependencies: lru-cache: 10.2.2 @@ -15525,6 +15648,8 @@ snapshots: jsesc@2.5.2: {} + jsesc@3.0.2: {} + json-buffer@3.0.1: {} json-parse-even-better-errors@2.3.1: {} @@ -15629,7 +15754,7 @@ snapshots: klona@2.0.6: {} - knip@5.23.0(@types/node@20.14.9)(typescript@5.4.5): + knip@5.23.1(@types/node@20.14.9)(typescript@5.4.5): dependencies: '@ericcornelissen/bash-parser': 0.5.3 '@nodelib/fs.walk': 2.0.0 @@ -16095,6 +16220,13 @@ snapshots: dependencies: abbrev: 2.0.0 + normalize-package-data@2.5.0: + dependencies: + hosted-git-info: 2.8.9 + resolve: 1.22.8 + semver: 5.7.2 + validate-npm-package-license: 3.0.4 + normalize-package-data@6.0.2: dependencies: hosted-git-info: 7.0.2 @@ -16483,6 +16615,8 @@ snapshots: mlly: 1.7.1 pathe: 1.1.2 + pluralize@8.0.0: {} + postcss-loader@8.1.1(postcss@8.4.35)(typescript@5.4.5)(webpack@5.90.3(esbuild@0.20.1)): dependencies: cosmiconfig: 9.0.0(typescript@5.4.5) @@ -16702,6 +16836,19 @@ snapshots: normalize-package-data: 6.0.2 npm-normalize-package-bin: 3.0.1 + read-pkg-up@7.0.1: + dependencies: + find-up: 4.1.0 + read-pkg: 5.2.0 + type-fest: 0.8.1 + + read-pkg@5.2.0: + dependencies: + '@types/normalize-package-data': 2.4.4 + normalize-package-data: 2.5.0 + parse-json: 5.2.0 + type-fest: 0.6.0 + readable-stream@2.3.8: dependencies: core-util-is: 1.0.3 @@ -16747,6 +16894,8 @@ snapshots: regex-parser@2.3.0: {} + regexp-tree@0.1.27: {} + regexpu-core@5.3.2: dependencies: '@babel/regjsgen': 0.8.0 @@ -16765,6 +16914,10 @@ snapshots: dependencies: rc: 1.2.8 + regjsparser@0.10.0: + dependencies: + jsesc: 0.5.0 + regjsparser@0.9.1: dependencies: jsesc: 0.5.0 @@ -16974,8 +17127,7 @@ snapshots: '@types/node-forge': 1.3.11 node-forge: 1.3.1 - semver@5.7.2: - optional: true + semver@5.7.2: {} semver@6.3.1: {} @@ -17649,6 +17801,10 @@ snapshots: type-fest@0.21.3: {} + type-fest@0.6.0: {} + + type-fest@0.8.1: {} + type-fest@2.19.0: {} type-is@1.6.18: