sinequa / ngx-ui-builder

An Angular library for creating no code tools & applications
https://sinequa.github.io/ngx-ui-builder/
MIT License
81 stars 8 forks source link

Schematics missing from latest npm package (0.2.4) #95

Closed co-dax closed 7 months ago

co-dax commented 7 months ago

The latest npm package available for this project is 0.2.4 (https://www.npmjs.com/package/@sinequa/ngx-ui-builder?activeTab=versions) so when we running the following command ng generate ngx-ui-builder:make-static -- --config=my-config.json to generate static templates as suggested at the following page in the docs https://github.com/sinequa/ngx-ui-builder?tab=readme-ov-file#static-export it results in the following exception An unhandled exception occurred: Collection ".....\\ngx-ui-builder\\node_modules\\@sinequa\\ngx-ui-builder\\schematics\\collection.json" cannot be resolved. which is due to not having published the latest project version (1.0.0) on npm. The latest version on npm (0.2.4) is missing schematics folder containg collection.json file mentioned in the error I reported above in the text. image

...but it works fine if I build the library locally, copy the build artifacts to the node_modules\@sinequa\ngx-ui-builder and then run ng generate ngx-ui-builder:make-static -- --config=my-config.json again since now there is schematics folder with collection.json file in library build output folder:

image

I would say the latest project version should be deployed to npm.

Thanks.

co-dax commented 7 months ago

By the way, I am interested in contributing to this project.

hebus commented 7 months ago

npm package updated to 1.0.0

co-dax commented 7 months ago

Thanks @hebus