@liiift-studio/deploy-vercel-from-sanity 0.1.2 → 0.1.3
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/dist/index.js +1 -1
- package/dist/index.mjs +1 -2
- package/package.json +12 -3
- package/src/components/DeployItem.tsx +2 -2
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -38,7 +38,6 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
RocketIcon,
|
|
40
40
|
ClockIcon,
|
|
41
|
-
HistoryIcon,
|
|
42
41
|
TrashIcon,
|
|
43
42
|
EllipsisVerticalIcon,
|
|
44
43
|
LaunchIcon as LaunchIcon2
|
|
@@ -374,7 +373,7 @@ function DeployItem({ target, token, onDelete }) {
|
|
|
374
373
|
MenuItem,
|
|
375
374
|
{
|
|
376
375
|
text: "History",
|
|
377
|
-
icon:
|
|
376
|
+
icon: ClockIcon,
|
|
378
377
|
onClick: () => setShowHistory(true)
|
|
379
378
|
}
|
|
380
379
|
),
|
package/package.json
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liiift-studio/deploy-vercel-from-sanity",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Sanity Studio v5 plugin — trigger and monitor Vercel deployments with full status, history, and build logs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Liiift Studio",
|
|
7
|
-
"keywords": [
|
|
7
|
+
"keywords": [
|
|
8
|
+
"sanity",
|
|
9
|
+
"sanity-plugin",
|
|
10
|
+
"vercel",
|
|
11
|
+
"deploy",
|
|
12
|
+
"deployment"
|
|
13
|
+
],
|
|
8
14
|
"main": "./dist/index.js",
|
|
9
15
|
"module": "./dist/index.mjs",
|
|
10
16
|
"types": "./dist/index.d.ts",
|
|
@@ -16,7 +22,10 @@
|
|
|
16
22
|
"default": "./dist/index.mjs"
|
|
17
23
|
}
|
|
18
24
|
},
|
|
19
|
-
"files": [
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"src"
|
|
28
|
+
],
|
|
20
29
|
"scripts": {
|
|
21
30
|
"build": "tsup",
|
|
22
31
|
"dev": "tsup --watch",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
Card, Box, Stack, Flex, Text, Button, Tooltip, Badge, Spinner, MenuButton, Menu, MenuItem,
|
|
5
5
|
} from '@sanity/ui'
|
|
6
6
|
import {
|
|
7
|
-
RocketIcon, ClockIcon,
|
|
7
|
+
RocketIcon, ClockIcon, TrashIcon, EllipsisVerticalIcon, LaunchIcon,
|
|
8
8
|
} from '@sanity/icons'
|
|
9
9
|
import { listDeployments, cancelDeployment, triggerDeploy } from '../lib/api'
|
|
10
10
|
import { parseHookUrl, isActiveState, formatDuration, timeAgo, shortSha, safeHref } from '../lib/helpers'
|
|
@@ -149,7 +149,7 @@ export function DeployItem({ target, token, onDelete }: DeployItemProps) {
|
|
|
149
149
|
<Menu>
|
|
150
150
|
<MenuItem
|
|
151
151
|
text="History"
|
|
152
|
-
icon={
|
|
152
|
+
icon={ClockIcon}
|
|
153
153
|
onClick={() => setShowHistory(true)}
|
|
154
154
|
/>
|
|
155
155
|
{safeHref(latest?.inspectorUrl) && (
|