@strapi/plugin-color-picker 4.12.0 → 4.12.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/plugin-color-picker",
3
- "version": "4.12.0",
3
+ "version": "4.12.1",
4
4
  "description": "Strapi maintained Custom Fields",
5
5
  "strapi": {
6
6
  "name": "color-picker",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@strapi/design-system": "1.8.2",
13
- "@strapi/helper-plugin": "4.12.0",
13
+ "@strapi/helper-plugin": "4.12.1",
14
14
  "@strapi/icons": "1.8.2",
15
15
  "prop-types": "^15.8.1",
16
16
  "react-colorful": "5.6.1",
@@ -30,7 +30,18 @@
30
30
  "react-router-dom": "5.3.4",
31
31
  "styled-components": "5.3.3"
32
32
  },
33
+ "files": [
34
+ "./dist",
35
+ "./admin",
36
+ "strapi-admin.js",
37
+ "strapi-server.js"
38
+ ],
33
39
  "scripts": {
40
+ "build": "run -T tsc -p server/tsconfig.json --outDir ./dist/server",
41
+ "build:ts": "run build",
42
+ "watch": "run -T tsc -w --preserveWatchOutput",
43
+ "clean": "run -T rimraf ./dist",
44
+ "prepublishOnly": "yarn clean && yarn build",
34
45
  "test:front": "run -T cross-env IS_EE=true jest --config ./jest.config.front.js",
35
46
  "test:front:watch": "run -T cross-env IS_EE=true jest --config ./jest.config.front.js --watchAll",
36
47
  "test:front:ce": "run -T cross-env IS_EE=false jest --config ./jest.config.front.js",
@@ -56,8 +67,8 @@
56
67
  }
57
68
  ],
58
69
  "engines": {
59
- "node": ">=14.19.1 <=18.x.x",
70
+ "node": ">=16.0.0 <=20.x.x",
60
71
  "npm": ">=6.0.0"
61
72
  },
62
- "gitHead": "7f8109a1a736c1d997fbb445469b3b59550c7aeb"
73
+ "gitHead": "be8985fa20cb357981bca97bc65ee5c1b843f801"
63
74
  }
package/strapi-server.js CHANGED
@@ -1,3 +1,3 @@
1
1
  'use strict';
2
2
 
3
- module.exports = require('./server');
3
+ module.exports = require('./dist/server');
package/.eslintignore DELETED
@@ -1,2 +0,0 @@
1
- node_modules/
2
- .eslintrc.js
package/.eslintrc.js DELETED
@@ -1,14 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- overrides: [
4
- {
5
- files: ['admin/**/*'],
6
- extends: ['custom/front'],
7
- },
8
- {
9
- files: ['**/*'],
10
- excludedFiles: ['admin/**/*'],
11
- extends: ['custom/back'],
12
- },
13
- ],
14
- };
package/color-picker.png DELETED
Binary file
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
- preset: '../../../jest-preset.front.js',
5
- displayName: 'Color picker plugin',
6
- };
package/server/index.js DELETED
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- const register = require('./register');
4
-
5
- module.exports = {
6
- register,
7
- };
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = ({ strapi }) => {
4
- strapi.customFields.register({
5
- name: 'color',
6
- plugin: 'color-picker',
7
- type: 'string',
8
- });
9
- };