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

chore(esm/cjs): Make the rwjs/vite package dual #10934

Merged
merged 45 commits into from
Jul 16, 2024

Commits on Jul 10, 2024

  1. Build cjs and esm outputs

    Set type
    GitHub Actions committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    f5da2bf View commit details
    Browse the repository at this point in the history
  2. Get project to build, take special note of how I got babel imports to…

    … work
    GitHub Actions committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    124f3e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4787b92 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    32a776e View commit details
    Browse the repository at this point in the history
  5. Remove CJS wrapper

    GitHub Actions committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    50d14ec View commit details
    Browse the repository at this point in the history
  6. Change __dirname

    GitHub Actions committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    d3de305 View commit details
    Browse the repository at this point in the history
  7. Add mjs and mts to resolveFile

    GitHub Actions committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    fafd84d View commit details
    Browse the repository at this point in the history
  8. Add CJS types, not quite working yet

    GitHub Actions committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    ae462bd View commit details
    Browse the repository at this point in the history
  9. TODO For now skip building CJS types, because of special syntax used …

    …in it.
    GitHub Actions committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    e5b2cb9 View commit details
    Browse the repository at this point in the history
  10. Commento

    GitHub Actions committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    b5a06d9 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Fix SSR by dynamically importing rscWorker imports

    GitHub Actions committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    84dd77e View commit details
    Browse the repository at this point in the history
  2. Dynamically import RSC stuff in runFeServer too

    GitHub Actions committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    e958601 View commit details
    Browse the repository at this point in the history
  3. Make dbAuth dual package too

    GitHub Actions committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    3d18e62 View commit details
    Browse the repository at this point in the history
  4. Skip middleware packages in cjsInterop

    GitHub Actions committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    ab5b97a View commit details
    Browse the repository at this point in the history
  5. Get tests to pass

    GitHub Actions committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    f4330d5 View commit details
    Browse the repository at this point in the history
  6. Get tests to stop complaining

    GitHub Actions committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    2b76b98 View commit details
    Browse the repository at this point in the history
  7. Add types field

    GitHub Actions committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    cf4b154 View commit details
    Browse the repository at this point in the history
  8. Try using fileURLToPath

    GitHub Actions committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    286350d View commit details
    Browse the repository at this point in the history
  9. Update mocking of rwjs/auth-dbauth-api

    GitHub Actions committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    889d94a View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Remove cjsWrapper from pkgJson > files

    GitHub Actions committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    7b0328f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f7d64f View commit details
    Browse the repository at this point in the history
  3. Merge branch 'chore/vitepkg-dual' of github.com:dac09/redwood into ch…

    …ore/vitepkg-dual
    
    * 'chore/vitepkg-dual' of github.com:dac09/redwood:
      fix(docs): Fix introduction link (redwoodjs#10938)
      fix(cli-helpers): Fix CJS support (redwoodjs#10936)
      chore(cli-helpers): Formatting
      chore(cli-helpers): loadEnvFiles cleanup (redwoodjs#10935)
      feat(cli-helpers): Add loadEnvFiles (redwoodjs#10931)
    GitHub Actions committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    34e79ff View commit details
    Browse the repository at this point in the history
  4. Explain commonjs plugin in vite/build.mts

    GitHub Actions committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    58febbd View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Merge branch 'main' of github.com:redwoodjs/redwood into chore/vitepk…

    …g-dual
    
    * 'main' of github.com:redwoodjs/redwood:
      chore(web): Use attw args instead of custom output parsing (redwoodjs#10944)
      chore(web): publint and attw (redwoodjs#10943)
      chore(auth): Fix esm cjs exports and add tooling to verify correctness (redwoodjs#10942)
      chore(middleware): Move middleware out of rwjs/vite -> rwjs/web/middleware (redwoodjs#10917)
      feat(colors): Add more chalk colors. And prepare for chalk upgrade (redwoodjs#10939)
      fix(g directive): Notes formatting (redwoodjs#10940)
    GitHub Actions committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    50a0db3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7317f19 View commit details
    Browse the repository at this point in the history
  3. Remove packged package

    GitHub Actions committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    d41a479 View commit details
    Browse the repository at this point in the history
  4. Fix CJS types

    GitHub Actions committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    cfe0130 View commit details
    Browse the repository at this point in the history
  5. Align vitest interopDefault match Vite

    GitHub Actions committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    977aeea View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    33b0ec5 View commit details
    Browse the repository at this point in the history
  7. Update comments

    GitHub Actions committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    af63377 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'chore/vitepkg-dual' of github.com:dac09/redwood into ch…

    …ore/vitepkg-dual
    
    * 'chore/vitepkg-dual' of github.com:dac09/redwood:
      chore(auth): build tweaks and add missing devdep (redwoodjs#10947)
      chore(web): tsconfig.build.json (redwoodjs#10946)
    GitHub Actions committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    c190f8f View commit details
    Browse the repository at this point in the history
  9. Undo making dbauth-middleware dual

    GitHub Actions committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    eb2adc0 View commit details
    Browse the repository at this point in the history
  10. Formatting

    GitHub Actions committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    760756d View commit details
    Browse the repository at this point in the history
  11. Lock package versions

    GitHub Actions committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    784b2e0 View commit details
    Browse the repository at this point in the history
  12. Leave the ^ babel packages alone for now, handle it separately

    GitHub Actions authored and dac09 committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    34b28f5 View commit details
    Browse the repository at this point in the history
  13. Remove un-needed declaration

    dac09 committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    7d2e380 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Update __dirname variable names

    dac09 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    58d5bf7 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' of github.com:redwoodjs/redwood into chore/vitepk…

    …g-dual
    
    * 'main' of github.com:redwoodjs/redwood:
      fix(web): Re-add generating ESM types (redwoodjs#10952)
      chore(project-config): Verify package.json with publint and attw (redwoodjs#10951)
      chore(apollo client): Add types for cjs imports (redwoodjs#10949)
      chore(tsconfig.types-cjs): Specify tsBuildInfoFile location (redwoodjs#10950)
    dac09 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    d864fbf View commit details
    Browse the repository at this point in the history
  3. Add attw and publint to cSpell

    dac09 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    e017f30 View commit details
    Browse the repository at this point in the history
  4. Add attw and publint scripts

    dac09 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    3694bd4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8f5a384 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    26eda46 View commit details
    Browse the repository at this point in the history
  7. Update attw script

    dac09 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    cc2b8b2 View commit details
    Browse the repository at this point in the history
  8. Restore attw in packages/web

    dac09 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    a06e16e View commit details
    Browse the repository at this point in the history
  9. Vitest script

    dac09 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    d3b9057 View commit details
    Browse the repository at this point in the history