Skip to content

The open alternative to Salesforce, designed for AI.

chore: setup twenty-ui absolute path alias (#4732)

Thaïsc5349291c816
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index f3c5d3d0a8a..006b55e2a01 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -48,11 +48,16 @@ module.exports = {
'error',
{
groups: [
+ // Packages
['^react', '^@?\\w'],
- ['^(@|~|src)(/.*|$)'],
+ // Internal modules
+ ['^(@|~|src|@ui)(/.*|$)'],
+ // Side effect imports
['^\\u0000'],
+ // Relative imports
['^\\.\\.(?!/?$)', '^\\.\\./?$'],
['^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$'],
+ // CSS imports
['^.+\\.?(css)$'],
],
},
diff --git a/nx.json b/nx.json
index 882345c8bee..44fcf672ef6 100644
--- a/nx.json
+++ b/nx.json
@@ -19,6 +19,19 @@
"cache": true,
"dependsOn": ["^build"]
},
+ "storybook:build": {
+ "cache": true,
+ "inputs": [
+ "default",
+ "^default",
+ "{projectRoot}/.storybook/**/*",
+ "{projectRoot}/tsconfig.storybook.json"
+ ]
+ },
+ "storybook:dev": {
+ "cache": true,
+ "dependsOn": ["^build"]
+ },
"@nx/jest:jest": {
"cache": true,
"inputs": ["default", "^default", "{workspaceRoot}/jest.preset.js"],
@@ -48,15 +61,6 @@
"cache": true,
"dependsOn": ["^build"],
"inputs": ["default", "^default"]
- },
- "storybook:build": {
- "cache": true,
- "inputs": [
- "default",
- "^default",
- "{projectRoot}/.storybook/**/*",
- "{projectRoot}/tsconfig.storybook.json"
- ]
}
},
"installation": {
@@ -65,10 +69,24 @@
"generators": {
"@nx/react": {
"application": {
- "babel": true
+ "babel": true,
+ "style": "@emotion/styled",
+ "linter": "eslint",
+ "bundler": "vite",
+ "compiler": "swc",
+ "unitTestRunner": "jest",
+ "projectNameAndRootFormat": "derived"
},
"library": {
- "unitTestRunner": "none"
+ "style": "@emotion/styled",
+ "linter": "eslint",
+ "bundler": "vite",
+ "compiler": "swc",
+ "unitTestRunner": "jest",
+ "projectNameAndRootFormat": "derived"
+ },
+ "component": {
+ "style": "@emotion/styled"
}
}
},
diff --git a/package.json b/package.json
index 9f26feabca2..478fe73518e 100644
--- a/package.json
+++ b/package.json
@@ -303,10 +303,10 @@
"ts-loader": "^9.2.3",
"ts-node": "10.9.1",
"tsconfig-paths": "^4.2.0",
- "typescript": "^5.3.3",
+ "typescript": "5.3.3",
"vite": "^5.0.0",
"vite-plugin-checker": "^0.6.2",
- "vite-plugin-dts": "~2.3.0",
+ "vite-plugin-dts": "3.8.1",
"vite-plugin-svgr": "^4.2.0",
"vitest": "1.4.0"
},
@@ -320,7 +320,8 @@
"packageManager": "[email protected]",
"resolutions": {
"graphql": "16.8.0",
- "type-fest": "4.10.1"
+ "type-fest": "4.10.1",
+ "typescript": "5.3.3"
},
"version": "0.2.1",
"scripts": {
diff --git a/packages/twenty-emails/package.json b/packages/twenty-emails/package.json
index 07a405c39e0..298ef98dfb6 100644
--- a/packages/twenty-emails/package.json
+++ b/packages/twenty-emails/package.json
@@ -17,13 +17,6 @@
"require": "./dist/index.js"
}
},
- "devDependencies": {
- "@nx/vite": "17.2.8",
- "@vitejs/plugin-react-swc": "^3.5.0",
- "vite": "^5.0.0",
- "vite-plugin-dts": "~2.3.0",
- "vite-tsconfig-paths": "^4.2.1"
- },
"engines": {
"node": "^18.17.1",
"npm": "please-use-yarn",
diff --git a/packages/twenty-emails/vite.config.ts b/packages/twenty-emails/vite.config.ts
index abcbeeeee8e..4aedc623fb6 100644
--- a/packages/twenty-emails/vite.config.ts
+++ b/packages/twenty-emails/vite.config.ts
@@ -13,8 +13,7 @@ export default defineConfig({
tsconfigPaths(),
dts({
entryRoot: 'src',
- tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'),
- skipDiagnostics: true,
+ tsconfigPath: path.join(__dirname, 'tsconfig.lib.json'),
}),
],
diff --git a/packages/twenty-front/.storybook/preview.ts b/packages/twenty-front/.storybook/preview.ts
index 90f71116182..ae7cf6028ec 100644
--- a/packages/twenty-front/.storybook/preview.ts
+++ b/packages/twenty-front/.storybook/preview.ts
@@ -21,6 +21,7 @@ initialize({
}
const requestBody = await request.json();
+ // eslint-disable-next-line no-console
console.warn(`Unhandled ${request.method} request to ${request.url}
with payload ${JSON.stringify(requestBody)}\n
This request should be mocked with MSW`);
diff --git a/packages/twenty-front/jest.config.ts b/packages/twenty-front/jest.config.ts
index a001b51a5eb..24279df5105 100644
--- a/packages/twenty-front/jest.config.ts
+++ b/packages/twenty-front/jest.config.ts
@@ -1,20 +1,30 @@
-export default {
+/* eslint-disable @nx/enforce-module-boundaries,import/no-relative-packages */
+import { JestConfigWithTsJest, pathsToModuleNameMapper } from 'ts-jest';
+
+import { compilerOptions as twentyUiCompilerOptions } from '../twenty-ui/tsconfig.json';
+
+import { compilerOptions } from './tsconfig.json';
+
+const jestConfig: JestConfigWithTsJest = {
// to enable logs, comment out the following line
silent: true,
- setupFilesAfterEnv: ['./src/setupTests.ts'],
+ displayName: 'twenty-front',
+ preset: '../../jest.preset.js',
+ setupFilesAfterEnv: ['./setupTests.ts'],
testEnvironment: 'jsdom',
+ transformIgnorePatterns: ['../../node_modules/'],
transform: {
'^.+\\.(ts|js|tsx|jsx)$': '@swc/jest',
},
moduleNameMapper: {
- '~/(.+)': '<rootDir>/src/$1',
- '@/(.+)': '<rootDir>/src/modules/$1',
- 'twenty-ui': '<rootDir>/../twenty-ui/src/index.ts',
- '@testing/(.+)': '<rootDir>/src/testing/$1',
+ ...pathsToModuleNameMapper(compilerOptions.paths),
+ // Include internal library aliases, so there is no need to build the library before tests.
+ ...pathsToModuleNameMapper(twentyUiCompilerOptions.paths),
'\\.(jpg|jpeg|png|gif|webp|svg|svg\\?react)$':
'<rootDir>/__mocks__/imageMock.js',
'\\.css$': '<rootDir>/__mocks__/styleMock.js',
},
+ moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
extensionsToTreatAsEsm: ['.ts', '.tsx'],
coverageThreshold: {
global: {
@@ -41,5 +51,7 @@ export default {
'__stories__/*',
'display/icon/index.ts',
],
- // coverageDirectory: '<rootDir>/coverage/',
+ coverageDirectory: './coverage',
};
+
+export default jestConfig;
diff --git a/packages/twenty-front/src/setupTests.ts b/packages/twenty-front/setupTests.ts
similarity index 100%
rename from packages/twenty-front/src/setupTests.ts
rename to packages/twenty-front/setupTests.ts
diff --git a/packages/twenty-front/src/modules/activities/files/utils/__tests__/downloadFile.test.ts b/packages/twenty-front/src/modules/activities/files/utils/__tests__/downloadFile.test.ts
index 7c1c01eeb45..b25fae0e7c3 100644
--- a/packages/twenty-front/src/modules/activities/files/utils/__tests__/downloadFile.test.ts
+++ b/packages/twenty-front/src/modules/activities/files/utils/__tests__/downloadFile.test.ts
@@ -28,7 +28,7 @@ describe.skip('downloadFile', () => {
const link = document.querySelector(
'a[href="mock-url"][download="file.pdf"]',
);
- console.log(document.body.innerHTML, link);
+
expect(link).not.toBeNull();
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
diff --git a/packages/twenty-front/src/modules/activities/timeline/components/TimelineCreateButtonGroup.tsx b/packages/twenty-front/src/modules/activities/timeline/components/TimelineCreateButtonGroup.tsx
index 0085e4c21ef..21c0c571301 100644
--- a/packages/twenty-front/src/modules/activities/timeline/components/TimelineCreateButtonGroup.tsx
+++ b/packages/twenty-front/src/modules/activities/timeline/components/TimelineCreateButtonGroup.tsx
@@ -1,9 +1,10 @@
import { useSetRecoilState } from 'recoil';
-import { Button, ButtonGroup } from 'tsup.ui.index';
import { IconCheckbox, IconNotes, IconPaperclip } from 'twenty-ui';
import { useOpenCreateActivityDrawer } from '@/activities/hooks/useOpenCreateActivityDrawer';
import { ActivityTargetableObject } from '@/activities/types/ActivityTargetableEntity';
+import { Button } from '@/ui/input/button/components/Button';
+import { ButtonGroup } from '@/ui/input/button/components/ButtonGroup';
import { TAB_LIST_COMPONENT_ID } from '@/ui/layout/show-page/components/ShowPageRightContainer';
import { useTabList } from '@/ui/layout/tab/hooks/useTabList';
diff --git a/packages/twenty-front/src/modules/command-menu/components/__stories__/CommandMenu.stories.tsx b/packages/twenty-front/src/modules/command-menu/components/__stories__/CommandMenu.stories.tsx
index 802c7e71dcb..39d81a056e4 100644
--- a/packages/twenty-front/src/modules/command-menu/components/__stories__/CommandMenu.stories.tsx
+++ b/packages/twenty-front/src/modules/command-menu/components/__stories__/CommandMenu.stories.tsx
@@ -46,6 +46,7 @@ const meta: Meta<typeof CommandMenu> = {
label: 'Create Task',
type: CommandType.Create,
Icon: IconCheckbox,
+ // eslint-disable-next-line no-console
onCommandClick: () => console.log('create task click'),
},
{
@@ -54,6 +55,7 @@ const meta: Meta<typeof CommandMenu> = {
label: 'Create Note',
type: CommandType.Create,
Icon: IconNotes,
+ // eslint-disable-next-line no-console
onCommandClick: () => console.log('create note click'),
},
]);
diff --git a/packages/twenty-front/src/modules/error-handler/components/GenericErrorFallback.tsx b/packages/twenty-front/src/modules/error-handler/components/GenericErrorFallback.tsx
index 939e9ebfb18..73b9a64c615 100644
--- a/packages/twenty-front/src/modules/error-handler/components/GenericErrorFallback.tsx
+++ b/packages/twenty-front/src/modules/error-handler/components/GenericErrorFallback.tsx
@@ -1,7 +1,7 @@
import { FallbackProps } from 'react-error-boundary';
-import { Button } from 'tsup.ui.index';
import { IconRefresh } from 'twenty-ui';
+import { Button } from '@/ui/input/button/components/Button';
import AnimatedPlaceholder from '@/ui/layout/animated-placeholder/components/AnimatedPlaceholder';
import {
AnimatedPlaceholderEmptyContainer,
diff --git a/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx
index 3d9347f0bcf..b81409f94c4 100644
--- a/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx
+++ b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx
@@ -146,6 +146,7 @@ describe('useFavorites', () => {
};
const responderProvided: ResponderProvided = {
+ // eslint-disable-next-line no-console
announce: (message: string) => console.log(message),
};
diff --git a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownOptionSelect.tsx b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownOptionSelect.tsx
index 9e09777fa50..46b294b1ebd 100644
--- a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownOptionSelect.tsx
+++ b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownOptionSelect.tsx
@@ -1,11 +1,12 @@
import { useEffect, useState } from 'react';
import { useRecoilValue } from 'recoil';
-import { MenuItem, MenuItemMultiSelect } from 'tsup.ui.index';
import { FieldMetadataItemOption } from '@/object-metadata/types/FieldMetadataItem';
import { useFilterDropdown } from '@/object-record/object-filter-dropdown/hooks/useFilterDropdown';
import { useOptionsForSelect } from '@/object-record/object-filter-dropdown/hooks/useOptionsForSelect';
import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';
+import { MenuItem } from '@/ui/navigation/menu-item/components/MenuItem';
+import { MenuItemMultiSelect } from '@/ui/navigation/menu-item/components/MenuItemMultiSelect';
import { isDefined } from '~/utils/isDefined';
export const EMPTY_FILTER_VALUE = '';
diff --git a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownRecordRemoveFilterMenuItem.tsx b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownRecordRemoveFilterMenuItem.tsx
index 1ba3b5f6bc2..74f3ed364fa 100644
--- a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownRecordRemoveFilterMenuItem.tsx
+++ b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownRecordRemoveFilterMenuItem.tsx
@@ -1,9 +1,9 @@
-import { MenuItem } from 'tsup.ui.index';
import { IconFilterOff } from 'twenty-ui';
import { useFilterDropdown } from '@/object-record/object-filter-dropdown/hooks/useFilterDropdown';
import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';
import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown';
+import { MenuItem } from '@/ui/navigation/menu-item/components/MenuItem';
export const ObjectFilterDropdownRecordRemoveFilterMenuItem = () => {
const { emptyFilterButKeepDefinition } = useFilterDropdown();
diff --git a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/hooks/__tests__/useFilterDropdown.test.tsx b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/hooks/__tests__/useFilterDropdown.test.tsx
index 3b3cd45a443..5536340afdf 100644
--- a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/hooks/__tests__/useFilterDropdown.test.tsx
+++ b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/hooks/__tests__/useFilterDropdown.test.tsx
@@ -351,6 +351,7 @@ describe('useFilterDropdown', () => {
});
it('should handle scopeId undefined on initial values', () => {
+ // eslint-disable-next-line no-console
console.error = jest.fn();
const renderFunction = () => {
diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnDropdownMenu.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnDropdownMenu.tsx
index 0b2750fd9b2..e08feba7a50 100644
--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnDropdownMenu.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnDropdownMenu.tsx
@@ -1,10 +1,10 @@
import { useCallback, useContext, useRef } from 'react';
import styled from '@emotion/styled';
-import { MenuItem } from 'tsup.ui.index';
import { RecordBoardColumnContext } from '@/object-record/record-board/record-board-column/contexts/RecordBoardColumnContext';
import { DropdownMenu } from '@/ui/layout/dropdown/components/DropdownMenu';
import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';
+import { MenuItem } from '@/ui/navigation/menu-item/components/MenuItem';
import { useListenClickOutside } from '@/ui/utilities/pointer-event/hooks/useListenClickOutside';
const StyledMenuContainer = styled.div`
diff --git a/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailRelationRecordsListItem.tsx b/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailRelationRecordsListItem.tsx
index 863111c3124..f6b0ccf412b 100644
--- a/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailRelationRecordsListItem.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-show/record-detail-section/components/RecordDetailRelationRecordsListItem.tsx
@@ -2,7 +2,6 @@ import { useCallback, useContext } from 'react';
import { css } from '@emotion/react';
import styled from '@emotion/styled';
import { motion } from 'framer-motion';
-import { LightIconButton, MenuItem } from 'tsup.ui.index';
import {
IconChevronDown,
IconDotsVertical,
@@ -32,10 +31,12 @@ import { useSetRecordInStore } from '@/object-record/record-store/hooks/useSetRe
import { ObjectRecord } from '@/object-record/types/ObjectRecord';
import { isFieldCellSupported } from '@/object-record/utils/isFieldCellSupported';
import { IconComponent } from '@/ui/display/icon/types/IconComponent';
+import { LightIconButton } from '@/ui/input/button/components/LightIconButton';
import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';
import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';
import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown';
import { DropdownScope } from '@/ui/layout/dropdown/scopes/DropdownScope';
+import { MenuItem } from '@/ui/navigation/menu-item/components/MenuItem';
import { AnimatedEaseInOut } from '@/ui/utilities/animation/components/AnimatedEaseInOut';
const StyledListItem = styled(RecordDetailRecordsListItem)<{
diff --git a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsListCard.tsx b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsListCard.tsx
index 3e18fd05b80..3500d3035f4 100644
--- a/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsListCard.tsx
+++ b/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsListCard.tsx
@@ -1,7 +1,6 @@
import { useNavigate } from 'react-router-dom';
import styled from '@emotion/styled';
import { useRecoilValue } from 'recoil';
-import { LightIconButton } from 'tsup.ui.index';
import { IconChevronRight } from 'twenty-ui';
import { ConnectedAccount } from '@/accounts/types/ConnectedAccount';
@@ -16,6 +15,7 @@ import {
} from '@/settings/accounts/components/SettingsAccountsSynchronizationStatus';
import { SettingsListCard } from '@/settings/components/SettingsListCard';
import { IconGmail } from '@/ui/display/icon/components/IconGmail';
+import { LightIconButton } from '@/ui/input/button/components/LightIconButton';
const StyledRowRightContainer = styled.div`
align-items: center;
diff --git a/packages/twenty-front/src/modules/ui/layout/draggable-list/__stories__/DraggableList.stories.tsx b/packages/twenty-front/src/modules/ui/layout/draggable-list/__stories__/DraggableList.stories.tsx
index 12eed9a6976..1abd128f273 100644
--- a/packages/twenty-front/src/modules/ui/layout/draggable-list/__stories__/DraggableList.stories.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/draggable-list/__stories__/DraggableList.stories.tsx
@@ -12,6 +12,7 @@ const meta: Meta<typeof DraggableList> = {
component: DraggableList,
decorators: [ComponentDecorator],
parameters: {
+ // eslint-disable-next-line no-console
onDragEnd: () => console.log('dragged'),
},
argTypes: {
diff --git a/packages/twenty-front/src/modules/ui/navigation/action-bar/components/ActionBarItem.tsx b/packages/twenty-front/src/modules/ui/navigation/action-bar/components/ActionBarItem.tsx
index 6240b30b972..dbb7623d25d 100644
--- a/packages/twenty-front/src/modules/ui/navigation/action-bar/components/ActionBarItem.tsx
+++ b/packages/twenty-front/src/modules/ui/navigation/action-bar/components/ActionBarItem.tsx
@@ -1,12 +1,12 @@
import { useTheme } from '@emotion/react';
import styled from '@emotion/styled';
-import { MenuItem } from 'tsup.ui.index';
import { IconChevronDown } from 'twenty-ui';
import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';
import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';
import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown';
import { ActionBarEntry } from '@/ui/navigation/action-bar/types/ActionBarEntry';
+import { MenuItem } from '@/ui/navigation/menu-item/components/MenuItem';
import { MenuItemAccent } from '@/ui/navigation/menu-item/types/MenuItemAccent';
type ActionBarItemProps = {
diff --git a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemMultiSelect.tsx b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemMultiSelect.tsx
index 25fe7e5e36b..81e1cd324b3 100644
--- a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemMultiSelect.tsx
+++ b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemMultiSelect.tsx
@@ -1,7 +1,7 @@
import styled from '@emotion/styled';
-import { Tag } from 'tsup.ui.index';
import { IconComponent } from '@/ui/display/icon/types/IconComponent';
+import { Tag } from '@/ui/display/tag/components/Tag';
import { Checkbox } from '@/ui/input/components/Checkbox';
import { MenuItemLeftContent } from '@/ui/navigation/menu-item/internals/components/MenuItemLeftContent';
import { ThemeColor } from '@/ui/theme/constants/MainColorNames';
diff --git a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemSelectTag.tsx b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemSelectTag.tsx
index a269f1e8c25..2f6baf22cdc 100644
--- a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemSelectTag.tsx
+++ b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemSelectTag.tsx
@@ -1,7 +1,7 @@
import { useTheme } from '@emotion/react';
-import { Tag } from 'tsup.ui.index';
import { IconCheck } from 'twenty-ui';
+import { Tag } from '@/ui/display/tag/components/Tag';
import { ThemeColor } from '@/ui/theme/constants/MainColorNames';
import { StyledMenuItemLeftContent } from '../internals/components/StyledMenuItemBase';
diff --git a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/__stories__/MenuItem.stories.tsx b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/__stories__/MenuItem.stories.tsx
index b1446be8deb..0733a6a7b5d 100644
--- a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/__stories__/MenuItem.stories.tsx
+++ b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/__stories__/MenuItem.stories.tsx
@@ -23,7 +23,9 @@ export const Default: Story = {
LeftIcon: IconBell,
accent: 'default',
iconButtons: [
+ // eslint-disable-next-line no-console
{ Icon: IconBell, onClick: () => console.log('Clicked') },
+ // eslint-disable-next-line no-console
{ Icon: IconBell, onClick: () => console.log('Clicked') },
],
},
@@ -85,11 +87,13 @@ export const Catalog: CatalogStory<Story, typeof MenuItem> = {
{
Icon: IconBell,
onClick: () =>
+ // eslint-disable-next-line no-console
console.log('Clicked on first icon button'),
},
{
Icon: IconBell,
onClick: () =>
+ // eslint-disable-next-line no-console
console.log('Clicked on second icon button'),
},
],
diff --git a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/__stories__/MenuItemDraggable.stories.tsx b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/__stories__/MenuItemDraggable.stories.tsx
index cf423626765..5f426785aee 100644
--- a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/__stories__/MenuItemDraggable.stories.tsx
+++ b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/__stories__/MenuItemDraggable.stories.tsx
@@ -24,7 +24,9 @@ export const Default: Story = {
args: {
LeftIcon: IconBell,
accent: 'default',
+ // eslint-disable-next-line no-console
iconButtons: [{ Icon: IconMinus, onClick: () => console.log('Clicked') }],
+ // eslint-disable-next-line no-console
onClick: () => console.log('Clicked'),
text: 'Menu item draggable',
isDragDisabled: false,
@@ -86,6 +88,7 @@ export const Catalog: Story = {
{
Icon: IconMinus,
onClick: () =>
+ // eslint-disable-next-line no-console
console.log('Clicked on minus icon button'),
},
],
diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx
index cae7c628d68..aec5d35cf52 100644
--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx
+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx
@@ -3,6 +3,7 @@ import { useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import { isNonEmptyString } from '@sniptt/guards';
import { useSetRecoilState } from 'recoil';
+import { Pill } from 'twenty-ui';
import { IconComponent } from '@/ui/display/icon/types/IconComponent';
import { isNavigationDrawerOpenState } from '@/ui/navigation/states/isNavigationDrawerOpenState';
@@ -85,18 +86,6 @@ const StyledItemLabel = styled.div`
white-space: nowrap;
`;
-const StyledSoonPill = styled.div`
- align-items: center;
- background-color: ${({ theme }) => theme.background.transparent.light};
- border-radius: 50px;
- display: flex;
- font-size: ${({ theme }) => theme.font.size.xs};
- height: 16px;
- justify-content: center;
- padding-left: ${({ theme }) => theme.spacing(2)};
- padding-right: ${({ theme }) => theme.spacing(2)};
-`;
-
const StyledItemCount = styled.div`
align-items: center;
background-color: ${({ theme }) => theme.color.blue};
@@ -168,7 +157,7 @@ export const NavigationDrawerItem = ({
>
{Icon && <Icon size={theme.icon.size.md} stroke={theme.icon.stroke.md} />}
<StyledItemLabel>{label}</StyledItemLabel>
- {soon && <StyledSoonPill>Soon</StyledSoonPill>}
+ {soon && <Pill label="Soon" />}
{!!count && <StyledItemCount>{count}</StyledItemCount>}
{keyboard && (
<StyledKeyBoardShortcut className="keyboard-shortcuts">
diff --git a/packages/twenty-front/src/modules/ui/utilities/recoil-scope/scopes-internal/hooks/__tests__/useAvailableScopeId.test.tsx b/packages/twenty-front/src/modules/ui/utilities/recoil-scope/scopes-internal/hooks/__tests__/useAvailableScopeId.test.tsx
index 4187805be06..5abc63ec983 100644
--- a/packages/twenty-front/src/modules/ui/utilities/recoil-scope/scopes-internal/hooks/__tests__/useAvailableScopeId.test.tsx
+++ b/packages/twenty-front/src/modules/ui/utilities/recoil-scope/scopes-internal/hooks/__tests__/useAvailableScopeId.test.tsx
@@ -52,6 +52,7 @@ describe('useAvailableScopeIdOrThrow', () => {
});
it('should throw an error if no scopeId is provided and scopeId is undefined in the context', () => {
+ // eslint-disable-next-line no-console
console.error = jest.fn();
const renderFunction = () =>
diff --git a/packages/twenty-front/src/nx-react.d.ts b/packages/twenty-front/src/nx-react.d.ts
new file mode 100644
index 00000000000..639a9eed3ad
--- /dev/null
+++ b/packages/twenty-front/src/nx-react.d.ts
@@ -0,0 +1,3 @@
+/// <reference types="@nx/react/typings/cssmodule.d.ts" />
+/// <reference types="@nx/react/typings/image.d.ts" />
+/// <reference types="@nx/react/typings/styled-jsx.d.ts" />
diff --git a/packages/twenty-front/src/pages/auth/Authorize.tsx b/packages/twenty-front/src/pages/auth/Authorize.tsx
index 48cc55cd943..be87ef44592 100644
--- a/packages/twenty-front/src/pages/auth/Authorize.tsx
+++ b/packages/twenty-front/src/pages/auth/Authorize.tsx
@@ -1,9 +1,9 @@
import { useEffect, useState } from 'react';
import { useNavigate, useSearchParams } from 'react-router-dom';
import styled from '@emotion/styled';
-import { MainButton } from 'tsup.ui.index';
import { AppPath } from '@/types/AppPath';
+import { MainButton } from '@/ui/input/button/components/MainButton';
import { useAuthorizeAppMutation } from '~/generated/graphql';
import { isDefined } from '~/utils/isDefined';
diff --git a/packages/twenty-front/tsconfig.app.json b/packages/twenty-front/tsconfig.app.json
index b64e99dc1a5..d5abf3c8781 100644
--- a/packages/twenty-front/tsconfig.app.json
+++ b/packages/twenty-front/tsconfig.app.json
@@ -1,16 +1,17 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
- "outDir": "../../dist/out-tsc"
+ "outDir": "../../dist/out-tsc",
+ "types": ["node"]
},
"exclude": [
+ "**/__mocks__/**/*",
"**/*.spec.ts",
- "**/*.test.ts",
"**/*.spec.tsx",
- "**/*.test.tsx",
- "jest.config.ts",
- "tsup.config.ts",
- "tsup.ui.index.tsx"
+ "**/*.stories.ts",
+ "**/*.stories.tsx",
+ "**/*.test.ts",
+ "**/*.test.tsx"
],
"include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"]
}
diff --git a/packages/twenty-front/tsconfig.json b/packages/twenty-front/tsconfig.json
index 3c411c57836..ae837c98fb0 100644
--- a/packages/twenty-front/tsconfig.json
+++ b/packages/twenty-front/tsconfig.json
@@ -7,14 +7,6 @@
"skipLibCheck": true,
"allowJs": true,
"esModuleInterop": true,
- "baseUrl": ".",
- "paths": {
- "@/*": ["src/modules/*"],
- "~/*": ["src/*"],
- "twenty-ui": ["../twenty-ui/src/index.ts"]
- },
-
- /* Bundler mode */
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"allowImportingTsExtensions": true,
@@ -22,13 +14,16 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
-
- /* Linting */
"strict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "paths": {
+ "@/*": ["packages/twenty-front/src/modules/*"],
+ "~/*": ["packages/twenty-front/src/*"],
+ "twenty-ui": ["packages/twenty-ui/src/index.ts"]
+ }
},
"files": [],
"include": [],
@@ -39,5 +34,6 @@
{
"path": "./tsconfig.spec.json"
}
- ]
+ ],
+ "extends": "../../tsconfig.base.json"
}
diff --git a/packages/twenty-front/tsconfig.spec.json b/packages/twenty-front/tsconfig.spec.json
index a7f834079e5..d7432bfc9eb 100644
--- a/packages/twenty-front/tsconfig.spec.json
+++ b/packages/twenty-front/tsconfig.spec.json
@@ -5,13 +5,19 @@
"types": ["jest", "node"]
},
"include": [
- "vite.config.ts",
- "jest.config.ts",
- "**/*.test.ts",
- "**/*.test.tsx",
- "**/*.spec.ts",
- "**/*.d.ts",
".storybook/**/*",
- "**/*.stories.tsx"
+ "**/__mocks__/**/*",
+ "jest.config.ts",
+ "setupTests.ts",
+ "src/**/*.d.ts",
+ "src/**/*.spec.ts",
+ "src/**/*.spec.tsx",
+ "src/**/*.stories.ts",
+ "src/**/*.stories.tsx",
+ "src/**/*.test.ts",
+ "src/**/*.test.tsx",
+ "tsup.config.ts",
+ "tsup.ui.index.tsx",
+ "vite.config.ts"
]
}
diff --git a/packages/twenty-front/vite.config.ts b/packages/twenty-front/vite.config.ts
index 50b965ed2ee..388c50713a2 100644
--- a/packages/twenty-front/vite.config.ts
+++ b/packages/twenty-front/vite.config.ts
@@ -31,24 +31,34 @@ export default defineConfig(({ command, mode }) => {
};
}
- const plugins = [
- react({ jsxImportSource: '@emotion/react' }),
- tsconfigPaths(),
- svgr(),
- checker(checkers),
- ];
-
return {
- // base: ,
- envPrefix: 'REACT_APP_',
- build: {
- outDir: 'build',
- },
- plugins,
+ root: __dirname,
+ cacheDir: '../../node_modules/.vite/packages/twenty-front',
+
server: {
- // open: true,
port: 3001,
+ host: 'localhost',
+ },
+
+ plugins: [
+ react({ jsxImportSource: '@emotion/react' }),
+ tsconfigPaths({
+ projects: [
+ 'tsconfig.json',
+ // Include internal library aliases in development mode, so hot reload is enabled for libraries.
+ mode === 'development' ? '../twenty-ui/tsconfig.json' : undefined,
+ ].filter(Boolean) as string[],
+ }),
+ svgr(),
+ checker(checkers),
+ ],
+
+ build: {
+ outDir: 'build',
},
+
+ envPrefix: 'REACT_APP_',
+
define: {
'process.env': {
REACT_APP_SERVER_BASE_URL,
diff --git a/packages/twenty-server/package.json b/packages/twenty-server/package.json
index 87e5f306029..92bb24720e2 100644
--- a/packages/twenty-server/package.json
+++ b/packages/twenty-server/package.json
@@ -46,7 +46,7 @@
"@types/lodash.upperfirst": "^4.3.7",
"@types/react": "^18.2.39",
"rimraf": "^5.0.5",
- "typescript": "^5.3.3"
+ "typescript": "5.3.3"
},
"engines": {
"node": "^18.17.1",
diff --git a/packages/twenty-ui/jest.config.ts b/packages/twenty-ui/jest.config.ts
index 39ca6f80e50..e5840eb2abf 100644
--- a/packages/twenty-ui/jest.config.ts
+++ b/packages/twenty-ui/jest.config.ts
@@ -1,9 +1,8 @@
-import { JestConfigWithTsJest } from 'ts-jest';
-
-const jestConfig: JestConfigWithTsJest = {
+export default {
displayName: 'twenty-ui',
preset: '../../jest.preset.js',
setupFilesAfterEnv: ['./setupTests.ts'],
+ testEnvironment: 'jsdom',
transformIgnorePatterns: ['../../node_modules/'],
transform: {
'^.+\\.[tj]sx?$': [
@@ -17,7 +16,7 @@ const jestConfig: JestConfigWithTsJest = {
],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
- coverageDirectory: '../../coverage/packages/twenty-ui',
+ extensionsToTreatAsEsm: ['.ts', '.tsx'],
+ coverageDirectory: './coverage',
};
-export default jestConfig;
diff --git a/packages/twenty-ui/package.json b/packages/twenty-ui/package.json
index 5e56e35cfe5..2918254ccd9 100644
--- a/packages/twenty-ui/package.json
+++ b/packages/twenty-ui/package.json
@@ -1,12 +1,16 @@
{
"name": "twenty-ui",
"version": "0.0.1",
- "main": "./index.js",
- "module": "./index.mjs",
- "typings": "./index.d.ts",
+ "type": "module",
+ "main": "./dist/index.js",
+ "types": "./dist/index.d.ts",
+ "exports": {
+ ".": {
+ "import": "./dist/index.js",
+ "require": "./dist/index.cjs"
+ }
+ },
"scripts": {
- "nx": "NX_DEFAULT_PROJECT=twenty-ui node ../../node_modules/nx/bin/nx.js",
- "start": "storybook dev -p 6006",
- "build": "npx vite build"
+ "build": "vite build"
}
}
diff --git a/packages/twenty-ui/tsconfig.json b/packages/twenty-ui/tsconfig.json
index 70fb1ad50d9..c842807bf0a 100644
--- a/packages/twenty-ui/tsconfig.json
+++ b/packages/twenty-ui/tsconfig.json
@@ -1,15 +1,16 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
- "module": "commonjs",
- "forceConsistentCasingInFileNames": true,
+ "jsx": "react-jsx",
+ "allowJs": false,
+ "allowSyntheticDefaultImports": true,
"strict": true,
- "noImplicitOverride": true,
"esModuleInterop": true,
- "noPropertyAccessFromIndexSignature": true,
- "noImplicitReturns": true,
- "noFallthroughCasesInSwitch": true,
- "jsx": "react-jsx"
+ "noEmit": true,
+ "types": ["node"],
+ "paths": {
+ "@ui/*": ["packages/twenty-ui/src/*"]
+ }
},
"files": [],
"include": [],
diff --git a/packages/twenty-ui/tsconfig.lib.json b/packages/twenty-ui/tsconfig.lib.json
index 80f30dbd613..022f4388a83 100644
--- a/packages/twenty-ui/tsconfig.lib.json
+++ b/packages/twenty-ui/tsconfig.lib.json
@@ -1,8 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
- "outDir": "../../dist/out-tsc",
- "types": ["node"]
+ "outDir": "../../dist/out-tsc"
},
"exclude": [
"**/*.spec.ts",
diff --git a/packages/twenty-ui/tsconfig.spec.json b/packages/twenty-ui/tsconfig.spec.json
index 445324dc3fb..73b7fbbbf2a 100644
--- a/packages/twenty-ui/tsconfig.spec.json
+++ b/packages/twenty-ui/tsconfig.spec.json
@@ -7,11 +7,10 @@
},
"include": [
"jest.config.ts",
+ "setupTests.ts",
"src/**/*.d.ts",
"src/**/*.spec.ts",
- "src/**/*.spec.tsx",
"src/**/*.test.ts",
- "src/**/*.test.tsx",
"vite.config.ts"
]
}
diff --git a/packages/twenty-ui/vite.config.ts b/packages/twenty-ui/vite.config.ts
index 635bce6ef6b..e8c995a21f9 100644
--- a/packages/twenty-ui/vite.config.ts
+++ b/packages/twenty-ui/vite.config.ts
@@ -3,6 +3,7 @@ import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import react from '@vitejs/plugin-react-swc';
import * as path from 'path';
import { defineConfig } from 'vite';
+import checker from 'vite-plugin-checker';
import dts from 'vite-plugin-dts';
export default defineConfig({
@@ -14,16 +15,15 @@ export default defineConfig({
nxViteTsPaths(),
dts({
entryRoot: 'src',
- tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'),
- skipDiagnostics: true,
+ tsconfigPath: path.join(__dirname, 'tsconfig.lib.json'),
+ }),
+ checker({
+ typescript: {
+ tsconfigPath: path.join(__dirname, 'tsconfig.lib.json'),
+ },
}),
],
- // Uncomment this if you are using workers.
- // worker: {
- // plugins: [ nxViteTsPaths() ],
- // },
-
// Configuration for building your library.
// See: https://vitejs.dev/guide/build.html#library-mode
build: {
diff --git a/yarn.lock b/yarn.lock
index 88e5ded1243..ac8b20fd73d 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1546,7 +1546,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/core@npm:^7.13.16, @babel/core@npm:^7.22.9":
+"@babel/core@npm:^7.13.16":
version: 7.23.6
resolution: "@babel/core@npm:7.23.6"
dependencies:
@@ -1997,7 +1997,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/parser@npm:^7.13.16, @babel/parser@npm:^7.21.4, @babel/parser@npm:^7.23.6":
+"@babel/parser@npm:^7.13.16, @babel/parser@npm:^7.23.6":
version: 7.23.6
resolution: "@babel/parser@npm:7.23.6"
bin:
@@ -7534,36 +7534,37 @@ __metadata:
languageName: node
linkType: hard
-"@microsoft/api-extractor-model@npm:7.28.7":
- version: 7.28.7
- resolution: "@microsoft/api-extractor-model@npm:7.28.7"
+"@microsoft/api-extractor-model@npm:7.28.13":
+ version: 7.28.13
+ resolution: "@microsoft/api-extractor-model@npm:7.28.13"
dependencies:
"@microsoft/tsdoc": "npm:0.14.2"
"@microsoft/tsdoc-config": "npm:~0.16.1"
- "@rushstack/node-core-library": "npm:3.64.2"
- checksum: 3afe79faf7490b9c110152d80d637e18a594a8c9ab0fa22ba8a05ab10491a5632ea2040bdc007ba6ed4dfc6c421c5d5f431566c01a961ab242e7861fae309be5
+ "@rushstack/node-core-library": "npm:4.0.2"
+ checksum: da83f6ccc01fac3b8274731327a6d35a45b2d98ce8c1d705a974ca34dd48ac0f9b0fe8e98130d2068ec1ee4e2b1f2942b53e21e6e5897f1d3501a3c4e5910645
languageName: node
linkType: hard
-"@microsoft/api-extractor@npm:^7.34.4":
- version: 7.39.4
- resolution: "@microsoft/api-extractor@npm:7.39.4"
+"@microsoft/api-extractor@npm:7.43.0":
+ version: 7.43.0
+ resolution: "@microsoft/api-extractor@npm:7.43.0"
dependencies:
- "@microsoft/api-extractor-model": "npm:7.28.7"
+ "@microsoft/api-extractor-model": "npm:7.28.13"
"@microsoft/tsdoc": "npm:0.14.2"
"@microsoft/tsdoc-config": "npm:~0.16.1"
- "@rushstack/node-core-library": "npm:3.64.2"
- "@rushstack/rig-package": "npm:0.5.1"
- "@rushstack/ts-command-line": "npm:4.17.1"
- colors: "npm:~1.2.1"
+ "@rushstack/node-core-library": "npm:4.0.2"
+ "@rushstack/rig-package": "npm:0.5.2"
+ "@rushstack/terminal": "npm:0.10.0"
+ "@rushstack/ts-command-line": "npm:4.19.1"
lodash: "npm:~4.17.15"
+ minimatch: "npm:~3.0.3"
resolve: "npm:~1.22.1"
semver: "npm:~7.5.4"
source-map: "npm:~0.6.1"
- typescript: "npm:5.3.3"
+ typescript: "npm:5.4.2"
bin:
api-extractor: bin/api-extractor
- checksum: 376698381ca62bc440b9a1e5239265a358e1cfd302f9d13f029bac94beaaee508618b14dbab1ce4c102f0631ae7d4b56e1fd93508211a60dec781bef85752543
+ checksum: 1bbd1866508db2c5c0ad771e4aeccef95201319879b5cd2b00c5177cfdedb1ad5bc35a452be9d14ac3cfcdf7c9b7c3a737bc2ada9bdcc48eb0e6e11214169b52
languageName: node
linkType: hard
@@ -8712,15 +8713,6 @@ __metadata:
languageName: node
linkType: hard
-"@nrwl/devkit@npm:17.2.8":
- version: 17.2.8
- resolution: "@nrwl/devkit@npm:17.2.8"
- dependencies:
- "@nx/devkit": "npm:17.2.8"
- checksum: 0deab7982d2e193b7c9b66ed8b3ebc134dee08ea3e1a15edb5b8404372f9ec262fc7cb875ab9d365c6016fa140447dd76e8ec8509306ce6d72ac493f57164d8e
- languageName: node
- linkType: hard
-
"@nrwl/devkit@npm:18.1.3":
version: 18.1.3
resolution: "@nrwl/devkit@npm:18.1.3"
@@ -8748,15 +8740,6 @@ __metadata:
languageName: node
linkType: hard
-"@nrwl/js@npm:17.2.8":
- version: 17.2.8
- resolution: "@nrwl/js@npm:17.2.8"
- dependencies:
- "@nx/js": "npm:17.2.8"
- checksum: 87a9095f9282db6ff2bca3a9a90e667c05309839aca892968a726fd50adfeba08595b3ec0aefb80602ef2a77451e556f4cde942171e71c9dd6f2af61be0d8b59
- languageName: node
- linkType: hard
-
"@nrwl/js@npm:18.1.3":
version: 18.1.3
resolution: "@nrwl/js@npm:18.1.3"
@@ -8784,18 +8767,6 @@ __metadata:
languageName: node
linkType: hard
-"@nrwl/tao@npm:17.2.8":
- version: 17.2.8
- resolution: "@nrwl/tao@npm:17.2.8"
- dependencies:
- nx: "npm:17.2.8"
- tslib: "npm:^2.3.0"
- bin:
- tao: index.js
- checksum: 2ff0c52c6dc6522ffdbe6a1fae293e0b22516cf1789e67a4776a75771ae42a312a9bdb768b61f052ef24f231512e2b79d21a0ba649ebe1c953488c40594b8b68
- languageName: node
- linkType: hard
-
"@nrwl/tao@npm:18.1.3":
version: 18.1.3
resolution: "@nrwl/tao@npm:18.1.3"
@@ -8808,15 +8779,6 @@ __metadata:
languageName: node
linkType: hard
-"@nrwl/vite@npm:17.2.8":
- version: 17.2.8
- resolution: "@nrwl/vite@npm:17.2.8"
- dependencies:
- "@nx/vite": "npm:17.2.8"
- checksum: cbef985e13528868346cf7143dbdd6e5330f55f1f90b458f27ad075085dbb65d68506f24cfd60c0c4a818aa7fc7108a8c316d7238292cc8dffd67998b1c0a9c3
- languageName: node
- linkType: hard
-
"@nrwl/vite@npm:18.1.3":
version: 18.1.3
resolution: "@nrwl/vite@npm:18.1.3"
@@ -8835,15 +8797,6 @@ __metadata:
languageName: node
linkType: hard
-"@nrwl/workspace@npm:17.2.8":
- version: 17.2.8
- resolution: "@nrwl/workspace@npm:17.2.8"
- dependencies:
- "@nx/workspace": "npm:17.2.8"
- checksum: f7878304444df92f540df8c3b83cfee53e2bc142ef8c74fda8d60e4432f27418397593ef15b4ead694d1ab46f46cb59481cea122ddee6679d06def74b6788e6f
- languageName: node
- linkType: hard
-
"@nrwl/workspace@npm:18.1.3":
version: 18.1.3
resolution: "@nrwl/workspace@npm:18.1.3"
@@ -8887,23 +8840,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/devkit@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/devkit@npm:17.2.8"
- dependencies:
- "@nrwl/devkit": "npm:17.2.8"
- ejs: "npm:^3.1.7"
- enquirer: "npm:~2.3.6"
- ignore: "npm:^5.0.4"
- semver: "npm:7.5.3"
- tmp: "npm:~0.2.1"
- tslib: "npm:^2.3.0"
- peerDependencies:
- nx: ">= 16 <= 18"
- checksum: e339e2d0616b4374a7677ce3076b06c9b7d5619628b32ff41e6828c25d1bfd6fe4f71347d6151db078565bc2d8101d3ce75bcb67613c3a5c7eae3ed06b6432b3
- languageName: node
- linkType: hard
-
"@nx/devkit@npm:18.1.3":
version: 18.1.3
resolution: "@nx/devkit@npm:18.1.3"
@@ -8988,49 +8924,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/js@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/js@npm:17.2.8"
- dependencies:
- "@babel/core": "npm:^7.22.9"
- "@babel/plugin-proposal-decorators": "npm:^7.22.7"
- "@babel/plugin-transform-class-properties": "npm:^7.22.5"
- "@babel/plugin-transform-runtime": "npm:^7.22.9"
- "@babel/preset-env": "npm:^7.22.9"
- "@babel/preset-typescript": "npm:^7.22.5"
- "@babel/runtime": "npm:^7.22.6"
- "@nrwl/js": "npm:17.2.8"
- "@nx/devkit": "npm:17.2.8"
- "@nx/workspace": "npm:17.2.8"
- "@phenomnomnominal/tsquery": "npm:~5.0.1"
- babel-plugin-const-enum: "npm:^1.0.1"
- babel-plugin-macros: "npm:^2.8.0"
- babel-plugin-transform-typescript-metadata: "npm:^0.3.1"
- chalk: "npm:^4.1.0"
- columnify: "npm:^1.6.0"
- detect-port: "npm:^1.5.1"
- fast-glob: "npm:3.2.7"
- fs-extra: "npm:^11.1.0"
- ignore: "npm:^5.0.4"
- js-tokens: "npm:^4.0.0"
- minimatch: "npm:3.0.5"
- npm-package-arg: "npm:11.0.1"
- npm-run-path: "npm:^4.0.1"
- ora: "npm:5.3.0"
- semver: "npm:7.5.3"
- source-map-support: "npm:0.5.19"
- ts-node: "npm:10.9.1"
- tsconfig-paths: "npm:^4.1.2"
- tslib: "npm:^2.3.0"
- peerDependencies:
- verdaccio: ^5.0.4
- peerDependenciesMeta:
- verdaccio:
- optional: true
- checksum: 9ec84cc2f8af23b57297d66d651b21de6eed1899e327d9f9b801420fa7f6348e2c36c78459c83bc708ae6ffc1e38b22a417c1f15808b162c1be29ba59e44e2ed
- languageName: node
- linkType: hard
-
"@nx/js@npm:18.1.3":
version: 18.1.3
resolution: "@nx/js@npm:18.1.3"
@@ -9083,13 +8976,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/nx-darwin-arm64@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/nx-darwin-arm64@npm:17.2.8"
- conditions: os=darwin & cpu=arm64
- languageName: node
- linkType: hard
-
"@nx/nx-darwin-arm64@npm:18.1.3":
version: 18.1.3
resolution: "@nx/nx-darwin-arm64@npm:18.1.3"
@@ -9097,13 +8983,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/nx-darwin-x64@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/nx-darwin-x64@npm:17.2.8"
- conditions: os=darwin & cpu=x64
- languageName: node
- linkType: hard
-
"@nx/nx-darwin-x64@npm:18.1.3":
version: 18.1.3
resolution: "@nx/nx-darwin-x64@npm:18.1.3"
@@ -9111,13 +8990,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/nx-freebsd-x64@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/nx-freebsd-x64@npm:17.2.8"
- conditions: os=freebsd & cpu=x64
- languageName: node
- linkType: hard
-
"@nx/nx-freebsd-x64@npm:18.1.3":
version: 18.1.3
resolution: "@nx/nx-freebsd-x64@npm:18.1.3"
@@ -9125,13 +8997,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/nx-linux-arm-gnueabihf@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/nx-linux-arm-gnueabihf@npm:17.2.8"
- conditions: os=linux & cpu=arm
- languageName: node
- linkType: hard
-
"@nx/nx-linux-arm-gnueabihf@npm:18.1.3":
version: 18.1.3
resolution: "@nx/nx-linux-arm-gnueabihf@npm:18.1.3"
@@ -9139,13 +9004,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/nx-linux-arm64-gnu@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/nx-linux-arm64-gnu@npm:17.2.8"
- conditions: os=linux & cpu=arm64 & libc=glibc
- languageName: node
- linkType: hard
-
"@nx/nx-linux-arm64-gnu@npm:18.1.3":
version: 18.1.3
resolution: "@nx/nx-linux-arm64-gnu@npm:18.1.3"
@@ -9153,13 +9011,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/nx-linux-arm64-musl@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/nx-linux-arm64-musl@npm:17.2.8"
- conditions: os=linux & cpu=arm64 & libc=musl
- languageName: node
- linkType: hard
-
"@nx/nx-linux-arm64-musl@npm:18.1.3":
version: 18.1.3
resolution: "@nx/nx-linux-arm64-musl@npm:18.1.3"
@@ -9167,13 +9018,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/nx-linux-x64-gnu@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/nx-linux-x64-gnu@npm:17.2.8"
- conditions: os=linux & cpu=x64 & libc=glibc
- languageName: node
- linkType: hard
-
"@nx/nx-linux-x64-gnu@npm:18.1.3":
version: 18.1.3
resolution: "@nx/nx-linux-x64-gnu@npm:18.1.3"
@@ -9181,13 +9025,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/nx-linux-x64-musl@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/nx-linux-x64-musl@npm:17.2.8"
- conditions: os=linux & cpu=x64 & libc=musl
- languageName: node
- linkType: hard
-
"@nx/nx-linux-x64-musl@npm:18.1.3":
version: 18.1.3
resolution: "@nx/nx-linux-x64-musl@npm:18.1.3"
@@ -9195,13 +9032,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/nx-win32-arm64-msvc@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/nx-win32-arm64-msvc@npm:17.2.8"
- conditions: os=win32 & cpu=arm64
- languageName: node
- linkType: hard
-
"@nx/nx-win32-arm64-msvc@npm:18.1.3":
version: 18.1.3
resolution: "@nx/nx-win32-arm64-msvc@npm:18.1.3"
@@ -9209,13 +9039,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/nx-win32-x64-msvc@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/nx-win32-x64-msvc@npm:17.2.8"
- conditions: os=win32 & cpu=x64
- languageName: node
- linkType: hard
-
"@nx/nx-win32-x64-msvc@npm:18.1.3":
version: 18.1.3
resolution: "@nx/nx-win32-x64-msvc@npm:18.1.3"
@@ -9257,24 +9080,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/vite@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/vite@npm:17.2.8"
- dependencies:
- "@nrwl/vite": "npm:17.2.8"
- "@nx/devkit": "npm:17.2.8"
- "@nx/js": "npm:17.2.8"
- "@phenomnomnominal/tsquery": "npm:~5.0.1"
- "@swc/helpers": "npm:~0.5.0"
- enquirer: "npm:~2.3.6"
- tsconfig-paths: "npm:^4.1.2"
- peerDependencies:
- vite: ^5.0.0
- vitest: ">=0.34.6"
- checksum: 4ee88eceea60e4a7bc49e953b750eea4fecacedc0b2f75ce013a2ee58174940b3a42681fc91813115cb4752ded9f1d71de46369617943a504125c2690346d9f0
- languageName: node
- linkType: hard
-
"@nx/vite@npm:18.1.3":
version: 18.1.3
resolution: "@nx/vite@npm:18.1.3"
@@ -9308,21 +9113,6 @@ __metadata:
languageName: node
linkType: hard
-"@nx/workspace@npm:17.2.8":
- version: 17.2.8
- resolution: "@nx/workspace@npm:17.2.8"
- dependencies:
- "@nrwl/workspace": "npm:17.2.8"
- "@nx/devkit": "npm:17.2.8"
- chalk: "npm:^4.1.0"
- enquirer: "npm:~2.3.6"
- nx: "npm:17.2.8"
- tslib: "npm:^2.3.0"
- yargs-parser: "npm:21.1.1"
- checksum: c0f1c03f64910749a15dee678dc5e60f9d0cabf818c0201b523e4679c4cfe2830ae04622d9d05a17ce2349b6ed7a70969924dc5f91f573746cb7663536cb9465
- languageName: node
- linkType: hard
-
"@nx/workspace@npm:18.1.3":
version: 18.1.3
resolution: "@nx/workspace@npm:18.1.3"
@@ -11534,7 +11324,7 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/pluginutils@npm:^5.0.2, @rollup/pluginutils@npm:^5.0.5":
+"@rollup/pluginutils@npm:^5.0.2, @rollup/pluginutils@npm:^5.0.5, @rollup/pluginutils@npm:^5.1.0":
version: 5.1.0
resolution: "@rollup/pluginutils@npm:5.1.0"
dependencies:
@@ -11739,11 +11529,10 @@ __metadata:
languageName: node
linkType: hard
-"@rushstack/node-core-library@npm:3.64.2, @rushstack/node-core-library@npm:^3.55.2":
- version: 3.64.2
- resolution: "@rushstack/node-core-library@npm:3.64.2"
+"@rushstack/node-core-library@npm:4.0.2":
+ version: 4.0.2
+ resolution: "@rushstack/node-core-library@npm:4.0.2"
dependencies:
- colors: "npm:~1.2.1"
fs-extra: "npm:~7.0.1"
import-lazy: "npm:~4.0.0"
jju: "npm:~1.4.0"
@@ -11755,29 +11544,44 @@ __metadata:
peerDependenciesMeta:
"@types/node":
optional: true
- checksum: eb2494d79864cdb10df8453d51ed5e5ad3113629b04ea6782faae2bb797aaab43e200864bc2de8262a52d844ba4e9a1c8f7fb61e92775bef441bcee5496e2a73
+ checksum: b60070b5b8f4da0cbda5b37f950ed5d3843f3c68aab13ce1d4383b9fd71ca94065dfdd2e3b10b361ae0ef5fd0182d891da2addfd3f1ca21e7789110f6266d83f
languageName: node
linkType: hard
-"@rushstack/rig-package@npm:0.5.1":
- version: 0.5.1
- resolution: "@rushstack/rig-package@npm:0.5.1"
+"@rushstack/rig-package@npm:0.5.2":
+ version: 0.5.2
+ resolution: "@rushstack/rig-package@npm:0.5.2"
dependencies:
resolve: "npm:~1.22.1"
strip-json-comments: "npm:~3.1.1"
- checksum: a296125a5170dd11c37c3d679eb6e61db4d0c0741b3947902d9eab34e9ff34d5d8e94fbf6b45757141ea077029490198b7eb35d311ba46eaac5e1d4145e9780c
+ checksum: 7bff460eb8407a68de20681b6354703c0fdb7a325c58060a2c4591b86dd3b83b95b651ccba3cc833f8d1a94c3a19638091b447c03d89eaa9df57bc9de7abb29d
languageName: node
linkType: hard
-"@rushstack/ts-command-line@npm:4.17.1":
- version: 4.17.1
- resolution: "@rushstack/ts-command-line@npm:4.17.1"
+"@rushstack/terminal@npm:0.10.0":
+ version: 0.10.0
+ resolution: "@rushstack/terminal@npm:0.10.0"
dependencies:
+ "@rushstack/node-core-library": "npm:4.0.2"
+ supports-color: "npm:~8.1.1"
+ peerDependencies:
+ "@types/node": "*"
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 128d13d353265bd318fc52a5d2eaf6d352d3abd29fc3500d630b4d114b43392e2dfe8c4df200e855dc2c07e6d4e8f2175c38b5a8b71dff1eee7aa1f5a261e1c7
+ languageName: node
+ linkType: hard
+
+"@rushstack/ts-command-line@npm:4.19.1":
+ version: 4.19.1
+ resolution: "@rushstack/ts-command-line@npm:4.19.1"
+ dependencies:
+ "@rushstack/terminal": "npm:0.10.0"
"@types/argparse": "npm:1.0.38"
argparse: "npm:~1.0.9"
- colors: "npm:~1.2.1"
string-argv: "npm:~0.3.1"
- checksum: 4fd27d2450a6e71139e67b33d5ecba7abbf3497e7479ab3a96666cf79f207c5a7d4ad4f8de17f43e09bed65a0f28115160a4c5486c8e64f8b472c7145a31c2d2
+ checksum: 329184ae53b3d5dc0218ef63dbbd65efc3a3f423595cf69865cb47ee7ae233cfa8c93d87c31cdb1ef8a00f286d3dd56dc629a16c5903777a9eb1f603dd801c25
languageName: node
linkType: hard
@@ -15652,18 +15456,6 @@ __metadata:
languageName: node
linkType: hard
-"@ts-morph/common@npm:~0.19.0":
- version: 0.19.0
- resolution: "@ts-morph/common@npm:0.19.0"
- dependencies:
- fast-glob: "npm:^3.2.12"
- minimatch: "npm:^7.4.3"
- mkdirp: "npm:^2.1.6"
- path-browserify: "npm:^1.0.1"
- checksum: e25fd46158d72be238ab1dda74e7ee284085895b12b9ab279f37d50f1cd71b2be95a56f3efa19d5f52986534e9f34ae4a294467cd1637b27cf4fb82bd7318bb7
- languageName: node
- linkType: hard
-
"@tsconfig/node10@npm:^1.0.7":
version: 1.0.9
resolution: "@tsconfig/node10@npm:1.0.9"
@@ -17797,6 +17589,86 @@ __metadata:
languageName: node
linkType: hard
+"@volar/language-core@npm:1.11.1, @volar/language-core@npm:~1.11.1":
+ version: 1.11.1
+ resolution: "@volar/language-core@npm:1.11.1"
+ dependencies:
+ "@volar/source-map": "npm:1.11.1"
+ checksum: 92c4439e3a9ccc534c970031388c318740f6fa032283d03e136c6c8c0228f549c68a7c363af1a28252617a0dca6069e14028329ac906d5acf1912931d0cdcb69
+ languageName: node
+ linkType: hard
+
+"@volar/source-map@npm:1.11.1, @volar/source-map@npm:~1.11.1":
+ version: 1.11.1
+ resolution: "@volar/source-map@npm:1.11.1"
+ dependencies:
+ muggle-string: "npm:^0.3.1"
+ checksum: 0bfc639889802705f8036ea8b2052a95a4d691a68bc2b6744ba8b9d312d887393dd3278101180a5ee5304972899d493972a483afafd41e097968746c77d724cb
+ languageName: node
+ linkType: hard
+
+"@volar/typescript@npm:~1.11.1":
+ version: 1.11.1
+ resolution: "@volar/typescript@npm:1.11.1"
+ dependencies:
+ "@volar/language-core": "npm:1.11.1"
+ path-browserify: "npm:^1.0.1"
+ checksum: 86fe153db3a14d8eb3632784a1d7fcbfbfb51fa5517c3878bfdd49ee8d15a83b1a09f9c589454b7396454c104d3a8e2db3a987dc99b37c33816772fc3e292bf2
+ languageName: node
+ linkType: hard
+
+"@vue/compiler-core@npm:3.4.21":
+ version: 3.4.21
+ resolution: "@vue/compiler-core@npm:3.4.21"
+ dependencies:
+ "@babel/parser": "npm:^7.23.9"
+ "@vue/shared": "npm:3.4.21"
+ entities: "npm:^4.5.0"
+ estree-walker: "npm:^2.0.2"
+ source-map-js: "npm:^1.0.2"
+ checksum: 3ee871b95e17948d10375093c8dd3265923f844528a24ac67512c201ddb9b628021c010565f3e50f2e551b217c502e80a7901384f616a977a04f81e68c64a37c
+ languageName: node
+ linkType: hard
+
+"@vue/compiler-dom@npm:^3.3.0":
+ version: 3.4.21
+ resolution: "@vue/compiler-dom@npm:3.4.21"
+ dependencies:
+ "@vue/compiler-core": "npm:3.4.21"
+ "@vue/shared": "npm:3.4.21"
+ checksum: b4a1099eddacded2663d12388b48088ca0be0d8969a070476f49e4e65da9b22851fc897cc693662b178e7e7fdee98fcf9ea3617a1f626c3a1b2089815cb1264e
+ languageName: node
+ linkType: hard
+
+"@vue/language-core@npm:1.8.27, @vue/language-core@npm:^1.8.27":
+ version: 1.8.27
+ resolution: "@vue/language-core@npm:1.8.27"
+ dependencies:
+ "@volar/language-core": "npm:~1.11.1"
+ "@volar/source-map": "npm:~1.11.1"
+ "@vue/compiler-dom": "npm:^3.3.0"
+ "@vue/shared": "npm:^3.3.0"
+ computeds: "npm:^0.0.1"
+ minimatch: "npm:^9.0.3"
+ muggle-string: "npm:^0.3.1"
+ path-browserify: "npm:^1.0.1"
+ vue-template-compiler: "npm:^2.7.14"
+ peerDependencies:
+ typescript: "*"
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ checksum: 2018214d8ce2643d19e8e84eddaeacddca28b2980984d7916d97f97556c3716be184cf9f8c4f506d072a11f265401e3bc0391117cf7cfcc1e4a25048f4432dc7
+ languageName: node
+ linkType: hard
+
+"@vue/shared@npm:3.4.21, @vue/shared@npm:^3.3.0":
+ version: 3.4.21
+ resolution: "@vue/shared@npm:3.4.21"
+ checksum: 79cba4228c3c1769ba8024302d7dbebf6ed1b77fb2e7a69e635cdebaa1c18b409e9c27ce27ccbe3a98e702a7e2dae1b87754d87f0b29adfe2a8f9e1e7c7899d5
+ languageName: node
+ linkType: hard
+
"@webassemblyjs/ast@npm:1.11.6, @webassemblyjs/ast@npm:^1.11.5":
version: 1.11.6
resolution: "@webassemblyjs/ast@npm:1.11.6"
@@ -19327,25 +19199,25 @@ __metadata:
languageName: node
linkType: hard
-"axios@npm:^1.5.1, axios@npm:^1.6.1, axios@npm:^1.6.2":
- version: 1.6.4
- resolution: "axios@npm:1.6.4"
+"axios@npm:^1.6.0":
+ version: 1.6.7
+ resolution: "axios@npm:1.6.7"
dependencies:
follow-redirects: "npm:^1.15.4"
form-data: "npm:^4.0.0"
proxy-from-env: "npm:^1.1.0"
- checksum: daac697fa1ea9865cb48e9edb7eacd99e8a9214997f2d8e886cb61c380a613e5c270078bfc153ac96206680106c223f005f0e4bf2f3b2ddd88e559ecf970521f
+ checksum: 131bf8e62eee48ca4bd84e6101f211961bf6a21a33b95e5dfb3983d5a2fe50d9fffde0b57668d7ce6f65063d3dc10f2212cbcb554f75cfca99da1c73b210358d
languageName: node
linkType: hard
-"axios@npm:^1.6.0":
- version: 1.6.7
- resolution: "axios@npm:1.6.7"
+"axios@npm:^1.6.1, axios@npm:^1.6.2":
+ version: 1.6.4
+ resolution: "axios@npm:1.6.4"
dependencies:
follow-redirects: "npm:^1.15.4"
form-data: "npm:^4.0.0"
proxy-from-env: "npm:^1.1.0"
- checksum: 131bf8e62eee48ca4bd84e6101f211961bf6a21a33b95e5dfb3983d5a2fe50d9fffde0b57668d7ce6f65063d3dc10f2212cbcb554f75cfca99da1c73b210358d
+ checksum: daac697fa1ea9865cb48e9edb7eacd99e8a9214997f2d8e886cb61c380a613e5c270078bfc153ac96206680106c223f005f0e4bf2f3b2ddd88e559ecf970521f
languageName: node
linkType: hard
@@ -22322,13 +22194,6 @@ __metadata:
languageName: node
linkType: hard
-"code-block-writer@npm:^12.0.0":
- version: 12.0.0
- resolution: "code-block-writer@npm:12.0.0"
- checksum: ced73cdc466bff968bba9e8e32340d88420d25a229b9269f7425a10a7c2c9a12ca702dcb601b2462b96472d354f021cf66e552179fcbe30c8f7ecd0173c5fa07
- languageName: node
- linkType: hard
-
"code-point-at@npm:^1.0.0":
version: 1.1.0
resolution: "code-point-at@npm:1.1.0"
@@ -22467,13 +22332,6 @@ __metadata:
languageName: node
linkType: hard
-"colors@npm:~1.2.1":
- version: 1.2.5
- resolution: "colors@npm:1.2.5"
- checksum: f4acebf2d2da9b4f8afb770361d14c01034bcb43add4cae493e7d186dcd7e0c5e2b440520fbfdf636e872606a0eb86b1f69fcf2f087df2876a4e222612539ee0
- languageName: node
- linkType: hard
-
"columnify@npm:^1.6.0":
version: 1.6.0
resolution: "columnify@npm:1.6.0"
@@ -22703,6 +22561,13 @@ __metadata:
languageName: node
linkType: hard
+"computeds@npm:^0.0.1":
+ version: 0.0.1
+ resolution: "computeds@npm:0.0.1"
+ checksum: 8a8736f1f43e4a99286519785d71a10ece8f444a2fa1fc2fe1f03dedf63f3477b45094002c85a2826f7631759c9f5a00b4ace47456997f253073fc525e8983de
+ languageName: node
+ linkType: hard
+
"concat-map@npm:0.0.1":
version: 0.0.1
resolution: "concat-map@npm:0.0.1"
@@ -23932,6 +23797,13 @@ __metadata:
languageName: node
linkType: hard
+"de-indent@npm:^1.0.2":
+ version: 1.0.2
+ resolution: "de-indent@npm:1.0.2"
+ checksum: 7058ce58abd6dfc123dd204e36be3797abd419b59482a634605420f47ae97639d0c183ec5d1b904f308a01033f473673897afc2bd59bc620ebf1658763ef4291
+ languageName: node
+ linkType: hard
+
"debounce@npm:^1.2.0, debounce@npm:^1.2.1":
version: 1.2.1
resolution: "debounce@npm:1.2.1"
@@ -25133,7 +25005,7 @@ __metadata:
languageName: node
linkType: hard
-"entities@npm:^4.2.0, entities@npm:^4.4.0":
+"entities@npm:^4.2.0, entities@npm:^4.4.0, entities@npm:^4.5.0":
version: 4.5.0
resolution: "entities@npm:4.5.0"
checksum: 5b039739f7621f5d1ad996715e53d964035f75ad3b9a4d38c6b3804bb226e282ffeae2443624d8fdd9c47d8e926ae9ac009c54671243f0c3294c26af7cc85250
@@ -26691,7 +26563,7 @@ __metadata:
languageName: node
linkType: hard
-"fast-glob@npm:3.3.2, fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.7, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.1, fast-glob@npm:^3.3.2":
+"fast-glob@npm:3.3.2, fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.7, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.1, fast-glob@npm:^3.3.2":
version: 3.3.2
resolution: "fast-glob@npm:3.3.2"
dependencies:
@@ -27576,7 +27448,7 @@ __metadata:
languageName: node
linkType: hard
-"fs-extra@npm:^10.0.0, fs-extra@npm:^10.0.1, fs-extra@npm:^10.1.0":
+"fs-extra@npm:^10.0.0, fs-extra@npm:^10.0.1":
version: 10.1.0
resolution: "fs-extra@npm:10.1.0"
dependencies:
@@ -28058,20 +27930,6 @@ __metadata:
languageName: node
linkType: hard
-"glob@npm:7.1.4":
- version: 7.1.4
- resolution: "glob@npm:7.1.4"
- 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: 7f6fcbf600eb2298cce34c65f6d8bbe6933ddd4f88aa5b38a9c6feec82b615bb33b63b120725303e89c4b50284413c21d2ff883414717a5c7d0c9f7cd7a0e5fe
- languageName: node
- linkType: hard
-
"glob@npm:7.1.7":
version: 7.1.7
resolution: "glob@npm:7.1.7"
@@ -32899,7 +32757,7 @@ __metadata:
languageName: node
linkType: hard
-"kolorist@npm:^1.7.0":
+"kolorist@npm:^1.8.0":
version: 1.8.0
resolution: "kolorist@npm:1.8.0"
checksum: 73075db44a692bf6c34a649f3b4b3aea4993b84f6b754cbf7a8577e7c7db44c0bad87752bd23b0ce533f49de2244ce2ce03b7b1b667a85ae170a94782cc50f9b
@@ -33832,16 +33690,7 @@ __metadata:
languageName: node
linkType: hard
-"magic-string@npm:^0.29.0":
- version: 0.29.0
- resolution: "magic-string@npm:0.29.0"
- dependencies:
- "@jridgewell/sourcemap-codec": "npm:^1.4.13"
- checksum: 6c8b6246bca11e439d35f18b3a27cbdf55226acc7f4489900f027e253b7af6c5cd32ebb275389ef32c05d11f699d7dac8a06b833f51a51faf3d1978b9dabd861
- languageName: node
- linkType: hard
-
-"magic-string@npm:^0.30.5":
+"magic-string@npm:^0.30.5, magic-string@npm:^0.30.8":
version: 0.30.8
resolution: "magic-string@npm:0.30.8"
dependencies:
@@ -36089,15 +35938,6 @@ __metadata:
languageName: node
linkType: hard
-"minimatch@npm:3.0.5":
- version: 3.0.5
- resolution: "minimatch@npm:3.0.5"
- dependencies:
- brace-expansion: "npm:^1.1.7"
- checksum: f398652d0d260137c289c270a4ac98ebe0a27cd316fa0fac72b096e96cbdc89f71d80d47ac7065c716ba3b0b730783b19180bd85a35f9247535d2adfe96bba76
- languageName: node
- linkType: hard
-
"minimatch@npm:3.1.2, minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
@@ -36161,6 +36001,24 @@ __metadata:
languageName: node
linkType: hard
+"minimatch@npm:^9.0.3":
+ version: 9.0.4
+ resolution: "minimatch@npm:9.0.4"
+ dependencies:
+ brace-expansion: "npm:^2.0.1"
+ checksum: 2c16f21f50e64922864e560ff97c587d15fd491f65d92a677a344e970fe62aafdbeafe648965fa96d33c061b4d0eabfe0213466203dd793367e7f28658cf6414
+ languageName: node
+ linkType: hard
+
+"minimatch@npm:~3.0.3":
+ version: 3.0.8
+ resolution: "minimatch@npm:3.0.8"
+ dependencies:
+ brace-expansion: "npm:^1.1.7"
+ checksum: 72b226f452dcfb5075255f53534cb83fc25565b909e79b9be4fad463d735cb1084827f7013ff41d050e77ee6e474408c6073473edd2fb72c2fd630cfb0acc6ad
+ languageName: node
+ linkType: hard
+
"minimist@npm:1.2.6":
version: 1.2.6
resolution: "minimist@npm:1.2.6"
@@ -36353,7 +36211,7 @@ __metadata:
languageName: node
linkType: hard
-"mkdirp@npm:^2.1.3, mkdirp@npm:^2.1.6":
+"mkdirp@npm:^2.1.3":
version: 2.1.6
resolution: "mkdirp@npm:2.1.6"
bin:
@@ -36531,6 +36389,13 @@ __metadata:
languageName: node
linkType: hard
+"muggle-string@npm:^0.3.1":
+ version: 0.3.1
+ resolution: "muggle-string@npm:0.3.1"
+ checksum: 489b0575fa76e30914393915a36638590052409fca2206a6bef0fb0ad7b181c1cbf99761191bfd16fe402c6f5a3164897965422fa32ef20ada1b44024ba46ab6
+ languageName: node
+ linkType: hard
+
"multer@npm:1.4.4-lts.1":
version: 1.4.4-lts.1
resolution: "multer@npm:1.4.4-lts.1"
@@ -37423,90 +37288,6 @@ __metadata:
languageName: node
linkType: hard
-"nx@npm:17.2.8":
- version: 17.2.8
- resolution: "nx@npm:17.2.8"
- dependencies:
- "@nrwl/tao": "npm:17.2.8"
- "@nx/nx-darwin-arm64": "npm:17.2.8"
- "@nx/nx-darwin-x64": "npm:17.2.8"
- "@nx/nx-freebsd-x64": "npm:17.2.8"
- "@nx/nx-linux-arm-gnueabihf": "npm:17.2.8"
- "@nx/nx-linux-arm64-gnu": "npm:17.2.8"
- "@nx/nx-linux-arm64-musl": "npm:17.2.8"
- "@nx/nx-linux-x64-gnu": "npm:17.2.8"
- "@nx/nx-linux-x64-musl": "npm:17.2.8"
- "@nx/nx-win32-arm64-msvc": "npm:17.2.8"
- "@nx/nx-win32-x64-msvc": "npm:17.2.8"
- "@yarnpkg/lockfile": "npm:^1.1.0"
- "@yarnpkg/parsers": "npm:3.0.0-rc.46"
- "@zkochan/js-yaml": "npm:0.0.6"
- axios: "npm:^1.5.1"
- chalk: "npm:^4.1.0"
- cli-cursor: "npm:3.1.0"
- cli-spinners: "npm:2.6.1"
- cliui: "npm:^8.0.1"
- dotenv: "npm:~16.3.1"
- dotenv-expand: "npm:~10.0.0"
- enquirer: "npm:~2.3.6"
- figures: "npm:3.2.0"
- flat: "npm:^5.0.2"
- fs-extra: "npm:^11.1.0"
- glob: "npm:7.1.4"
- ignore: "npm:^5.0.4"
- jest-diff: "npm:^29.4.1"
- js-yaml: "npm:4.1.0"
- jsonc-parser: "npm:3.2.0"
- lines-and-columns: "npm:~2.0.3"
- minimatch: "npm:3.0.5"
- node-machine-id: "npm:1.1.12"
- npm-run-path: "npm:^4.0.1"
- open: "npm:^8.4.0"
- semver: "npm:7.5.3"
- string-width: "npm:^4.2.3"
- strong-log-transformer: "npm:^2.1.0"
- tar-stream: "npm:~2.2.0"
- tmp: "npm:~0.2.1"
- tsconfig-paths: "npm:^4.1.2"
- tslib: "npm:^2.3.0"
- yargs: "npm:^17.6.2"
- yargs-parser: "npm:21.1.1"
- peerDependencies:
- "@swc-node/register": ^1.6.7
- "@swc/core": ^1.3.85
- dependenciesMeta:
- "@nx/nx-darwin-arm64":
- optional: true
- "@nx/nx-darwin-x64":
- optional: true
- "@nx/nx-freebsd-x64":
- optional: true
- "@nx/nx-linux-arm-gnueabihf":
- optional: true
- "@nx/nx-linux-arm64-gnu":
- optional: true
- "@nx/nx-linux-arm64-musl":
- optional: true
- "@nx/nx-linux-x64-gnu":
- optional: true
- "@nx/nx-linux-x64-musl":
- optional: true
- "@nx/nx-win32-arm64-msvc":
- optional: true
- "@nx/nx-win32-x64-msvc":
- optional: true
- peerDependenciesMeta:
- "@swc-node/register":
- optional: true
- "@swc/core":
- optional: true
- bin:
- nx: bin/nx.js
- nx-cloud: bin/nx-cloud.js
- checksum: c8049bf1b3136545a3fe9e5c1206d23e7161d044f550837208bacd2a1dcf51842377959ab94ea89ce8741d553e7bd15cda2335d03e91e0f5485ead53ee4c09ad
- languageName: node
- linkType: hard
-
"nx@npm:18.1.3":
version: 18.1.3
resolution: "nx@npm:18.1.3"
@@ -42984,17 +42765,6 @@ __metadata:
languageName: node
linkType: hard
-"semver@npm:7.5.3":
- version: 7.5.3
- resolution: "semver@npm:7.5.3"
- dependencies:
- lru-cache: "npm:^6.0.0"
- bin:
- semver: bin/semver.js
- checksum: 4cf3bab7e8cf8c2ae521fc4bcc50a4d6912a836360796b23b9f1c26f45d27a73f870e47664df4770bde0dd60dc4d4781a05fd49fe91d72376ea5519b9e791459
- languageName: node
- linkType: hard
-
"semver@npm:7.5.4, semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.1.3, semver@npm:^7.2.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.0, semver@npm:^7.5.1, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:~7.5.4":
version: 7.5.4
resolution: "semver@npm:7.5.4"
@@ -44659,7 +44429,7 @@ __metadata:
languageName: node
linkType: hard
-"supports-color@npm:^8.0.0, supports-color@npm:^8.1.0, supports-color@npm:^8.1.1":
+"supports-color@npm:^8.0.0, supports-color@npm:^8.1.0, supports-color@npm:^8.1.1, supports-color@npm:~8.1.1":
version: 8.1.1
resolution: "supports-color@npm:8.1.1"
dependencies:
@@ -45477,16 +45247,6 @@ __metadata:
languageName: node
linkType: hard
-"ts-morph@npm:18.0.0":
- version: 18.0.0
- resolution: "ts-morph@npm:18.0.0"
- dependencies:
- "@ts-morph/common": "npm:~0.19.0"
- code-block-writer: "npm:^12.0.0"
- checksum: 6ea3259bf46a786eb446f75586aaa3a23715529889069e28e7bbd57e85e21585097559ec5b94e1b99cd6e6e9097d644d71e4a1e3274499f46b1cafd6a009b534
- languageName: node
- linkType: hard
-
"ts-node@npm:10.9.1":
version: 10.9.1
resolution: "ts-node@npm:10.9.1"
@@ -45749,12 +45509,6 @@ __metadata:
"twenty-emails@workspace:packages/twenty-emails":
version: 0.0.0-use.local
resolution: "twenty-emails@workspace:packages/twenty-emails"
- dependencies:
- "@nx/vite": "npm:17.2.8"
- "@vitejs/plugin-react-swc": "npm:^3.5.0"
- vite: "npm:^5.0.0"
- vite-plugin-dts: "npm:~2.3.0"
- vite-tsconfig-paths: "npm:^4.2.1"
languageName: unknown
linkType: soft
@@ -45798,7 +45552,7 @@ __metadata:
psl: "npm:^1.9.0"
rimraf: "npm:^5.0.5"
tsconfig-paths: "npm:^4.2.0"
- typescript: "npm:^5.3.3"
+ typescript: "npm:5.3.3"
languageName: unknown
linkType: soft
@@ -46127,12 +45881,12 @@ __metadata:
tsup: "npm:^8.0.1"
type-fest: "npm:4.10.1"
typeorm: "npm:^0.3.17"
- typescript: "npm:^5.3.3"
+ typescript: "npm:5.3.3"
use-debounce: "npm:^10.0.0"
uuid: "npm:^9.0.0"
vite: "npm:^5.0.0"
vite-plugin-checker: "npm:^0.6.2"
- vite-plugin-dts: "npm:~2.3.0"
+ vite-plugin-dts: "npm:3.8.1"
vite-plugin-svgr: "npm:^4.2.0"
vite-tsconfig-paths: "npm:^4.2.1"
vitest: "npm:1.4.0"
@@ -46331,17 +46085,7 @@ __metadata:
languageName: node
linkType: hard
-"typescript@npm:4.9.5":
- version: 4.9.5
- resolution: "typescript@npm:4.9.5"
- bin:
- tsc: bin/tsc
- tsserver: bin/tsserver
- checksum: 5f6cad2e728a8a063521328e612d7876e12f0d8a8390d3b3aaa452a6a65e24e9ac8ea22beb72a924fd96ea0a49ea63bb4e251fb922b12eedfb7f7a26475e5c56
- languageName: node
- linkType: hard
-
-"typescript@npm:5.3.3, typescript@npm:^5.3.3, typescript@npm:~5.3.2":
+"typescript@npm:5.3.3":
version: 5.3.3
resolution: "typescript@npm:5.3.3"
bin:
@@ -46351,17 +46095,7 @@ __metadata:
languageName: node
linkType: hard
-"typescript@patch:typescript@npm%3A4.9.5#optional!builtin<compat/typescript>":
- version: 4.9.5
- resolution: "typescript@patch:typescript@npm%3A4.9.5#optional!builtin<compat/typescript>::version=4.9.5&hash=289587"
- bin:
- tsc: bin/tsc
- tsserver: bin/tsserver
- checksum: e3333f887c6829dfe0ab6c1dbe0dd1e3e2aeb56c66460cb85c5440c566f900c833d370ca34eb47558c0c69e78ced4bfe09b8f4f98b6de7afed9b84b8d1dd06a1
- languageName: node
- linkType: hard
-
-"typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.3.3#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A~5.3.2#optional!builtin<compat/typescript>":
+"typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>":
version: 5.3.3
resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>::version=5.3.3&hash=e012d7"
bin:
@@ -47689,23 +47423,24 @@ __metadata:
languageName: node
linkType: hard
-"vite-plugin-dts@npm:~2.3.0":
- version: 2.3.0
- resolution: "vite-plugin-dts@npm:2.3.0"
+"vite-plugin-dts@npm:3.8.1":
+ version: 3.8.1
+ resolution: "vite-plugin-dts@npm:3.8.1"
dependencies:
- "@babel/parser": "npm:^7.21.4"
- "@microsoft/api-extractor": "npm:^7.34.4"
- "@rollup/pluginutils": "npm:^5.0.2"
- "@rushstack/node-core-library": "npm:^3.55.2"
+ "@microsoft/api-extractor": "npm:7.43.0"
+ "@rollup/pluginutils": "npm:^5.1.0"
+ "@vue/language-core": "npm:^1.8.27"
debug: "npm:^4.3.4"
- fast-glob: "npm:^3.2.12"
- fs-extra: "npm:^10.1.0"
- kolorist: "npm:^1.7.0"
- magic-string: "npm:^0.29.0"
- ts-morph: "npm:18.0.0"
+ kolorist: "npm:^1.8.0"
+ magic-string: "npm:^0.30.8"
+ vue-tsc: "npm:^1.8.27"
peerDependencies:
- vite: ">=2.9.0"
- checksum: e33c4bba5b0c936a159287c250dc935644008a05d6c1e46f01e7b0c4bcea47f061844782563302d9ca787c78d47f48c4405240faca0881dcd037563f031704b6
+ typescript: "*"
+ vite: "*"
+ peerDependenciesMeta:
+ vite:
+ optional: true
+ checksum: 0d61a6eae3c97d78efd74bc647fc94b446a8461ad97530e69b18173084e728411a1005d8ad97142508d1a8252b00cf9b849dd94e9fcc72560a69c92f48e9185c
languageName: node
linkType: hard
@@ -47914,6 +47649,31 @@ __metadata:
languageName: node
linkType: hard
+"vue-template-compiler@npm:^2.7.14":
+ version: 2.7.16
+ resolution: "vue-template-compiler@npm:2.7.16"
+ dependencies:
+ de-indent: "npm:^1.0.2"
+ he: "npm:^1.2.0"
+ checksum: 66667ffd5095b707f169c902c4f1a011e9d5ab99fc228e4dac14eb5ca7f107ed99bff261b21578a4b391d2f3d320a8050e754404443472acad13ddaa4bd7bae2
+ languageName: node
+ linkType: hard
+
+"vue-tsc@npm:^1.8.27":
+ version: 1.8.27
+ resolution: "vue-tsc@npm:1.8.27"
+ dependencies:
+ "@volar/typescript": "npm:~1.11.1"
+ "@vue/language-core": "npm:1.8.27"
+ semver: "npm:^7.5.4"
+ peerDependencies:
+ typescript: "*"
+ bin:
+ vue-tsc: bin/vue-tsc.js
+ checksum: 6e6ba37eb7a0c8b9cc613225729c74edf8bd0632d265e62aca28b1969b5615b9dbe2de03aefb8aed2e26fdbd4b93f134785c8ab0095f92c2469192e2db5d09fd
+ languageName: node
+ linkType: hard
+
"w3c-keyname@npm:^2.2.0, w3c-keyname@npm:^2.2.4":
version: 2.2.8
resolution: "w3c-keyname@npm:2.2.8"