o-development / ldo-legacy

Linked Data Objects
Other
19 stars 2 forks source link

No foafProfile.ldoFactory.ts #20

Closed tranbau closed 1 year ago

tranbau commented 1 year ago

why when i try npm run build:ldo i got 4 file except foafProfile.ldoFactory.ts

mrkvon commented 1 year ago

I think it's because ldo v1 doesn't use the factory for anything, so ldo-cli v3 doesn't export it. Version 0 used it, and ldo-cli v2 exported it. I only discovered it now, thanks to your comment. Maybe @jaxoncreed can confirm if this is the case...

So my guess is, this is an expected behavior.

jaxoncreed commented 1 year ago

@tranbau @mrkvon. That's true. The factory is no longer used. If you want to use older versions of LDO then be sure your instance of ldo-cli is under 3.

tranbau commented 1 year ago

jaxoncreed Coming from SolidForum :) Thank you for the answer!