schema-dts icon indicating copy to clipboard operation
schema-dts copied to clipboard

Add an install option for pending

Open thadguidry opened this issue 3 years ago • 1 comments
trafficstars

Perhaps something like: npm install schema-dts-pending

This would add the Schema.org core vocabulary inclusive of the Pending Section

thadguidry avatar May 24 '22 18:05 thadguidry

Hmm. This looks like a regression from #8 , we're defaulting to https://schema.org/version/latest/schemaorg-current-https.jsonld instead of https://schema.org/version/latest/schemaorg-all-https.jsonld

Eyas avatar May 26 '22 20:05 Eyas

@Eyas hmm, but I guess a workaround or straightforward way for me to add Pending would be to simply do:

npm install schema-dts-gen
npx schema-dts-gen --ontology=https://schema.org/version/latest/schemaorg-all-https.jsonld

as mentioned on https://github.com/google/schema-dts/blob/main/packages/schema-dts-gen/README.md ? (jsonld ending and not nt)

your README.md for schema-dts does NOT include pending (but pending is what I want to include and hence this issue):

schema-dts Pre-packaged TypeScript typings of latest Schema.org schema, without pending and other non-core layers.

So can I override the default easily through the command structure, or we need to add another arg option to --include: pending or some such?

thadguidry avatar Dec 31 '22 04:12 thadguidry

Fixed in v1.1.2

Eyas avatar Feb 24 '23 23:02 Eyas