@strapi/plugin-color-picker 4.9.0-beta.2 → 4.9.0
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/.eslintignore +2 -0
- package/.eslintrc.js +14 -0
- package/jest.config.front.js +1 -6
- package/package.json +11 -4
- package/jest.config.js +0 -10
package/.eslintignore
ADDED
package/.eslintrc.js
ADDED
package/jest.config.front.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const baseConfig = require('../../../jest.base-config.front');
|
|
4
|
-
const pkg = require('./package.json');
|
|
5
|
-
|
|
6
3
|
module.exports = {
|
|
7
|
-
|
|
8
|
-
displayName: (pkg.strapi && pkg.strapi.name) || pkg.name,
|
|
9
|
-
roots: [__dirname],
|
|
4
|
+
preset: '../../../jest-preset.front.js',
|
|
10
5
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-color-picker",
|
|
3
|
-
"version": "4.9.0
|
|
3
|
+
"version": "4.9.0",
|
|
4
4
|
"description": "Strapi maintained Custom Fields",
|
|
5
5
|
"strapi": {
|
|
6
6
|
"name": "color-picker",
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@strapi/design-system": "1.6.6",
|
|
13
|
-
"@strapi/helper-plugin": "4.9.0
|
|
13
|
+
"@strapi/helper-plugin": "4.9.0",
|
|
14
14
|
"@strapi/icons": "1.6.6",
|
|
15
15
|
"prop-types": "^15.7.2",
|
|
16
16
|
"react-colorful": "5.6.1",
|
|
17
|
-
"react-intl": "6.2
|
|
17
|
+
"react-intl": "6.3.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@testing-library/react": "12.1.4",
|
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"react-router-dom": "5.3.4",
|
|
31
31
|
"styled-components": "5.3.3"
|
|
32
32
|
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"test:front": "cross-env IS_EE=true jest --config ./jest.config.front.js",
|
|
35
|
+
"test:front:watch": "cross-env IS_EE=true jest --config ./jest.config.front.js --watchAll",
|
|
36
|
+
"test:front:ce": "cross-env IS_EE=false jest --config ./jest.config.front.js",
|
|
37
|
+
"test:front:watch:ce": "cross-env IS_EE=false jest --config ./jest.config.front.js --watchAll",
|
|
38
|
+
"lint": "eslint ."
|
|
39
|
+
},
|
|
33
40
|
"repository": {
|
|
34
41
|
"type": "git",
|
|
35
42
|
"url": "https://github.com/strapi/strapi.git",
|
|
@@ -52,5 +59,5 @@
|
|
|
52
59
|
"node": ">=14.19.1 <=18.x.x",
|
|
53
60
|
"npm": ">=6.0.0"
|
|
54
61
|
},
|
|
55
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "ffe3f4621ccc968ce56fda9a8317ec30d4bad205"
|
|
56
63
|
}
|
package/jest.config.js
DELETED