Update Convex with no payload to be just like convex with payload but without payload

This commit is contained in:
Gabriel Brown
2026-06-21 15:35:42 -05:00
parent 13b8b36c4c
commit fba73a92ce
130 changed files with 15637 additions and 32018 deletions
+1 -1
View File
@@ -1 +1 @@
[["1","2","3","4","5","6"],{"key":"7","value":"8"},{"key":"9","value":"10"},{"key":"11","value":"12"},{"key":"13","value":"14"},{"key":"15","value":"16"},{"key":"17","value":"18"},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/base.ts",{"size":2963,"mtime":1774544629518,"hash":"19","data":"20"},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/nextjs.ts",{"size":440,"mtime":1768155639000,"hash":"21","data":"22"},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/.cache/.prettiercache",{"size":1278,"mtime":1774544663913},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/package.json",{"size":1033,"mtime":1774544387169,"hash":"23","data":"24"},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/react.ts",{"size":592,"mtime":1768155639000,"hash":"25","data":"26"},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/tsconfig.json",{"size":94,"mtime":1766222924000,"hash":"27","data":"28"},"6a779439826cf31b5561a21273d134a9",{"hashOfOptions":"29"},"25c52c46972131dcc296288599ff108d",{"hashOfOptions":"30"},"a5326aca75246da261fd2e354257b45a",{"hashOfOptions":"31"},"2292935ede6baf909f6a0c61486e15da",{"hashOfOptions":"32"},"b3c77d33a30318d89c9c2cafcbe00bbe",{"hashOfOptions":"33"},"1686097143","2347540204","302976953","3406150487","1582266352"]
[["1","2","3","4","5","6","7","8","9","10","11"],{"key":"12","value":"13"},{"key":"14","value":"15"},{"key":"16","value":"17"},{"key":"18","value":"19"},{"key":"20","value":"21"},{"key":"22","value":"23"},{"key":"24","value":"25"},{"key":"26","value":"27"},{"key":"28","value":"29"},{"key":"30","value":"31"},{"key":"32","value":"33"},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/base.ts",{"size":3633,"mtime":1782065095163,"hash":"34","data":"35"},"/home/gib/Documents/Code/Spoon/tools/eslint/base.ts",{"size":3633,"mtime":1782065095163,"data":"36"},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/nextjs.ts",{"size":440,"mtime":1768155639000,"hash":"37","data":"38"},"/home/gib/Documents/Code/Spoon/tools/eslint/nextjs.ts",{"size":440,"mtime":1768155639000,"data":"39"},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/.cache/.prettiercache",{"size":1279,"mtime":1782065457379},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/package.json",{"size":1034,"mtime":1774588268325,"hash":"40","data":"41"},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/react.ts",{"size":648,"mtime":1782065095163,"hash":"42","data":"43"},"/home/gib/Documents/Code/Spoon/tools/eslint/package.json",{"size":1034,"mtime":1774588268325,"data":"44"},"/home/gib/Documents/Code/Spoon/tools/eslint/react.ts",{"size":648,"mtime":1782065095163,"data":"45"},"/home/gib/Documents/Code/convex-monorepo/tools/eslint/tsconfig.json",{"size":206,"mtime":1782065095163,"hash":"46","data":"47"},"/home/gib/Documents/Code/Spoon/tools/eslint/tsconfig.json",{"size":206,"mtime":1782065095163,"data":"48"},"6a779439826cf31b5561a21273d134a9",{"hashOfOptions":"49"},{"hashOfOptions":"50"},"25c52c46972131dcc296288599ff108d",{"hashOfOptions":"51"},{"hashOfOptions":"52"},"a5326aca75246da261fd2e354257b45a",{"hashOfOptions":"53"},"2292935ede6baf909f6a0c61486e15da",{"hashOfOptions":"54"},{"hashOfOptions":"55"},{"hashOfOptions":"56"},"b3c77d33a30318d89c9c2cafcbe00bbe",{"hashOfOptions":"57"},{"hashOfOptions":"58"},"2972291121","3032047003","913597734","2300583312","3435599103","1812383389","2486684693","433345459","1457439786","582079124"]
+23 -1
View File
@@ -11,6 +11,12 @@ import tseslint from 'typescript-eslint';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const preferArrowPlugin = preferArrowFunctions as any;
const turboRecommendedRules = (
turboPlugin as unknown as {
configs: { recommended: { rules: Record<string, string> } };
}
).configs.recommended.rules;
/**
* All packages that leverage t3-env should use this rule
*/
@@ -59,7 +65,7 @@ export const baseConfig = defineConfig(
...tseslint.configs.stylisticTypeChecked,
],
rules: {
...turboPlugin.configs.recommended.rules,
...turboRecommendedRules,
'@typescript-eslint/no-unused-vars': [
'warn',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
@@ -88,6 +94,22 @@ export const baseConfig = defineConfig(
],
},
},
{
files: [
'**/tests/**/*.{ts,tsx}',
'**/*.test.{ts,tsx}',
'**/*.spec.{ts,tsx}',
],
rules: {
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unnecessary-condition': 'off',
},
},
{
linterOptions: { reportUnusedDisableDirectives: true },
languageOptions: {
+4 -4
View File
@@ -13,16 +13,16 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@eslint/compat": "^1.4.0",
"@eslint/compat": "^2.0.3",
"@eslint/js": "catalog:",
"@next/eslint-plugin-next": "^16.0.0",
"@next/eslint-plugin-next": "^16.2.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prefer-arrow-functions": "^3.9.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-turbo": "^2.5.8",
"typescript-eslint": "^8.46.2"
"eslint-plugin-turbo": "^2.8.20",
"typescript-eslint": "^8.57.2"
},
"devDependencies": {
"@gib/prettier-config": "workspace:*",
+7 -4
View File
@@ -1,15 +1,18 @@
import type { Linter } from 'eslint';
import reactPlugin from 'eslint-plugin-react';
import reactHooks from 'eslint-plugin-react-hooks';
import { defineConfig } from 'eslint/config';
const reactFlat = reactPlugin.configs.flat as Record<string, Linter.Config>;
export const reactConfig = defineConfig(
{
files: ['**/*.ts', '**/*.tsx'],
...reactPlugin.configs.flat.recommended,
...reactPlugin.configs.flat['jsx-runtime'],
...reactFlat.recommended,
...reactFlat['jsx-runtime'],
languageOptions: {
...reactPlugin.configs.flat.recommended?.languageOptions,
...reactPlugin.configs.flat['jsx-runtime']?.languageOptions,
...reactFlat.recommended?.languageOptions,
...reactFlat['jsx-runtime']?.languageOptions,
globals: {
React: 'writable',
},
+5
View File
@@ -1,5 +1,10 @@
{
"extends": "@gib/tsconfig/base.json",
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"types": ["node"]
},
"include": ["."],
"exclude": ["node_modules"]
}