Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

migrate to typescript #63

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

Merged
colbyfayock merged 18 commits into cloudinary-community:main from matiasfha:migrate-to-ts
Sep 6, 2023

Conversation

@matiasfha
Copy link
Contributor

@matiasfha matiasfha commented Sep 2, 2023

Description

This pr migrates the project to Typescript with correct typings, build process and keeping the tests running

Issue Ticket Number

Fixes

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
  • I have created an issue ticket for this PR
  • I have checked to ensure there aren't other open Pull Requests for the same update/change?
  • I have performed a self-review of my own code
  • I have run tests locally to ensure they all pass
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes needed to the documentation

Copy link

netlify bot commented Sep 2, 2023
edited
Loading

Deploy Preview for netlify-plugin-cloudinary ready!

Name Link
🔨 Latest commit 0cabed5
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-cloudinary/deploys/64f7e014533cf600084c4f19
😎 Deploy Preview https://deploy-preview-63--netlify-plugin-cloudinary.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@colbyfayock colbyfayock merged commit f9b960f into cloudinary-community:main Sep 6, 2023
github-actions bot pushed a commit that referenced this pull request Sep 6, 2023
# [1.7.0](v1.6.0...v1.7.0) (2023年09月06日)
### Features
* migrate to typescript ([#63](#63)) ([f9b960f](f9b960f))
Copy link

github-actions bot commented Sep 6, 2023

🎉 This PR is included in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Collaborator

@allcontributors please add @matiasfha for code

1 similar comment
Copy link
Collaborator

@allcontributors please add @matiasfha for code

Copy link
Contributor

@colbyfayock

I've put up a pull request to add @matiasfha! 🎉

colbyfayock pushed a commit that referenced this pull request Sep 15, 2023
Adds @matiasfha as a contributor for code.
This was requested by colbyfayock [in this
comment](#63 (comment))
[skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
const apiKey = process.env.CLOUDINARY_API_KEY;
const apiSecret = process.env.CLOUDINARY_API_SECRET;

if (!cloudName || !apiKey || !apiSecret) {
Copy link
Collaborator

@colbyfayock colbyfayock Sep 19, 2023

Choose a reason for hiding this comment

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

@matiasfha was there a context to the addition of !apiKey and !apiSecret here? this now breaks builds that are only using the fetch API, which only requires cloud name

the plkugin hasn't been updated on netlify so its not impacting anyone at the moment but will once updated

before fixing this curious why this was added

Copy link
Contributor Author

@matiasfha matiasfha Sep 19, 2023

Choose a reason for hiding this comment

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

IIRC this was added to satisfy TS
Let me create another PR to remove that restriction and also add a test for that build case

Copy link
Contributor Author

@matiasfha matiasfha Sep 19, 2023

Choose a reason for hiding this comment

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

This was the TS error
CleanShot 2023年09月19日 at 10 49 35@2x

I'm working on a change

matiasfha added a commit to matiasfha/netlify-plugin-cloudinary that referenced this pull request Sep 23, 2023
# Description
This pr migrates the project to Typescript with correct typings, build
process and keeping the tests running
## Issue Ticket Number
Fixes 
## Type of change
<!-- Please select all options that are applicable. -->
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update
# Checklist
<!-- These must all be followed and checked. -->
- [X] I have followed the contributing guidelines of this project as
mentioned in [CONTRIBUTING.md](/CONTRIBUTING.md)
- [X] I have created an
[issue](https://github.com/colbyfayock/netlify-plugin-cloudinary/issues)
ticket for this PR
- [X] I have checked to ensure there aren't other open [Pull
Requests](https://github.com/colbyfayock/netlify-plugin-cloudinary/pulls)
for the same update/change?
- [X] I have performed a self-review of my own code
- [X] I have run tests locally to ensure they all pass
- [X] I have commented my code, particularly in hard-to-understand areas
- [X] I have made corresponding changes needed to the documentation
---------
Co-authored-by: Colby Fayock <fayock@gmail.com>
matiasfha pushed a commit to matiasfha/netlify-plugin-cloudinary that referenced this pull request Sep 23, 2023
matiasfha pushed a commit to matiasfha/netlify-plugin-cloudinary that referenced this pull request Sep 23, 2023
Adds @matiasfha as a contributor for code.
This was requested by colbyfayock [in this
comment](cloudinary-community#63 (comment))
[skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@colbyfayock colbyfayock colbyfayock left review comments

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /