Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blitz recipe-install support for NextJS App Router projects #4287

Open
wants to merge 44 commits into
base: main
Choose a base branch
from

Commits on Jan 21, 2024

  1. Initial commit working towards making the Blitz installer compatible …

    …with NextJS's App Router filesystem.
    Doc0x1 committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    737630b View commit details
    Browse the repository at this point in the history
  2. Changeset Update

    Doc0x1 committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    019bf27 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Added codemod support for legacy projects with a /src folder (blitz-j…

    …s#4290)
    
    * Added support for legacy projects that have the pages folder located inside a /src directory
    
    * Fixed line 687 for path.resolve(`${findPagesDirectory}/api/rpc`) not actually calling the function and added path.resolve's to findPagesDirectory
    
    * Update for lines 56 and 1340 to add support for app and pages directories located in /src
    Doc0x1 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    f25aac0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a8d4bf View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. perf: add filter to query only non expired sessions (blitz-js#4288)

    * perf: add check to make sure only non expired sessions are selected by default
    
    * remove console.logs
    
    * Create chatty-ants-bake.md
    
    * remove `expiresAt` from the publicData
    
    * remove internal from changelog
    
    ---------
    
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
    siddhsuresh and kodiakhq[bot] committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    dd604c7 View commit details
    Browse the repository at this point in the history
  2. feat: export BlitzServerMiddleware from blitz-next (blitz-js#4296)

    * feat: export `BlitzServerMiddleware` from blitz-next
    
    * Create sixty-pants-hunt.md
    
    ---------
    
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
    siddhsuresh and kodiakhq[bot] committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    28a7904 View commit details
    Browse the repository at this point in the history
  3. fix: ajv dependency was not installed with blitz new (blitz-js#4297)

    * add ajv to devDeps
    
    * Create four-dots-retire.md
    siddhsuresh committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    71b9950 View commit details
    Browse the repository at this point in the history
  4. Version Packages (blitz-js#4292)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    e8f564e View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. fix: getBlitzContext() can only be used in React Server Components in…

    … Nextjs 13 or higher (blitz-js#4299)
    
    * fix: remove custom errors thrown by blitz
    
    * Create curvy-cougars-lick.md
    
    * use require and eval rather than the await which becomes a `yield import` possibly causing the issue
    
    * pnpm lock fix
    
    * Update .changeset/curvy-cougars-lick.md
    
    * add comment
    
    * use correct error type
    
    * Apply suggestions from code review
    siddhsuresh committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    6f54841 View commit details
    Browse the repository at this point in the history
  2. feat: remove restriction to use secure cookies in localhost (blitz-js…

    …#4300)
    
    * feat: remove restriction to use secure cookies in localhost
    
    * changeset
    
    * pnpm lock fix
    
    * Update .changeset/grumpy-deers-rest.md
    
    * Update .changeset/grumpy-deers-rest.md
    
    ---------
    
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
    siddhsuresh and kodiakhq[bot] committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    8a41753 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. Version Packages (blitz-js#4301)

    * Version Packages
    
    * pnpm lock
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Siddharth Suresh <[email protected]>
    3 people committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    6f44c23 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. fix: process.kill("SIGABRT") not supported on windows (blitz-js#4308)

    * fix: process.kill("SIGABRT") not supported on windows
    
    * fix: use process.kill("SIGINT") across all operative systems
    
    * Update .changeset/clever-insects-shave.md
    
    ---------
    
    Co-authored-by: Siddharth Suresh <[email protected]>
    lmisea and siddhsuresh committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    76a2544 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f5297f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    744242f View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. fix: production issue (blitz-js#4311)

    * fix: production issue
    
    * Update .changeset/soft-tables-ring.md
    
    ---------
    
    Co-authored-by: Siddharth Suresh <[email protected]>
    gengjiawen and siddhsuresh committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    5a587a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a674897 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Configuration menu
    Copy the full SHA
    60a4d90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b075db View commit details
    Browse the repository at this point in the history
  3. Version Packages (blitz-js#4316)

    * Version Packages
    
    * chore: update pnpm lock
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Siddharth Suresh <[email protected]>
    3 people committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    bbe1a54 View commit details
    Browse the repository at this point in the history
  4. fix: pages and app directory - Uncaught Error: DYNAMIC_SERVER_USAGE (

    …blitz-js#4318)
    
    * fix stray DYNAMIC_SERVER_USAGE thrown
    
    * cleanup
    
    * chore: changeset
    siddhsuresh committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    178c152 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Configuration menu
    Copy the full SHA
    5d9570f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    451ead0 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Turbopack support for Blitz (blitz-js#4314)

    * Use this.rootContext instead of webpack internals
    
    Ensures the root context is read from the public API that webpack exposes. This is the first step for Turbopack support as Turbopack includes `this.rootContext` as well
    
    * Turbopack support for Blitz
    
    * Update packages/blitz-rpc/src/server/loader/server/loader-server.ts
    
    Co-authored-by: Tobias Koppers <[email protected]>
    
    * fix: CI and update next.js version in test app
    
    * feat: add tests for turbo and expose new `turbo` boolean
    
    * upgrade to latest next version
    
    * use latest canary in internal packages and tests
    
    * chore: add changeset
    
    * chore: minor fix on how the test is run
    
    * fix stray DYNAMIC_SERVER_USAGE thrown
    
    * cleanup
    
    * chore: changeset
    
    * pnpm lock fix
    
    * fix turbo tests
    
    * fixes
    
    * oops
    
    * add turbo config only when needed
    
    * remove need for any change to `next.config.js`
    
    ---------
    
    Co-authored-by: Tobias Koppers <[email protected]>
    Co-authored-by: Siddharth Suresh <[email protected]>
    3 people committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    ee7bf87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7dab1d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    19afc57 View commit details
    Browse the repository at this point in the history
  4. Version Packages (blitz-js#4320)

    * Version Packages
    
    * pnpm lock fix
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Siddharth Suresh <[email protected]>
    3 people committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    22e402a View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. fix: add missing host in next-auth adapter (blitz-js#4325)

    * fix: add missing host in next-auth adapter
    
    * Create red-masks-drop.md
    
    * Update .changeset/red-masks-drop.md
    siddhsuresh committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    7755546 View commit details
    Browse the repository at this point in the history
  2. bug: merge existing and blitz turbo config (blitz-js#4323)

    * do not oveeride existing config
    
    * Create calm-deers-sin.md
    
    * Update packages/blitz-next/src/index-server.ts
    siddhsuresh committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    5e61a16 View commit details
    Browse the repository at this point in the history
  3. Version Packages (blitz-js#4327)

    * Version Packages
    
    * update pnpm lock
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Siddharth Suresh <[email protected]>
    3 people committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    6e8eeb1 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. regression: export enhancePrisma from the brower (blitz-js#4326)

    * move it back to index-server
    
    * fix turbopack
    
    * Create big-cars-raise.md
    
    * cleanup
    
    * fix
    
    * fix lint
    siddhsuresh committed May 9, 2024
    Configuration menu
    Copy the full SHA
    5a14306 View commit details
    Browse the repository at this point in the history
  2. Version Packages (blitz-js#4333)

    * Version Packages
    
    * pnpm lock fix
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Siddharth Suresh <[email protected]>
    3 people committed May 9, 2024
    Configuration menu
    Copy the full SHA
    ad94bee View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    0df3683 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. feat: upgrade to latest next-auth v4 version (blitz-js#4345)

    * upgrade to latest v4
    
    * Create warm-scissors-juggle.md
    
    * Update .changeset/warm-scissors-juggle.md
    
    * also check for flightcontrol platform
    siddhsuresh committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    318e974 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Version Packages (blitz-js#4346)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    3193bde View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    721461a View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    2f3c552 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f02469a View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    e0cfa32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2560175 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Initial commit working towards making the Blitz installer compatible …

    …with NextJS's App Router filesystem.
    Doc0x1 committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    43bc6df View commit details
    Browse the repository at this point in the history
  2. Upstream Rebase

    Doc0x1 committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    34f4085 View commit details
    Browse the repository at this point in the history
  3. Updated tailwind.config.js

    Doc0x1 committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    bfbadae View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c315c1e View commit details
    Browse the repository at this point in the history
  5. pnpm-lock.yaml fix

    Doc0x1 committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    0289d65 View commit details
    Browse the repository at this point in the history