v1.8.2
Patch Changes
-
#57
e8385bdThanks @flyon! - CLI sub-template imports updated to use@_linked/coreinstead of legacy
lincd/...:defaults/shape.ts—Shape+NamedNodefrom@_linked/coredefaults/package/src/package.ts—linkedPackagefrom@_linked/core/utils/Package(clean 1:1 swap;@_linked/coreexports it identically)defaults/package/src/ontologies/example-ontology.ts—NamedNode+createNameSpacefrom@_linked/core(unusedlincd-jsonldimport dropped)
Important caveat — TODO comments inline in the template files explain:
thepackage.tstemplate is a clean working swap. Theshape.tsand
ontologies/example-ontology.tstemplates' generated output will fail
to compile because@_linked/coredoesn't exportNamedNodeor
Literalas runtime classes — the new framework architecture moved past
direct node construction. Templates need a rewrite to emit the modern
getter-only@_linked/*shape pattern (see@_linked/schema/shapes/Person.ts).
The import-path change is a deliberate signal-of-intent that lands
incomplete; the actual template rewrite is tracked as downstream
Shape-Builder / Ontology-Manager review work.Users of
linked create shape Fooandlinked create package Bar: if you
hit "Cannot find name NamedNode" or "Cannot find name Literal" errors
in scaffolded files, you've hit the documented gap. The fix path is the
template rewrite, not reverting to legacy lincd.Context: see create-now plan-011 report (docs/reports/009-legacy-lincd-eradication.md).