Closed tbouffard closed 1 month ago
🎊 PR Preview 035f1d225ee2267832b9b9e046eb2fe34b97bb23 has been successfully built and deployed to https://process-analytics-bpmn-visualization-examples-pr_preview-pr-607.surge.sh
🕐 Build time: 0.01s
🤖 By surge-preview
With some intermediate (releases available at a time that have received new updates afterwards) versions that were used during the developments of this PR, the glob dependency generated type errors.
At that time, an attempt to set/override the glob
version as been tested, but it failed as well.
The usage of newer versions of some dependencies on 2024-10-04 fixed the issue: there is now no need to override the glob
version.
Past errors, see https://github.com/process-analytics/bpmn-visualization-examples/actions/runs/10795028440/job/29940770804?pr=604
Error: node_modules/@types/glob/index.d.ts(29,42): error TS2694: Namespace '"/home/runner/work/bpmn-visualization-examples/bpmn-visualization-examples/projects/typescript-vanilla-with-rollup/node_modules/minimatch/dist/commonjs/index"' has no exported member 'IOptions'.
Error: node_modules/@types/glob/index.d.ts(74,30): error TS2724: '"/home/runner/work/bpmn-visualization-examples/bpmn-visualization-examples/projects/typescript-vanilla-with-rollup/node_modules/minimatch/dist/commonjs/index"' has no exported member named 'IMinimatch'. Did you mean 'Minimatch'?
Error: Process completed with exit code 2.
Bump rollup dependencies. Don't update @types/node, prevent to have type errors as we are using an old typescript version (4.5). Also switch from rimraf to del-cli, which is safer by default and provides more features.
Notes
del-cli: https://www.npmjs.com/package/del-cli