sanity-plugin-dashboard-widget-vercel 1.1.3 → 1.1.4
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/CHANGELOG.md +6 -0
- package/README.md +27 -2
- package/package.json +21 -18
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file. See
|
|
6
6
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## [1.1.4](https://github.com/sanity-io/sanity-plugin-dashboard-widget-vercel/compare/v1.1.3...v1.1.4) (2022-11-22)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- **ci:** publish using semantic-release ([10fb910](https://github.com/sanity-io/sanity-plugin-dashboard-widget-vercel/commit/10fb910e90a168d463bba7097724970f2067ac38))
|
|
13
|
+
|
|
8
14
|
## [1.1.3](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v1.1.2...v1.1.3) (2022-09-02)
|
|
9
15
|
|
|
10
16
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Vercel Dashboard Widget (for Sanity)
|
|
2
2
|
|
|
3
|
+
>This is a **Sanity Studio v2** plugin.
|
|
4
|
+
> For the v3 version, please refer to the [v3-branch](https://github.com/sanity-io/sanity-plugin-dashboard-widget-vercel).
|
|
5
|
+
|
|
3
6
|
View your recent [Vercel](https://vercel.com/) deployments and manually trigger builds directly from your [Sanity](https://www.sanity.io/) dashboard.
|
|
4
7
|
|
|
5
8
|

|
|
@@ -18,7 +21,14 @@ View your recent [Vercel](https://vercel.com/) deployments and manually trigger
|
|
|
18
21
|
In your Sanity project folder:
|
|
19
22
|
|
|
20
23
|
```sh
|
|
21
|
-
|
|
24
|
+
yarn add sanity-plugin-dashboard-widget-vercel@studio-v2
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Next, add `"dashboard-widget-vercel"` to `sanity.json` plugins array:
|
|
28
|
+
```json
|
|
29
|
+
"plugins": [
|
|
30
|
+
"dashboard-widget-vercel"
|
|
31
|
+
]
|
|
22
32
|
```
|
|
23
33
|
|
|
24
34
|
### Configure your dashboard
|
|
@@ -26,7 +36,15 @@ sanity install dashboard-widget-vercel
|
|
|
26
36
|
If you haven't configured a [dashboard](https://www.sanity.io/docs/dashboard) yet:
|
|
27
37
|
|
|
28
38
|
```sh
|
|
29
|
-
|
|
39
|
+
yarn add @sanity/dashboard@studio-v2
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Next, add `"@sanity/dashboard"` to `sanity.json` plugins array:
|
|
43
|
+
```json
|
|
44
|
+
"plugins": [
|
|
45
|
+
"@sanity/dashboard",
|
|
46
|
+
"dashboard-widget-vercel"
|
|
47
|
+
]
|
|
30
48
|
```
|
|
31
49
|
|
|
32
50
|
In your studio's `sanity.json` append the following to `plugins` and `parts`:
|
|
@@ -127,3 +145,10 @@ Please also keep the following in mind when manually deploying:
|
|
|
127
145
|
## Contributing
|
|
128
146
|
|
|
129
147
|
Contributions, issues and feature requests are welcome!
|
|
148
|
+
|
|
149
|
+
## Release new version
|
|
150
|
+
|
|
151
|
+
Run ["CI & Release" workflow](https://github.com/sanity-io/sanity-plugin-dashboard-widget-vercel/actions/workflows/main.yml).
|
|
152
|
+
Make sure to select the main (or v3, depending) branch and check "Release new version".
|
|
153
|
+
|
|
154
|
+
Semantic release will only release on configured branches, so it is safe to run release on any branch.
|
package/package.json
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity-plugin-dashboard-widget-vercel",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "Robin Pyon",
|
|
7
|
-
"email": "robin@robinpyon.com",
|
|
8
|
-
"url": "https://robinpyon.com"
|
|
9
|
-
},
|
|
3
|
+
"version": "1.1.4",
|
|
10
4
|
"keywords": [
|
|
11
5
|
"sanity",
|
|
12
6
|
"plugin",
|
|
@@ -14,6 +8,16 @@
|
|
|
14
8
|
"widget",
|
|
15
9
|
"vercel"
|
|
16
10
|
],
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git@github.com:sanity-io/sanity-plugin-dashboard-widget-vercel.git"
|
|
14
|
+
},
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"author": {
|
|
17
|
+
"name": "Robin Pyon",
|
|
18
|
+
"email": "robin@robinpyon.com",
|
|
19
|
+
"url": "https://robinpyon.com"
|
|
20
|
+
},
|
|
17
21
|
"files": [
|
|
18
22
|
"lib/",
|
|
19
23
|
"sanity.json",
|
|
@@ -21,20 +25,24 @@
|
|
|
21
25
|
"README.md",
|
|
22
26
|
"LICENSE"
|
|
23
27
|
],
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel.git"
|
|
27
|
-
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "npx babel src --out-dir lib --copy-files --delete-dir-on-start --extensions '.ts,.tsx'",
|
|
30
30
|
"lint": "eslint .",
|
|
31
31
|
"prepare": "husky install",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
32
|
+
"prepublishOnly": "npm run build",
|
|
33
|
+
"watch": "npm run build -- --watch"
|
|
34
|
+
},
|
|
35
|
+
"husky": {
|
|
36
|
+
"hooks": {
|
|
37
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
38
|
+
}
|
|
34
39
|
},
|
|
35
40
|
"dependencies": {
|
|
41
|
+
"@commitlint/cli": "^17.2.0",
|
|
42
|
+
"@commitlint/config-conventional": "^17.2.0",
|
|
36
43
|
"@hookform/resolvers": "2.0.0-beta.3",
|
|
37
44
|
"@sanity/icons": "^1.3.4",
|
|
45
|
+
"@sanity/semantic-release-preset": "^2.0.2",
|
|
38
46
|
"@sanity/ui": "^0.37.0",
|
|
39
47
|
"@sanity/uuid": "^3.0.1",
|
|
40
48
|
"@xstate/react": "1.3.1",
|
|
@@ -83,10 +91,5 @@
|
|
|
83
91
|
"@sanity/base": "^2.20.1",
|
|
84
92
|
"react": "^17.0.0",
|
|
85
93
|
"react-dom": "^17.0.0"
|
|
86
|
-
},
|
|
87
|
-
"husky": {
|
|
88
|
-
"hooks": {
|
|
89
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
90
|
-
}
|
|
91
94
|
}
|
|
92
95
|
}
|