@grapadigital/shared-app-modules 0.0.202 → 0.0.203

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/action.d.ts CHANGED
@@ -5,7 +5,7 @@ export declare interface ActionInterface {
5
5
  title?: string;
6
6
  clientId?: string;
7
7
  cluster?: string;
8
- status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
8
+ status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
9
9
  businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
10
10
  startDate?: string;
11
11
  endDate?: string;
@@ -1,4 +1,4 @@
1
- import { i as n } from "./youtube-icon.component.BiPOuPjz.js";
1
+ import { i as n } from "./youtube-icon.component.DgmjX6Bz.js";
2
2
  function a(e) {
3
3
  const r = e.replace(/[^0-9]/g, "");
4
4
  return Number(r) / 100;
@@ -1,4 +1,4 @@
1
- import { c as e } from "./use-shared-app-modules.hook.B3x4jLx3.js";
1
+ import { c as e } from "./use-shared-app-modules.hook.uZhjsTQ0.js";
2
2
  const o = async ({
3
3
  organizationId: a,
4
4
  environment: i,
@@ -1,9 +1,9 @@
1
- import a from "axios";
1
+ import s from "axios";
2
2
  import { g as r } from "./index.GkteP4bn.js";
3
- import { useState as u, useEffect as c, useContext as m } from "react";
3
+ import { useState as i, useEffect as u, useContext as c } from "react";
4
4
  import { a as p } from "./shared-app-modules.provider.DRJ7n4Cj.js";
5
5
  const A = (e) => {
6
- const t = a.create({
6
+ const t = s.create({
7
7
  baseURL: e,
8
8
  headers: { "Content-Type": "application/json" }
9
9
  });
@@ -11,8 +11,8 @@ const A = (e) => {
11
11
  const n = localStorage.getItem("token");
12
12
  return n && (o.headers.Authorization = `Bearer ${n}`), o;
13
13
  }), t;
14
- }, d = (e) => () => {
15
- const t = a.create({
14
+ }, m = (e) => () => {
15
+ const t = s.create({
16
16
  headers: { "Content-Type": "application/json" },
17
17
  ...e()
18
18
  });
@@ -20,26 +20,25 @@ const A = (e) => {
20
20
  const n = localStorage.getItem("token");
21
21
  return n && (o.headers.Authorization = `Bearer ${n}`), o;
22
22
  }), t;
23
- }, s = () => {
24
- const t = r.environments, o = r.axios?.timeout ?? 5e3;
25
- return { env: t, timeout: o };
26
- }, C = d(() => ({
27
- baseURL: s().env?.VITE_BACKEND_API_ORGANIZATION_URL,
28
- timeout: s().timeout
29
- }));
23
+ }, d = (e) => {
24
+ const o = r.environments ?? {}, n = r.axios?.timeout ?? 5e3;
25
+ return { baseURL: o[e], timeout: n };
26
+ }, C = m(
27
+ () => d("VITE_BACKEND_API_ORGANIZATION_URL")
28
+ );
30
29
  function S(e, t = 500) {
31
- const [o, n] = u(e);
32
- return c(() => {
33
- const i = setTimeout(() => {
30
+ const [o, n] = i(e);
31
+ return u(() => {
32
+ const a = setTimeout(() => {
34
33
  n(e);
35
34
  }, t);
36
35
  return () => {
37
- clearTimeout(i);
36
+ clearTimeout(a);
38
37
  };
39
38
  }, [e, t]), o;
40
39
  }
41
40
  function v() {
42
- const e = m(p);
41
+ const e = c(p);
43
42
  if (!e)
44
43
  throw new Error(
45
44
  "useSharedAppModules deve ser usando detro de um componente SharedAppModulesProvider"
@@ -5,7 +5,7 @@ import M, { createContext as vt, Component as oa, createElement as ln, Suspense
5
5
  import { S as _t, F as ae, b as he, c as fe, m as Aa, B as yt, u as ua, P as Se, o as xe, p as Pe, d as la, a as cn, T as ca, k as da, l as fa, v as St, w as Ye, x as Ve, y as pa, C as ga, h as Kn } from "./badge.tZcF7uIJ.js";
6
6
  import { QueryErrorResetBoundary as ma, useSuspenseQuery as ha, useQueryClient as Jt, useMutation as Xt, useQuery as et } from "@tanstack/react-query";
7
7
  import "date-fns";
8
- import { b as bt, c as tt, u as nt, a as rt } from "./use-shared-app-modules.hook.B3x4jLx3.js";
8
+ import { b as bt, c as tt, u as nt, a as rt } from "./use-shared-app-modules.hook.uZhjsTQ0.js";
9
9
  import "./shared-app-modules.provider.DRJ7n4Cj.js";
10
10
  import { isAxiosError as Zt } from "axios";
11
11
  import va from "react-dom";
@@ -127,14 +127,10 @@ const DA = "Não há dados para atualizar.", FA = "O filtro selecionado já est
127
127
  exclusive: "Exclusivos"
128
128
  }, La = {
129
129
  config: "Configuração",
130
- script: "Roteiro",
131
- production: "Produção",
132
- posting: "Postagem",
133
- analytics: "Analytics",
130
+ inProgress: "Em Andamento",
134
131
  finished: "Concluído",
135
- onHold: "Aguardando",
136
- cancelled: "Cancelado",
137
- archived: "Arquivada"
132
+ archived: "Arquivada",
133
+ cancelled: "Cancelado"
138
134
  }, za = {
139
135
  service: "Atendimento",
140
136
  comercial: "Comercial",
@@ -272,14 +268,10 @@ const qA = ve({
272
268
  exclusive: "Exclusivos"
273
269
  }), LA = ve({
274
270
  config: "Configuração",
275
- script: "Roteiro",
276
- production: "Produção",
277
- posting: "Postagem",
278
- analytics: "Analytics",
271
+ inProgress: "Em Andamento",
279
272
  finished: "Concluído",
280
- onHold: "Aguardando",
281
- cancelled: "Cancelado",
282
- archived: "Arquivada"
273
+ archived: "Arquivada",
274
+ cancelled: "Cancelado"
283
275
  }), zA = ve({
284
276
  agency: "Agência",
285
277
  brand: "Marca"
@@ -18,7 +18,7 @@ declare interface ActionInterface {
18
18
  title?: string;
19
19
  clientId?: string;
20
20
  cluster?: string;
21
- status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
21
+ status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
22
22
  businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
23
23
  startDate?: string;
24
24
  endDate?: string;
@@ -1,15 +1,15 @@
1
1
  import { aZ as v, c as u, B as N, a_ as z, aq as M, ar as T, as as R, w as O, F as $, W as j, X as q, $ as C, _ as B, Y as P, a0 as U } from "./chuncks/switch.D_38xWg-.js";
2
- import { M as K, r as W } from "./chuncks/youtube-icon.component.BiPOuPjz.js";
3
- import { s as We, J as Xe, K as Ge, z as Qe, W as Ve, a2 as Ye, X as Ze, Y as Je, G as et, Z as tt, a3 as nt, _ as at, $ as rt, a0 as st, a1 as it, H as ot, L as lt, a4 as dt, a5 as ct, aa as gt, t as ut, u as pt, w as xt, x as mt, y as bt, a6 as ht, O as ft, U as yt, Q as wt, a7 as vt, a8 as kt, a9 as Nt, ac as Ct, ab as St } from "./chuncks/youtube-icon.component.BiPOuPjz.js";
2
+ import { M as K, r as W } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
3
+ import { s as We, J as Xe, K as Ge, z as Qe, W as Ve, a2 as Ye, X as Ze, Y as Je, G as et, Z as tt, a3 as nt, _ as at, $ as rt, a0 as st, a1 as it, H as ot, L as lt, a4 as dt, a5 as ct, aa as gt, t as ut, u as pt, w as xt, x as mt, y as bt, a6 as ht, O as ft, U as yt, Q as wt, a7 as vt, a8 as kt, a9 as Nt, ac as Ct, ab as St } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
4
4
  import { jsxs as d, jsx as e, Fragment as A } from "react/jsx-runtime";
5
5
  import S, { useState as F, useRef as D, useEffect as H, useMemo as X } from "react";
6
6
  import { B as L, m as G, T as Q, k as V, l as Y, S as k } from "./chuncks/badge.tZcF7uIJ.js";
7
7
  import { parseISO as I, differenceInCalendarDays as Z, format as J } from "date-fns";
8
- import { u as ee, a as te } from "./chuncks/use-shared-app-modules.hook.B3x4jLx3.js";
8
+ import { u as ee, a as te } from "./chuncks/use-shared-app-modules.hook.uZhjsTQ0.js";
9
9
  import "./chuncks/shared-app-modules.provider.DRJ7n4Cj.js";
10
10
  import { useQuery as ne } from "@tanstack/react-query";
11
11
  import "axios";
12
- import { l as ae } from "./chuncks/organization-users.service.BCM_WcCz.js";
12
+ import { l as ae } from "./chuncks/organization-users.service.CUZsF7go.js";
13
13
  const re = [
14
14
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
15
15
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
@@ -3,14 +3,10 @@ import { LucideProps } from 'lucide-react';
3
3
 
4
4
  export declare const ACTION_STATUS_VALUES: {
5
5
  readonly config: "Configuração";
6
- readonly script: "Roteiro";
7
- readonly production: "Produção";
8
- readonly posting: "Postagem";
9
- readonly analytics: "Analytics";
6
+ readonly inProgress: "Em Andamento";
10
7
  readonly finished: "Concluído";
11
- readonly onHold: "Aguardando";
12
- readonly cancelled: "Cancelado";
13
8
  readonly archived: "Arquivada";
9
+ readonly cancelled: "Cancelado";
14
10
  };
15
11
 
16
12
  export declare const ACTION_TYPE_VALUES: {
package/dist/constants.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as n, A as m, B as S, C as A, D as c, E as N, F as E, I as g, N as l, a as _, d as p, P as B, R as r, c as s, e as i, S as t, T, V as I } from "./chuncks/youtube-icon.component.BiPOuPjz.js";
1
+ import { b as n, A as m, B as S, C as A, D as c, E as N, F as E, I as g, N as l, a as _, d as p, P as B, R as r, c as s, e as i, S as t, T, V as I } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
2
2
  const o = [
3
3
  {
4
4
  compe: "001",
package/dist/content.d.ts CHANGED
@@ -5,7 +5,7 @@ declare interface ActionInterface {
5
5
  title?: string;
6
6
  clientId?: string;
7
7
  cluster?: string;
8
- status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
8
+ status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
9
9
  businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
10
10
  startDate?: string;
11
11
  endDate?: string;
@@ -1,36 +1,28 @@
1
1
  export declare const actionStatusDict: {
2
2
  data: {
3
3
  readonly config: "Configuração";
4
- readonly script: "Roteiro";
5
- readonly production: "Produção";
6
- readonly posting: "Postagem";
7
- readonly analytics: "Analytics";
4
+ readonly inProgress: "Em Andamento";
8
5
  readonly finished: "Concluído";
9
- readonly onHold: "Aguardando";
10
- readonly cancelled: "Cancelado";
11
6
  readonly archived: "Arquivada";
7
+ readonly cancelled: "Cancelado";
12
8
  };
13
- values: ("script" | "config" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "archived")[];
14
- labels: ("Configuração" | "Roteiro" | "Produção" | "Postagem" | "Analytics" | "Concluído" | "Aguardando" | "Cancelado" | "Arquivada")[];
9
+ values: ("config" | "inProgress" | "finished" | "archived" | "cancelled")[];
10
+ labels: ("Configuração" | "Em Andamento" | "Concluído" | "Arquivada" | "Cancelado")[];
15
11
  getLabel: {
16
- <K extends "script" | "config" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "archived">(value: K): {
12
+ <K extends "config" | "inProgress" | "finished" | "archived" | "cancelled">(value: K): {
17
13
  readonly config: "Configuração";
18
- readonly script: "Roteiro";
19
- readonly production: "Produção";
20
- readonly posting: "Postagem";
21
- readonly analytics: "Analytics";
14
+ readonly inProgress: "Em Andamento";
22
15
  readonly finished: "Concluído";
23
- readonly onHold: "Aguardando";
24
- readonly cancelled: "Cancelado";
25
16
  readonly archived: "Arquivada";
17
+ readonly cancelled: "Cancelado";
26
18
  }[K];
27
- (value?: string | number | symbol | null): "Configuração" | "Roteiro" | "Produção" | "Postagem" | "Analytics" | "Concluído" | "Aguardando" | "Cancelado" | "Arquivada" | null;
19
+ (value?: string | number | symbol | null): "Configuração" | "Em Andamento" | "Concluído" | "Arquivada" | "Cancelado" | null;
28
20
  };
29
21
  options: {
30
- value: "script" | "config" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "archived";
31
- label: "Configuração" | "Roteiro" | "Produção" | "Postagem" | "Analytics" | "Concluído" | "Aguardando" | "Cancelado" | "Arquivada";
22
+ value: "config" | "inProgress" | "finished" | "archived" | "cancelled";
23
+ label: "Configuração" | "Em Andamento" | "Concluído" | "Arquivada" | "Cancelado";
32
24
  }[];
33
- is(value?: string | number | symbol | null): value is "script" | "config" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "archived";
25
+ is(value?: string | number | symbol | null): value is "config" | "inProgress" | "finished" | "archived" | "cancelled";
34
26
  };
35
27
 
36
28
  export declare const actionTypeDict: {
@@ -113,7 +105,7 @@ export declare const paymentPhaseDict: {
113
105
  readonly canceled: "Cancelado";
114
106
  };
115
107
  values: ("client" | "pending" | "review" | "awaiting" | "requested" | "received" | "queued" | "paid" | "canceled")[];
116
- labels: ("Aguardando" | "Cancelado" | "Revisão Atendimento" | "Revisão Financeiro" | "NF Solicitada" | "NF Recebida" | "Na Fila para Pagamento" | "Pago" | "Pagamento via Cliente")[];
108
+ labels: ("Cancelado" | "Revisão Atendimento" | "Revisão Financeiro" | "Aguardando" | "NF Solicitada" | "NF Recebida" | "Na Fila para Pagamento" | "Pago" | "Pagamento via Cliente")[];
117
109
  getLabel: {
118
110
  <K extends "client" | "pending" | "review" | "awaiting" | "requested" | "received" | "queued" | "paid" | "canceled">(value: K): {
119
111
  readonly pending: "Revisão Atendimento";
@@ -126,11 +118,11 @@ export declare const paymentPhaseDict: {
126
118
  readonly client: "Pagamento via Cliente";
127
119
  readonly canceled: "Cancelado";
128
120
  }[K];
129
- (value?: string | number | symbol | null): "Aguardando" | "Cancelado" | "Revisão Atendimento" | "Revisão Financeiro" | "NF Solicitada" | "NF Recebida" | "Na Fila para Pagamento" | "Pago" | "Pagamento via Cliente" | null;
121
+ (value?: string | number | symbol | null): "Cancelado" | "Revisão Atendimento" | "Revisão Financeiro" | "Aguardando" | "NF Solicitada" | "NF Recebida" | "Na Fila para Pagamento" | "Pago" | "Pagamento via Cliente" | null;
130
122
  };
131
123
  options: {
132
124
  value: "client" | "pending" | "review" | "awaiting" | "requested" | "received" | "queued" | "paid" | "canceled";
133
- label: "Aguardando" | "Cancelado" | "Revisão Atendimento" | "Revisão Financeiro" | "NF Solicitada" | "NF Recebida" | "Na Fila para Pagamento" | "Pago" | "Pagamento via Cliente";
125
+ label: "Cancelado" | "Revisão Atendimento" | "Revisão Financeiro" | "Aguardando" | "NF Solicitada" | "NF Recebida" | "Na Fila para Pagamento" | "Pago" | "Pagamento via Cliente";
134
126
  }[];
135
127
  is(value?: string | number | symbol | null): value is "client" | "pending" | "review" | "awaiting" | "requested" | "received" | "queued" | "paid" | "canceled";
136
128
  };
@@ -1,5 +1,5 @@
1
1
  import "./chuncks/switch.D_38xWg-.js";
2
- import { ag as m, af as D, ad as l, ah as n, aj as y, ai as k, am as T, al as f, ae as g, ak as h } from "./chuncks/youtube-icon.component.BiPOuPjz.js";
2
+ import { ag as m, af as D, ad as l, ah as n, aj as y, ai as k, am as T, al as f, ae as g, ak as h } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
5
  import "@tanstack/react-query";
package/dist/events.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as o } from "./chuncks/format.util.GNsuhUxt.js";
1
+ import { b as o } from "./chuncks/format.util.CxhILG2b.js";
2
2
  const i = (t, a) => {
3
3
  const e = t.target.value, n = o(e);
4
4
  n !== !1 && a(n);
package/dist/hooks.js CHANGED
@@ -1,7 +1,7 @@
1
- import { u as s } from "./chuncks/use-shared-app-modules.hook.B3x4jLx3.js";
2
- import { a as l } from "./chuncks/use-shared-app-modules.hook.B3x4jLx3.js";
1
+ import { u as s } from "./chuncks/use-shared-app-modules.hook.uZhjsTQ0.js";
2
+ import { a as l } from "./chuncks/use-shared-app-modules.hook.uZhjsTQ0.js";
3
3
  import { useQuery as o } from "@tanstack/react-query";
4
- import { l as n } from "./chuncks/organization-users.service.BCM_WcCz.js";
4
+ import { l as n } from "./chuncks/organization-users.service.CUZsF7go.js";
5
5
  function a(e) {
6
6
  const { environments: r } = s();
7
7
  return o({
package/dist/invoice.d.ts CHANGED
@@ -5,7 +5,7 @@ declare interface ActionInterface {
5
5
  title?: string;
6
6
  clientId?: string;
7
7
  cluster?: string;
8
- status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
8
+ status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
9
9
  businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
10
10
  startDate?: string;
11
11
  endDate?: string;
package/dist/payment.d.ts CHANGED
@@ -5,7 +5,7 @@ declare interface ActionInterface {
5
5
  title?: string;
6
6
  clientId?: string;
7
7
  cluster?: string;
8
- status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
8
+ status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
9
9
  businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
10
10
  startDate?: string;
11
11
  endDate?: string;
@@ -5,7 +5,7 @@ declare interface ActionInterface {
5
5
  title?: string;
6
6
  clientId?: string;
7
7
  cluster?: string;
8
- status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
8
+ status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
9
9
  businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
10
10
  startDate?: string;
11
11
  endDate?: string;
package/dist/sale.d.ts CHANGED
@@ -5,7 +5,7 @@ declare interface ActionInterface {
5
5
  title?: string;
6
6
  clientId?: string;
7
7
  cluster?: string;
8
- status?: "config" | "script" | "production" | "posting" | "analytics" | "finished" | "onHold" | "cancelled" | "inProgress" | "archived";
8
+ status?: "config" | "inProgress" | "finished" | "archived" | "cancelled";
9
9
  businessUnit?: "service" | "comercial" | "squad_a" | "squad_b";
10
10
  startDate?: string;
11
11
  endDate?: string;
package/dist/utils.d.ts CHANGED
@@ -1,13 +1,9 @@
1
1
  declare const ACTION_STATUS_VALUES: {
2
2
  readonly config: "Configuração";
3
- readonly script: "Roteiro";
4
- readonly production: "Produção";
5
- readonly posting: "Postagem";
6
- readonly analytics: "Analytics";
3
+ readonly inProgress: "Em Andamento";
7
4
  readonly finished: "Concluído";
8
- readonly onHold: "Aguardando";
9
- readonly cancelled: "Cancelado";
10
5
  readonly archived: "Arquivada";
6
+ readonly cancelled: "Cancelado";
11
7
  };
12
8
 
13
9
  declare const BUSINESS_UNIT_VALUES: {
package/dist/utils.js CHANGED
@@ -1,7 +1,7 @@
1
- import { U as s } from "./chuncks/format.util.GNsuhUxt.js";
2
- import { g as l, h as v, f as y, a as C, d as E, m as L, c as P, e as _, p as b, b as k, u as D } from "./chuncks/format.util.GNsuhUxt.js";
3
- import { f as a } from "./chuncks/youtube-icon.component.BiPOuPjz.js";
4
- import { q as U, p as h, n as q, j as N, h as x, l as F, i as O, m as T, k as j, g as A, o as G, v as V } from "./chuncks/youtube-icon.component.BiPOuPjz.js";
1
+ import { U as s } from "./chuncks/format.util.CxhILG2b.js";
2
+ import { g as l, h as v, f as y, a as C, d as E, m as L, c as P, e as _, p as b, b as k, u as D } from "./chuncks/format.util.CxhILG2b.js";
3
+ import { f as a } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
4
+ import { q as U, p as h, n as q, j as N, h as x, l as F, i as O, m as T, k as j, g as A, o as G, v as V } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
5
5
  const o = (e) => e ? `${e} é obrigatório.` : "Campo obrigatório.", t = (e, r) => r ? `${r} deve ter no mínimo ${e} caracteres.` : `Deve ter no mínimo ${e} caracteres.`, n = (e, r) => r ? `${r} deve ter no máximo ${e} caracteres.` : `Deve ter no máximo ${e} caracteres.`, i = (e, r) => r ? `${r} não pode ser menor que ${e}.` : `Não pode ser menor que ${e}.`, m = (e, r) => r ? `${r} não pode ser maior que ${e}.` : `Não pode ser maior que ${e}.`, c = (e) => e ? `${e} inválido.` : "Valor inválido.", u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6
6
  __proto__: null,
7
7
  invalidMessage: c,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-app-modules",
3
3
  "private": false,
4
- "version": "0.0.202",
4
+ "version": "0.0.203",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
@@ -128,6 +128,13 @@
128
128
  }
129
129
  },
130
130
  "type": "module",
131
+ "scripts": {
132
+ "dev": "vite",
133
+ "build": "rm -rf dist && tsc -b && vite build",
134
+ "lint": "eslint .",
135
+ "preview": "vite preview",
136
+ "lib:publish": "pnpm build && pnpm publish --no-git-checks"
137
+ },
131
138
  "peerDependencies": {
132
139
  "react": "^18.3.1",
133
140
  "react-dom": "^18.3.1"
@@ -190,12 +197,5 @@
190
197
  "vite": "^7.2.4",
191
198
  "vite-plugin-dts": "^4.5.4",
192
199
  "vite-plugin-lib-inject-css": "^2.2.2"
193
- },
194
- "scripts": {
195
- "dev": "vite",
196
- "build": "rm -rf dist && tsc -b && vite build",
197
- "lint": "eslint .",
198
- "preview": "vite preview",
199
- "lib:publish": "pnpm build && pnpm publish --no-git-checks"
200
200
  }
201
- }
201
+ }