@liiift-studio/deploy-vercel-from-sanity 0.1.1 → 0.1.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.
package/dist/index.js CHANGED
@@ -500,7 +500,7 @@ function TokenSetup({ onSaved }) {
500
500
  }, [client, token, onSaved]);
501
501
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_ui4.Card, { height: "fill", tone: "transparent", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_ui4.Flex, { align: "center", justify: "center", height: "fill", padding: 6, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_ui4.Card, { padding: 5, radius: 3, shadow: 1, style: { maxWidth: 480, width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_ui4.Stack, { space: 5, children: [
502
502
  /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_ui4.Flex, { align: "center", gap: 3, children: [
503
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_ui4.Text, { size: 3, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_icons3.KeyIcon, {}) }),
503
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_ui4.Text, { size: 3, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_icons3.TokenIcon, {}) }),
504
504
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_ui4.Heading, { size: 2, children: "Connect to Vercel" })
505
505
  ] }),
506
506
  /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_ui4.Stack, { space: 3, children: [
@@ -631,7 +631,7 @@ function DeployTool() {
631
631
  {
632
632
  text: "API Token",
633
633
  mode: "ghost",
634
- icon: import_icons4.KeyIcon,
634
+ icon: import_icons4.TokenIcon,
635
635
  fontSize: 1,
636
636
  onClick: () => setShowTokenSetup(true)
637
637
  }
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  Dialog as Dialog2,
18
18
  useToast
19
19
  } from "@sanity/ui";
20
- import { RocketIcon as RocketIcon2, KeyIcon as KeyIcon2, TrashIcon as TrashIcon2, WarningOutlineIcon } from "@sanity/icons";
20
+ import { RocketIcon as RocketIcon2, TokenIcon as TokenIcon2, TrashIcon as TrashIcon2, WarningOutlineIcon } from "@sanity/icons";
21
21
 
22
22
  // src/components/DeployItem.tsx
23
23
  import { useState as useState2, useEffect as useEffect2, useCallback as useCallback2, useRef } from "react";
@@ -497,7 +497,7 @@ import {
497
497
  Button as Button3,
498
498
  Flex as Flex4
499
499
  } from "@sanity/ui";
500
- import { KeyIcon, CheckmarkCircleIcon } from "@sanity/icons";
500
+ import { TokenIcon, CheckmarkCircleIcon } from "@sanity/icons";
501
501
  import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
502
502
  var TOKEN_DOC_ID = "secrets.vercelDeploy";
503
503
  function TokenSetup({ onSaved }) {
@@ -524,7 +524,7 @@ function TokenSetup({ onSaved }) {
524
524
  }, [client, token, onSaved]);
525
525
  return /* @__PURE__ */ jsx4(Card3, { height: "fill", tone: "transparent", children: /* @__PURE__ */ jsx4(Flex4, { align: "center", justify: "center", height: "fill", padding: 6, children: /* @__PURE__ */ jsx4(Card3, { padding: 5, radius: 3, shadow: 1, style: { maxWidth: 480, width: "100%" }, children: /* @__PURE__ */ jsxs4(Stack3, { space: 5, children: [
526
526
  /* @__PURE__ */ jsxs4(Flex4, { align: "center", gap: 3, children: [
527
- /* @__PURE__ */ jsx4(Text3, { size: 3, children: /* @__PURE__ */ jsx4(KeyIcon, {}) }),
527
+ /* @__PURE__ */ jsx4(Text3, { size: 3, children: /* @__PURE__ */ jsx4(TokenIcon, {}) }),
528
528
  /* @__PURE__ */ jsx4(Heading, { size: 2, children: "Connect to Vercel" })
529
529
  ] }),
530
530
  /* @__PURE__ */ jsxs4(Stack3, { space: 3, children: [
@@ -655,7 +655,7 @@ function DeployTool() {
655
655
  {
656
656
  text: "API Token",
657
657
  mode: "ghost",
658
- icon: KeyIcon2,
658
+ icon: TokenIcon2,
659
659
  fontSize: 1,
660
660
  onClick: () => setShowTokenSetup(true)
661
661
  }
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@liiift-studio/deploy-vercel-from-sanity",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
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
7
  "keywords": ["sanity", "sanity-plugin", "vercel", "deploy", "deployment"],
8
- "main": "./dist/index.cjs",
9
- "module": "./dist/index.js",
8
+ "main": "./dist/index.js",
9
+ "module": "./dist/index.mjs",
10
10
  "types": "./dist/index.d.ts",
11
11
  "exports": {
12
12
  ".": {
13
13
  "source": "./src/index.ts",
14
- "import": "./dist/index.js",
15
- "require": "./dist/index.cjs",
16
- "default": "./dist/index.js"
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.js",
16
+ "default": "./dist/index.mjs"
17
17
  }
18
18
  },
19
19
  "files": ["dist", "src"],
@@ -4,7 +4,7 @@ import { useClient } from 'sanity'
4
4
  import {
5
5
  Card, Box, Stack, Flex, Text, Heading, Spinner, Button, Dialog, useToast,
6
6
  } from '@sanity/ui'
7
- import { RocketIcon, KeyIcon, TrashIcon, WarningOutlineIcon } from '@sanity/icons'
7
+ import { RocketIcon, TokenIcon, TrashIcon, WarningOutlineIcon } from '@sanity/icons'
8
8
  import { DeployItem } from './DeployItem'
9
9
  import { TokenSetup } from './TokenSetup'
10
10
  import type { DeployTarget } from '../types'
@@ -109,7 +109,7 @@ export function DeployTool() {
109
109
  <Button
110
110
  text="API Token"
111
111
  mode="ghost"
112
- icon={KeyIcon}
112
+ icon={TokenIcon}
113
113
  fontSize={1}
114
114
  onClick={() => setShowTokenSetup(true)}
115
115
  />
@@ -4,7 +4,7 @@ import { useClient } from 'sanity'
4
4
  import {
5
5
  Card, Box, Stack, Text, Heading, TextInput, Button, Flex,
6
6
  } from '@sanity/ui'
7
- import { KeyIcon, CheckmarkCircleIcon } from '@sanity/icons'
7
+ import { TokenIcon, CheckmarkCircleIcon } from '@sanity/icons'
8
8
 
9
9
  interface TokenSetupProps {
10
10
  /** Called after the token is successfully saved */
@@ -43,7 +43,7 @@ export function TokenSetup({ onSaved }: TokenSetupProps) {
43
43
  <Card padding={5} radius={3} shadow={1} style={{ maxWidth: 480, width: '100%' }}>
44
44
  <Stack space={5}>
45
45
  <Flex align="center" gap={3}>
46
- <Text size={3}><KeyIcon /></Text>
46
+ <Text size={3}><TokenIcon /></Text>
47
47
  <Heading size={2}>Connect to Vercel</Heading>
48
48
  </Flex>
49
49