Skip to content
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

chore(typescript): Cleanup usage of typings package. #2610

Closed
wants to merge 1 commit into from

Conversation

alexeagle
Copy link
Contributor

TypeScript now distributes typings via npm.

Note, @types is not semver, because patch releases may introduce syntax that requires a TypeScript upgrade. So the package.json pins these to versions (just as the typings.json did)

TypeScript now distributes typings via npm.
@kwonoj
Copy link
Member

kwonoj commented May 24, 2017

related to #2437.

@rxjs-bot
Copy link

Fails
🚫

Running your Dangerfile has Failed

Danger has errored

Error: Error

Error: Cannot find module 'package.json'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at getBabelRC (/home/travis/build/ReactiveX/rxjs/node_modules/babel-jest/build/index.js:53:41)
    at Object.getCacheKey (/home/travis/build/ReactiveX/rxjs/node_modules/babel-jest/build/index.js:90:14)
    at ScriptTransformer._getCacheKey (/home/travis/build/ReactiveX/rxjs/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/home/travis/build/ReactiveX/rxjs/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/home/travis/build/ReactiveX/rxjs/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at ScriptTransformer._transformAndBuildScript (/home/travis/build/ReactiveX/rxjs/node_modules/jest-runtime/build/ScriptTransformer.js:275:40)

Generated by 🚫 dangerJS

@kwonoj
Copy link
Member

kwonoj commented May 24, 2017

danger checker seems off, don't mind it - I'll look into separately.

@alexeagle
Copy link
Contributor Author

From the other issue you linked, it's not clear to me if this PR causes some problem - do we need testing of user-land type-checking?

@kwonoj
Copy link
Member

kwonoj commented May 24, 2017

it's not clear to me if this PR causes some problem

: that's reason we were hesitating migrate into @types package. Surprisingly we had regressions by shipping pkg using @types pkg from typings pkg previously, and haven't introduced automatic way to verify those in our repo. It's not about testing 3rd party typing's validity, it was using those pkg TS compiler generated unexpected results. I believe that's no longer issue though.

@alexeagle
Copy link
Contributor Author

alexeagle commented May 25, 2017 via email

@benlesh
Copy link
Member

benlesh commented May 25, 2017

I've merged this into #2614. Closing in favor of that.

@benlesh benlesh closed this May 25, 2017
@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants