Skip to content

Commit af9c418

Browse files
committed
Renamed the project after moving to the Uploadcare organization.
1 parent 36ba619 commit af9c418

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The only dependency is Next.js >= 10.0.5.
3030
## Installation
3131

3232
```shell_script
33-
yarn add nextjs-loader
33+
yarn add @uploadcare/nextjs-loader
3434
```
3535

3636
## Configuration
@@ -60,7 +60,7 @@ Alternatively, in case you're using a custom proxy, set the proxy domain.
6060
NEXT_PUBLIC_UPLOADCARE_CUSTOM_PROXY_DOMAIN="proxy.example.com"
6161
```
6262

63-
That's it. You may now use `nextjs-loader` in your app (see [Usage](#usage)).
63+
That's it. You may now use `@uploadcare/nextjs-loader` in your app (see [Usage](#usage)).
6464

6565
---
6666

@@ -80,7 +80,7 @@ NEXT_PUBLIC_UPLOADCARE_CUSTOM_CDN_DOMAIN="cdn.example.com"
8080

8181
**Option 1**. Use the `UploadcareImage` component and leave us the reset ;)
8282
```tsx
83-
import UploadcareImage from 'nextjs-loader';
83+
import UploadcareImage from '@uploadcare/nextjs-loader';
8484

8585
<UploadcareImage
8686
alt="A test image"
@@ -96,7 +96,7 @@ The `UploadcareImage` component supports the same parameters as the Next `Image`
9696

9797
```tsx
9898
import Image from 'next/image';
99-
import { uploadcareLoader } from 'nextjs-loader';
99+
import { uploadcareLoader } from '@uploadcare/nextjs-loader';
100100

101101
<Image
102102
alt="A test image"
@@ -120,7 +120,7 @@ and add this code to it:
120120
```js
121121
// image-loader.config.js
122122
import { imageLoader } from 'next-image-loader/build/image-loader';
123-
import { uploadcareLoader } from 'nextjs-loader';
123+
import { uploadcareLoader } from '@uploadcare/nextjs-loader';
124124

125125
imageLoader.loader = uploadcareLoader;
126126
```
@@ -173,11 +173,11 @@ Next checks whether the image url which loader generates has the exact value whi
173173
**Fix:** Ignore the warning for now.
174174

175175

176-
[build-img]: https://app.travis-ci.com/kkomelin/nextjs-loader.svg?branch=main
177-
[build-link]: https://api.travis-ci.com/kkomelin/nextjs-loader
178-
[npm-img]: https://img.shields.io/npm/v/nextjs-loader.svg
179-
[npm-link]: https://www.npmjs.com/package/nextjs-loader
176+
[build-img]: https://app.travis-ci.com/uploadcare/nextjs-loader.svg?branch=main
177+
[build-link]: https://api.travis-ci.com/uploadcare/nextjs-loader
178+
[npm-img]: https://img.shields.io/npm/v/@uploadcare/nextjs-loader.svg
179+
[npm-link]: https://www.npmjs.com/package/@uploadcare/nextjs-loader
180180
[stackblitz-image]: https://developer.stackblitz.com/img/open_in_stackblitz.svg
181-
[stackblitz-link]: https://stackblitz.com/github/kkomelin/nextjs-loader/tree/main/example
181+
[stackblitz-link]: https://stackblitz.com/github/uploadcare/nextjs-loader/tree/main/example
182182
[demo-link]: https://nextjs-loader.vercel.app/
183183
[uploadcare-transformation-image-compression-docs]: https://uploadcare.com/docs/transformations/image/compression/?utm_source=github&utm_campaign=nextjs-loader

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "nextjs-loader-demo",
2+
"name": "@uploadcare/nextjs-loader-demo",
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"next": "11.1.2",
13-
"uploadcare-nextjs-loader1": "*",
13+
"@uploadcare/nextjs-loader": "*",
1414
"react": "17.0.2",
1515
"react-dom": "17.0.2"
1616
},

example/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { NextPage } from 'next';
22
import Image from 'next/image';
3-
import UploadcareImage, { uploadcareLoader } from 'uploadcare-nextjs-loader1';
3+
import UploadcareImage, { uploadcareLoader } from '@uploadcare/nextjs-loader';
44
import { FC } from 'react';
55
import styles from '../styles/Home.module.css';
66

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "uploadcare-nextjs-loader1",
2+
"name": "@uploadcare/nextjs-loader",
33
"version": "0.1.0",
44
"description": "Uploadcare custom loader (and more) for Next.js",
55
"main": "./build/index.js",
@@ -15,7 +15,7 @@
1515
},
1616
"repository": {
1717
"type": "git",
18-
"url": "git+https://github.com/kkomelin/nextjs-loader.git"
18+
"url": "git+https://github.com/uploadcare/nextjs-loader.git"
1919
},
2020
"keywords": [
2121
"nextjs",
@@ -34,9 +34,9 @@
3434
"author": "Konstantin Komelin <konstantin.komelin@gmail.com>",
3535
"license": "MIT",
3636
"bugs": {
37-
"url": "https://github.com/kkomelin/nextjs-loader/issues"
37+
"url": "https://github.com/uploadcare/nextjs-loader/issues"
3838
},
39-
"homepage": "https://github.com/kkomelin/nextjs-loader#readme",
39+
"homepage": "https://github.com/uploadcare/nextjs-loader#readme",
4040
"devDependencies": {
4141
"@babel/core": "^7.15.5",
4242
"@babel/preset-env": "^7.15.6",

0 commit comments

Comments
 (0)