@sanity/google-maps-input 3.0.0-v3-studio.1 → 3.0.0-v3-studio.2

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 (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +8 -20
  3. package/package.json +12 -11
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2016 - 2022 Sanity.io
3
+ Copyright (c) 2022 - 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
@@ -15,8 +15,7 @@ This plugin will replace the default `geopoint` input component.
15
15
 
16
16
  ## Know issues in Studio V3
17
17
 
18
- * Change indicator is disabled
19
- * Diff-preview is disabled
18
+ * Diff-preview is not implemented.
20
19
 
21
20
  These will be re-added well before Studio V3 GA.
22
21
 
@@ -71,24 +70,13 @@ MIT-licensed. See LICENSE.
71
70
 
72
71
  ## Develop & test
73
72
 
74
- Make sure to run `npm run build` once, then run
75
-
76
- ```bash
77
- npm run link-watch
78
- ```
79
-
80
- In another shell, `cd` to your test studio and run:
81
-
82
- ```bash
83
- npx yalc add @sanity/google-maps-input --link && yarn install
84
- ```
85
-
86
- Now, changes in this repo will be automatically built and pushed to the studio,
87
- triggering hotreload. Yalc avoids issues with react-hooks that are typical when using yarn/npm link.
88
-
89
- ### About build & watch
90
-
91
- This plugin uses [@sanity/plugin-sdk](https://github.com/sanity-io/plugin-sdk)
73
+ This plugin uses [@sanity/plugin-kit](https://github.com/sanity-io/plugin-kit)
92
74
  with default configuration for build & watch scripts.
93
75
 
76
+ See [Testing a plugin in Sanity Studio](https://github.com/sanity-io/plugin-kit#testing-a-plugin-in-sanity-studio)
77
+ on how to run this plugin with hotreload in the studio.
78
+
79
+ ### Release new version
94
80
 
81
+ Run ["CI & Release" workflow](https://github.com/sanity-io/google-maps-input/actions/workflows/main.yml).
82
+ Make sure to select the main branch and check "Release new version".
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/google-maps-input",
3
- "version": "3.0.0-v3-studio.1",
3
+ "version": "3.0.0-v3-studio.2",
4
4
  "description": "Sanity plugin providing input handlers for geo-related input types using Google Maps",
5
5
  "source": "./src/index.tsx",
6
6
  "exports": {
@@ -44,18 +44,19 @@
44
44
  "sanity-plugin"
45
45
  ],
46
46
  "dependencies": {
47
- "@sanity/icons": "^1.2.8",
48
- "@sanity/incompatible-plugin": "^0.0.1-studio-v3.1",
49
- "@sanity/ui": "^0.37.8",
47
+ "@sanity/icons": "^1.3.4",
48
+ "@sanity/incompatible-plugin": "^1.0.1",
49
+ "@sanity/ui": "^0.38.0",
50
50
  "lodash": "^4.17.21",
51
51
  "rxjs": "^6.5.3"
52
52
  },
53
53
  "devDependencies": {
54
- "@commitlint/cli": "^16.1.0",
55
- "@commitlint/config-conventional": "^15.0.0",
54
+ "@commitlint/cli": "^17.1.2",
55
+ "@commitlint/config-conventional": "^17.1.0",
56
56
  "@parcel/packager-ts": "^2.6.0",
57
57
  "@parcel/transformer-typescript-types": "^2.6.0",
58
- "@sanity/plugin-kit": "^0.0.1-studio-v3.4",
58
+ "@sanity/plugin-kit": "^1.0.1",
59
+ "@sanity/semantic-release-preset": "^2.0.1",
59
60
  "@types/google.maps": "^3.49.2",
60
61
  "@types/styled-components": "^5.1.25",
61
62
  "@typescript-eslint/eslint-plugin": "^5.12.0",
@@ -66,16 +67,16 @@
66
67
  "eslint-plugin-prettier": "4.0.0",
67
68
  "eslint-plugin-react": "^7.28.0",
68
69
  "eslint-plugin-react-hooks": "^4.5.0",
69
- "husky": "^7.0.0",
70
- "lint-staged": "^12.4.1",
70
+ "husky": "^8.0.1",
71
+ "lint-staged": "^13.0.3",
71
72
  "parcel": "^2.6.0",
72
73
  "prettier": "^2.6.2",
73
74
  "react": "^17.0.0",
74
75
  "react-dom": "^17.0.0",
75
76
  "rimraf": "^3.0.2",
76
- "sanity": "^3.0.0-dev-preview.8",
77
+ "sanity": "3.0.0-dev-preview.15",
77
78
  "styled-components": "^5.2.0",
78
- "typescript": "^4.7.3"
79
+ "typescript": "4.7.3"
79
80
  },
80
81
  "peerDependencies": {
81
82
  "react": "^17.0.0 || ^18.0.0",