create-cloudinary-react 1.0.0-beta.17 ā 1.0.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/cli.js +2 -2
- package/package.json +1 -1
- package/templates/.cursorrules.template +2 -1
- package/templates/README.md.template +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# [1.0.0-beta.18](https://github.com/cloudinary-devs/create-cloudinary-react/compare/v1.0.0-beta.17...v1.0.0-beta.18) (2026-02-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update registration link ([2a69d7a](https://github.com/cloudinary-devs/create-cloudinary-react/commit/2a69d7ada9de1cb2751bbd4c1d344422b4c2dd5e))
|
|
7
|
+
* update video player example ([9db39ee](https://github.com/cloudinary-devs/create-cloudinary-react/commit/9db39ee8fc149c748ea422544a79b45a60365f47))
|
|
8
|
+
|
|
1
9
|
# [1.0.0-beta.17](https://github.com/cloudinary-devs/create-cloudinary-react/compare/v1.0.0-beta.16...v1.0.0-beta.17) (2026-02-12)
|
|
2
10
|
|
|
3
11
|
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Scaffold a Cloudinary React + Vite + TypeScript project with interactive setup.
|
|
|
10
10
|
|
|
11
11
|
- Node.js 18+ installed
|
|
12
12
|
- A Cloudinary account (free tier available)
|
|
13
|
-
- [Sign up for free](https://
|
|
13
|
+
- [Sign up for free](https://cld.media/reactregister)
|
|
14
14
|
- Your cloud name is in your [dashboard](https://console.cloudinary.com/app/home/dashboard)
|
|
15
15
|
|
|
16
16
|
## Usage
|
package/cli.js
CHANGED
|
@@ -70,7 +70,7 @@ async function main() {
|
|
|
70
70
|
} else {
|
|
71
71
|
|
|
72
72
|
console.log(chalk.cyan.bold('\nš Cloudinary React + Vite\n'));
|
|
73
|
-
console.log(chalk.gray('š” Need a Cloudinary account? Sign up for free: https://
|
|
73
|
+
console.log(chalk.gray('š” Need a Cloudinary account? Sign up for free: https://cld.media/reactregister\n'));
|
|
74
74
|
|
|
75
75
|
const questions = [
|
|
76
76
|
{
|
|
@@ -101,7 +101,7 @@ async function main() {
|
|
|
101
101
|
if (!input.trim()) {
|
|
102
102
|
return chalk.yellow(
|
|
103
103
|
'Cloud name is required.\n' +
|
|
104
|
-
' ā Sign up: https://
|
|
104
|
+
' ā Sign up: https://cld.media/reactregister\n' +
|
|
105
105
|
' ā Find your cloud name: https://console.cloudinary.com/app/home/dashboard'
|
|
106
106
|
);
|
|
107
107
|
}
|
package/package.json
CHANGED
|
@@ -420,7 +420,8 @@ Use when the user asks for a **video player** (styled UI, controls, playlists).
|
|
|
420
420
|
**Rule: imperative element only.** Do **not** pass a React-managed `<video ref={...} />` to the player ā the library mutates the DOM and React will throw removeChild errors. Create the video element with `document.createElement('video')`, append it to a container ref, and pass that element to `videoPlayer(el, ...)`.
|
|
421
421
|
|
|
422
422
|
- **Package**: `cloudinary-video-player`. Install with `npm install cloudinary-video-player` (no version).
|
|
423
|
-
- **Import**: `import { videoPlayer } from 'cloudinary-video-player'` (named) and `import 'cloudinary-video-player/cld-video-player.min.css'` (no `dist/` in path).
|
|
423
|
+
- **Import**: `import { videoPlayer } from 'cloudinary-video-player'` (named) and `import 'cloudinary-video-player/cld-video-player.min.css'` (no `dist/` in path). The package only exposes paths under `lib/` via `exports`; use `cld-video-player.min.css` (no `dist/`), which resolves to `lib/cld-video-player.min.css`.
|
|
424
|
+
- ā **WRONG**: `import 'cloudinary-video-player/dist/cld-video-player.min.css'` ā package `exports` do not expose `dist/`; the valid path is `cloudinary-video-player/cld-video-player.min.css`.
|
|
424
425
|
- **player.source()** takes an **object**: `player.source({ publicId: 'samples/elephants' })`. Not a string.
|
|
425
426
|
- **Cleanup**: Call `player.dispose()`, then **only if** `el.parentNode` exists call `el.parentNode.removeChild(el)` (avoids NotFoundError).
|
|
426
427
|
- **If init fails** (CSP, extensions, timing): render **AdvancedVideo** with the same publicId. Do not relax CSP in index.html or ask the user to disable extensions.
|
|
@@ -11,7 +11,7 @@ npm run dev
|
|
|
11
11
|
## Cloudinary Setup
|
|
12
12
|
|
|
13
13
|
This project uses Cloudinary for image management. If you don't have a Cloudinary account yet:
|
|
14
|
-
- [Sign up for free](https://
|
|
14
|
+
- [Sign up for free](https://cld.media/reactregister)
|
|
15
15
|
- Find your cloud name in your [dashboard](https://console.cloudinary.com/app/home/dashboard)
|
|
16
16
|
|
|
17
17
|
## Environment Variables
|