Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

feat: Add Typescript types #72

Merged
merged 5 commits into from
Apr 7, 2020

Conversation

NickBolles
Copy link
Contributor

Fixes #67

NickBolles added a commit to NickBolles/cypress-nuxt that referenced this pull request Apr 7, 2020
Copy link
Collaborator

@chrisbreiding chrisbreiding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

@chrisbreiding chrisbreiding changed the title Typescript types feat: Add Typescript types Apr 7, 2020
@chrisbreiding chrisbreiding merged commit 611e351 into cypress-io:master Apr 7, 2020
@chrisbreiding
Copy link
Collaborator

🎉 This PR is included in version 5.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@@ -60,6 +62,7 @@
"files": [
"*.js"
],
"types": "index.d.ts",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

index.d.ts is not included in files, so it's not part of the npm package:

https://unpkg.com/@cypress/webpack-preprocessor/

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

D'oh! I'll get that fixed and a new release out right away.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 5.1.1

Copy link
Contributor Author

@NickBolles NickBolles Apr 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could have sworn the types field was included by default. Main is, but types aren't I guess :(
https://docs.npmjs.com/files/package.json

Thanks @OliverJAsh and @chrisbreiding!

panzarino pushed a commit to cypress-io/cypress that referenced this pull request Sep 17, 2020
* feat: typings

* fix: revert cypress version change

* make eslint plugin happy, but also don't lint types file

* chore: update yarn.lock

Co-authored-by: Chris Breiding <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add types
3 participants