CycloneDX / cyclonedx-webpack-plugin

Generate CycloneDX Software Bill of Materials (SBOM) from webpack bundles at compile time.
https://cyclonedx.org/
Apache License 2.0
24 stars 8 forks source link

CI/CT for windows for typing reasons #1292

Open jkowalleck opened 5 months ago

jkowalleck commented 5 months ago
          FYI, this was the issue on windows:
npm run build

> @cyclonedx/webpack-plugin@3.12.0 build
> run-p --aggregate-output -l build:*   

[build:node] 
[build:node] > @cyclonedx/webpack-plugin@3.12.0 prebuild:node
[build:node] > node -r fs -e 'fs.rmSync("dist",{recursive:true,force:true})'
[build:node] 
[build:node] 
[build:node] > @cyclonedx/webpack-plugin@3.12.0 build:node
[build:node] > tsc -b ./tsconfig.json
[build:node]
[build:node] node_modules/@types/node/globals.d.ts(72,13): error TS2403: Subsequent variable declarations must have the same type.  Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'.
ERROR: "build:node" exited with 1.

_Originally posted by @reey in https://github.com/CycloneDX/cyclonedx-webpack-plugin/pull/1286#discussion_r1643231337_