PoseiDAT / schemas

The core schemas for the PoseiDAT data interchange formats
MIT License
1 stars 5 forks source link

Unable to use the repo as an NPM package. #10

Closed PlaiyTiziano closed 3 years ago

PlaiyTiziano commented 3 years ago

Currently I can't find a way to use this repo as NPM package.

When installing this as an NPM package with the following command: npm install git+https://github.com/PoseiDAT/schemas.git

The package will only contain the docs folder and some dotfiles (check the image below to see which files you get from installing with the above command).

image

Since the lib folder (which contains the built files) is in the .gitignore you'll never install them through npm as they are not present in the repo. The .npmignore file then contains the src folder which results in not being able to manually build the files either.

Thanks in advance for any further help.

Qwerios commented 3 years ago

I'll see about publishing a first version of the NPM package

Qwerios commented 3 years ago

I've done 2 things:

Either of those should suffice for your needs. I'd recommend using the NPM package. Please reopen this issue if you hit any issues

https://www.npmjs.com/package/@poseidat/schemas