From cd1bf5ce27a14e1fe55f2508457d34c051bb3e0b Mon Sep 17 00:00:00 2001
From: Maxime Golfier <25312957+maxgfr@users.noreply.github.com>
Date: Thu, 28 Nov 2024 11:47:43 +0100
Subject: [PATCH] =?UTF-8?q?fix(polyfills):=20ajout=20du=20replaceAll=20de?=
=?UTF-8?q?=20mani=C3=A8re=20globale=20(#6311)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* fix: replace all
* fix: replace all
* fix: replace all
* fix: replace all
* fix: replace all
* fix: format
* fix: merge date
* fix: merge date
* fix: merge date
* fix: tsup
* fix: bug
---
packages/code-du-travail-frontend/.gitignore | 4 +-
.../code-du-travail-frontend/.prettierignore | 4 +-
.../code-du-travail-frontend/app/layout.tsx | 2 -
.../code-du-travail-frontend/package.json | 11 +-
.../code-du-travail-frontend/panda.config.ts | 3 +-
.../postcss.config.cjs | 4 +-
.../modules/code-du-travail/ContentParser.tsx | 1 -
.../src/modules/common/ListWithArrow.tsx | 2 +-
.../src/modules/common/Share.tsx | 2 +-
.../src/modules/config/DefaultLayout.tsx | 2 +
.../src/modules/config/PolyfillComponent.tsx | 29 +
.../AgreementsGlossaire.tsx | 2 +-
.../convention-collective/AgreementsIntro.tsx | 2 +-
.../modules/home/Components/HomeButton.tsx | 2 +-
.../modules/home/Components/HomeSearch.tsx | 2 +-
.../home/Components/SectionContainer.tsx | 2 +-
.../src/modules/home/Search.tsx | 2 +-
.../src/modules/layout/header/SearchInput.tsx | 2 +-
.../src/modules/layout/infos/PopupContent.tsx | 2 +-
.../src/modules/layout/infos/index.tsx | 2 +-
.../components/CopyButton.tsx | 2 +-
.../components/LetterModelContent.tsx | 2 +-
.../src/modules/stats/StatsDisplay.tsx | 2 +-
.../src/modules/themes/ThemeTile.tsx | 2 +-
.../src/modules/utils/PolyfillComponent.tsx | 12 -
.../src/modules/utils/index.ts | 1 -
.../code-du-travail-frontend/tsconfig.json | 6 +-
.../code-du-travail-frontend/tsup.config.ts | 5 +
yarn.lock | 922 ++++++++++++++----
29 files changed, 809 insertions(+), 227 deletions(-)
create mode 100644 packages/code-du-travail-frontend/src/modules/config/PolyfillComponent.tsx
delete mode 100644 packages/code-du-travail-frontend/src/modules/utils/PolyfillComponent.tsx
create mode 100644 packages/code-du-travail-frontend/tsup.config.ts
diff --git a/packages/code-du-travail-frontend/.gitignore b/packages/code-du-travail-frontend/.gitignore
index 848257048a..9e73c32149 100644
--- a/packages/code-du-travail-frontend/.gitignore
+++ b/packages/code-du-travail-frontend/.gitignore
@@ -11,5 +11,5 @@ scripts/logs/*
.env.*
## Panda
-styled-system
-styled-system-studio
+src/styled-system
+src/styled-system-studio
diff --git a/packages/code-du-travail-frontend/.prettierignore b/packages/code-du-travail-frontend/.prettierignore
index 568fa03e3b..40970b27cc 100644
--- a/packages/code-du-travail-frontend/.prettierignore
+++ b/packages/code-du-travail-frontend/.prettierignore
@@ -1,5 +1,5 @@
node_modules/
.next/
-.swc/
-styled-system/
+dist/
+src/styled-system/
CHANGELOG.md
diff --git a/packages/code-du-travail-frontend/app/layout.tsx b/packages/code-du-travail-frontend/app/layout.tsx
index aaed11092b..83162e123e 100644
--- a/packages/code-du-travail-frontend/app/layout.tsx
+++ b/packages/code-du-travail-frontend/app/layout.tsx
@@ -3,7 +3,6 @@ import { Metadata } from "next/types";
import { SITE_URL } from "../src/config";
import { headers } from "next/headers";
import DefaultLayout from "../src/modules/config/DefaultLayout";
-import { PolyfillComponent } from "../src/modules/utils";
export const metadata: Metadata = {
title: {
@@ -32,7 +31,6 @@ export default function RootLayout({
nonce={nonce}
defaultColorScheme={pathname.includes("/widgets") ? "light" : "system"}
>
-
{children}
);
diff --git a/packages/code-du-travail-frontend/package.json b/packages/code-du-travail-frontend/package.json
index a72de95a50..fd0f70e58b 100644
--- a/packages/code-du-travail-frontend/package.json
+++ b/packages/code-du-travail-frontend/package.json
@@ -14,10 +14,11 @@
"lint": "yarn lint:css && next lint",
"precommit": "lint-staged",
"start": "next start",
- "prebuild": "node -r @swc-node/register scripts/prebuild.ts && react-dsfr update-icons && panda codegen",
+ "tsup": "tsup",
+ "prebuild": "yarn tsup && node dist/prebuild.js && react-dsfr update-icons && panda codegen",
"build": "yarn prebuild && next build",
"build:analyze": "yarn prebuild && ANALYZE=true next build",
- "pretest:api": "ELASTICSEARCH_URL=http://localhost:9200 NEXT_PUBLIC_ES_INDEX_PREFIX=cdtn_test NEXT_PUBLIC_APP_ENV=test NODE_ENV=test node -r @swc-node/register scripts/generate-data.ts",
+ "pretest:api": "yarn tsup && ELASTICSEARCH_URL=http://localhost:9200 NEXT_PUBLIC_ES_INDEX_PREFIX=cdtn_test NEXT_PUBLIC_APP_ENV=test NODE_ENV=test node dist/generate-data.js",
"test": "yarn pretest:api && ELASTICSEARCH_URL=http://localhost:9200 NEXT_PUBLIC_ES_INDEX_PREFIX=cdtn_test NEXT_PUBLIC_APP_ENV=test NODE_ENV=test jest --silent",
"test:watch": "npm run test -- --watch",
"test:frontend": "NEXT_PUBLIC_APP_ENV=test NODE_ENV=test jest --silent --testPathIgnorePatterns='.*\\.es\\.test\\.ts$'",
@@ -31,7 +32,7 @@
"type-check:watch": "npm run type-check -- --watch",
"format": "prettier --write \"**/*.{js,ts,tsx,jsx,json,md}\"",
"format:check": "prettier --check \"**/*.{js,ts,tsx,jsx,json,md}\"",
- "clean:redirects": "node -r @swc-node/register scripts/clean-redirects.ts"
+ "clean:redirects": "yarn tsup && node dist/clean-redirects.js"
},
"dependencies": {
"@codegouvfr/react-dsfr": "^1.13.9",
@@ -50,7 +51,6 @@
"@socialgouv/matomo-next": "^1.6.1",
"@socialgouv/modeles-social": "workspace:^",
"@socialgouv/reference-article": "^1.0.1",
- "core-js": "^3.39.0",
"cors": "^2.8.5",
"date-fns": "^2.22.1",
"debounce-promise": "^3.1.2",
@@ -87,8 +87,6 @@
},
"devDependencies": {
"@pandacss/dev": "^0.45.2",
- "@swc-node/register": "^1.6.5",
- "@swc/core": "^1.3.60",
"@testing-library/cypress": "^10.0.2",
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.16.5",
@@ -121,6 +119,7 @@
"stylelint-processor-styled-components": "^1.10.0",
"supertest": "^6.3.3",
"testing-library-selector": "0.3.1",
+ "tsup": "^8.3.5",
"typescript": "^5.5.4",
"xml2js": "^0.6.2"
}
diff --git a/packages/code-du-travail-frontend/panda.config.ts b/packages/code-du-travail-frontend/panda.config.ts
index bcbcd1335f..de7a0db417 100644
--- a/packages/code-du-travail-frontend/panda.config.ts
+++ b/packages/code-du-travail-frontend/panda.config.ts
@@ -16,6 +16,7 @@ export default defineConfig({
},
},
},
- outdir: "styled-system",
+ outdir: "src/styled-system",
outExtension: "js",
+ importMap: "@styled-system",
});
diff --git a/packages/code-du-travail-frontend/postcss.config.cjs b/packages/code-du-travail-frontend/postcss.config.cjs
index 573efad20e..1bfc8f1deb 100644
--- a/packages/code-du-travail-frontend/postcss.config.cjs
+++ b/packages/code-du-travail-frontend/postcss.config.cjs
@@ -1,5 +1,5 @@
module.exports = {
plugins: {
- '@pandacss/dev/postcss': {},
+ "@pandacss/dev/postcss": {},
},
-}
\ No newline at end of file
+};
diff --git a/packages/code-du-travail-frontend/src/modules/code-du-travail/ContentParser.tsx b/packages/code-du-travail-frontend/src/modules/code-du-travail/ContentParser.tsx
index 38df70e33d..dd4d2d4f28 100644
--- a/packages/code-du-travail-frontend/src/modules/code-du-travail/ContentParser.tsx
+++ b/packages/code-du-travail-frontend/src/modules/code-du-travail/ContentParser.tsx
@@ -1,5 +1,4 @@
import parse, { domToReact } from "html-react-parser";
-import { ReactHTMLElement } from "react";
export const ContentParser = ({
children,
diff --git a/packages/code-du-travail-frontend/src/modules/common/ListWithArrow.tsx b/packages/code-du-travail-frontend/src/modules/common/ListWithArrow.tsx
index c7b5f9ee8f..a85cae9de9 100644
--- a/packages/code-du-travail-frontend/src/modules/common/ListWithArrow.tsx
+++ b/packages/code-du-travail-frontend/src/modules/common/ListWithArrow.tsx
@@ -1,8 +1,8 @@
"use client";
import { fr } from "@codegouvfr/react-dsfr";
+import { css } from "@styled-system/css";
import React from "react";
-import { css } from "../../../styled-system/css";
export const ListWithArrow = ({ items }: { items: JSX.Element[] }) => {
return (
diff --git a/packages/code-du-travail-frontend/src/modules/common/Share.tsx b/packages/code-du-travail-frontend/src/modules/common/Share.tsx
index 8081ac40f1..87fac4fadf 100644
--- a/packages/code-du-travail-frontend/src/modules/common/Share.tsx
+++ b/packages/code-du-travail-frontend/src/modules/common/Share.tsx
@@ -5,7 +5,7 @@ import Button from "@codegouvfr/react-dsfr/Button";
import { usePathname } from "next/navigation";
import { SITE_URL } from "../../config";
import { fr } from "@codegouvfr/react-dsfr";
-import { css } from "../../../styled-system/css";
+import { css } from "@styled-system/css";
import { useCommonTracking } from "./tracking";
type Props = {
diff --git a/packages/code-du-travail-frontend/src/modules/config/DefaultLayout.tsx b/packages/code-du-travail-frontend/src/modules/config/DefaultLayout.tsx
index 70f9d95ec8..08c1593b17 100644
--- a/packages/code-du-travail-frontend/src/modules/config/DefaultLayout.tsx
+++ b/packages/code-du-travail-frontend/src/modules/config/DefaultLayout.tsx
@@ -7,6 +7,7 @@ import { DefaultColorScheme } from "@codegouvfr/react-dsfr/next-appdir";
import { StartDsfrSystem } from "./StartDsfrSystem";
import { StartDsfrLight } from "./StartDsfrLight";
import { StartDsfrDark } from "./StartDsfrDark";
+import { PolyfillComponent } from "./PolyfillComponent";
type Props = {
children: React.ReactNode;
@@ -44,6 +45,7 @@ export default function DefaultLayout({
/>
+
{children}
diff --git a/packages/code-du-travail-frontend/src/modules/config/PolyfillComponent.tsx b/packages/code-du-travail-frontend/src/modules/config/PolyfillComponent.tsx
new file mode 100644
index 0000000000..0ea892febf
--- /dev/null
+++ b/packages/code-du-travail-frontend/src/modules/config/PolyfillComponent.tsx
@@ -0,0 +1,29 @@
+"use client";
+
+if (!("canParse" in URL)) {
+ (URL as any).canParse = function canParse(url, base) {
+ try {
+ if (base !== undefined) {
+ new URL(url, base);
+ } else {
+ new URL(url);
+ }
+ return true;
+ } catch {
+ return false;
+ }
+ };
+}
+
+if (!("replaceAll" in String.prototype)) {
+ (String.prototype as any).replaceAll = function (
+ searchValue: string,
+ replaceValue: string
+ ) {
+ return this.split(searchValue).join(replaceValue);
+ };
+}
+
+export const PolyfillComponent = () => {
+ return null;
+};
diff --git a/packages/code-du-travail-frontend/src/modules/convention-collective/AgreementsGlossaire.tsx b/packages/code-du-travail-frontend/src/modules/convention-collective/AgreementsGlossaire.tsx
index 9cdf975416..06a9ec4790 100644
--- a/packages/code-du-travail-frontend/src/modules/convention-collective/AgreementsGlossaire.tsx
+++ b/packages/code-du-travail-frontend/src/modules/convention-collective/AgreementsGlossaire.tsx
@@ -1,6 +1,6 @@
import { fr } from "@codegouvfr/react-dsfr";
import Link from "next/link";
-import { css } from "../../../styled-system/css";
+import { css } from "@styled-system/css";
type Props = {
letters: string[];
diff --git a/packages/code-du-travail-frontend/src/modules/convention-collective/AgreementsIntro.tsx b/packages/code-du-travail-frontend/src/modules/convention-collective/AgreementsIntro.tsx
index 6b9b7ad3dc..b33a0ac4f8 100644
--- a/packages/code-du-travail-frontend/src/modules/convention-collective/AgreementsIntro.tsx
+++ b/packages/code-du-travail-frontend/src/modules/convention-collective/AgreementsIntro.tsx
@@ -1,6 +1,6 @@
import { fr } from "@codegouvfr/react-dsfr";
import Link from "next/link";
-import { css } from "../../../styled-system/css";
+import { css } from "@styled-system/css";
import Image from "next/image";
import { Highlight } from "@codegouvfr/react-dsfr/Highlight";
import AgreementSearch from "./AgreementSearch.svg";
diff --git a/packages/code-du-travail-frontend/src/modules/home/Components/HomeButton.tsx b/packages/code-du-travail-frontend/src/modules/home/Components/HomeButton.tsx
index c9f36a592b..78c8a182ca 100644
--- a/packages/code-du-travail-frontend/src/modules/home/Components/HomeButton.tsx
+++ b/packages/code-du-travail-frontend/src/modules/home/Components/HomeButton.tsx
@@ -1,5 +1,5 @@
import { fr } from "@codegouvfr/react-dsfr";
-import { css } from "../../../../styled-system/css";
+import { css } from "@styled-system/css";
import { Button } from "@codegouvfr/react-dsfr/Button";
type Props = {
diff --git a/packages/code-du-travail-frontend/src/modules/home/Components/HomeSearch.tsx b/packages/code-du-travail-frontend/src/modules/home/Components/HomeSearch.tsx
index 134350adab..647db6c760 100644
--- a/packages/code-du-travail-frontend/src/modules/home/Components/HomeSearch.tsx
+++ b/packages/code-du-travail-frontend/src/modules/home/Components/HomeSearch.tsx
@@ -2,7 +2,7 @@ import React, { useState } from "react";
import * as Sentry from "@sentry/nextjs";
import { fr } from "@codegouvfr/react-dsfr";
import { Button } from "@codegouvfr/react-dsfr/Button";
-import { css } from "../../../../styled-system/css";
+import { css } from "@styled-system/css";
import { useCombobox } from "downshift";
import { fetchSuggestResults } from "../../layout/header/fetchSuggestResults";
import { SUGGEST_MAX_RESULTS } from "../../../config";
diff --git a/packages/code-du-travail-frontend/src/modules/home/Components/SectionContainer.tsx b/packages/code-du-travail-frontend/src/modules/home/Components/SectionContainer.tsx
index 4ce815789b..7e28553435 100644
--- a/packages/code-du-travail-frontend/src/modules/home/Components/SectionContainer.tsx
+++ b/packages/code-du-travail-frontend/src/modules/home/Components/SectionContainer.tsx
@@ -1,5 +1,5 @@
import { fr } from "@codegouvfr/react-dsfr";
-import { css } from "../../../../styled-system/css";
+import { css } from "@styled-system/css";
type Props = {
sectionId: string;
diff --git a/packages/code-du-travail-frontend/src/modules/home/Search.tsx b/packages/code-du-travail-frontend/src/modules/home/Search.tsx
index a479ecc8c2..cb29b2ddb2 100644
--- a/packages/code-du-travail-frontend/src/modules/home/Search.tsx
+++ b/packages/code-du-travail-frontend/src/modules/home/Search.tsx
@@ -1,7 +1,7 @@
"use client";
import { fr } from "@codegouvfr/react-dsfr";
-import { css } from "../../../styled-system/css";
+import { css } from "@styled-system/css";
import Image from "next/image";
import { HomeSearch } from "./Components";
import { useRouter } from "next/navigation";
diff --git a/packages/code-du-travail-frontend/src/modules/layout/header/SearchInput.tsx b/packages/code-du-travail-frontend/src/modules/layout/header/SearchInput.tsx
index 596fe6ed2f..3549ffe921 100644
--- a/packages/code-du-travail-frontend/src/modules/layout/header/SearchInput.tsx
+++ b/packages/code-du-travail-frontend/src/modules/layout/header/SearchInput.tsx
@@ -3,7 +3,7 @@ import { useCombobox } from "downshift";
import { fetchSuggestResults } from "./fetchSuggestResults";
import { SUGGEST_MAX_RESULTS } from "../../../config";
import { fr } from "@codegouvfr/react-dsfr";
-import { css } from "../../../../styled-system/css";
+import { css } from "@styled-system/css";
import { useLayoutTracking } from "../tracking";
type Props = {
diff --git a/packages/code-du-travail-frontend/src/modules/layout/infos/PopupContent.tsx b/packages/code-du-travail-frontend/src/modules/layout/infos/PopupContent.tsx
index a1e6409884..d8472fcc37 100644
--- a/packages/code-du-travail-frontend/src/modules/layout/infos/PopupContent.tsx
+++ b/packages/code-du-travail-frontend/src/modules/layout/infos/PopupContent.tsx
@@ -7,7 +7,7 @@ import { useNeedMoreInfoEvents } from "./tracking";
import servicesDeRenseignement from "../../../data/services-de-renseignement.json";
import { Button } from "@codegouvfr/react-dsfr/Button";
import { fr } from "@codegouvfr/react-dsfr";
-import { css } from "../../../../styled-system/css";
+import { css } from "@styled-system/css";
type ServiceRenseignement = {
name: string;
diff --git a/packages/code-du-travail-frontend/src/modules/layout/infos/index.tsx b/packages/code-du-travail-frontend/src/modules/layout/infos/index.tsx
index 70bfbf4200..900d0cdaf2 100644
--- a/packages/code-du-travail-frontend/src/modules/layout/infos/index.tsx
+++ b/packages/code-du-travail-frontend/src/modules/layout/infos/index.tsx
@@ -2,7 +2,7 @@
import { fr } from "@codegouvfr/react-dsfr";
import { Button } from "@codegouvfr/react-dsfr/Button";
-import { css } from "../../../../styled-system/css";
+import { css } from "@styled-system/css";
import { createModal } from "@codegouvfr/react-dsfr/Modal";
import { PopupContent } from "./PopupContent";
import { useIsModalOpen } from "@codegouvfr/react-dsfr/Modal/useIsModalOpen";
diff --git a/packages/code-du-travail-frontend/src/modules/modeles-de-courriers/components/CopyButton.tsx b/packages/code-du-travail-frontend/src/modules/modeles-de-courriers/components/CopyButton.tsx
index afac005692..4e145cbf00 100644
--- a/packages/code-du-travail-frontend/src/modules/modeles-de-courriers/components/CopyButton.tsx
+++ b/packages/code-du-travail-frontend/src/modules/modeles-de-courriers/components/CopyButton.tsx
@@ -3,7 +3,7 @@
import { fr } from "@codegouvfr/react-dsfr";
import { Button } from "@codegouvfr/react-dsfr/Button";
import { useState } from "react";
-import { css } from "../../../../styled-system/css";
+import { css } from "@styled-system/css";
import { useModeleEvents } from "../tracking";
export const CopyButton = ({ slug }: { slug: string }) => {
diff --git a/packages/code-du-travail-frontend/src/modules/modeles-de-courriers/components/LetterModelContent.tsx b/packages/code-du-travail-frontend/src/modules/modeles-de-courriers/components/LetterModelContent.tsx
index 8a0a9d2390..c61b62a9c7 100644
--- a/packages/code-du-travail-frontend/src/modules/modeles-de-courriers/components/LetterModelContent.tsx
+++ b/packages/code-du-travail-frontend/src/modules/modeles-de-courriers/components/LetterModelContent.tsx
@@ -1,6 +1,6 @@
import { fr } from "@codegouvfr/react-dsfr";
import Html from "../../common/Html";
-import { css } from "../../../../styled-system/css";
+import { css } from "@styled-system/css";
import { getDisclaimer } from "../helpers";
import { Alert } from "@codegouvfr/react-dsfr/Alert";
import { DownloadTile } from "./DownloadTile";
diff --git a/packages/code-du-travail-frontend/src/modules/stats/StatsDisplay.tsx b/packages/code-du-travail-frontend/src/modules/stats/StatsDisplay.tsx
index 7d1cdf7eed..a099afb7ec 100644
--- a/packages/code-du-travail-frontend/src/modules/stats/StatsDisplay.tsx
+++ b/packages/code-du-travail-frontend/src/modules/stats/StatsDisplay.tsx
@@ -1,6 +1,6 @@
import { fr } from "@codegouvfr/react-dsfr";
import { CallOut } from "@codegouvfr/react-dsfr/CallOut";
-import { css } from "../../../styled-system/css";
+import { css } from "@styled-system/css";
type StatsProps = {
title: string;
diff --git a/packages/code-du-travail-frontend/src/modules/themes/ThemeTile.tsx b/packages/code-du-travail-frontend/src/modules/themes/ThemeTile.tsx
index 0a3b287d1e..f3c4c99ab9 100644
--- a/packages/code-du-travail-frontend/src/modules/themes/ThemeTile.tsx
+++ b/packages/code-du-travail-frontend/src/modules/themes/ThemeTile.tsx
@@ -1,6 +1,6 @@
import { fr } from "@codegouvfr/react-dsfr";
import { Tile } from "@codegouvfr/react-dsfr/Tile";
-import { css } from "../../../styled-system/css";
+import { css } from "@styled-system/css";
type Props = {
title: string;
diff --git a/packages/code-du-travail-frontend/src/modules/utils/PolyfillComponent.tsx b/packages/code-du-travail-frontend/src/modules/utils/PolyfillComponent.tsx
deleted file mode 100644
index 769bcd0080..0000000000
--- a/packages/code-du-travail-frontend/src/modules/utils/PolyfillComponent.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- This component is used to inject the polyfill replace-all for pandacss
- See PR : https://github.com/chakra-ui/panda/pull/2607#issuecomment-2209389462
- See issue : https://github.com/vercel/next.js/discussions/20992
- */
-"use client";
-
-import "core-js/features/string/replace-all";
-
-export const PolyfillComponent = () => {
- return <>>;
-};
diff --git a/packages/code-du-travail-frontend/src/modules/utils/index.ts b/packages/code-du-travail-frontend/src/modules/utils/index.ts
index 8fc83752fa..03fccca99b 100644
--- a/packages/code-du-travail-frontend/src/modules/utils/index.ts
+++ b/packages/code-du-travail-frontend/src/modules/utils/index.ts
@@ -1,3 +1,2 @@
export * from "./sort";
export * from "./events";
-export * from "./PolyfillComponent";
diff --git a/packages/code-du-travail-frontend/tsconfig.json b/packages/code-du-travail-frontend/tsconfig.json
index c76edf3fd9..83d8874af4 100644
--- a/packages/code-du-travail-frontend/tsconfig.json
+++ b/packages/code-du-travail-frontend/tsconfig.json
@@ -19,7 +19,11 @@
{
"name": "next"
}
- ]
+ ],
+ "baseUrl": ".",
+ "paths": {
+ "@styled-system/*": ["./src/styled-system/*"]
+ }
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules", "cypress"]
diff --git a/packages/code-du-travail-frontend/tsup.config.ts b/packages/code-du-travail-frontend/tsup.config.ts
new file mode 100644
index 0000000000..9f4e4ade1c
--- /dev/null
+++ b/packages/code-du-travail-frontend/tsup.config.ts
@@ -0,0 +1,5 @@
+import { defineConfig } from "tsup";
+
+export default defineConfig({
+ entry: ["scripts", "!scripts/**/__tests__/**", "!scripts/**/*.test.*"],
+});
diff --git a/yarn.lock b/yarn.lock
index 19e61cd50e..64b90c74f9 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1891,8 +1891,6 @@ __metadata:
"@socialgouv/matomo-next": ^1.6.1
"@socialgouv/modeles-social": "workspace:^"
"@socialgouv/reference-article": ^1.0.1
- "@swc-node/register": ^1.6.5
- "@swc/core": ^1.3.60
"@testing-library/cypress": ^10.0.2
"@testing-library/dom": ^8.11.3
"@testing-library/jest-dom": ^5.16.5
@@ -1902,7 +1900,6 @@ __metadata:
"@types/debounce-promise": ^3.1.4
"@types/jest": ^29.5.12
"@types/xml2js": ^0.4.14
- core-js: ^3.39.0
cors: ^2.8.5
cypress: ^13.13.2
cypress-html-validate: ^6.1.0
@@ -1956,6 +1953,7 @@ __metadata:
stylelint-processor-styled-components: ^1.10.0
supertest: ^6.3.3
testing-library-selector: 0.3.1
+ tsup: ^8.3.5
typescript: ^5.5.4
uuid: ^9.0.0
xml2js: ^0.6.2
@@ -2203,6 +2201,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/aix-ppc64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/aix-ppc64@npm:0.24.0"
+ conditions: os=aix & cpu=ppc64
+ languageName: node
+ linkType: hard
+
"@esbuild/android-arm64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/android-arm64@npm:0.17.19"
@@ -2224,6 +2229,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-arm64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/android-arm64@npm:0.24.0"
+ conditions: os=android & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/android-arm@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/android-arm@npm:0.17.19"
@@ -2245,6 +2257,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-arm@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/android-arm@npm:0.24.0"
+ conditions: os=android & cpu=arm
+ languageName: node
+ linkType: hard
+
"@esbuild/android-x64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/android-x64@npm:0.17.19"
@@ -2266,6 +2285,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-x64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/android-x64@npm:0.24.0"
+ conditions: os=android & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/darwin-arm64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/darwin-arm64@npm:0.17.19"
@@ -2287,6 +2313,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/darwin-arm64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/darwin-arm64@npm:0.24.0"
+ conditions: os=darwin & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/darwin-x64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/darwin-x64@npm:0.17.19"
@@ -2308,6 +2341,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/darwin-x64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/darwin-x64@npm:0.24.0"
+ conditions: os=darwin & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/freebsd-arm64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/freebsd-arm64@npm:0.17.19"
@@ -2329,6 +2369,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/freebsd-arm64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/freebsd-arm64@npm:0.24.0"
+ conditions: os=freebsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/freebsd-x64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/freebsd-x64@npm:0.17.19"
@@ -2350,6 +2397,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/freebsd-x64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/freebsd-x64@npm:0.24.0"
+ conditions: os=freebsd & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-arm64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/linux-arm64@npm:0.17.19"
@@ -2371,6 +2425,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-arm64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/linux-arm64@npm:0.24.0"
+ conditions: os=linux & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-arm@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/linux-arm@npm:0.17.19"
@@ -2392,6 +2453,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-arm@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/linux-arm@npm:0.24.0"
+ conditions: os=linux & cpu=arm
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-ia32@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/linux-ia32@npm:0.17.19"
@@ -2413,6 +2481,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-ia32@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/linux-ia32@npm:0.24.0"
+ conditions: os=linux & cpu=ia32
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-loong64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/linux-loong64@npm:0.17.19"
@@ -2434,6 +2509,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-loong64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/linux-loong64@npm:0.24.0"
+ conditions: os=linux & cpu=loong64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-mips64el@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/linux-mips64el@npm:0.17.19"
@@ -2455,6 +2537,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-mips64el@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/linux-mips64el@npm:0.24.0"
+ conditions: os=linux & cpu=mips64el
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-ppc64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/linux-ppc64@npm:0.17.19"
@@ -2476,6 +2565,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-ppc64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/linux-ppc64@npm:0.24.0"
+ conditions: os=linux & cpu=ppc64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-riscv64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/linux-riscv64@npm:0.17.19"
@@ -2497,6 +2593,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-riscv64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/linux-riscv64@npm:0.24.0"
+ conditions: os=linux & cpu=riscv64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-s390x@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/linux-s390x@npm:0.17.19"
@@ -2518,6 +2621,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-s390x@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/linux-s390x@npm:0.24.0"
+ conditions: os=linux & cpu=s390x
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-x64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/linux-x64@npm:0.17.19"
@@ -2539,6 +2649,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-x64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/linux-x64@npm:0.24.0"
+ conditions: os=linux & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/netbsd-x64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/netbsd-x64@npm:0.17.19"
@@ -2560,6 +2677,20 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/netbsd-x64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/netbsd-x64@npm:0.24.0"
+ conditions: os=netbsd & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@esbuild/openbsd-arm64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/openbsd-arm64@npm:0.24.0"
+ conditions: os=openbsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/openbsd-x64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/openbsd-x64@npm:0.17.19"
@@ -2581,6 +2712,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/openbsd-x64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/openbsd-x64@npm:0.24.0"
+ conditions: os=openbsd & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/sunos-x64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/sunos-x64@npm:0.17.19"
@@ -2602,6 +2740,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/sunos-x64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/sunos-x64@npm:0.24.0"
+ conditions: os=sunos & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-arm64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/win32-arm64@npm:0.17.19"
@@ -2623,6 +2768,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-arm64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/win32-arm64@npm:0.24.0"
+ conditions: os=win32 & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-ia32@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/win32-ia32@npm:0.17.19"
@@ -2644,6 +2796,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-ia32@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/win32-ia32@npm:0.24.0"
+ conditions: os=win32 & cpu=ia32
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-x64@npm:0.17.19":
version: 0.17.19
resolution: "@esbuild/win32-x64@npm:0.17.19"
@@ -2665,6 +2824,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-x64@npm:0.24.0":
+ version: 0.24.0
+ resolution: "@esbuild/win32-x64@npm:0.24.0"
+ conditions: os=win32 & cpu=x64
+ languageName: node
+ linkType: hard
+
"@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0":
version: 4.4.0
resolution: "@eslint-community/eslint-utils@npm:4.4.0"
@@ -4996,6 +5162,132 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-android-arm-eabi@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-android-arm-eabi@npm:4.27.4"
+ conditions: os=android & cpu=arm
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-android-arm64@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-android-arm64@npm:4.27.4"
+ conditions: os=android & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-darwin-arm64@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-darwin-arm64@npm:4.27.4"
+ conditions: os=darwin & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-darwin-x64@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-darwin-x64@npm:4.27.4"
+ conditions: os=darwin & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-freebsd-arm64@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-freebsd-arm64@npm:4.27.4"
+ conditions: os=freebsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-freebsd-x64@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-freebsd-x64@npm:4.27.4"
+ conditions: os=freebsd & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-arm-gnueabihf@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.27.4"
+ conditions: os=linux & cpu=arm & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-arm-musleabihf@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.27.4"
+ conditions: os=linux & cpu=arm & libc=musl
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-arm64-gnu@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.27.4"
+ conditions: os=linux & cpu=arm64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-arm64-musl@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-linux-arm64-musl@npm:4.27.4"
+ conditions: os=linux & cpu=arm64 & libc=musl
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-powerpc64le-gnu@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.27.4"
+ conditions: os=linux & cpu=ppc64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-riscv64-gnu@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.27.4"
+ conditions: os=linux & cpu=riscv64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-s390x-gnu@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.27.4"
+ conditions: os=linux & cpu=s390x & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-x64-gnu@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-linux-x64-gnu@npm:4.27.4"
+ conditions: os=linux & cpu=x64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-x64-musl@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-linux-x64-musl@npm:4.27.4"
+ conditions: os=linux & cpu=x64 & libc=musl
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-win32-arm64-msvc@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.27.4"
+ conditions: os=win32 & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-win32-ia32-msvc@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.27.4"
+ conditions: os=win32 & cpu=ia32
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-win32-x64-msvc@npm:4.27.4":
+ version: 4.27.4
+ resolution: "@rollup/rollup-win32-x64-msvc@npm:4.27.4"
+ conditions: os=win32 & cpu=x64
+ languageName: node
+ linkType: hard
+
"@rushstack/eslint-patch@npm:^1.3.3":
version: 1.6.1
resolution: "@rushstack/eslint-patch@npm:1.6.1"
@@ -6760,42 +7052,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc-node/core@npm:^1.10.3":
- version: 1.10.3
- resolution: "@swc-node/core@npm:1.10.3"
- peerDependencies:
- "@swc/core": ">= 1.3"
- checksum: 6e3e50a44d7a1c1aa62599d83c58f21568c1da03422124b46634488aba02747939063eeb1a2710aab0ab9f14f347386226a017ed72e6ba608d4a26532cd426af
- languageName: node
- linkType: hard
-
-"@swc-node/register@npm:^1.6.5":
- version: 1.6.5
- resolution: "@swc-node/register@npm:1.6.5"
- dependencies:
- "@swc-node/core": ^1.10.3
- "@swc-node/sourcemap-support": ^0.3.0
- colorette: ^2.0.19
- debug: ^4.3.4
- pirates: ^4.0.5
- tslib: ^2.5.0
- peerDependencies:
- "@swc/core": ">= 1.3"
- typescript: ">= 4.3"
- checksum: 490b2c6d04d4be3e80f3cc4aeccd4e064f49100e7e21675de3e2a125d844857589a3e0b91a17f088c471cbb20725a02fadc9edd244c08253d1bae19b2e88e8e6
- languageName: node
- linkType: hard
-
-"@swc-node/sourcemap-support@npm:^0.3.0":
- version: 0.3.0
- resolution: "@swc-node/sourcemap-support@npm:0.3.0"
- dependencies:
- source-map-support: ^0.5.21
- tslib: ^2.5.0
- checksum: a3c837ed790238ef88682eb342b75d756eba5eb3b6cfe6cf14a597bd78dfc9a9797f1e54a4977c1297e5324fba2e33bd76ab8aa9c396ad463693de2001180c9e
- languageName: node
- linkType: hard
-
"@swc/cli@npm:^0.4.0":
version: 0.4.0
resolution: "@swc/cli@npm:0.4.0"
@@ -6830,13 +7086,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core-darwin-arm64@npm:1.7.23":
- version: 1.7.23
- resolution: "@swc/core-darwin-arm64@npm:1.7.23"
- conditions: os=darwin & cpu=arm64
- languageName: node
- linkType: hard
-
"@swc/core-darwin-x64@npm:1.3.66":
version: 1.3.66
resolution: "@swc/core-darwin-x64@npm:1.3.66"
@@ -6844,13 +7093,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core-darwin-x64@npm:1.7.23":
- version: 1.7.23
- resolution: "@swc/core-darwin-x64@npm:1.7.23"
- conditions: os=darwin & cpu=x64
- languageName: node
- linkType: hard
-
"@swc/core-linux-arm-gnueabihf@npm:1.3.66":
version: 1.3.66
resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.66"
@@ -6858,13 +7100,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core-linux-arm-gnueabihf@npm:1.7.23":
- version: 1.7.23
- resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.23"
- conditions: os=linux & cpu=arm
- languageName: node
- linkType: hard
-
"@swc/core-linux-arm64-gnu@npm:1.3.66":
version: 1.3.66
resolution: "@swc/core-linux-arm64-gnu@npm:1.3.66"
@@ -6872,13 +7107,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core-linux-arm64-gnu@npm:1.7.23":
- version: 1.7.23
- resolution: "@swc/core-linux-arm64-gnu@npm:1.7.23"
- conditions: os=linux & cpu=arm64 & libc=glibc
- languageName: node
- linkType: hard
-
"@swc/core-linux-arm64-musl@npm:1.3.66":
version: 1.3.66
resolution: "@swc/core-linux-arm64-musl@npm:1.3.66"
@@ -6886,13 +7114,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core-linux-arm64-musl@npm:1.7.23":
- version: 1.7.23
- resolution: "@swc/core-linux-arm64-musl@npm:1.7.23"
- conditions: os=linux & cpu=arm64 & libc=musl
- languageName: node
- linkType: hard
-
"@swc/core-linux-x64-gnu@npm:1.3.66":
version: 1.3.66
resolution: "@swc/core-linux-x64-gnu@npm:1.3.66"
@@ -6900,13 +7121,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core-linux-x64-gnu@npm:1.7.23":
- version: 1.7.23
- resolution: "@swc/core-linux-x64-gnu@npm:1.7.23"
- conditions: os=linux & cpu=x64 & libc=glibc
- languageName: node
- linkType: hard
-
"@swc/core-linux-x64-musl@npm:1.3.66":
version: 1.3.66
resolution: "@swc/core-linux-x64-musl@npm:1.3.66"
@@ -6914,13 +7128,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core-linux-x64-musl@npm:1.7.23":
- version: 1.7.23
- resolution: "@swc/core-linux-x64-musl@npm:1.7.23"
- conditions: os=linux & cpu=x64 & libc=musl
- languageName: node
- linkType: hard
-
"@swc/core-win32-arm64-msvc@npm:1.3.66":
version: 1.3.66
resolution: "@swc/core-win32-arm64-msvc@npm:1.3.66"
@@ -6928,13 +7135,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core-win32-arm64-msvc@npm:1.7.23":
- version: 1.7.23
- resolution: "@swc/core-win32-arm64-msvc@npm:1.7.23"
- conditions: os=win32 & cpu=arm64
- languageName: node
- linkType: hard
-
"@swc/core-win32-ia32-msvc@npm:1.3.66":
version: 1.3.66
resolution: "@swc/core-win32-ia32-msvc@npm:1.3.66"
@@ -6942,13 +7142,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core-win32-ia32-msvc@npm:1.7.23":
- version: 1.7.23
- resolution: "@swc/core-win32-ia32-msvc@npm:1.7.23"
- conditions: os=win32 & cpu=ia32
- languageName: node
- linkType: hard
-
"@swc/core-win32-x64-msvc@npm:1.3.66":
version: 1.3.66
resolution: "@swc/core-win32-x64-msvc@npm:1.3.66"
@@ -6956,13 +7149,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core-win32-x64-msvc@npm:1.7.23":
- version: 1.7.23
- resolution: "@swc/core-win32-x64-msvc@npm:1.7.23"
- conditions: os=win32 & cpu=x64
- languageName: node
- linkType: hard
-
"@swc/core@npm:^1.3.35, @swc/core@npm:^1.3.36, @swc/core@npm:^1.3.66":
version: 1.3.66
resolution: "@swc/core@npm:1.3.66"
@@ -7007,52 +7193,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/core@npm:^1.3.60":
- version: 1.7.23
- resolution: "@swc/core@npm:1.7.23"
- dependencies:
- "@swc/core-darwin-arm64": 1.7.23
- "@swc/core-darwin-x64": 1.7.23
- "@swc/core-linux-arm-gnueabihf": 1.7.23
- "@swc/core-linux-arm64-gnu": 1.7.23
- "@swc/core-linux-arm64-musl": 1.7.23
- "@swc/core-linux-x64-gnu": 1.7.23
- "@swc/core-linux-x64-musl": 1.7.23
- "@swc/core-win32-arm64-msvc": 1.7.23
- "@swc/core-win32-ia32-msvc": 1.7.23
- "@swc/core-win32-x64-msvc": 1.7.23
- "@swc/counter": ^0.1.3
- "@swc/types": ^0.1.12
- peerDependencies:
- "@swc/helpers": "*"
- dependenciesMeta:
- "@swc/core-darwin-arm64":
- optional: true
- "@swc/core-darwin-x64":
- optional: true
- "@swc/core-linux-arm-gnueabihf":
- optional: true
- "@swc/core-linux-arm64-gnu":
- optional: true
- "@swc/core-linux-arm64-musl":
- optional: true
- "@swc/core-linux-x64-gnu":
- optional: true
- "@swc/core-linux-x64-musl":
- optional: true
- "@swc/core-win32-arm64-msvc":
- optional: true
- "@swc/core-win32-ia32-msvc":
- optional: true
- "@swc/core-win32-x64-msvc":
- optional: true
- peerDependenciesMeta:
- "@swc/helpers":
- optional: true
- checksum: a21e9a67d305ad9b49b6def9f9698b374db6c15b2ded5e5cf29390221181fc6b91bfa317b53fd41d9cca989d85b79bbbca5ab27635df1e0232cad4681f618fa5
- languageName: node
- linkType: hard
-
"@swc/counter@npm:^0.1.3":
version: 0.1.3
resolution: "@swc/counter@npm:0.1.3"
@@ -7092,15 +7232,6 @@ __metadata:
languageName: node
linkType: hard
-"@swc/types@npm:^0.1.12":
- version: 0.1.12
- resolution: "@swc/types@npm:0.1.12"
- dependencies:
- "@swc/counter": ^0.1.3
- checksum: cf7f89e46f859864075d7965582baea9c5f98830f45b1046251568c9bdf1ca484b1bf37f6d3c32b7c82ecf8cd5df89d22f05268c391819c44e49911bb1a8e71a
- languageName: node
- linkType: hard
-
"@szmarczak/http-timer@npm:^4.0.5":
version: 4.0.6
resolution: "@szmarczak/http-timer@npm:4.0.6"
@@ -7432,6 +7563,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/estree@npm:1.0.6, @types/estree@npm:^1.0.6":
+ version: 1.0.6
+ resolution: "@types/estree@npm:1.0.6"
+ checksum: 8825d6e729e16445d9a1dd2fb1db2edc5ed400799064cd4d028150701031af012ba30d6d03fe9df40f4d7a437d0de6d2b256020152b7b09bde9f2e420afdffd9
+ languageName: node
+ linkType: hard
+
"@types/estree@npm:^0.0.51":
version: 0.0.51
resolution: "@types/estree@npm:0.0.51"
@@ -7439,13 +7577,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/estree@npm:^1.0.6":
- version: 1.0.6
- resolution: "@types/estree@npm:1.0.6"
- checksum: 8825d6e729e16445d9a1dd2fb1db2edc5ed400799064cd4d028150701031af012ba30d6d03fe9df40f4d7a437d0de6d2b256020152b7b09bde9f2e420afdffd9
- languageName: node
- linkType: hard
-
"@types/express-serve-static-core@npm:^4.17.33":
version: 4.17.35
resolution: "@types/express-serve-static-core@npm:4.17.35"
@@ -8721,6 +8852,13 @@ __metadata:
languageName: node
linkType: hard
+"any-promise@npm:^1.0.0":
+ version: 1.3.0
+ resolution: "any-promise@npm:1.3.0"
+ checksum: 0ee8a9bdbe882c90464d75d1f55cf027f5458650c4bd1f0467e65aec38ccccda07ca5844969ee77ed46d04e7dded3eaceb027e8d32f385688523fe305fa7e1de
+ languageName: node
+ linkType: hard
+
"anymatch@npm:^3.0.3, anymatch@npm:~3.1.2":
version: 3.1.3
resolution: "anymatch@npm:3.1.3"
@@ -9743,6 +9881,17 @@ __metadata:
languageName: node
linkType: hard
+"bundle-require@npm:^5.0.0":
+ version: 5.0.0
+ resolution: "bundle-require@npm:5.0.0"
+ dependencies:
+ load-tsconfig: ^0.2.3
+ peerDependencies:
+ esbuild: ">=0.18"
+ checksum: c5b31e2782546c21649cfc6e4bbdbaa0a41764e0d73b31c95f0a40efe961f83bc5cdc92308ad26aee735cf82b438cf945cc96dfefa16c5d8fc61a7cca67fa3fb
+ languageName: node
+ linkType: hard
+
"busboy@npm:1.6.0":
version: 1.6.0
resolution: "busboy@npm:1.6.0"
@@ -9795,7 +9944,7 @@ __metadata:
languageName: node
linkType: hard
-"cac@npm:6.7.14":
+"cac@npm:6.7.14, cac@npm:^6.7.14":
version: 6.7.14
resolution: "cac@npm:6.7.14"
checksum: 45a2496a9443abbe7f52a49b22fbe51b1905eff46e03fd5e6c98e3f85077be3f8949685a1849b1a9cd2bc3e5567dfebcf64f01ce01847baf918f1b37c839791a
@@ -10182,6 +10331,15 @@ __metadata:
languageName: node
linkType: hard
+"chokidar@npm:^4.0.1":
+ version: 4.0.1
+ resolution: "chokidar@npm:4.0.1"
+ dependencies:
+ readdirp: ^4.0.1
+ checksum: 193da9786b0422a895d59c7552195d15c6c636e6a2293ae43d09e34e243e24ccd02d693f007c767846a65abbeae5fea6bfacb8fc2ddec4ea4d397620d552010d
+ languageName: node
+ linkType: hard
+
"chownr@npm:^1.1.1":
version: 1.1.4
resolution: "chownr@npm:1.1.4"
@@ -10561,6 +10719,13 @@ __metadata:
languageName: node
linkType: hard
+"commander@npm:^4.0.0":
+ version: 4.1.1
+ resolution: "commander@npm:4.1.1"
+ checksum: d7b9913ff92cae20cb577a4ac6fcc121bd6223319e54a40f51a14740a681ad5c574fd29a57da478a5f234a6fa6c52cbf0b7c641353e03c648b1ae85ba670b977
+ languageName: node
+ linkType: hard
+
"commander@npm:^6.2.1":
version: 6.2.1
resolution: "commander@npm:6.2.1"
@@ -10703,6 +10868,13 @@ __metadata:
languageName: node
linkType: hard
+"consola@npm:^3.2.3":
+ version: 3.2.3
+ resolution: "consola@npm:3.2.3"
+ checksum: 32ec70e177dd2385c42e38078958cc7397be91db21af90c6f9faa0b16168b49b1c61d689338604bbb2d64370b9347a35f42a9197663a913d3a405bb0ce728499
+ languageName: node
+ linkType: hard
+
"console-control-strings@npm:^1.0.0, console-control-strings@npm:^1.1.0":
version: 1.1.0
resolution: "console-control-strings@npm:1.1.0"
@@ -10870,13 +11042,6 @@ __metadata:
languageName: node
linkType: hard
-"core-js@npm:^3.39.0":
- version: 3.39.0
- resolution: "core-js@npm:3.39.0"
- checksum: 7a3670e9a2a89e0a049daa288d742d09f6e16d27a8945c5e2ef6fc45dc57e5c4bc5db589da05947486f54ae978d14cf27bd3fb1db0b9907000a611e8af37355b
- languageName: node
- linkType: hard
-
"core-util-is@npm:1.0.2":
version: 1.0.2
resolution: "core-util-is@npm:1.0.2"
@@ -11324,7 +11489,7 @@ __metadata:
languageName: node
linkType: hard
-"debug@npm:~4.3.6":
+"debug@npm:^4.3.7, debug@npm:~4.3.6":
version: 4.3.7
resolution: "debug@npm:4.3.7"
dependencies:
@@ -12581,6 +12746,89 @@ __metadata:
languageName: node
linkType: hard
+"esbuild@npm:^0.24.0":
+ version: 0.24.0
+ resolution: "esbuild@npm:0.24.0"
+ dependencies:
+ "@esbuild/aix-ppc64": 0.24.0
+ "@esbuild/android-arm": 0.24.0
+ "@esbuild/android-arm64": 0.24.0
+ "@esbuild/android-x64": 0.24.0
+ "@esbuild/darwin-arm64": 0.24.0
+ "@esbuild/darwin-x64": 0.24.0
+ "@esbuild/freebsd-arm64": 0.24.0
+ "@esbuild/freebsd-x64": 0.24.0
+ "@esbuild/linux-arm": 0.24.0
+ "@esbuild/linux-arm64": 0.24.0
+ "@esbuild/linux-ia32": 0.24.0
+ "@esbuild/linux-loong64": 0.24.0
+ "@esbuild/linux-mips64el": 0.24.0
+ "@esbuild/linux-ppc64": 0.24.0
+ "@esbuild/linux-riscv64": 0.24.0
+ "@esbuild/linux-s390x": 0.24.0
+ "@esbuild/linux-x64": 0.24.0
+ "@esbuild/netbsd-x64": 0.24.0
+ "@esbuild/openbsd-arm64": 0.24.0
+ "@esbuild/openbsd-x64": 0.24.0
+ "@esbuild/sunos-x64": 0.24.0
+ "@esbuild/win32-arm64": 0.24.0
+ "@esbuild/win32-ia32": 0.24.0
+ "@esbuild/win32-x64": 0.24.0
+ dependenciesMeta:
+ "@esbuild/aix-ppc64":
+ optional: true
+ "@esbuild/android-arm":
+ optional: true
+ "@esbuild/android-arm64":
+ optional: true
+ "@esbuild/android-x64":
+ optional: true
+ "@esbuild/darwin-arm64":
+ optional: true
+ "@esbuild/darwin-x64":
+ optional: true
+ "@esbuild/freebsd-arm64":
+ optional: true
+ "@esbuild/freebsd-x64":
+ optional: true
+ "@esbuild/linux-arm":
+ optional: true
+ "@esbuild/linux-arm64":
+ optional: true
+ "@esbuild/linux-ia32":
+ optional: true
+ "@esbuild/linux-loong64":
+ optional: true
+ "@esbuild/linux-mips64el":
+ optional: true
+ "@esbuild/linux-ppc64":
+ optional: true
+ "@esbuild/linux-riscv64":
+ optional: true
+ "@esbuild/linux-s390x":
+ optional: true
+ "@esbuild/linux-x64":
+ optional: true
+ "@esbuild/netbsd-x64":
+ optional: true
+ "@esbuild/openbsd-arm64":
+ optional: true
+ "@esbuild/openbsd-x64":
+ optional: true
+ "@esbuild/sunos-x64":
+ optional: true
+ "@esbuild/win32-arm64":
+ optional: true
+ "@esbuild/win32-ia32":
+ optional: true
+ "@esbuild/win32-x64":
+ optional: true
+ bin:
+ esbuild: bin/esbuild
+ checksum: dd386d92a05c7eb03078480522cdd8b40c434777b5f08487c27971d30933ecaae3f08bd221958dd8f9c66214915cdc85f844283ca9bdbf8ee703d889ae526edd
+ languageName: node
+ linkType: hard
+
"escalade@npm:3.1.2":
version: 3.1.2
resolution: "escalade@npm:3.1.2"
@@ -13599,6 +13847,18 @@ __metadata:
languageName: node
linkType: hard
+"fdir@npm:^6.4.2":
+ version: 6.4.2
+ resolution: "fdir@npm:6.4.2"
+ peerDependencies:
+ picomatch: ^3 || ^4
+ peerDependenciesMeta:
+ picomatch:
+ optional: true
+ checksum: 517ad31c495f1c0778238eef574a7818788efaaf2ce1969ffa18c70793e2951a9763dfa2e6720b8fcef615e602a3cbb47f9b8aea9da0b02147579ab36043f22f
+ languageName: node
+ linkType: hard
+
"fecha@npm:^4.2.0":
version: 4.2.3
resolution: "fecha@npm:4.2.3"
@@ -17135,6 +17395,13 @@ __metadata:
languageName: node
linkType: hard
+"joycon@npm:^3.1.1":
+ version: 3.1.1
+ resolution: "joycon@npm:3.1.1"
+ checksum: 8003c9c3fc79c5c7602b1c7e9f7a2df2e9916f046b0dbad862aa589be78c15734d11beb9fe846f5e06138df22cb2ad29961b6a986ba81c4920ce2b15a7f11067
+ languageName: node
+ linkType: hard
+
"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0":
version: 4.0.0
resolution: "js-tokens@npm:4.0.0"
@@ -17806,7 +18073,7 @@ __metadata:
languageName: node
linkType: hard
-"lilconfig@npm:~3.1.2":
+"lilconfig@npm:^3.1.1, lilconfig@npm:~3.1.2":
version: 3.1.2
resolution: "lilconfig@npm:3.1.2"
checksum: 4e8b83ddd1d0ad722600994e6ba5d858ddca14f0587aa6b9c8185e17548149b5e13d4d583d811e9e9323157fa8c6a527e827739794c7502b59243c58e210b8c3
@@ -17937,6 +18204,13 @@ __metadata:
languageName: node
linkType: hard
+"load-tsconfig@npm:^0.2.3":
+ version: 0.2.5
+ resolution: "load-tsconfig@npm:0.2.5"
+ checksum: 631740833c4a7157bb7b6eeae6e1afb6a6fac7416b7ba91bd0944d5c5198270af2d68bf8347af3cc2ba821adc4d83ef98f66278bd263bc284c863a09ec441503
+ languageName: node
+ linkType: hard
+
"locate-path@npm:^2.0.0":
version: 2.0.0
resolution: "locate-path@npm:2.0.0"
@@ -18024,6 +18298,13 @@ __metadata:
languageName: node
linkType: hard
+"lodash.sortby@npm:^4.7.0":
+ version: 4.7.0
+ resolution: "lodash.sortby@npm:4.7.0"
+ checksum: db170c9396d29d11fe9a9f25668c4993e0c1331bcb941ddbd48fb76f492e732add7f2a47cfdf8e9d740fa59ac41bbfaf931d268bc72aab3ab49e9f89354d718c
+ languageName: node
+ linkType: hard
+
"lodash.truncate@npm:^4.4.2":
version: 4.4.2
resolution: "lodash.truncate@npm:4.4.2"
@@ -19073,6 +19354,17 @@ __metadata:
languageName: node
linkType: hard
+"mz@npm:^2.7.0":
+ version: 2.7.0
+ resolution: "mz@npm:2.7.0"
+ dependencies:
+ any-promise: ^1.0.0
+ object-assign: ^4.0.1
+ thenify-all: ^1.0.0
+ checksum: 8427de0ece99a07e9faed3c0c6778820d7543e3776f9a84d22cf0ec0a8eb65f6e9aee9c9d353ff9a105ff62d33a9463c6ca638974cc652ee8140cd1e35951c87
+ languageName: node
+ linkType: hard
+
"nanoid@npm:^3.3.1, nanoid@npm:^3.3.4, nanoid@npm:^3.3.6, nanoid@npm:^3.3.7":
version: 3.3.7
resolution: "nanoid@npm:3.3.7"
@@ -20718,6 +21010,13 @@ __metadata:
languageName: node
linkType: hard
+"picocolors@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "picocolors@npm:1.1.1"
+ checksum: e1cf46bf84886c79055fdfa9dcb3e4711ad259949e3565154b004b260cd356c5d54b31a1437ce9782624bf766272fe6b0154f5f0c744fb7af5d454d2b60db045
+ languageName: node
+ linkType: hard
+
"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.0, picomatch@npm:^2.3.1":
version: 2.3.1
resolution: "picomatch@npm:2.3.1"
@@ -20725,6 +21024,13 @@ __metadata:
languageName: node
linkType: hard
+"picomatch@npm:^4.0.2":
+ version: 4.0.2
+ resolution: "picomatch@npm:4.0.2"
+ checksum: a7a5188c954f82c6585720e9143297ccd0e35ad8072231608086ca950bee672d51b0ef676254af0788205e59bd4e4deb4e7708769226bed725bf13370a7d1464
+ languageName: node
+ linkType: hard
+
"pidtree@npm:~0.6.0":
version: 0.6.0
resolution: "pidtree@npm:0.6.0"
@@ -20778,6 +21084,13 @@ __metadata:
languageName: node
linkType: hard
+"pirates@npm:^4.0.1":
+ version: 4.0.6
+ resolution: "pirates@npm:4.0.6"
+ checksum: 46a65fefaf19c6f57460388a5af9ab81e3d7fd0e7bc44ca59d753cb5c4d0df97c6c6e583674869762101836d68675f027d60f841c105d72734df9dfca97cbcc6
+ languageName: node
+ linkType: hard
+
"pirates@npm:^4.0.4, pirates@npm:^4.0.5":
version: 4.0.5
resolution: "pirates@npm:4.0.5"
@@ -20920,6 +21233,29 @@ __metadata:
languageName: node
linkType: hard
+"postcss-load-config@npm:^6.0.1":
+ version: 6.0.1
+ resolution: "postcss-load-config@npm:6.0.1"
+ dependencies:
+ lilconfig: ^3.1.1
+ peerDependencies:
+ jiti: ">=1.21.0"
+ postcss: ">=8.0.9"
+ tsx: ^4.8.1
+ yaml: ^2.4.2
+ peerDependenciesMeta:
+ jiti:
+ optional: true
+ postcss:
+ optional: true
+ tsx:
+ optional: true
+ yaml:
+ optional: true
+ checksum: 701061264cce7646e53e4cecd14aa95432a9bd508f30520a31dfa4c86fe9252d5d8d0204fdbfbddc1559c9b8791556e9c4b92c56070f5fca0a6c60e5ee9ad0fd
+ languageName: node
+ linkType: hard
+
"postcss-markdown@npm:^0.36.0":
version: 0.36.0
resolution: "postcss-markdown@npm:0.36.0"
@@ -22192,6 +22528,13 @@ __metadata:
languageName: node
linkType: hard
+"readdirp@npm:^4.0.1":
+ version: 4.0.2
+ resolution: "readdirp@npm:4.0.2"
+ checksum: 309376e717f94fb7eb61bec21e2603243a9e2420cd2e9bf94ddf026aefea0d7377ed1a62f016d33265682e44908049a55c3cfc2307450a1421654ea008489b39
+ languageName: node
+ linkType: hard
+
"readdirp@npm:~3.6.0":
version: 3.6.0
resolution: "readdirp@npm:3.6.0"
@@ -22732,6 +23075,75 @@ __metadata:
languageName: node
linkType: hard
+"rollup@npm:^4.24.0":
+ version: 4.27.4
+ resolution: "rollup@npm:4.27.4"
+ dependencies:
+ "@rollup/rollup-android-arm-eabi": 4.27.4
+ "@rollup/rollup-android-arm64": 4.27.4
+ "@rollup/rollup-darwin-arm64": 4.27.4
+ "@rollup/rollup-darwin-x64": 4.27.4
+ "@rollup/rollup-freebsd-arm64": 4.27.4
+ "@rollup/rollup-freebsd-x64": 4.27.4
+ "@rollup/rollup-linux-arm-gnueabihf": 4.27.4
+ "@rollup/rollup-linux-arm-musleabihf": 4.27.4
+ "@rollup/rollup-linux-arm64-gnu": 4.27.4
+ "@rollup/rollup-linux-arm64-musl": 4.27.4
+ "@rollup/rollup-linux-powerpc64le-gnu": 4.27.4
+ "@rollup/rollup-linux-riscv64-gnu": 4.27.4
+ "@rollup/rollup-linux-s390x-gnu": 4.27.4
+ "@rollup/rollup-linux-x64-gnu": 4.27.4
+ "@rollup/rollup-linux-x64-musl": 4.27.4
+ "@rollup/rollup-win32-arm64-msvc": 4.27.4
+ "@rollup/rollup-win32-ia32-msvc": 4.27.4
+ "@rollup/rollup-win32-x64-msvc": 4.27.4
+ "@types/estree": 1.0.6
+ fsevents: ~2.3.2
+ dependenciesMeta:
+ "@rollup/rollup-android-arm-eabi":
+ optional: true
+ "@rollup/rollup-android-arm64":
+ optional: true
+ "@rollup/rollup-darwin-arm64":
+ optional: true
+ "@rollup/rollup-darwin-x64":
+ optional: true
+ "@rollup/rollup-freebsd-arm64":
+ optional: true
+ "@rollup/rollup-freebsd-x64":
+ optional: true
+ "@rollup/rollup-linux-arm-gnueabihf":
+ optional: true
+ "@rollup/rollup-linux-arm-musleabihf":
+ optional: true
+ "@rollup/rollup-linux-arm64-gnu":
+ optional: true
+ "@rollup/rollup-linux-arm64-musl":
+ optional: true
+ "@rollup/rollup-linux-powerpc64le-gnu":
+ optional: true
+ "@rollup/rollup-linux-riscv64-gnu":
+ optional: true
+ "@rollup/rollup-linux-s390x-gnu":
+ optional: true
+ "@rollup/rollup-linux-x64-gnu":
+ optional: true
+ "@rollup/rollup-linux-x64-musl":
+ optional: true
+ "@rollup/rollup-win32-arm64-msvc":
+ optional: true
+ "@rollup/rollup-win32-ia32-msvc":
+ optional: true
+ "@rollup/rollup-win32-x64-msvc":
+ optional: true
+ fsevents:
+ optional: true
+ bin:
+ rollup: dist/bin/rollup
+ checksum: 7268678ce9a645fda79efa2dc3c9b458357683b0bbd8cc44f8e52d406df4d40468ea3efdf24ad01e25210594cd40902b2b3d20730e2d58e9b226cb3c48dcbd8b
+ languageName: node
+ linkType: hard
+
"run-applescript@npm:^5.0.0":
version: 5.0.0
resolution: "run-applescript@npm:5.0.0"
@@ -23477,7 +23889,7 @@ __metadata:
languageName: node
linkType: hard
-"source-map-support@npm:^0.5.16, source-map-support@npm:^0.5.21":
+"source-map-support@npm:^0.5.16":
version: 0.5.21
resolution: "source-map-support@npm:0.5.21"
dependencies:
@@ -23494,6 +23906,15 @@ __metadata:
languageName: node
linkType: hard
+"source-map@npm:0.8.0-beta.0":
+ version: 0.8.0-beta.0
+ resolution: "source-map@npm:0.8.0-beta.0"
+ dependencies:
+ whatwg-url: ^7.0.0
+ checksum: e94169be6461ab0ac0913313ad1719a14c60d402bd22b0ad96f4a6cffd79130d91ab5df0a5336a326b04d2df131c1409f563c9dc0d21a6ca6239a44b6c8dbd92
+ languageName: node
+ linkType: hard
+
"source-map@npm:^0.5.6":
version: 0.5.7
resolution: "source-map@npm:0.5.7"
@@ -24324,6 +24745,24 @@ __metadata:
languageName: node
linkType: hard
+"sucrase@npm:^3.35.0":
+ version: 3.35.0
+ resolution: "sucrase@npm:3.35.0"
+ dependencies:
+ "@jridgewell/gen-mapping": ^0.3.2
+ commander: ^4.0.0
+ glob: ^10.3.10
+ lines-and-columns: ^1.1.6
+ mz: ^2.7.0
+ pirates: ^4.0.1
+ ts-interface-checker: ^0.1.9
+ bin:
+ sucrase: bin/sucrase
+ sucrase-node: bin/sucrase-node
+ checksum: 9fc5792a9ab8a14dcf9c47dcb704431d35c1cdff1d17d55d382a31c2e8e3063870ad32ce120a80915498486246d612e30cda44f1624d9d9a10423e1a43487ad1
+ languageName: node
+ linkType: hard
+
"sugarss@npm:^2.0.0":
version: 2.0.0
resolution: "sugarss@npm:2.0.0"
@@ -24631,6 +25070,24 @@ __metadata:
languageName: node
linkType: hard
+"thenify-all@npm:^1.0.0":
+ version: 1.6.0
+ resolution: "thenify-all@npm:1.6.0"
+ dependencies:
+ thenify: ">= 3.1.0 < 4"
+ checksum: dba7cc8a23a154cdcb6acb7f51d61511c37a6b077ec5ab5da6e8b874272015937788402fd271fdfc5f187f8cb0948e38d0a42dcc89d554d731652ab458f5343e
+ languageName: node
+ linkType: hard
+
+"thenify@npm:>= 3.1.0 < 4":
+ version: 3.3.1
+ resolution: "thenify@npm:3.3.1"
+ dependencies:
+ any-promise: ^1.0.0
+ checksum: 84e1b804bfec49f3531215f17b4a6e50fd4397b5f7c1bccc427b9c656e1ecfb13ea79d899930184f78bc2f57285c54d9a50a590c8868f4f0cef5c1d9f898b05e
+ languageName: node
+ linkType: hard
+
"throttleit@npm:^1.0.0":
version: 1.0.0
resolution: "throttleit@npm:1.0.0"
@@ -24672,6 +25129,23 @@ __metadata:
languageName: node
linkType: hard
+"tinyexec@npm:^0.3.1":
+ version: 0.3.1
+ resolution: "tinyexec@npm:0.3.1"
+ checksum: 691b531d464bdc09eeba934e43d8ac2a74c9d22a4bec9cd7f4991375c64e22712f7e5a95ba243a9369a478afd34d41171359012a2248ea49615cd2816ab12959
+ languageName: node
+ linkType: hard
+
+"tinyglobby@npm:^0.2.9":
+ version: 0.2.10
+ resolution: "tinyglobby@npm:0.2.10"
+ dependencies:
+ fdir: ^6.4.2
+ picomatch: ^4.0.2
+ checksum: 7e2ffe262ebc149036bdef37c56b32d02d52cf09efa7d43dbdab2ea3c12844a4da881058835ce4c74d1891190e5ad5ec5133560a11ec8314849b68ad0d99d3f4
+ languageName: node
+ linkType: hard
+
"titleize@npm:^3.0.0":
version: 3.0.0
resolution: "titleize@npm:3.0.0"
@@ -24789,6 +25263,15 @@ __metadata:
languageName: node
linkType: hard
+"tr46@npm:^1.0.1":
+ version: 1.0.1
+ resolution: "tr46@npm:1.0.1"
+ dependencies:
+ punycode: ^2.1.0
+ checksum: 96d4ed46bc161db75dbf9247a236ea0bfcaf5758baae6749e92afab0bc5a09cb59af21788ede7e55080f2bf02dce3e4a8f2a484cc45164e29f4b5e68f7cbcc1a
+ languageName: node
+ linkType: hard
+
"tr46@npm:^3.0.0":
version: 3.0.0
resolution: "tr46@npm:3.0.0"
@@ -24805,6 +25288,15 @@ __metadata:
languageName: node
linkType: hard
+"tree-kill@npm:^1.2.2":
+ version: 1.2.2
+ resolution: "tree-kill@npm:1.2.2"
+ bin:
+ tree-kill: cli.js
+ checksum: 49117f5f410d19c84b0464d29afb9642c863bc5ba40fcb9a245d474c6d5cc64d1b177a6e6713129eb346b40aebb9d4631d967517f9fbe8251c35b21b13cd96c7
+ languageName: node
+ linkType: hard
+
"treeverse@npm:^3.0.0":
version: 3.0.0
resolution: "treeverse@npm:3.0.0"
@@ -24905,6 +25397,13 @@ __metadata:
languageName: node
linkType: hard
+"ts-interface-checker@npm:^0.1.9":
+ version: 0.1.13
+ resolution: "ts-interface-checker@npm:0.1.13"
+ checksum: 20c29189c2dd6067a8775e07823ddf8d59a33e2ffc47a1bd59a5cb28bb0121a2969a816d5e77eda2ed85b18171aa5d1c4005a6b88ae8499ec7cc49f78571cb5e
+ languageName: node
+ linkType: hard
+
"ts-morph@npm:21.0.1":
version: 21.0.1
resolution: "ts-morph@npm:21.0.1"
@@ -24973,6 +25472,47 @@ __metadata:
languageName: node
linkType: hard
+"tsup@npm:^8.3.5":
+ version: 8.3.5
+ resolution: "tsup@npm:8.3.5"
+ dependencies:
+ bundle-require: ^5.0.0
+ cac: ^6.7.14
+ chokidar: ^4.0.1
+ consola: ^3.2.3
+ debug: ^4.3.7
+ esbuild: ^0.24.0
+ joycon: ^3.1.1
+ picocolors: ^1.1.1
+ postcss-load-config: ^6.0.1
+ resolve-from: ^5.0.0
+ rollup: ^4.24.0
+ source-map: 0.8.0-beta.0
+ sucrase: ^3.35.0
+ tinyexec: ^0.3.1
+ tinyglobby: ^0.2.9
+ tree-kill: ^1.2.2
+ peerDependencies:
+ "@microsoft/api-extractor": ^7.36.0
+ "@swc/core": ^1
+ postcss: ^8.4.12
+ typescript: ">=4.5.0"
+ peerDependenciesMeta:
+ "@microsoft/api-extractor":
+ optional: true
+ "@swc/core":
+ optional: true
+ postcss:
+ optional: true
+ typescript:
+ optional: true
+ bin:
+ tsup: dist/cli-default.js
+ tsup-node: dist/cli-node.js
+ checksum: 11802bc264f02572fca5d61882f4867f6c2db987ce076a3df257bcd58866388142218d30d92ad4183ffa95bb83cc9ccfb757dba5e008657b2115508a178330a0
+ languageName: node
+ linkType: hard
+
"tuf-js@npm:^2.2.1":
version: 2.2.1
resolution: "tuf-js@npm:2.2.1"
@@ -25992,6 +26532,13 @@ __metadata:
languageName: node
linkType: hard
+"webidl-conversions@npm:^4.0.2":
+ version: 4.0.2
+ resolution: "webidl-conversions@npm:4.0.2"
+ checksum: c93d8dfe908a0140a4ae9c0ebc87a33805b416a33ee638a605b551523eec94a9632165e54632f6d57a39c5f948c4bab10e0e066525e9a4b87a79f0d04fbca374
+ languageName: node
+ linkType: hard
+
"webidl-conversions@npm:^7.0.0":
version: 7.0.0
resolution: "webidl-conversions@npm:7.0.0"
@@ -26056,6 +26603,17 @@ __metadata:
languageName: node
linkType: hard
+"whatwg-url@npm:^7.0.0":
+ version: 7.1.0
+ resolution: "whatwg-url@npm:7.1.0"
+ dependencies:
+ lodash.sortby: ^4.7.0
+ tr46: ^1.0.1
+ webidl-conversions: ^4.0.2
+ checksum: fecb07c87290b47d2ec2fb6d6ca26daad3c9e211e0e531dd7566e7ff95b5b3525a57d4f32640ad4adf057717e0c215731db842ad761e61d947e81010e05cf5fd
+ languageName: node
+ linkType: hard
+
"which-boxed-primitive@npm:^1.0.2":
version: 1.0.2
resolution: "which-boxed-primitive@npm:1.0.2"