zenstack icon indicating copy to clipboard operation
zenstack copied to clipboard

[Feature Request] extended `import` utilising package manager to provide exportability

Open TGTGamer opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Extension of the import utility to enable user to import from node_modules folders, enabling the ability to extend from external packages.

Describe the solution you'd like A simple way to extend from node_modules folders. From the looks of it, an refactor of

https://github.com/zenstackhq/zenstack/blob/b4579c7f3a5d47e1f61c5268d3ac8efbebc7557d/packages/schema/src/utils/ast-utils.ts#L96-L106

I assume there would be an additional step somewhere within the language file, and probably within the vscode extension, however haven't yet discovered those locations (will update once I have)

Describe alternatives you've considered Keeping all my files in a single project and making endless copies of them into each individual project. Meaning there's no single source of truth, making it easy for one scheme to fall out of sync with another....

TGTGamer avatar Feb 19 '24 00:02 TGTGamer