You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Description
Migrates the project to PNPM
## Issue Ticket Number
Fixes#408
<!-- Specify above which issue this fixes by referencing the issue
number (`#<ISSUE_NUMBER>`) or issue URL. -->
<!-- Example: Fixes
https://github.com/cloudinary-community/next-cloudinary/issues/<ISSUE_NUMBER>
-->
## Type of change
<!-- Please select all options that are applicable. -->
- [ ] 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)
- [ ] Fix or improve the documentation
- [ ] This change requires a documentation update
# Checklist
<!-- These must all be followed and checked. -->
- [ ] I have followed the contributing guidelines of this project as
mentioned in [CONTRIBUTING.md](/CONTRIBUTING.md)
- [ ] I have created an
[issue](https://github.com/cloudinary-community/next-cloudinary/issues)
ticket for this PR
- [ ] I have checked to ensure there aren't other open [Pull
Requests](https://github.com/cloudinary-community/next-cloudinary/pulls)
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
This project is using [yarn](https://yarnpkg.com/) as a way to manage dependencies and workspaces.
93
+
This project is using [pnpm](https://pnpm.io/) as a way to manage dependencies and workspaces.
95
94
96
95
With the project cloned, install the dependencies from the root of the project with:
97
96
98
97
```
99
-
yarn install
98
+
pnpm install
100
99
```
101
100
102
101
#### Configuration
@@ -128,7 +127,7 @@ CLOUDINARY_API_SECRET="<Your API Secret>"
128
127
Then run the upload script with:
129
128
130
129
```
131
-
yarn upload
130
+
pnpm upload
132
131
```
133
132
134
133
By default, the images inside of `scripts/images.json` will be uploaded to the "images" directory inside of your Cloudinary account. To change the location, add the `CLOUDINARY_IMAGES_DIRECTORY` environment variable with your preferred directory:
0 commit comments