Skip to content

Commit

Permalink
feat: add support for sticky expanded rows
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle1an committed Dec 7, 2024
1 parent dd357e1 commit 564c0fe
Show file tree
Hide file tree
Showing 38 changed files with 4,342 additions and 4,583 deletions.
12 changes: 12 additions & 0 deletions backend/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ export default antfu(
stylistic: false,
},
configs,
{
name: 'backend/perfectionist',
rules: {
'perfectionist/sort-imports': [
'error',
{
type: 'natural',
internalPattern: ['^@/.+'],
},
],
},
},
{
name: 'style/backend',
rules: {
Expand Down
10 changes: 5 additions & 5 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.0.0",
"private": true,
"packageManager": "pnpm@9.12.3",
"packageManager": "pnpm@9.15.0",
"scripts": {
"dev": "tsx watch --env-file=.env app",
"introspect": "drizzle-kit introspect",
Expand All @@ -15,18 +15,18 @@
},
"dependencies": {
"@types/cookie": "^0.6.0",
"cookie": "^1.0.1",
"cookie": "^1.0.2",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"debug": "^4.3.7",
"drizzle-orm": "^0.36.1",
"debug": "^4.4.0",
"drizzle-orm": "^0.37.0",
"express": "^5.0.1",
"http-errors": "^2.0.0",
"morgan": "^1.10.0",
"postgres": "^3.4.5"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.7",
"@types/cookie-parser": "^1.4.8",
"@types/cors": "^2.8.17",
"@types/debug": "^4.1.12",
"@types/express": "^5.0.0",
Expand Down
24 changes: 2 additions & 22 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import antfu from '@antfu/eslint-config'
import stylistic from '@stylistic/eslint-plugin'
import packageJson from 'eslint-plugin-package-json/configs/recommended'
import perfectionist from 'eslint-plugin-perfectionist'

export default antfu(
{
Expand Down Expand Up @@ -39,32 +38,13 @@ export default antfu(
},
},
{
name: 'perfectionist',
plugins: {
perfectionist,
},
name: 'root/perfectionist',
rules: {
'perfectionist/sort-imports': [
'error',
{
type: 'natural',
order: 'asc',
ignoreCase: true,
internalPattern: ['~/**', '@/**'],
newlinesBetween: 'always',
maxLineLength: undefined,
groups: [
'type',
['builtin', 'external'],
'internal-type',
'internal',
['parent-type', 'sibling-type', 'index-type'],
['parent', 'sibling', 'index'],
'object',
'unknown',
],
customGroups: { type: {}, value: {} },
environment: 'node',
internalPattern: ['^@/.+'],
},
],
},
Expand Down
23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.3.0",
"private": true,
"packageManager": "pnpm@9.12.3",
"packageManager": "pnpm@9.15.0",
"scripts": {
"backend": "pnpm --filter @sub-vocab/backend",
"ui": "pnpm --filter @sub-vocab/ui",
Expand All @@ -13,30 +13,33 @@
"lint:fix": "pnpm --recursive run lint:fix"
},
"dependencies": {
"@supabase/supabase-js": "^2.46.1",
"@supabase/supabase-js": "^2.47.2",
"@trpc/server": "11.0.0-rc.566",
"date-fns": "^4.1.0",
"type-fest": "^4.26.1",
"type-fest": "^4.30.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@stylistic/eslint-plugin": "^2.10.1",
"@antfu/eslint-config": "^3.11.2",
"@stylistic/eslint-plugin": "^2.11.0",
"@t3-oss/env-core": "^0.11.1",
"@total-typescript/ts-reset": "^0.6.1",
"@types/node": "^22.9.0",
"eslint": "^9.14.0",
"eslint-plugin-package-json": "^0.15.6",
"@types/node": "^22.10.1",
"eslint": "^9.16.0",
"eslint-plugin-package-json": "^0.18.0",
"jsonc-eslint-parser": "^2.4.0",
"pathe": "^1.1.2",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"taze": "^0.18.0",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
},
"pnpm": {
"overrides": {
"array-flatten": "npm:@nolyfill/array-flatten@^1.0.42",
"hasown": "npm:@nolyfill/hasown@^1.0.29",
"is-core-module": "npm:@nolyfill/is-core-module@^1.0.39",
"safe-buffer": "npm:@nolyfill/safe-buffer@^1.0.41",
"safer-buffer": "npm:@nolyfill/safer-buffer@^1.0.41",
"side-channel": "npm:@nolyfill/side-channel@^1.0.29"
}
},
Expand Down
Loading

0 comments on commit 564c0fe

Please sign in to comment.