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

build: replace pika with esbuild and tsc #819

Closed
wants to merge 27 commits into from
Closed

build: replace pika with esbuild and tsc #819

wants to merge 27 commits into from

Commits on Apr 7, 2023

  1. build: replace pika with esbuild and tsc

    Pika has been deprecated for a while now, and the project has now been achived.
    
    Uses esbuild to transpile the TS source code into an ESM source, NodeJs bundle, and a browser bundle
    
    Uses the TypeScript compiler to generate the types
    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    27436b3 View commit details
    Browse the repository at this point in the history
  2. build: replace pika with esbuild and tsc

    Pika has been deprecated for a while now, and the project has now been achived.
    
    Uses esbuild to transpile the TS source code into an ESM source, NodeJs bundle, and a browser bundle
    
    Uses the TypeScript compiler to generate the types
    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    a996b6c View commit details
    Browse the repository at this point in the history
  3. build: replace pika with esbuild and tsc

    Pika has been deprecated for a while now, and the project has now been achived.
    
    Uses esbuild to transpile the TS source code into an ESM source, NodeJs bundle, and a browser bundle
    
    Uses the TypeScript compiler to generate the types
    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    96f08b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8dc204c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1f8f000 View commit details
    Browse the repository at this point in the history
  6. build: use index.js as the sole bundle entry point

    This way we end up with only a single file
    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    94584a9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    523fb5f View commit details
    Browse the repository at this point in the history
  8. build: delete the type.js files

    Those files aren't needed, they only contain comments
    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    b4ce06c View commit details
    Browse the repository at this point in the history
  9. build: optimise glob usage

    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    3c04295 View commit details
    Browse the repository at this point in the history
  10. style: run prettier

    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    3220b93 View commit details
    Browse the repository at this point in the history
  11. build: also remove map files

    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    6427503 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    885882a View commit details
    Browse the repository at this point in the history
  13. Update scripts/build.ts

    Co-authored-by: Oscar Dominguez <[email protected]>
    wolfy1339 and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    5ed6c48 View commit details
    Browse the repository at this point in the history
  14. build: use Promise.all()

    This can help speed up the build times
    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    04ebeb1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    65b722e View commit details
    Browse the repository at this point in the history
  16. build: switch to async glob

    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    567a902 View commit details
    Browse the repository at this point in the history
  17. build: switch to plain JS file

    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    8a490bd View commit details
    Browse the repository at this point in the history
  18. chore: update .gitignore comment

    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    157d73d View commit details
    Browse the repository at this point in the history
  19. build: fix script in package.json

    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    f7b0747 View commit details
    Browse the repository at this point in the history
  20. build: reduce glob expression

    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    7efc283 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ec43738 View commit details
    Browse the repository at this point in the history
  22. Update scripts/build.mjs

    Co-authored-by: Oscar Dominguez <[email protected]>
    wolfy1339 and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    7bcdfaa View commit details
    Browse the repository at this point in the history
  23. Update scripts/build.mjs

    Co-authored-by: Oscar Dominguez <[email protected]>
    wolfy1339 and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    c303e04 View commit details
    Browse the repository at this point in the history
  24. Apply suggestions from code review

    Co-authored-by: Oscar Dominguez <[email protected]>
    wolfy1339 and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    ce35b6a View commit details
    Browse the repository at this point in the history
  25. style: run prettier

    wolfy1339 authored and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    7799db5 View commit details
    Browse the repository at this point in the history
  26. Update scripts/build.mjs

    Co-authored-by: Oscar Dominguez <[email protected]>
    wolfy1339 and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    ad6afbb View commit details
    Browse the repository at this point in the history
  27. Update scripts/build.mjs

    Co-authored-by: Oscar Dominguez <[email protected]>
    wolfy1339 and oscard0m committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    8992e9c View commit details
    Browse the repository at this point in the history