process-analytics / bv-experimental-add-ons

Add-ons for `bpmn-visualization`.
https://process-analytics.github.io/bv-experimental-add-ons/
Apache License 2.0
3 stars 0 forks source link

chore: correctly include the `lib` folder in the npm package #303

Closed tbouffard closed 10 hours ago

tbouffard commented 10 hours ago

Commit 87b969b506c66e1a8735b6255400f6604cb34601 changed the output folder from dist to lib, but some configurations were not updated accordingly.

In particular, the npm package did not include the lib folder. The package could not be consumed correctly because no code was included.

Notes

Running npm pack.

Prior the fix

npm notice 📦  @process-analytics/bv-experimental-add-ons@0.7.0
npm notice Tarball Contents
npm notice 11.4kB LICENSE
npm notice 5.0kB README.md
npm notice 1.6kB package.json
npm notice Tarball Details
npm notice name: @process-analytics/bv-experimental-add-ons
npm notice version: 0.7.0
npm notice filename: process-analytics-bv-experimental-add-ons-0.7.0.tgz
npm notice package size: 6.5 kB
npm notice unpacked size: 18.0 kB
npm notice shasum: 0535266970dc36f7346c091054c5347d227a6232
npm notice integrity: sha512-VdHIiiBtugQ6n[...]si38apiKo3TrA==
npm notice total files: 3

With the fix

npm notice 📦  @process-analytics/bv-experimental-add-ons@0.7.0
npm notice Tarball Contents
npm notice 11.4kB LICENSE
npm notice 5.0kB README.md
npm notice 2.8kB lib/bpmn-elements.d.ts
npm notice 5.2kB lib/bpmn-elements.js
npm notice 120B lib/index.d.ts
npm notice 678B lib/index.js
npm notice 2.1kB lib/paths.d.ts
npm notice 3.6kB lib/paths.js
npm notice 2.3kB lib/plugins-support.d.ts
npm notice 2.1kB lib/plugins-support.js
npm notice 865B lib/plugins/css-classes.d.ts
npm notice 1.6kB lib/plugins/css-classes.js
npm notice 700B lib/plugins/elements.d.ts
npm notice 1.4kB lib/plugins/elements.js
npm notice 112B lib/plugins/index.d.ts
npm notice 670B lib/plugins/index.js
npm notice 597B lib/plugins/overlays.d.ts
npm notice 2.3kB lib/plugins/overlays.js
npm notice 2.5kB lib/plugins/style.d.ts
npm notice 3.2kB lib/plugins/style.js
npm notice 1.6kB package.json
npm notice Tarball Details
npm notice name: @process-analytics/bv-experimental-add-ons
npm notice version: 0.7.0
npm notice filename: process-analytics-bv-experimental-add-ons-0.7.0.tgz
npm notice package size: 12.3 kB
npm notice unpacked size: 50.7 kB
npm notice shasum: adde1e371e0a9bb532122f8489acf412a3b18cf7
npm notice integrity: sha512-r+JR/t8G1CfJN[...]OIirxnVDwSHWQ==
npm notice total files: 21
sonarcloud[bot] commented 10 hours ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 10 hours ago

🎊 PR Preview b0984a5b48bd34dc08555fdc4b105b0c60712221 has been successfully built and deployed to https://process-analytics-bv-experimental-add-ons-demo-pr-303.surge.sh

🕐 Build time: 0.01s

🤖 By surge-preview