Skip to content

Commit 00dfe6c

Browse files
committed
Update npm publish workflow and improve Image component documentation
1 parent 98be21d commit 00dfe6c

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/npmpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
npm pack
2626
# cd test-app
2727
# npm install
28-
# npm install ../imagekit-next-*.tgz --no-save
28+
# npm install ../imagekit-react-*.tgz --no-save
2929
# npx playwright install --with-deps
3030
# npm run test:e2e
3131
env:

src/components/Image.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function getInt(x: unknown): number {
3232

3333

3434
/**
35-
* The Image component is a wrapper around the Next.js Image component. It supports all the features of the Next.js Image component, along with additional features provided by ImageKit.
35+
* The Image component is a wrapper around the React Image component. It supports all the features of the React Image component, along with additional features provided by ImageKit.
3636
*
3737
* @example
3838
* ```jsx

src/interface/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ export interface SrcProps {
55
/**
66
* Accepts a relative or absolute path of the resource. If a relative path is provided, it is appended to the `urlEndpoint`.
77
* If an absolute path is provided, `urlEndpoint` is ignored.
8-
*
9-
* Do not pass Next.js StaticImports (e.g., `import image from './image.jpg'`).
108
*/
119
src: SrcOptions["src"];
1210

0 commit comments

Comments
 (0)