fix(build): library build refactoring #109
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #18
FIxes #100
iotmapmanager-labs
iotmapmanager-labs
in the root projectiotmapmanager-labs
in a real Orange Angular projectpeerDependencies
(@types/leaflet
,@types/leaflet.markercluster
,leaflet-polylineoffset
andleaflet.markercluster
)Bounds are not valid
issue comes fromangular.json
and not inindex.html
component.ts
What's been done regarding Node 16
We observed some issues while building the library with Node 14 so I embedded this modification as well in this PR:
npm i
with Node 16 insrc/iotMapManager
to updatepackage-lock.json
npm i
with Node 16 at the root of the project to updatepackage-lock.json
.github/workflows/docs.yml
to use latest versions ofactions
(v3) and use Node 16 (+ cache)How to test it locally / manually
npm i
at the root of the projectsrc/iotMapmanager
and then runnpm i
npm pack
/tmp
and runrm -rf iotmap* package ; cp /Users/ju/IOT-Map-Component/src/iotMapManager/iotmapmanager-2.6.8.tgz . ; tar -xvf iotmapmanager-2.6.8.tgz ; rm -rf /Users/ju/IOT-Map-Component/node_modules/iotmapmanager/* ; cp -R package/* /Users/ju/IOT-Map-Component/node_modules/iotmapmanager/
npm run start
How to test it with the
iotmapmanager-labs
TODO