Skip to content

Commit a880631

Browse files
authored
Merge pull request #323 from cloudinary/uat
Version 2.5.0
2 parents f7de2e4 + 2b10482 commit a880631

File tree

177 files changed

+40599
-55168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+40599
-55168
lines changed

.babelrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"presets": ["@wordpress/default", "@babel/preset-env"],
3+
"plugins": [
4+
"@wordpress/babel-plugin-import-jsx-pragma",
5+
"@babel/transform-react-jsx",
6+
"@babel/plugin-proposal-optional-chaining"
7+
]
8+
}

.editorconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ end_of_line = lf
77
insert_final_newline = true
88
trim_trailing_whitespace = true
99
indent_style = tab
10+
indent_size = 4
1011

11-
[*.yml]
12+
[*.{yml,json}]
1213
indent_style = space
1314
indent_size = 2
1415

.eslintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
**/*.min.js
2+
**/node_modules/**
3+
**/vendor/**
4+
**/js/*.js
5+
build/*
6+
built/*

.eslintrc.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"env": {
3+
"browser": true
4+
},
5+
"globals": {
6+
"cloudinary": "readonly",
7+
"jQuery": "readonly",
8+
"$": "readonly",
9+
"CLDN": "readonly",
10+
"CLD_GLOBAL_TRANSFORMATIONS": "readonly",
11+
"samplePlayer": "readonly"
12+
},
13+
"extends": [
14+
"plugin:@wordpress/eslint-plugin/recommended"
15+
],
16+
"rules": {
17+
"no-alert": "off",
18+
"no-console": "off",
19+
"no-unused-vars": "off",
20+
"no-nested-ternary": "off",
21+
"jsx-a11y/click-events-have-key-events": "off",
22+
"react-hooks/rules-of-hooks": "error",
23+
"react-hooks/exhaustive-deps": "warn"
24+
}
25+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ npm-debug.log
2828
/vendor/
2929
/dev-lib/
3030
phpcs.xml
31+
css/*.map
32+
js/*.map
33+
/bin
3134

3235
# Tests
3336
tests/data/

.stylelintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
**/css/*.css
2+
**/vendor/**
3+
**/node_modules/**
4+
**/js/*.css

.stylelintrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"rules": {
3+
"selector-class-pattern": null
4+
}
5+
}

cloudinary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Cloudinary
44
* Plugin URI: https://cloudinary.com/documentation/wordpress_integration
55
* Description: With the Cloudinary plugin, you can upload and manage your media assets in the cloud, then deliver them to your users through a fast content delivery network, improving your website’s loading speed and overall user experience. Apply multiple transformations and take advantage of a full digital asset management solution without leaving WordPress.
6-
* Version: 2.4.1
6+
* Version: 2.5.0-rc-8
77
* Author: Cloudinary Ltd., XWP
88
* Author URI: https://cloudinary.com/
99
* License: GPLv2+

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"homepage": "https://wordpress.org/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/",
44
"type": "wordpress-plugin",
55
"license": "GPL-2.0-or-later",
6-
"require": {},
6+
"require": {
7+
"ext-json": "*"
8+
},
79
"require-dev": {
810
"wp-coding-standards/wpcs": "^2.3",
911
"automattic/vipwpcs": "^2.2",
@@ -16,10 +18,10 @@
1618
},
1719
"scripts": {
1820
"lint": [
19-
"phpcs"
21+
"phpcs --ignore=*js/*"
2022
],
2123
"fix": [
22-
"phpcbf"
24+
"phpcbf --ignore=*js/*"
2325
]
2426
}
2527
}

css/bandwidth.svg

Lines changed: 20 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)