sanity-plugin-hotspot-array 0.1.0-v3-studio.2 → 1.0.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Simeon Griggs
3
+ Copyright (c) 2022 Sanity.io
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,10 +1,7 @@
1
1
  # sanity-plugin-hotspot-array
2
2
 
3
- > > **NOTE**
4
- >
5
- > This is the **Sanity Studio v3 version** of sanity-plugin-hotspot-array.
6
- >
7
- > For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-plugin-hotspot-array).
3
+ >This is a **Sanity Studio v3** plugin.
4
+ > For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-plugin-hotspot-array/tree/studio-v2).
8
5
 
9
6
  ## What is it?
10
7
 
@@ -15,13 +12,13 @@ A configurable Custom Input for Arrays that will add and update items by clickin
15
12
  ## Installation
16
13
 
17
14
  ```
18
- npm install --save sanity-plugin-hotspot-array@studio-v3
15
+ npm install --save sanity-plugin-hotspot-array
19
16
  ```
20
17
 
21
18
  or
22
19
 
23
20
  ```
24
- yarn add sanity-plugin-hotspot-array@studio-v3
21
+ yarn add sanity-plugin-hotspot-array
25
22
  ```
26
23
 
27
24
 
package/package.json CHANGED
@@ -1,13 +1,21 @@
1
1
  {
2
2
  "name": "sanity-plugin-hotspot-array",
3
- "version": "0.1.0-v3-studio.2",
3
+ "version": "1.0.0",
4
4
  "description": "A configurable Custom Input for Arrays that will add and update items by clicking on an Image",
5
- "author": "Simeon Griggs <simeon@sanity.io>",
5
+ "keywords": [
6
+ "sanity",
7
+ "sanity-plugin"
8
+ ],
9
+ "homepage": "https://github.com/sanity-io/sanity-plugin-hotspot-array#readme",
10
+ "bugs": {
11
+ "url": "https://github.com/sanity-io/sanity-plugin-hotspot-array/issues"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git@github.com:sanity-io/sanity-plugin-hotspot-array.git"
16
+ },
6
17
  "license": "MIT",
7
- "main": "./lib/index.js",
8
- "source": "./src/index.ts",
9
- "module": "./lib/index.esm.js",
10
- "types": "./lib/src/index.d.ts",
18
+ "author": "Sanity.io <hello@sanity.io>",
11
19
  "exports": {
12
20
  ".": {
13
21
  "types": "./lib/src/index.d.ts",
@@ -15,49 +23,43 @@
15
23
  "import": "./lib/index.esm.js",
16
24
  "require": "./lib/index.js",
17
25
  "default": "./lib/index.esm.js"
18
- }
26
+ },
27
+ "./package.json": "./package.json"
19
28
  },
29
+ "main": "./lib/index.js",
30
+ "module": "./lib/index.esm.js",
31
+ "source": "./src/index.ts",
32
+ "types": "./lib/src/index.d.ts",
20
33
  "files": [
21
34
  "src",
22
35
  "lib",
23
36
  "v2-incompatible.js",
24
37
  "sanity.json"
25
38
  ],
26
- "engines": {
27
- "node": ">=14.0.0"
28
- },
29
39
  "scripts": {
30
- "build": "pkg-utils build",
31
- "watch": "pkg-utils watch",
32
- "prepublishOnly": "npm run build",
33
- "lint": "eslint .",
34
- "lint:fix": "eslint . --fix",
35
- "clean": "rimraf lib",
36
40
  "prebuild": "npm run clean && plugin-kit verify-package --silent && pkg-utils",
41
+ "build": "pkg-utils build --strict",
42
+ "clean": "rimraf lib",
37
43
  "link-watch": "plugin-kit link-watch",
38
- "prepare": "husky install"
39
- },
40
- "repository": {
41
- "type": "git",
42
- "url": "git@github.com:sanity-io/sanity-plugin-hotspot-array.git"
44
+ "lint": "eslint .",
45
+ "lint:fix": "eslint . --fix",
46
+ "prepare": "husky install",
47
+ "prepublishOnly": "npm run build",
48
+ "watch": "pkg-utils watch"
43
49
  },
44
- "keywords": [
45
- "sanity",
46
- "sanity-plugin"
47
- ],
48
50
  "dependencies": {
49
51
  "@react-hookz/web": "^14.2.2",
50
52
  "@sanity/asset-utils": "^1.2.3",
51
53
  "@sanity/incompatible-plugin": "^1.0.4",
52
- "@sanity/ui": "^1.0.0-beta.31",
53
- "@sanity/util": "3.0.0-rc.0",
54
+ "@sanity/ui": "1.0.0-beta.32",
55
+ "@sanity/util": "3.0.0-rc.2",
54
56
  "framer-motion": "^6.3.11"
55
57
  },
56
58
  "devDependencies": {
57
59
  "@commitlint/cli": "^17.2.0",
58
60
  "@commitlint/config-conventional": "^17.2.0",
59
- "@sanity/pkg-utils": "^1.16.2",
60
- "@sanity/plugin-kit": "^2.0.7",
61
+ "@sanity/pkg-utils": "^1.17.2",
62
+ "@sanity/plugin-kit": "^2.1.5",
61
63
  "@sanity/semantic-release-preset": "^2.0.2",
62
64
  "@typescript-eslint/eslint-plugin": "^5.42.0",
63
65
  "@typescript-eslint/parser": "^5.42.0",
@@ -71,19 +73,19 @@
71
73
  "lint-staged": "^13.0.3",
72
74
  "pinst": "^2.1.6",
73
75
  "prettier": "^2.7.1",
74
- "react": "^18.0.0",
76
+ "prettier-plugin-packagejson": "^2.3.0",
77
+ "react": "^18",
75
78
  "rimraf": "^3.0.2",
76
- "sanity": "dev-preview || 3.0.0-rc.0",
79
+ "sanity": "3.0.0-rc.2",
77
80
  "typescript": "^4.8.4"
78
81
  },
79
82
  "peerDependencies": {
80
83
  "@sanity/image-url": "1.0.1",
81
84
  "lodash": "4.17.21",
82
- "react": "^18.0.0",
83
- "sanity": "dev-preview || 3.0.0-rc.0"
85
+ "react": "^18",
86
+ "sanity": "dev-preview || 3.0.0-rc.2"
84
87
  },
85
- "bugs": {
86
- "url": "https://github.com/sanity-io/sanity-plugin-hotspot-array/issues"
87
- },
88
- "homepage": "https://github.com/sanity-io/sanity-plugin-hotspot-array#readme"
88
+ "engines": {
89
+ "node": ">=14"
90
+ }
89
91
  }
@@ -5,7 +5,7 @@ export default showIncompatiblePluginDialog({
5
5
  name: name,
6
6
  versions: {
7
7
  v3: version,
8
- v2: undefined,
8
+ v2: '^0.0.10',
9
9
  },
10
10
  sanityExchangeUrl,
11
11
  })