@snokam/footer 7.0.18 → 7.1.1
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 +10 -0
- package/dist/v1/Footer.stories.d.ts +0 -5
- package/dist/v1/Footer.stories.d.ts.map +1 -1
- package/dist/v1/Footer.stories.js +0 -5
- package/dist/v1/Footer.stories.js.map +1 -1
- package/dist/v1/components/Footer/base.d.ts +0 -11
- package/dist/v1/components/Footer/base.d.ts.map +1 -1
- package/dist/v1/components/Footer/base.js +0 -11
- package/dist/v1/components/Footer/base.js.map +1 -1
- package/dist/v1/components/Footer/index.d.ts +0 -4
- package/dist/v1/components/Footer/index.d.ts.map +1 -1
- package/dist/v1/components/Footer/index.js +0 -4
- package/dist/v1/components/Footer/index.js.map +1 -1
- package/dist/v1/components/Footer/types.d.ts +0 -5
- package/dist/v1/components/Footer/types.d.ts.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.1.1](https://github.com/snokam/monorepo/compare/@snokam/footer@7.1.0...@snokam/footer@7.1.1) (2026-10-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @snokam/footer
|
|
9
|
+
|
|
10
|
+
# [7.1.0](https://github.com/snokam/monorepo/compare/@snokam/footer@7.0.18...@snokam/footer@7.1.0) (2026-10-22)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **lint:** ban code comments + fix mobile fill in the Olaf host ([#3015](https://github.com/snokam/monorepo/issues/3015)) ([938549b](https://github.com/snokam/monorepo/commit/938549b8c1ed68cdc49be19cc168c1440c371199))
|
|
15
|
+
|
|
6
16
|
## [7.0.18](https://github.com/snokam/monorepo/compare/@snokam/footer@7.0.17...@snokam/footer@7.0.18) (2026-10-22)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @snokam/footer
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
2
|
import { FooterBase } from "./components/Footer/base";
|
|
3
|
-
/**
|
|
4
|
-
* These render `FooterBase`. The wired `Footer` reads its logo, body copy and link targets from
|
|
5
|
-
* the CMS and the tenant config, which Storybook has neither of — `useConfig` throws outright
|
|
6
|
-
* without a provider. The base takes them as props.
|
|
7
|
-
*/
|
|
8
3
|
declare const meta: Meta<typeof FooterBase>;
|
|
9
4
|
export default meta;
|
|
10
5
|
type Story = StoryObj<typeof FooterBase>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../src/v1/Footer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGtD
|
|
1
|
+
{"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../src/v1/Footer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGtD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAgBjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,KAAK,EAAE,KAAU,CAAC;AAE/B,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAIhC,CAAC"}
|
|
@@ -3,11 +3,6 @@ import { BusinessLogo } from "@snokam/ui/business-logo";
|
|
|
3
3
|
import { TransitionType } from "@snokam/ui/layout";
|
|
4
4
|
import { FooterBase } from "./components/Footer/base";
|
|
5
5
|
import { FooterTheme } from "./components/Footer/types";
|
|
6
|
-
/**
|
|
7
|
-
* These render `FooterBase`. The wired `Footer` reads its logo, body copy and link targets from
|
|
8
|
-
* the CMS and the tenant config, which Storybook has neither of — `useConfig` throws outright
|
|
9
|
-
* without a provider. The base takes them as props.
|
|
10
|
-
*/
|
|
11
6
|
const meta = {
|
|
12
7
|
title: "Chrome/Footer",
|
|
13
8
|
component: FooterBase,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.stories.js","sourceRoot":"","sources":["../../src/v1/Footer.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD
|
|
1
|
+
{"version":3,"file":"Footer.stories.js","sourceRoot":"","sources":["../../src/v1/Footer.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,MAAM,IAAI,GAA4B;IACpC,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,UAAU;IACrB,UAAU,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE;IACpC,IAAI,EAAE;QACJ,KAAK,EAAE,WAAW,CAAC,KAAK;QACxB,IAAI,EAAE,KAAC,YAAY,IAAC,IAAI,EAAC,aAAQ,EAAC,IAAI,EAAC,OAAO,EAAC,MAAM,EAAE,EAAE,GAAI;QAC7D,OAAO,EAAE,8EAA2C;QACpD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,gCAAgC,EAAE,IAAI,EAAE,cAAc,EAAE;YAChE,EAAE,IAAI,EAAE,yBAAyB,EAAE,IAAI,EAAE,OAAO,EAAE;SACnD;KACF;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE;KACjE;CACF,CAAC;AAEF,eAAe,IAAI,CAAC;AAIpB,MAAM,CAAC,MAAM,KAAK,GAAU,EAAE,CAAC;AAE/B,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,IAAI,EAAE;QACJ,KAAK,EAAE,WAAW,CAAC,IAAI;QACvB,IAAI,EAAE,KAAC,YAAY,IAAC,IAAI,EAAC,aAAQ,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAE,EAAE,GAAI;KAC7D;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAU;IACvC,IAAI,EAAE;QACJ,WAAW,EAAE,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;KACjE;CACF,CAAC"}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
import { FooterBaseProps } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
* The footer as markup: the logo, the body copy and every link arrive as props.
|
|
4
|
-
*
|
|
5
|
-
* `Footer` is this component with the CMS and the tenant config read for you. Use that one inside
|
|
6
|
-
* a Snøkam app; use this one where those do not exist, such as a Storybook story or an app outside
|
|
7
|
-
* the platform, where the wired version would throw on `useConfig`.
|
|
8
|
-
*
|
|
9
|
-
* The theme toggle is a slot rather than a fixture, because it saves the choice to the signed-in
|
|
10
|
-
* employee: it reads the session, the tenant config and the CMS, so rendering it here would drag
|
|
11
|
-
* all three back in through the back door.
|
|
12
|
-
*/
|
|
13
2
|
export declare const FooterBase: ({ theme, logo, content, links, transitions, themeToggle, }: FooterBaseProps) => import("react").JSX.Element;
|
|
14
3
|
export { FooterTheme } from "./types";
|
|
15
4
|
export type { FooterBaseProps, FooterLink } from "./types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/v1/components/Footer/base.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAe,MAAM,SAAS,CAAC;AAGvD
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/v1/components/Footer/base.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAe,MAAM,SAAS,CAAC;AAGvD,eAAO,MAAM,UAAU,GAAI,4DAOxB,eAAe,gCA0BjB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE3D,eAAe,UAAU,CAAC"}
|
|
@@ -6,17 +6,6 @@ import { useFramework } from "@snokam/ui/framework";
|
|
|
6
6
|
import { PortableText } from "@portabletext/react";
|
|
7
7
|
import { FooterTheme } from "./types";
|
|
8
8
|
import Layout, { Padding } from "@snokam/ui/layout";
|
|
9
|
-
/**
|
|
10
|
-
* The footer as markup: the logo, the body copy and every link arrive as props.
|
|
11
|
-
*
|
|
12
|
-
* `Footer` is this component with the CMS and the tenant config read for you. Use that one inside
|
|
13
|
-
* a Snøkam app; use this one where those do not exist, such as a Storybook story or an app outside
|
|
14
|
-
* the platform, where the wired version would throw on `useConfig`.
|
|
15
|
-
*
|
|
16
|
-
* The theme toggle is a slot rather than a fixture, because it saves the choice to the signed-in
|
|
17
|
-
* employee: it reads the session, the tenant config and the CMS, so rendering it here would drag
|
|
18
|
-
* all three back in through the back door.
|
|
19
|
-
*/
|
|
20
9
|
export const FooterBase = ({ theme = FooterTheme.Dark, logo, content, links = [], transitions, themeToggle, }) => {
|
|
21
10
|
const { Link } = useFramework();
|
|
22
11
|
return (_jsx(Layout.Container, { as: "footer", theme: theme, transitions: transitions, children: _jsx(Layout.Content, { children: _jsxs(Layout.Section, { padding: Padding.Large, children: [logo && _jsx(Styled.Logo, { children: logo }), Array.isArray(content) ? _jsx(PortableText, { value: content }) : content, links.map((link) => (_jsxs(Styled.Link, { as: Link, href: link.href, children: [link.text, _jsx(ChevronRight, {})] }, link.href))), themeToggle && (_jsx(Styled.ToggleRow, { id: "tema", children: themeToggle }))] }) }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../src/v1/components/Footer/base.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAmB,WAAW,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,MAAM,EAAE,EAAe,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjE
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../src/v1/components/Footer/base.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAmB,WAAW,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,MAAM,EAAE,EAAe,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjE,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EACzB,KAAK,GAAG,WAAW,CAAC,IAAI,EACxB,IAAI,EACJ,OAAO,EACP,KAAK,GAAG,EAAE,EACV,WAAW,EACX,WAAW,GACK,EAAE,EAAE;IACpB,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,EAAE,CAAC;IAEhC,OAAO,CACL,KAAC,MAAM,CAAC,SAAS,IACf,EAAE,EAAC,QAAQ,EACX,KAAK,EAAE,KAA+B,EACtC,WAAW,EAAE,WAAW,YAExB,KAAC,MAAM,CAAC,OAAO,cACb,MAAC,MAAM,CAAC,OAAO,IAAC,OAAO,EAAE,OAAO,CAAC,KAAK,aACnC,IAAI,IAAI,KAAC,MAAM,CAAC,IAAI,cAAE,IAAI,GAAe,EACzC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAC,YAAY,IAAC,KAAK,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,OAAO,EACnE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,MAAC,MAAM,CAAC,IAAI,IAAC,EAAE,EAAE,IAAI,EAAkB,IAAI,EAAE,IAAI,CAAC,IAAI,aACnD,IAAI,CAAC,IAAI,EACV,KAAC,YAAY,KAAG,KAFU,IAAI,CAAC,IAAI,CAGvB,CACf,CAAC,EACD,WAAW,IAAI,CACd,KAAC,MAAM,CAAC,SAAS,IAAC,EAAE,EAAC,MAAM,YAAE,WAAW,GAAoB,CAC7D,IACc,GACF,GACA,CACpB,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,eAAe,UAAU,CAAC"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { FooterProps } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
* The footer, wired to the app it lives in: the business's logo and link targets from the tenant
|
|
4
|
-
* config, copy from the CMS. {@link FooterBase} is the same footer with those passed in as props.
|
|
5
|
-
*/
|
|
6
2
|
export declare const Footer: ({ logo, theme, showMiljofyrtorn, showBlog, showPresentations, extraLinks, transitions, onThemeSave, }: FooterProps) => import("react").JSX.Element;
|
|
7
3
|
export default Footer;
|
|
8
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v1/components/Footer/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAc,WAAW,EAAe,MAAM,SAAS,CAAC;AAI/D
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v1/components/Footer/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAc,WAAW,EAAe,MAAM,SAAS,CAAC;AAI/D,eAAO,MAAM,MAAM,GAAI,uGASpB,WAAW,gCAyDb,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -7,10 +7,6 @@ import { BusinessLogo } from "@snokam/ui/business-logo";
|
|
|
7
7
|
import { FooterTheme } from "./types";
|
|
8
8
|
import { FooterBase } from "./base";
|
|
9
9
|
import { ThemeModeToggle } from "./ThemeModeToggle";
|
|
10
|
-
/**
|
|
11
|
-
* The footer, wired to the app it lives in: the business's logo and link targets from the tenant
|
|
12
|
-
* config, copy from the CMS. {@link FooterBase} is the same footer with those passed in as props.
|
|
13
|
-
*/
|
|
14
10
|
export const Footer = ({ logo, theme = FooterTheme.Dark, showMiljofyrtorn = true, showBlog = true, showPresentations = false, extraLinks, transitions, onThemeSave, }) => {
|
|
15
11
|
const { getText, getBlock, hasContent } = usePageContent();
|
|
16
12
|
const config = useConfig();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v1/components/Footer/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,qBAA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
|
10
10
|
text: string;
|
|
11
11
|
}
|
|
12
|
-
/**
|
|
13
|
-
* Everything {@link FooterBase} draws. The wired `Footer` fills these in from the CMS and the
|
|
14
|
-
* tenant config; supply them yourself when neither exists.
|
|
15
|
-
*/
|
|
16
12
|
export interface FooterBaseProps {
|
|
17
13
|
logo?: ReactNode;
|
|
18
14
|
content?: ReactNode | unknown[];
|
|
19
15
|
links?: FooterLink[];
|
|
20
16
|
theme?: FooterTheme;
|
|
21
17
|
transitions?: Transitions;
|
|
22
|
-
/** Rendered in the toggle row. The wired `Footer` passes its `ThemeModeToggle`. */
|
|
23
18
|
themeToggle?: ReactNode;
|
|
24
19
|
}
|
|
25
20
|
export interface FooterProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/v1/components/Footer/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/v1/components/Footer/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,EAAE,CAAC;IAChC,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,UAAU,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;CAChD"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "7.
|
|
2
|
+
"version": "7.1.1",
|
|
3
3
|
"dependencies": {
|
|
4
4
|
"@emotion/react": "^11.14.0",
|
|
5
5
|
"@emotion/styled": "^11.14.1",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"next-auth": "4.24.15",
|
|
11
11
|
"react": "19.2.8",
|
|
12
12
|
"react-dom": "19.2.8",
|
|
13
|
-
"@snokam/
|
|
14
|
-
"@snokam/
|
|
15
|
-
"@snokam/
|
|
16
|
-
"@snokam/
|
|
13
|
+
"@snokam/auth": "5.5.1",
|
|
14
|
+
"@snokam/sanity-page-content": "6.6.1",
|
|
15
|
+
"@snokam/tenant": "4.4.0",
|
|
16
|
+
"@snokam/ui": "6.4.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/node": "^26.1.1",
|