@sanity/google-maps-input 3.0.0-v3-studio.7 → 3.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.
Files changed (2) hide show
  1. package/README.md +3 -6
  2. package/package.json +45 -46
package/README.md CHANGED
@@ -1,9 +1,6 @@
1
1
  # @sanity/google-maps-input
2
2
 
3
- > **NOTE**
4
- >
5
- > This is the **Sanity Studio v3 version** of @sanity/google-maps-input.
6
- >
3
+ >T his is a **Sanity Studio v3** plugin.
7
4
  > For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity/tree/next/packages/%40sanity/google-maps-input).
8
5
 
9
6
  ## What is it?
@@ -24,13 +21,13 @@ These will be re-added well before Studio V3 GA.
24
21
  In your studio folder, run:
25
22
 
26
23
  ```
27
- npm install --save @sanity/google-maps-input@studio-v3
24
+ npm install --save @sanity/google-maps-input
28
25
  ```
29
26
 
30
27
  or
31
28
 
32
29
  ```
33
- yarn add @sanity/google-maps-input@studio-v3
30
+ yarn add @sanity/google-maps-input
34
31
  ```
35
32
 
36
33
  ## Usage
package/package.json CHANGED
@@ -1,10 +1,26 @@
1
1
  {
2
2
  "name": "@sanity/google-maps-input",
3
- "version": "3.0.0-v3-studio.7",
3
+ "version": "3.0.0",
4
4
  "description": "Sanity plugin providing input handlers for geo-related input types using Google Maps",
5
- "author": "Sanity.io <hello@sanity.io>",
5
+ "keywords": [
6
+ "sanity",
7
+ "cms",
8
+ "headless",
9
+ "realtime",
10
+ "content",
11
+ "google-maps-input",
12
+ "sanity-plugin"
13
+ ],
14
+ "homepage": "https://github.com/sanity-io/google-maps-input#readme",
15
+ "bugs": {
16
+ "url": "https://github.com/sanity-io/google-maps-input/issues"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git@github.com:sanity-io/google-maps-input.git"
21
+ },
6
22
  "license": "MIT",
7
- "source": "./src/index.ts",
23
+ "author": "Sanity.io <hello@sanity.io>",
8
24
  "exports": {
9
25
  ".": {
10
26
  "types": "./lib/src/index.d.ts",
@@ -12,10 +28,12 @@
12
28
  "import": "./lib/index.esm.js",
13
29
  "require": "./lib/index.js",
14
30
  "default": "./lib/index.esm.js"
15
- }
31
+ },
32
+ "./package.json": "./package.json"
16
33
  },
17
34
  "main": "./lib/index.js",
18
35
  "module": "./lib/index.esm.js",
36
+ "source": "./src/index.ts",
19
37
  "types": "./lib/src/index.d.ts",
20
38
  "files": [
21
39
  "src",
@@ -24,42 +42,28 @@
24
42
  "sanity.json"
25
43
  ],
26
44
  "scripts": {
27
- "clean": "rimraf lib",
28
- "prepare": "husky install",
29
45
  "prebuild": "npm run clean && plugin-kit verify-package --silent && pkg-utils",
30
- "build": "pkg-utils build",
31
- "watch": "pkg-utils watch",
46
+ "build": "pkg-utils build --strict",
47
+ "clean": "rimraf lib",
48
+ "compile": "tsc --noEmit",
32
49
  "link-watch": "plugin-kit link-watch",
50
+ "lint": "eslint .",
51
+ "prepare": "husky install",
33
52
  "prepublishOnly": "npm run build",
34
- "compile": "tsc --noEmit",
35
- "lint": "eslint ."
53
+ "watch": "pkg-utils watch"
36
54
  },
37
- "sanityPlugin": {
38
- "upgradeHelp": {
39
- "sanityJson": false
40
- }
41
- },
42
- "keywords": [
43
- "sanity",
44
- "cms",
45
- "headless",
46
- "realtime",
47
- "content",
48
- "google-maps-input",
49
- "sanity-plugin"
50
- ],
51
55
  "dependencies": {
56
+ "@sanity/icons": "^2.0.0",
52
57
  "@sanity/incompatible-plugin": "^1.0.4",
58
+ "@sanity/ui": "^1.0.0",
53
59
  "lodash": "^4.17.21",
54
60
  "rxjs": "^6.6.7"
55
61
  },
56
62
  "devDependencies": {
57
63
  "@commitlint/cli": "^17.2.0",
58
64
  "@commitlint/config-conventional": "^17.2.0",
59
- "@parcel/packager-ts": "^2.6.0",
60
- "@parcel/transformer-typescript-types": "^2.6.0",
61
- "@sanity/pkg-utils": "^1.16.2",
62
- "@sanity/plugin-kit": "^2.0.6",
65
+ "@sanity/pkg-utils": "^1.17.2",
66
+ "@sanity/plugin-kit": "^2.1.5",
63
67
  "@sanity/semantic-release-preset": "^2.0.2",
64
68
  "@types/google.maps": "^3.49.2",
65
69
  "@types/styled-components": "^5.1.25",
@@ -73,37 +77,32 @@
73
77
  "eslint-plugin-react-hooks": "^4.6.0",
74
78
  "husky": "^8.0.1",
75
79
  "lint-staged": "^13.0.3",
76
- "parcel": "^2.6.0",
77
80
  "prettier": "^2.7.1",
78
- "react": "^18.0.0",
79
- "react-dom": "^18.0.0",
81
+ "prettier-plugin-packagejson": "^2.3.0",
82
+ "react": "^18",
83
+ "react-dom": "^18",
80
84
  "rimraf": "^3.0.2",
81
- "sanity": "3.0.0-rc.0",
85
+ "sanity": "^3.0.0",
82
86
  "styled-components": "^5.2.0",
83
87
  "typescript": "^4.8.4"
84
88
  },
85
89
  "peerDependencies": {
86
- "@sanity/icons": "^1.3",
87
- "@sanity/ui": "^1.0.0-beta.31",
88
- "react": "^18.0.0",
89
- "react-dom": "^18.0.0",
90
- "sanity": "dev-preview || 3.0.0-rc.0",
90
+ "react": "^18",
91
+ "react-dom": "^18",
92
+ "sanity": "^3.0.0",
91
93
  "styled-components": "^5.2"
92
94
  },
93
- "repository": {
94
- "type": "git",
95
- "url": "git@github.com:sanity-io/google-maps-input.git"
96
- },
97
- "bugs": {
98
- "url": "https://github.com/sanity-io/google-maps-input/issues"
95
+ "engines": {
96
+ "node": ">=14"
99
97
  },
100
- "homepage": "https://github.com/sanity-io/google-maps-input#readme",
101
98
  "alias": {
102
99
  "google": {
103
100
  "global": "google"
104
101
  }
105
102
  },
106
- "engines": {
107
- "node": ">=14.0.0"
103
+ "sanityPlugin": {
104
+ "upgradeHelp": {
105
+ "sanityJson": false
106
+ }
108
107
  }
109
108
  }