Fix Tsup setup to fuel docs with twenty-ui components (#2978)

This commit is contained in:
Charles Bochet 2023-12-13 16:40:31 +01:00 committed by GitHub
parent e08790c344
commit 9eddaffac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 1631 additions and 35 deletions

View File

@ -1,5 +1,5 @@
import { SandpackProvider, SandpackLayout, SandpackCodeEditor, SandpackPreview } from "@codesandbox/sandpack-react";
import uiModule from "!!raw-loader!@site/src/ui/generated/index.js";
import uiModule from "!!raw-loader!@site/src/ui/generated/index.cjs";
import uiComponentsCSS from '!!raw-loader!@site/src/ui/uiComponents.css'
export const SandpackEditor = ({ availableComponentPaths, componentCode}) => {

File diff suppressed because one or more lines are too long

View File

@ -273,7 +273,7 @@ declare const lightTheme: {
};
};
spacingMultiplicator: number;
spacing: (multiplicator: number) => string;
spacing: (...args: number[]) => string;
betweenSiblingsGap: string;
table: {
horizontalCellMargin: string;
@ -286,8 +286,10 @@ declare const lightTheme: {
type ThemeType = typeof lightTheme;
declare const darkTheme: ThemeType;
type CheckmarkProps = React__default.ComponentPropsWithoutRef<'div'>;
declare const Checkmark: (_props: CheckmarkProps) => react_jsx_runtime.JSX.Element;
type CheckmarkProps = React__default.ComponentPropsWithoutRef<'div'> & {
className?: string;
};
declare const Checkmark: ({ className }: CheckmarkProps) => react_jsx_runtime.JSX.Element;
type AnimatedCheckmarkProps = React.ComponentProps<typeof motion.path> & {
isAnimating?: boolean;
@ -343,17 +345,21 @@ type EntityChipProps = {
avatarType?: AvatarType;
variant?: EntityChipVariant;
LeftIcon?: IconComponent;
className?: string;
};
declare enum EntityChipVariant {
Regular = "regular",
Transparent = "transparent"
}
declare const EntityChip: ({ linkToEntity, entityId, name, avatarUrl, avatarType, variant, LeftIcon, }: EntityChipProps) => react_jsx_runtime.JSX.Element;
declare const EntityChip: ({ linkToEntity, entityId, name, avatarUrl, avatarType, variant, LeftIcon, className, }: EntityChipProps) => react_jsx_runtime.JSX.Element;
type IconAddressBookProps = TablerIconsProps;
declare const IconAddressBook: (props: IconAddressBookProps) => JSX.Element;
declare const SoonPill: () => react_jsx_runtime.JSX.Element;
type SoonPillProps = {
className?: string;
};
declare const SoonPill: ({ className }: SoonPillProps) => react_jsx_runtime.JSX.Element;
declare const mainColors: {
green: string;
@ -396,8 +402,9 @@ type AppTooltipProps = {
};
declare const AppTooltip: ({ anchorSelect, className, content, delayHide, isOpen, noArrow, offset, place, positionStrategy, }: AppTooltipProps) => react_jsx_runtime.JSX.Element;
declare const OverflowingTextWithTooltip: ({ text, }: {
declare const OverflowingTextWithTooltip: ({ text, className, }: {
text: string | null | undefined;
className?: string | undefined;
}) => react_jsx_runtime.JSX.Element;
type ProgressBarProps = {
@ -407,6 +414,11 @@ type ProgressBarProps = {
barHeight?: number;
barColor?: string;
autoStart?: boolean;
className?: string;
};
type StyledBarProps = {
barHeight?: number;
className?: string;
};
type ProgressBarControls = AnimationControls & {
start: () => Promise<any>;
@ -464,8 +476,9 @@ declare const FloatingButton: ({ className, Icon, title, size, applyBlur, applyS
type FloatingButtonGroupProps = Pick<FloatingButtonProps, 'size'> & {
children: React__default.ReactElement[];
className?: string;
};
declare const FloatingButtonGroup: ({ children, size, }: FloatingButtonGroupProps) => react_jsx_runtime.JSX.Element;
declare const FloatingButtonGroup: ({ children, size, className, }: FloatingButtonGroupProps) => react_jsx_runtime.JSX.Element;
type FloatingIconButtonSize = 'small' | 'medium';
type FloatingIconButtonPosition = 'standalone' | 'left' | 'middle' | 'right';
@ -495,7 +508,7 @@ declare const FloatingIconButtonGroup: ({ iconButtons, size, className, }: Float
type LightButtonAccent = 'secondary' | 'tertiary';
type LightButtonProps = {
className?: string;
icon?: React__default.ReactNode;
Icon?: IconComponent;
title?: string;
accent?: LightButtonAccent;
active?: boolean;
@ -503,7 +516,7 @@ type LightButtonProps = {
focus?: boolean;
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
};
declare const LightButton: ({ className, icon: initialIcon, title, active, accent, disabled, focus, onClick, }: LightButtonProps) => react_jsx_runtime.JSX.Element;
declare const LightButton: ({ className, Icon, title, active, accent, disabled, focus, onClick, }: LightButtonProps) => react_jsx_runtime.JSX.Element;
type LightIconButtonAccent = 'secondary' | 'tertiary';
type LightIconButtonSize = 'small' | 'medium';
@ -531,18 +544,19 @@ type Props = {
type MainButtonProps = Props & {
Icon?: IconComponent;
};
declare const MainButton: ({ Icon, title, fullWidth, variant, type, onClick, disabled, }: MainButtonProps) => react_jsx_runtime.JSX.Element;
declare const MainButton: ({ Icon, title, fullWidth, variant, type, onClick, disabled, className, }: MainButtonProps) => react_jsx_runtime.JSX.Element;
type RoundedIconButtonProps = {
Icon: IconComponent;
} & React.ButtonHTMLAttributes<HTMLButtonElement>;
declare const RoundedIconButton: ({ Icon, onClick, disabled, }: RoundedIconButtonProps) => react_jsx_runtime.JSX.Element;
declare const RoundedIconButton: ({ Icon, onClick, disabled, className, }: RoundedIconButtonProps) => react_jsx_runtime.JSX.Element;
type ColorScheme = 'Dark' | 'Light' | 'System';
type ColorSchemeSegmentProps = {
variant: ColorScheme;
controls: AnimationControls;
className?: string;
} & React__default.ComponentPropsWithoutRef<'div'>;
type ColorSchemeCardProps = {
variant: ColorScheme;
@ -552,9 +566,10 @@ declare const ColorSchemeCard: ({ variant, selected, onClick, }: ColorSchemeCard
type ColorSchemePickerProps = {
value: ColorScheme;
className?: string;
onChange: (value: ColorScheme) => void;
};
declare const ColorSchemePicker: ({ value, onChange, }: ColorSchemePickerProps) => react_jsx_runtime.JSX.Element;
declare const ColorSchemePicker: ({ value, onChange, className, }: ColorSchemePickerProps) => react_jsx_runtime.JSX.Element;
declare enum AutosizeTextInputVariant {
Default = "default",
@ -569,8 +584,9 @@ type AutosizeTextInputProps = {
variant?: AutosizeTextInputVariant;
buttonTitle?: string;
value?: string;
className?: string;
};
declare const AutosizeTextInput: ({ placeholder, onValidate, minRows, onFocus, variant, buttonTitle, value, }: AutosizeTextInputProps) => react_jsx_runtime.JSX.Element;
declare const AutosizeTextInput: ({ placeholder, onValidate, minRows, onFocus, variant, buttonTitle, value, className, }: AutosizeTextInputProps) => react_jsx_runtime.JSX.Element;
declare enum CheckboxVariant {
Primary = "primary",
@ -593,8 +609,9 @@ type CheckboxProps = {
variant?: CheckboxVariant;
size?: CheckboxSize;
shape?: CheckboxShape;
className?: string;
};
declare const Checkbox: ({ checked, onChange, onCheckedChange, indeterminate, variant, size, shape, }: CheckboxProps) => react_jsx_runtime.JSX.Element;
declare const Checkbox: ({ checked, onChange, onCheckedChange, indeterminate, variant, size, shape, className, }: CheckboxProps) => react_jsx_runtime.JSX.Element;
type EntityTitleDoubleTextInputProps = {
firstValue: string;
@ -602,8 +619,9 @@ type EntityTitleDoubleTextInputProps = {
firstValuePlaceholder: string;
secondValuePlaceholder: string;
onChange: (firstValue: string, secondValue: string) => void;
className?: string;
};
declare const EntityTitleDoubleTextInput: ({ firstValue, secondValue, firstValuePlaceholder, secondValuePlaceholder, onChange, }: EntityTitleDoubleTextInputProps) => react_jsx_runtime.JSX.Element;
declare const EntityTitleDoubleTextInput: ({ firstValue, secondValue, firstValuePlaceholder, secondValuePlaceholder, onChange, className, }: EntityTitleDoubleTextInputProps) => react_jsx_runtime.JSX.Element;
type IconButtonVariant = 'primary' | 'secondary' | 'tertiary';
@ -619,8 +637,9 @@ type IconPickerProps = {
onClose?: () => void;
onOpen?: () => void;
variant?: IconButtonVariant;
className?: string;
};
declare const IconPicker: ({ disabled, dropdownScopeId, onChange, selectedIconKey, onClickOutside, onClose, onOpen, variant, }: IconPickerProps) => react_jsx_runtime.JSX.Element;
declare const IconPicker: ({ disabled, dropdownScopeId, onChange, selectedIconKey, onClickOutside, onClose, onOpen, variant, className, }: IconPickerProps) => react_jsx_runtime.JSX.Element;
type ImageInputProps = Omit<React__default.ComponentProps<'div'>, 'children'> & {
picture: string | null | undefined;
@ -630,8 +649,9 @@ type ImageInputProps = Omit<React__default.ComponentProps<'div'>, 'children'> &
isUploading?: boolean;
errorMessage?: string | null;
disabled?: boolean;
className?: string;
};
declare const ImageInput: ({ picture, onUpload, onRemove, onAbort, isUploading, errorMessage, disabled, }: ImageInputProps) => react_jsx_runtime.JSX.Element;
declare const ImageInput: ({ picture, onUpload, onRemove, onAbort, isUploading, errorMessage, disabled, className, }: ImageInputProps) => react_jsx_runtime.JSX.Element;
declare enum RadioSize {
Large = "large",
@ -653,7 +673,7 @@ type RadioProps = {
labelPosition?: LabelPosition;
};
declare const Radio: {
({ checked, value, onChange, onCheckedChange, size, labelPosition, disabled, }: RadioProps): react_jsx_runtime.JSX.Element;
({ checked, value, onChange, onCheckedChange, size, labelPosition, disabled, className, }: RadioProps): react_jsx_runtime.JSX.Element;
Group: ({ value, onChange, onValueChange, children, }: {
children?: React$1.ReactNode;
} & {
@ -674,6 +694,7 @@ type SelectProps<Value extends string | number | null> = {
className?: string;
disabled?: boolean;
dropdownScopeId: string;
fullWidth?: boolean;
label?: string;
onChange?: (value: Value) => void;
options: {
@ -683,7 +704,7 @@ type SelectProps<Value extends string | number | null> = {
}[];
value?: Value;
};
declare const Select: <Value extends string | number | null>({ className, disabled, dropdownScopeId, label, onChange, options, value, }: SelectProps<Value>) => react_jsx_runtime.JSX.Element;
declare const Select: <Value extends string | number | null>({ className, disabled, dropdownScopeId, fullWidth, label, onChange, options, value, }: SelectProps<Value>) => react_jsx_runtime.JSX.Element;
type TextAreaProps = {
disabled?: boolean;
@ -691,8 +712,9 @@ type TextAreaProps = {
onChange?: (value: string) => void;
placeholder?: string;
value?: string;
className?: string;
};
declare const TextArea: ({ disabled, placeholder, minRows, value, onChange, }: TextAreaProps) => react_jsx_runtime.JSX.Element;
declare const TextArea: ({ disabled, placeholder, minRows, value, className, onChange, }: TextAreaProps) => react_jsx_runtime.JSX.Element;
type TextInputComponentProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'onKeyDown'> & {
className?: string;
@ -721,12 +743,13 @@ type ToggleProps = {
onChange?: (value: boolean) => void;
color?: string;
toggleSize?: ToggleSize;
className?: string;
};
declare const Toggle: ({ value, onChange, color, toggleSize, }: ToggleProps) => react_jsx_runtime.JSX.Element;
declare const Toggle: ({ value, onChange, color, toggleSize, className, }: ToggleProps) => react_jsx_runtime.JSX.Element;
declare module '@emotion/react' {
interface Theme extends ThemeType {
}
}
export { AnimatedCheckmark, AnimatedCheckmarkProps, AppTooltip, AppTooltipProps, AutosizeTextInput, AutosizeTextInputVariant, Button, ButtonAccent, ButtonGroup, ButtonGroupProps, ButtonPosition, ButtonProps, ButtonSize, ButtonVariant, Checkbox, CheckboxShape, CheckboxSize, CheckboxVariant, Checkmark, CheckmarkProps, Chip, ChipAccent, ChipSize, ChipVariant, CircularProgressBar, ColorSchemeCard, ColorSchemeCardProps, ColorSchemePicker, ColorSchemePickerProps, ColorSchemeSegmentProps, EntityChip, EntityChipProps, EntityChipVariant, EntityTitleDoubleTextInput, EntityTitleDoubleTextInputProps, FloatingButton, FloatingButtonGroup, FloatingButtonGroupProps, FloatingButtonPosition, FloatingButtonProps, FloatingButtonSize, FloatingIconButton, FloatingIconButtonGroup, FloatingIconButtonGroupProps, FloatingIconButtonPosition, FloatingIconButtonProps, FloatingIconButtonSize, IconAddressBook, IconPicker, ImageInput, LabelPosition, LightButton, LightButtonAccent, LightButtonProps, LightIconButton, LightIconButtonAccent, LightIconButtonProps, LightIconButtonSize, MainButton, OverflowingTextWithTooltip, ProgressBar, ProgressBarControls, ProgressBarProps, Radio, RadioGroup, RadioProps, RadioSize, RoundedIconButton, Select, SelectProps, SoonPill, Tag, TextArea, TextAreaProps, TextInput, TextInputComponentProps, Toggle, ToggleProps, ToggleSize, TooltipPosition, darkTheme, lightTheme };
export { AnimatedCheckmark, type AnimatedCheckmarkProps, AppTooltip, type AppTooltipProps, AutosizeTextInput, AutosizeTextInputVariant, Button, type ButtonAccent, ButtonGroup, type ButtonGroupProps, type ButtonPosition, type ButtonProps, type ButtonSize, type ButtonVariant, Checkbox, CheckboxShape, CheckboxSize, CheckboxVariant, Checkmark, type CheckmarkProps, Chip, ChipAccent, ChipSize, ChipVariant, CircularProgressBar, ColorSchemeCard, type ColorSchemeCardProps, ColorSchemePicker, type ColorSchemePickerProps, type ColorSchemeSegmentProps, EntityChip, type EntityChipProps, EntityChipVariant, EntityTitleDoubleTextInput, type EntityTitleDoubleTextInputProps, FloatingButton, FloatingButtonGroup, type FloatingButtonGroupProps, type FloatingButtonPosition, type FloatingButtonProps, type FloatingButtonSize, FloatingIconButton, FloatingIconButtonGroup, type FloatingIconButtonGroupProps, type FloatingIconButtonPosition, type FloatingIconButtonProps, type FloatingIconButtonSize, IconAddressBook, IconPicker, ImageInput, LabelPosition, LightButton, type LightButtonAccent, type LightButtonProps, LightIconButton, type LightIconButtonAccent, type LightIconButtonProps, type LightIconButtonSize, MainButton, OverflowingTextWithTooltip, ProgressBar, type ProgressBarControls, type ProgressBarProps, Radio, RadioGroup, type RadioProps, RadioSize, RoundedIconButton, Select, type SelectProps, SoonPill, type StyledBarProps, Tag, TextArea, type TextAreaProps, TextInput, type TextInputComponentProps, Toggle, type ToggleProps, type ToggleSize, TooltipPosition, darkTheme, lightTheme };

File diff suppressed because one or more lines are too long

View File

@ -14,6 +14,7 @@
"fmt:fix": "prettier --cache --write \"src/**/*.ts\" \"src/**/*.tsx\"",
"fmt": "prettier --check \"src/**/*.ts\" \"src/**/*.tsx\"",
"test": "jest",
"tsup": "tsup",
"coverage": "jest --coverage",
"storybook:modules:dev": "STORYBOOK_SCOPE=modules yarn storybook:dev",
"storybook:dev": "storybook dev -p 6006 --no-open",
@ -52,6 +53,7 @@
"apollo-upload-client": "^17.0.0",
"date-fns": "^2.30.0",
"deep-equal": "^2.2.2",
"esbuild-plugin-svgr": "^2.1.0",
"framer-motion": "^10.12.17",
"graphql": "^16.6.0",
"hex-rgb": "^5.0.0",
@ -83,6 +85,7 @@
"recoil": "^0.7.7",
"scroll-into-view": "^1.16.2",
"ts-key-enum": "^2.0.12",
"tsup": "^8.0.1",
"type-fest": "^4.1.0",
"uuid": "^9.0.0",
"vite-tsconfig-paths": "^4.2.1",

View File

@ -9,7 +9,7 @@ export default defineConfig([
verbose: true,
dts: true,
clean: true,
outDir: "../docs/src/ui/generated",
outDir: "../twenty-docs/src/ui/generated",
esbuildPlugins: [svgr({ template })],
},
]);

349
yarn.lock
View File

@ -8777,6 +8777,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-android-arm-eabi@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-android-arm-eabi@npm:4.9.0"
conditions: os=android & cpu=arm
languageName: node
linkType: hard
"@rollup/rollup-android-arm64@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-android-arm64@npm:4.8.0"
@ -8784,6 +8791,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-android-arm64@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-android-arm64@npm:4.9.0"
conditions: os=android & cpu=arm64
languageName: node
linkType: hard
"@rollup/rollup-darwin-arm64@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-darwin-arm64@npm:4.8.0"
@ -8791,6 +8805,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-darwin-arm64@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-darwin-arm64@npm:4.9.0"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@rollup/rollup-darwin-x64@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-darwin-x64@npm:4.8.0"
@ -8798,6 +8819,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-darwin-x64@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-darwin-x64@npm:4.9.0"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"@rollup/rollup-linux-arm-gnueabihf@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.8.0"
@ -8805,6 +8833,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-linux-arm-gnueabihf@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.9.0"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
"@rollup/rollup-linux-arm64-gnu@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.8.0"
@ -8812,6 +8847,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-linux-arm64-gnu@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.9.0"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
"@rollup/rollup-linux-arm64-musl@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.8.0"
@ -8819,6 +8861,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-linux-arm64-musl@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.9.0"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
"@rollup/rollup-linux-riscv64-gnu@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.8.0"
@ -8826,6 +8875,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-linux-riscv64-gnu@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.9.0"
conditions: os=linux & cpu=riscv64 & libc=glibc
languageName: node
linkType: hard
"@rollup/rollup-linux-x64-gnu@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.8.0"
@ -8833,6 +8889,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-linux-x64-gnu@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.9.0"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
"@rollup/rollup-linux-x64-musl@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-x64-musl@npm:4.8.0"
@ -8840,6 +8903,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-linux-x64-musl@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-linux-x64-musl@npm:4.9.0"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
"@rollup/rollup-win32-arm64-msvc@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.8.0"
@ -8847,6 +8917,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-win32-arm64-msvc@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.9.0"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"@rollup/rollup-win32-ia32-msvc@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.8.0"
@ -8854,6 +8931,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-win32-ia32-msvc@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.9.0"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
"@rollup/rollup-win32-x64-msvc@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.8.0"
@ -8861,6 +8945,13 @@ __metadata:
languageName: node
linkType: hard
"@rollup/rollup-win32-x64-msvc@npm:4.9.0":
version: 4.9.0
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.9.0"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@sentry-internal/tracing@npm:7.86.0":
version: 7.86.0
resolution: "@sentry-internal/tracing@npm:7.86.0"
@ -10726,7 +10817,7 @@ __metadata:
languageName: node
linkType: hard
"@svgr/core@npm:^8.1.0":
"@svgr/core@npm:^8.0.0, @svgr/core@npm:^8.1.0":
version: 8.1.0
resolution: "@svgr/core@npm:8.1.0"
dependencies:
@ -10773,7 +10864,7 @@ __metadata:
languageName: node
linkType: hard
"@svgr/plugin-jsx@npm:^8.1.0":
"@svgr/plugin-jsx@npm:^8.0.1, @svgr/plugin-jsx@npm:^8.1.0":
version: 8.1.0
resolution: "@svgr/plugin-jsx@npm:8.1.0"
dependencies:
@ -15690,6 +15781,17 @@ __metadata:
languageName: node
linkType: hard
"bundle-require@npm:^4.0.0":
version: 4.0.2
resolution: "bundle-require@npm:4.0.2"
dependencies:
load-tsconfig: "npm:^0.2.3"
peerDependencies:
esbuild: ">=0.17"
checksum: 984735cfcb1c61931e9325220ef8f9684c7d6905be1b45373a7ff42893910121c655f907cc96192a589da66d79a7d6fc8ddf11144628ee1593208a88bbd3929d
languageName: node
linkType: hard
"busboy@npm:^0.3.1":
version: 0.3.1
resolution: "busboy@npm:0.3.1"
@ -15722,6 +15824,13 @@ __metadata:
languageName: node
linkType: hard
"cac@npm:^6.7.12":
version: 6.7.14
resolution: "cac@npm:6.7.14"
checksum: 4ee06aaa7bab8981f0d54e5f5f9d4adcd64058e9697563ce336d8a3878ed018ee18ebe5359b2430eceae87e0758e62ea2019c3f52ae6e211b1bd2e133856cd10
languageName: node
linkType: hard
"cacache@npm:^16.1.0":
version: 16.1.3
resolution: "cacache@npm:16.1.3"
@ -16120,7 +16229,7 @@ __metadata:
languageName: node
linkType: hard
"chokidar@npm:3.5.3, chokidar@npm:^3.4.2, chokidar@npm:^3.5.3":
"chokidar@npm:3.5.3, chokidar@npm:^3.4.2, chokidar@npm:^3.5.1, chokidar@npm:^3.5.3":
version: 3.5.3
resolution: "chokidar@npm:3.5.3"
dependencies:
@ -16567,7 +16676,7 @@ __metadata:
languageName: node
linkType: hard
"commander@npm:4.1.1":
"commander@npm:4.1.1, commander@npm:^4.0.0":
version: 4.1.1
resolution: "commander@npm:4.1.1"
checksum: 84a76c08fe6cc08c9c93f62ac573d2907d8e79138999312c92d4155bc2325d487d64d13f669b2000c9f8caf70493c1be2dac74fec3c51d5a04f8bc3ae1830bab
@ -18514,6 +18623,18 @@ __metadata:
languageName: node
linkType: hard
"esbuild-plugin-svgr@npm:^2.1.0":
version: 2.1.0
resolution: "esbuild-plugin-svgr@npm:2.1.0"
dependencies:
"@svgr/core": "npm:^8.0.0"
"@svgr/plugin-jsx": "npm:^8.0.1"
peerDependencies:
esbuild: ^0.19.1
checksum: 873b4cd7dc7ea6667126ee3f275021b2322d60851e252e582a513f2cb755443ee1eed054657810aa6a269bb70324e6c448c4b69989b66869eb654928a1f62cc7
languageName: node
linkType: hard
"esbuild-register@npm:^3.5.0":
version: 3.5.0
resolution: "esbuild-register@npm:3.5.0"
@ -18602,7 +18723,7 @@ __metadata:
languageName: node
linkType: hard
"esbuild@npm:^0.19.3":
"esbuild@npm:^0.19.2, esbuild@npm:^0.19.3":
version: 0.19.9
resolution: "esbuild@npm:0.19.9"
dependencies:
@ -18966,8 +19087,8 @@ __metadata:
"eslint-plugin-twenty@file:../eslint-plugin-twenty::locator=twenty-front%40workspace%3Apackages%2Ftwenty-front":
version: 1.0.3
resolution: "eslint-plugin-twenty@file:../eslint-plugin-twenty#../eslint-plugin-twenty::hash=755c0c&locator=twenty-front%40workspace%3Apackages%2Ftwenty-front"
checksum: 3687c4e0fc2b8bc991e9b5a3e9bffdf120cce6ca3f04a6abba5bd831ea178eb18eec20288c75a460d54b766e5d1b678ba5c1d528f721e33dc18fe0bffed15b68
resolution: "eslint-plugin-twenty@file:../eslint-plugin-twenty#../eslint-plugin-twenty::hash=2e5a59&locator=twenty-front%40workspace%3Apackages%2Ftwenty-front"
checksum: 4b12b2be1d0f355f9b932f209abbda06fe51eca3092592ce443ddfb379dc12af0d00e5a124acc0070b3913b0c6468ba7fb513cd13251c4684abaf2b00152bdea
languageName: node
linkType: hard
@ -20528,6 +20649,20 @@ __metadata:
languageName: node
linkType: hard
"glob@npm:7.1.6":
version: 7.1.6
resolution: "glob@npm:7.1.6"
dependencies:
fs.realpath: "npm:^1.0.0"
inflight: "npm:^1.0.4"
inherits: "npm:2"
minimatch: "npm:^3.0.4"
once: "npm:^1.3.0"
path-is-absolute: "npm:^1.0.0"
checksum: 2575cce9306ac534388db751f0aa3e78afedb6af8f3b529ac6b2354f66765545145dba8530abf7bff49fb399a047d3f9b6901c38ee4c9503f592960d9af67763
languageName: node
linkType: hard
"glob@npm:^10.0.0, glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7":
version: 10.3.10
resolution: "glob@npm:10.3.10"
@ -24221,6 +24356,13 @@ __metadata:
languageName: node
linkType: hard
"joycon@npm:^3.0.1":
version: 3.1.1
resolution: "joycon@npm:3.1.1"
checksum: 131fb1e98c9065d067fd49b6e685487ac4ad4d254191d7aa2c9e3b90f4e9ca70430c43cad001602bdbdabcf58717d3b5c5b7461c1bd8e39478c8de706b3fe6ae
languageName: node
linkType: hard
"js-cookie@npm:^3.0.5":
version: 3.0.5
resolution: "js-cookie@npm:3.0.5"
@ -24679,6 +24821,13 @@ __metadata:
languageName: node
linkType: hard
"lilconfig@npm:^3.0.0":
version: 3.0.0
resolution: "lilconfig@npm:3.0.0"
checksum: 7f5ee7a658dc016cacf146815e8d88b06f06f4402823b8b0934e305a57a197f55ccc9c5cd4fb5ea1b2b821c8ccaf2d54abd59602a4931af06eabda332388d3e6
languageName: node
linkType: hard
"lines-and-columns@npm:^1.1.6":
version: 1.2.4
resolution: "lines-and-columns@npm:1.2.4"
@ -24739,6 +24888,13 @@ __metadata:
languageName: node
linkType: hard
"load-tsconfig@npm:^0.2.3":
version: 0.2.5
resolution: "load-tsconfig@npm:0.2.5"
checksum: bf2823dd26389d3497b6567f07435c5a7a58d9df82e879b0b3892f87d8db26900f84c85bc329ef41c0540c0d6a448d1c23ddc64a80f3ff6838b940f3915a3fcb
languageName: node
linkType: hard
"loader-runner@npm:^4.2.0":
version: 4.3.0
resolution: "loader-runner@npm:4.3.0"
@ -27158,7 +27314,7 @@ __metadata:
languageName: node
linkType: hard
"mz@npm:^2.4.0":
"mz@npm:^2.4.0, mz@npm:^2.7.0":
version: 2.7.0
resolution: "mz@npm:2.7.0"
dependencies:
@ -28692,7 +28848,7 @@ __metadata:
languageName: node
linkType: hard
"pirates@npm:^4.0.4, pirates@npm:^4.0.5":
"pirates@npm:^4.0.1, pirates@npm:^4.0.4, pirates@npm:^4.0.5":
version: 4.0.6
resolution: "pirates@npm:4.0.6"
checksum: 00d5fa51f8dded94d7429700fb91a0c1ead00ae2c7fd27089f0c5b63e6eca36197fe46384631872690a66f390c5e27198e99006ab77ae472692ab9c2ca903f36
@ -28880,6 +29036,24 @@ __metadata:
languageName: node
linkType: hard
"postcss-load-config@npm:^4.0.1":
version: 4.0.2
resolution: "postcss-load-config@npm:4.0.2"
dependencies:
lilconfig: "npm:^3.0.0"
yaml: "npm:^2.3.4"
peerDependencies:
postcss: ">=8.0.9"
ts-node: ">=9.0.0"
peerDependenciesMeta:
postcss:
optional: true
ts-node:
optional: true
checksum: 3d7939acb3570b0e4b4740e483d6e555a3e2de815219cb8a3c8fc03f575a6bde667443aa93369c0be390af845cb84471bf623e24af833260de3a105b78d42519
languageName: node
linkType: hard
"postcss-loader@npm:^7.3.3":
version: 7.3.3
resolution: "postcss-loader@npm:7.3.3"
@ -31520,6 +31694,59 @@ __metadata:
languageName: node
linkType: hard
"rollup@npm:^4.0.2":
version: 4.9.0
resolution: "rollup@npm:4.9.0"
dependencies:
"@rollup/rollup-android-arm-eabi": "npm:4.9.0"
"@rollup/rollup-android-arm64": "npm:4.9.0"
"@rollup/rollup-darwin-arm64": "npm:4.9.0"
"@rollup/rollup-darwin-x64": "npm:4.9.0"
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.9.0"
"@rollup/rollup-linux-arm64-gnu": "npm:4.9.0"
"@rollup/rollup-linux-arm64-musl": "npm:4.9.0"
"@rollup/rollup-linux-riscv64-gnu": "npm:4.9.0"
"@rollup/rollup-linux-x64-gnu": "npm:4.9.0"
"@rollup/rollup-linux-x64-musl": "npm:4.9.0"
"@rollup/rollup-win32-arm64-msvc": "npm:4.9.0"
"@rollup/rollup-win32-ia32-msvc": "npm:4.9.0"
"@rollup/rollup-win32-x64-msvc": "npm:4.9.0"
fsevents: "npm:~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-linux-arm-gnueabihf":
optional: true
"@rollup/rollup-linux-arm64-gnu":
optional: true
"@rollup/rollup-linux-arm64-musl":
optional: true
"@rollup/rollup-linux-riscv64-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: eba46d63c807bda74215db4ec6abb59d8a0bb0233b3ae77cd9510179e85daf1472191a519006e3d1519077eb90c9596febe7b34b0396940e7bd2e835dd98d51a
languageName: node
linkType: hard
"rollup@npm:^4.2.0":
version: 4.8.0
resolution: "rollup@npm:4.8.0"
@ -32396,6 +32623,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: "npm:^7.0.0"
checksum: fb4d9bde9a9fdb2c29b10e5eae6c71d10e09ef467e1afb75fdec2eb7e11fa5b343a2af553f74f18b695dbc0b81f9da2e9fa3d7a317d5985e9939499ec6087835
languageName: node
linkType: hard
"source-map@npm:^0.5.6, source-map@npm:^0.5.7":
version: 0.5.7
resolution: "source-map@npm:0.5.7"
@ -33056,6 +33292,24 @@ __metadata:
languageName: node
linkType: hard
"sucrase@npm:^3.20.3":
version: 3.34.0
resolution: "sucrase@npm:3.34.0"
dependencies:
"@jridgewell/gen-mapping": "npm:^0.3.2"
commander: "npm:^4.0.0"
glob: "npm:7.1.6"
lines-and-columns: "npm:^1.1.6"
mz: "npm:^2.7.0"
pirates: "npm:^4.0.1"
ts-interface-checker: "npm:^0.1.9"
bin:
sucrase: bin/sucrase
sucrase-node: bin/sucrase-node
checksum: 83e524f2b9386c7029fc9e46b8d608485866d08bea5a0a71e9e3442dc12e1d05a5ab555808d1922f45dd012fc71043479d778aac07391d9740daabe45730a056
languageName: node
linkType: hard
"superagent@npm:^8.0.5":
version: 8.1.2
resolution: "superagent@npm:8.1.2"
@ -33590,6 +33844,15 @@ __metadata:
languageName: node
linkType: hard
"tr46@npm:^1.0.1":
version: 1.0.1
resolution: "tr46@npm:1.0.1"
dependencies:
punycode: "npm:^2.1.0"
checksum: 41525c2ccce86e3ef30af6fa5e1464e6d8bb4286a58ea8db09228f598889581ef62347153f6636cd41553dc41685bdfad0a9d032ef58df9fbb0792b3447d0f04
languageName: node
linkType: hard
"tr46@npm:^3.0.0":
version: 3.0.0
resolution: "tr46@npm:3.0.0"
@ -33668,6 +33931,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: 232509f1b84192d07b81d1e9b9677088e590ac1303436da1e92b296e9be8e31ea042e3e1fd3d29b1742ad2c959e95afe30f63117b8f1bc3a3850070a5142fea7
languageName: node
linkType: hard
"ts-invariant@npm:^0.10.3":
version: 0.10.3
resolution: "ts-invariant@npm:0.10.3"
@ -33919,6 +34189,45 @@ __metadata:
languageName: node
linkType: hard
"tsup@npm:^8.0.1":
version: 8.0.1
resolution: "tsup@npm:8.0.1"
dependencies:
bundle-require: "npm:^4.0.0"
cac: "npm:^6.7.12"
chokidar: "npm:^3.5.1"
debug: "npm:^4.3.1"
esbuild: "npm:^0.19.2"
execa: "npm:^5.0.0"
globby: "npm:^11.0.3"
joycon: "npm:^3.0.1"
postcss-load-config: "npm:^4.0.1"
resolve-from: "npm:^5.0.0"
rollup: "npm:^4.0.2"
source-map: "npm:0.8.0-beta.0"
sucrase: "npm:^3.20.3"
tree-kill: "npm:^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: 2869187881fd30ce883d2069a1948b80946fc09a1bedb2ceb5ec20ea29602a897177dc3d19617c489b0811b86a902f5c52f51cc0b2d7e1892cb5328c3a197bfe
languageName: node
linkType: hard
"tsutils@npm:^3.21.0":
version: 3.21.0
resolution: "tsutils@npm:3.21.0"
@ -34033,6 +34342,7 @@ __metadata:
date-fns: "npm:^2.30.0"
deep-equal: "npm:^2.2.2"
dotenv-cli: "npm:^7.2.1"
esbuild-plugin-svgr: "npm:^2.1.0"
eslint: "npm:^8.53.0"
eslint-config-prettier: "npm:^9.0.0"
eslint-plugin-prefer-arrow: "npm:^1.2.3"
@ -34084,6 +34394,7 @@ __metadata:
storybook-addon-cookie: "npm:^3.1.0"
storybook-addon-pseudo-states: "npm:^2.1.2"
ts-key-enum: "npm:^2.0.12"
tsup: "npm:^8.0.1"
type-fest: "npm:^4.1.0"
typescript: "npm:^5.2.2"
uuid: "npm:^9.0.0"
@ -35574,6 +35885,13 @@ __metadata:
languageName: node
linkType: hard
"webidl-conversions@npm:^4.0.2":
version: 4.0.2
resolution: "webidl-conversions@npm:4.0.2"
checksum: def5c5ac3479286dffcb604547628b2e6b46c5c5b8a8cfaa8c71dc3bafc85859bde5fbe89467ff861f571ab38987cf6ab3d6e7c80b39b999e50e803c12f3164f
languageName: node
linkType: hard
"webidl-conversions@npm:^7.0.0":
version: 7.0.0
resolution: "webidl-conversions@npm:7.0.0"
@ -35840,6 +36158,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: "npm:^4.7.0"
tr46: "npm:^1.0.1"
webidl-conversions: "npm:^4.0.2"
checksum: 2785fe4647690e5a0225a79509ba5e21fdf4a71f9de3eabdba1192483fe006fc79961198e0b99f82751557309f17fc5a07d4d83c251aa5b2f85ba71e674cbee9
languageName: node
linkType: hard
"which-boxed-primitive@npm:^1.0.2":
version: 1.0.2
resolution: "which-boxed-primitive@npm:1.0.2"
@ -36257,7 +36586,7 @@ __metadata:
languageName: node
linkType: hard
"yaml@npm:^2.2.2":
"yaml@npm:^2.2.2, yaml@npm:^2.3.4":
version: 2.3.4
resolution: "yaml@npm:2.3.4"
checksum: cf03b68f8fef5e8516b0f0b54edaf2459f1648317fc6210391cf606d247e678b449382f4bd01f77392538429e306c7cba8ff46ff6b37cac4de9a76aff33bd9e1