Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: trpc/examples-next-prisma-websockets-starter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e9a7ed93f746add8fffb8adcce2cd957e3415299
Choose a base ref
...
head repository: trpc/examples-next-prisma-websockets-starter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f601d87bfd54ad49f2c49462358952487a3c0d85
Choose a head ref
  • 3 commits
  • 6 files changed
  • 4 contributors

Commits on Jun 28, 2023

  1. chore: use typescript-eslint@v6 with reworked configs (#4541)

    * feat: use typescript-eslint@v6 with reworked configs
    
    * Fix formatting
    
    * Fix config?.reactQueryContext
    
    * activate some stuff
    
    * prefer nullish
    
    * huh
    
    * prettier
    
    * fix
    
    ---------
    
    Co-authored-by: juliusmarminge <[email protected]>
    JoshuaKGoldberg and juliusmarminge authored Jun 28, 2023
    Copy the full SHA
    e7edc53 View commit details
  2. chore: sync lockfile

    trpc-bot committed Jun 28, 2023
    Copy the full SHA
    c76c349 View commit details
  3. chore(deps): bump ws and @types/ws

    Bumps [ws](https://github.com/websockets/ws) and [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws). These dependencies needed to be updated together.
    
    Updates `ws` from 8.11.0 to 8.13.0
    - [Release notes](https://github.com/websockets/ws/releases)
    - [Commits](websockets/ws@8.11.0...8.13.0)
    
    Updates `@types/ws` from 8.5.4 to 8.5.5
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)
    
    ---
    updated-dependencies:
    - dependency-name: ws
      dependency-type: direct:production
      update-type: version-update:semver-minor
    - dependency-name: "@types/ws"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Jun 28, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f601d87 View commit details
Showing with 3,663 additions and 14 deletions.
  1. +18 −4 .eslintrc
  2. +4 −4 package.json
  3. +3,632 −0 pnpm-lock.yaml
  4. +2 −2 src/server/context.ts
  5. +0 −1 src/server/prodServer.ts
  6. +7 −3 src/server/routers/post.ts
22 changes: 18 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"parser": "@typescript-eslint/parser", // Specifies the ESLint parser
"extends": [
"plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended"
@@ -13,11 +14,24 @@
},
"rules": {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"@typescript-eslint/no-explicit-any": "off"

// Consider removing these rule disables for more type safety in your app ✨
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-declaration-merging": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/restrict-plus-operands": "off"
},
// "overrides": [
// {
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -53,17 +53,17 @@
"react-dom": "^18.2.0",
"superjson": "^1.12.4",
"tsx": "^3.12.7",
"ws": "^8.0.0",
"ws": "^8.13.0",
"zod": "^3.0.0"
},
"devDependencies": {
"@playwright/test": "^1.26.1",
"@tanstack/react-query-devtools": "^4.18.0",
"@types/node": "^18.16.16",
"@types/react": "^18.2.8",
"@types/ws": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "6.0.0-alpha.158",
"@typescript-eslint/parser": "6.0.0-alpha.158",
"autoprefixer": "^10.4.7",
"cross-env": "^7.0.3",
"eslint": "^8.40.0",
Loading