New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
re #992 Switch from TSD to Typings #415
Conversation
Rm gulp-tsd, use TS binary to run install command Update Gulp to minor patch
I thought we were committing all of the TSD dips into the repo? This was one of the prod requirements. Can we achieve this? E.g. install TSD with typings, then commit installed definitions to the repo; presumably we could then point our build to aforementioned directory (or use typings and refer it to that directory?)
|
@msavy - Why were we looking to check in TS definitions again? Was this in order to make 100% offline installations possible (ie. to avoid the GH rate-limiting issue)? And np I'll commit the |
It’s related to prod and their current lack of tooling to handle Typings.
|
@kahboom - yes, the reason to check in the TSD files is so that prod builds don't have to download them. Let me know when this is ready to be merged based on marc's feedback. |
@EricWittmann @msavy - Done! Let me know if I missed anything. |
re #992 Switch from TSD to Typings
Changes:
typings
dir andtsd.json
file locally.gulp-tsd
package, Gulp 'setup' task, instead ask NPM to use TS binary to install TS definitions.npm-shrinkwrap.json
file.3.9.1
latest patch.JIRA: https://issues.jboss.org/browse/APIMAN-992
cc @EricWittmann @msavy - Tested on OS X and everything looked good, but please let me know if you run into anything strange. Locally, you should be safe to delete the
typings
dir andtsd.json
file. You may need to runrm -rf node_modules & npm install
.