Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Additional Properties are Not Allowed #8

Open
wickY26 opened this issue Dec 2, 2014 · 5 comments
Open

Additional Properties are Not Allowed #8

wickY26 opened this issue Dec 2, 2014 · 5 comments

Comments

@wickY26
Copy link

wickY26 commented Dec 2, 2014

I managed to install and overwrite every file with tsd-cli without any problem, but after I register a tsd task to project gruntfile and took this error because schema pattern properties does not allow us to inner files as its pattern regex is

"^[\\w\\.-]+\\/[\\w\\.-]+\\.d\\.ts$"

so installing some package (cordova in my situation) which contains some other folders in its (plugins folder in this case) cannot be installed via grunt-tsd

@Bartvds
Copy link
Collaborator

Bartvds commented Dec 2, 2014

Hmm, I assume you use TSD 0.6 prerelease to install the definitions?

Grunt-tsd is still the old one TSD 0.5.7 what still has this restriction.

@Bartvds
Copy link
Collaborator

Bartvds commented Dec 2, 2014

Forgot to add: I'm push TSD 0.6 any day now and will update grunt-tsd too, got time coming up.

@wickY26
Copy link
Author

wickY26 commented Dec 3, 2014

Yes I am using TSD 0.6. Thank you for your quick response.

@Bartvds
Copy link
Collaborator

Bartvds commented Dec 3, 2014

Cool, I'll try to publish a temporary solution asap (days).

If you need it sooner you can fork grunt-tsd and change the package.json to have TSD point to the same semver as your globally install TSD 0.6, then link your project to your grunt-tsd fork using a git url instead of the semver.

@Bartvds
Copy link
Collaborator

Bartvds commented Dec 3, 2014

I pushed a prerelease to npm that links TSD 0.6.

Install using a tag and it will get a grunt-tsd 0.2.0-beta

npm install grunt-tsd@next --save

Let me know if this works (you are now beta tester).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants