Closed bleonar5 closed 3 weeks ago
This pull request addresses issue #58 and implements the necessary changes to make Deno application available as a functional npm library.
Bundling Solution:
jsonld
Custom Document Loader:
customDocumentLoader
jsonld.expand
npm Library Structure:
Default schema file
Ensure exit
This PR includes several new files necessary for npm package integration:
If possible, reviewers could try out installing and running the app through npm as a test:
nvm install 18 nvm use 18 sudo npm install -g psychds-validator validate <path_to_input_dir>
npm Package Integration for Deno Application
This pull request addresses issue #58 and implements the necessary changes to make Deno application available as a functional npm library.
Key Changes
Bundling Solution:
jsonld
library.Custom Document Loader:
customDocumentLoader
for thejsonld.expand
function.npm Library Structure:
Default schema file
Ensure exit
Technical Details
jsonld
import was isolated to the file I/O components.Additional Files
This PR includes several new files necessary for npm package integration:
Testing
If possible, reviewers could try out installing and running the app through npm as a test: