Giter Club home page Giter Club logo

esbuild-plugins's People

Contributors

github-actions[bot] avatar huner2 avatar jgoz avatar renovate[bot] avatar vitorluizc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

esbuild-plugins's Issues

Some errors are not output into the diagnostics due to incorrect assumption about `messageText`

This took me a while to pin down, but I have discovered that sometimes (specific types of error) messageText from TS diagnostics is not a string, it is actually an object with nesting:

{
    // ...stuff
    "start": 335,
    "length": 15,
    "code": 2322,
    "category": 1,
    "messageText": {
      "messageText": "Type '(thing: ThingInput) => Promise<{ thingName: string; thingId: string; }>' is not assignable to type 'EntityCreator<ThingInput>'.",
      "category": 1,
      "code": 2322,
      "next": [
        {
          "messageText": "Type 'Promise<{ thingName: string; thingId: string; }>' is not assignable to type 'Promise<NameAndId>'.",
          "category": 1,
          "code": 2322,
          "next": [
            {
              "messageText": "Type '{ thingName: string; thingId: string; }' is missing the following properties from type 'NameAndId': name, id",
              "category": 1,
              "code": 2739
            }
          ]
        }
      ]
    }
}

Because of this, this check in the worker means those diagnostics are not output in the errors array.

      if (typeof messageText !== "string")
        continue;

Notably the output key does have the error in since its not subject to these checks and the errorCount is correct.

I believe this could be fixed by using flattenDiagnosticMessageText

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency @tsconfig/node16 to v16.1.3
  • Update dependency @tsconfig/svelte to v5.0.4
  • Update dependency @types/serve-static to v1.15.7
  • Update dependency postcss to v8.4.38
  • Update dependency unionfs to v4.5.4
  • Update dependency @awesome-code-style/eslint-config to v5.1.0
  • Update dependency @playwright/test to v1.42.1
  • Update dependency eslint to v8.57.0
  • Update dependency postcss-preset-env to v9.5.4
  • Update dependency sass to v1.74.1
  • Update dependency typescript to v5.4.3
  • Update dependency vitest to v1.4.0
  • Update mcr.microsoft.com/playwright Docker tag to v1.43.0
  • Update typescript-eslint monorepo to v6.21.0 (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • mcr.microsoft.com/playwright v1.41.2-focal
github-actions
.github/workflows/build.yml
  • actions/checkout v3
  • pnpm/action-setup v2
  • actions/setup-node v3
  • actions/cache v3
  • actions/checkout v3
  • pnpm/action-setup v2
  • actions/setup-node v3
  • changesets/action v1
npm
package.json
  • @awesome-code-style/eslint-config ^5.0.0
  • @awesome-code-style/prettier-config ^5.0.0
  • @changesets/cli ^2.27.1
  • @tsconfig/node16 ^16.1.1
  • @typescript-eslint/eslint-plugin ^6.15.0
  • @typescript-eslint/parser ^6.15.0
  • esbuild ^0.20.0
  • eslint ^8.56.0
  • eslint-config-prettier ^9.1.0
  • eslint-plugin-import ^2.29.1
  • eslint-plugin-simple-import-sort ^10.0.0
  • eslint-plugin-unused-imports ^3.1.0
  • execa ^5.0.0
  • prettier ^3.2.5
  • tslib ^2.6.2
  • typedoc ~0.22.0
  • typescript ^5.3.3
  • node 20.11.0
packages/esbd/package.json
  • @playwright/test ^1.41.2
  • @types/js-beautify ^1.14.3
  • @types/pretty-time ^1.1.5
  • @types/serve-static 1.15.5
  • @types/wait-on ^5.3.4
  • cleye ^1.3.2
  • esbuild ^0.20.0
  • execa ^5.0.0
  • get-port ^5.0.0
  • io-spin ^0.4.1
  • js-beautify ^1.14.11
  • memfs ^3.5.3
  • node-graceful ^3.1.0
  • parse5 ^7.1.2
  • picocolors ^1.0.0
  • pretty-bytes ^5.6.0
  • pretty-time ^1.1.0
  • react ^18.2.0
  • react-dom ^18.2.0
  • serve-static ^1.15.0
  • tslib ^2.6.2
  • typescript ^5.3.3
  • vite ^5.1.1
  • vitest ^1.2.2
  • wait-on ^7.2.0
  • esbuild 0.17.x || 0.18.x || 0.19.x || 0.20.x
packages/esbuild-overlay/package.json
  • @tsconfig/svelte ^5.0.2
  • esbuild ^0.20.0
  • esbuild-svelte ^0.8.0
  • prettier ^3.2.5
  • svelte ^3.58.0
  • svelte-check ^3.6.4
  • svelte-preprocess ^5.1.3
  • tslib ^2.6.2
  • typescript ^5.3.3
  • esbuild >= 0.13.0
packages/esbuild-plugin-html/package.json
  • @types/js-beautify ^1.14.3
  • @types/node ^20.11.17
  • esbuild ^0.20.0
  • js-beautify ^1.14.11
  • parse5 ^7.1.2
  • typescript ^5.3.3
  • vite ^5.1.1
  • vitest ^1.2.2
  • esbuild >= 0.13.0
packages/esbuild-plugin-livereload/package.json
  • @playwright/test ^1.41.2
  • @types/node ^20.11.17
  • esbuild ^0.20.0
  • esbuild-svelte ^0.8.0
  • get-port ^5.0.0
  • open-editor ^4.1.1
  • prettier ^3.2.5
  • svelte ^3.58.0
  • svelte-check ^3.6.4
  • svelte-preprocess ^5.1.3
  • tslib ^2.6.2
  • typescript ^5.3.3
  • esbuild >= 0.13.0
packages/esbuild-plugin-sass/package.json
  • @types/js-beautify ^1.14.3
  • @types/node-sass ^4.11.7
  • autoprefixer ^10.4.17
  • enhanced-resolve ^5.15.0
  • esbuild ^0.20.0
  • js-beautify ^1.14.11
  • postcss ^8.4.35
  • postcss-preset-env ^9.3.0
  • sass ^1.70.0
  • typescript ^5.3.3
  • vite ^5.1.1
  • vitest ^1.2.2
  • esbuild >= 0.13.0
  • sass >= 1.x
packages/esbuild-plugin-typecheck/package.json
  • @types/node ^20.11.17
  • esbuild ^0.20.0
  • execa ^5.0.0
  • memfs ^3.5.3
  • picocolors ^1.0.0
  • prettier ^3.2.5
  • tslib ^2.6.2
  • typescript ^5.3.3
  • unionfs ^4.5.1
  • vite ^5.1.1
  • vitest ^1.2.2
  • @jgoz/esbuild-plugin-livereload >=2.0.4
  • esbuild 0.17.x || 0.18.x || 0.19.x || 0.20.x
  • typescript >= 3.5
packages/jest-esbuild/package.json
  • babel-plugin-jest-hoist ^29.6.3
  • jest-util ^29.7.0
  • @babel/core ^7.23.9
  • @jest/transform ^29.7.0
  • @types/babel__core ^7.20.5
  • @types/jest ^29.5.12
  • @types/node ^20.11.17
  • esbuild ^0.20.0
  • jest ^29.7.0
  • prettier ^3.2.5
  • tslib ^2.6.2
  • typescript ^5.3.3
  • @babel/core >= 7.0.0
  • esbuild >= 0.14.51
  • jest 28 || 29

  • Check this box to trigger a request for Renovate to run again on this repository

Error overlay does not work

The error overlay does not seem to appear, so far I haven't seen it any circumstance even when esbuild encounters an error. Is there any configuration that needs to be set for it to work?
I found that there's this package, but it seems that's only intended for using within esbuild-plugin-livereload.

Do you think there's something I'm doing wrong or could there be a bug that causes the error overlay not to appear?

Force exception to be thrown and be able to catch it on `build.catch`

First off, I'm loving the plugin, really nice job, but there's a problem, my build is always completed successfully even with type errors, I'd like to be able to catch the exception inside of catch so I can exit the build unsuccessfully.

well, no sure what happen, but I'm talking about esbuild-plugin-typecheck.

Edit: Another bug I just found is that is checking for files I didn't even include in the bundle... like it'd a normal cli tsc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.