-
Notifications
You must be signed in to change notification settings - Fork 65
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
Update dependencies #118
Update dependencies #118
Conversation
* update from es5 to es2015 (remove bluebird) * migrate from tsd typings to @types * update Intern from 3 to 4 * remove obsolete TSLint rules * fix lint/syntax issues
package.json
Outdated
"test": "tests/run.sh" | ||
"@types/glob": "^7.1.1", | ||
"@types/mkdirp": "^0.5.2", | ||
"dojo-loader": "^2.0.0-beta.7", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need the loader? I’m guessing we never released a non-beta version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build and tests run fine without dojo-loader
; I removed it now.
Need to determine why Travis is failing, but overall looks like some much needed changes. Thanks! |
Looks like Travis for this may be running a very old version of Node.js still (4.1...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I think to get this to pass with Travis, we need to also update https://github.com/SitePen/dts-generator/blob/master/.travis.yml#L4 ... probably 8.14.0 since that's still in LTS, though we could force 10.14.0 since that's also in LTS if that's necessary.
I updated the version in package.json to 3.0.0-alpha since this is a breaking change - the compile target is now es2015, so it must be run in an environment that supports es2015 (or be transpiled and shimmed). Intern 4 appears to depend on es2015 and promises with bluebird were causing compilation problems. If we want to retain es5 as the compile target we'll have to address those issues.