Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/components/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ module.exports = {
moduleFileExtensions: ["ts", "js", "tsx"],
moduleNameMapper: {
"\\.(css|less)$": "identity-obj-proxy",
"^@dolthub/web-utils$": "<rootDir>/../utils/src/index.ts",
"^@dolthub/react-hooks$": "<rootDir>/../hooks/src/index.ts",
"^@dolthub/react-contexts$": "<rootDir>/../contexts/src/index.ts",
},
collectCoverage: false,
clearMocks: true,
Expand Down
22 changes: 11 additions & 11 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^11.1.5",
"@storybook/addon-essentials": "^8.6.12",
"@storybook/addon-interactions": "^8.6.12",
"@storybook/addon-links": "^8.6.12",
"@storybook/addon-styling-webpack": "^1.0.1",
"@storybook/addon-viewport": "^8.6.12",
"@storybook/addon-webpack5-compiler-swc": "^3.0.0",
"@storybook/blocks": "^8.6.12",
"@storybook/react": "^8.6.12",
"@storybook/react-webpack5": "^8.6.12",
"@storybook/test": "^8.6.12",
"@storybook/addon-essentials": "^8.6.14",
"@storybook/addon-interactions": "^8.6.14",
"@storybook/addon-links": "^10.1.2",
"@storybook/addon-styling-webpack": "^3.0.0",
"@storybook/addon-viewport": "^9.0.8",
"@storybook/addon-webpack5-compiler-swc": "^4.0.2",
"@storybook/blocks": "^8.6.14",
"@storybook/react": "^10.1.2",
"@storybook/react-webpack5": "^10.1.2",
"@storybook/test": "^8.6.14",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@testing-library/react-hooks": "^8.0.1",
Expand Down Expand Up @@ -128,7 +128,7 @@
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"storybook": "^8.6.12",
"storybook": "^10.1.2",
"storybook-css-modules": "^1.0.8",
"stylelint": "^16.25.0",
"stylelint-config-recommended": "^14.0.1",
Expand Down
16 changes: 8 additions & 8 deletions packages/components/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export type { FilterOptionOption } from "react-select/dist/declarations/src/filters";
export type { FilterOptionOption } from "react-select";
export { default as Btn } from "./Btn";
export { default as Button } from "./Button";
export { default as ButtonWithPopup } from "./ButtonWithPopup";
export { default as ButtonsWithError } from "./ButtonsWithError";
export { default as ButtonWithPopup } from "./ButtonWithPopup";
export { default as CellDropdown } from "./CellDropdown";
export { default as CharCount } from "./CharCount";
export { default as Checkbox } from "./Checkbox";
export { default as CodeBlock } from "./CodeBlock";
export { default as CommentForm } from "./CommentForm";
export { default as CopyButton } from "./CopyButton";
export { default as CopyableField } from "./CopyableField";
export { default as CopyButton } from "./CopyButton";
export { default as ErrorMsg } from "./ErrorMsg";
export {
default as ErrorMsgProvider,
Expand Down Expand Up @@ -44,13 +44,13 @@ export { default as SmallLoader } from "./SmallLoader";
export { default as SuccessMsg } from "./SuccessMsg";
export * from "./Tabs";
export { useTabsContext } from "./Tabs/context";
export { default as Textarea } from "./Textarea";
export { default as TextareaWithMarkdown } from "./TextareaWithMarkdown";
export { default as Tooltip } from "./Tooltip";
export { default as DiscordButton } from "./TransparentButtonWithIcon/ForDiscord";
export { default as GithubButton } from "./TransparentButtonWithIcon/ForGithub";
export { default as ThemeProvider, useThemeContext } from "./tailwind/context";
export { mergeConfig } from "./tailwind/mergeConfig";
export { tailwindColorTheme as hostedTailwindColorTheme } from "./tailwind/theme/hosted/colors";
export { tailwindColorTheme as workbenchTailwindColorTheme } from "./tailwind/theme/workbench/colors";
export { IThemeColors, IThemeRGB } from "./tailwind/types";
export { default as Textarea } from "./Textarea";
export { default as TextareaWithMarkdown } from "./TextareaWithMarkdown";
export { default as Tooltip } from "./Tooltip";
export { default as DiscordButton } from "./TransparentButtonWithIcon/ForDiscord";
export { default as GithubButton } from "./TransparentButtonWithIcon/ForGithub";
4 changes: 2 additions & 2 deletions packages/components/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"outDir": "dist",
"target": "ES2015",
"lib": ["DOM", "ESNext"],
"module": "ESNext",
"moduleResolution": "Node",
"module": "nodenext",
"moduleResolution": "nodenext",
"jsx": "react",
"emitDeclarationOnly": true,
"resolveJsonModule": true,
Expand Down
4 changes: 4 additions & 0 deletions packages/contexts/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ module.exports = {
},
testPathIgnorePatterns: ["types", "node_modules", ".rollup.cache", "dist"],
moduleFileExtensions: ["ts", "js", "tsx"],
moduleNameMapper: {
"^@dolthub/web-utils$": "<rootDir>/../utils/src/index.ts",
"^@dolthub/react-hooks$": "<rootDir>/../hooks/src/index.ts",
},
collectCoverage: false,
clearMocks: true,
};
4 changes: 2 additions & 2 deletions packages/contexts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"outDir": "dist",
"target": "ES2015",
"lib": ["DOM", "ESNext"],
"module": "ESNext",
"moduleResolution": "Node",
"module": "nodenext",
"moduleResolution": "nodenext",
"jsx": "react",
"emitDeclarationOnly": true,
"resolveJsonModule": true,
Expand Down
3 changes: 3 additions & 0 deletions packages/hooks/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ module.exports = {
moduleFileExtensions: ["ts", "js", "tsx"],
collectCoverage: false,
clearMocks: true,
moduleNameMapper: {
"^@dolthub/web-utils$": "<rootDir>/../utils/src/index.ts",
},
};
4 changes: 2 additions & 2 deletions packages/hooks/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"outDir": "dist",
"target": "ES2015",
"lib": ["DOM", "ESNext"],
"module": "ESNext",
"moduleResolution": "Node",
"module": "nodenext",
"moduleResolution": "nodenext",
"jsx": "react",
"emitDeclarationOnly": true,
"resolveJsonModule": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/resource-utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"outDir": "dist",
"target": "ES2015",
"lib": ["DOM", "ESNext"],
"module": "ESNext",
"moduleResolution": "Node",
"module": "nodenext",
"moduleResolution": "nodenext",
"jsx": "react",
"emitDeclarationOnly": true,
"resolveJsonModule": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default [
external(),
nodeResolve(),
commonjs(),
typescript({ tsconfig: "./tsconfig.json", outputToFilesystem: true }),
typescript({ tsconfig: "./tsconfig.json" }),
terser(),
],
},
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"outDir": "dist",
"target": "ES2015",
"lib": ["DOM", "ESNext"],
"module": "ESNext",
"moduleResolution": "Node",
"module": "nodenext",
"moduleResolution": "nodenext",
"jsx": "react",
"emitDeclarationOnly": true,
"resolveJsonModule": true,
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"compilerOptions": {
"target": "ES2015",
"lib": ["DOM", "esnext"],
"module": "esnext",
"moduleResolution": "node",
"module": "nodenext",
"moduleResolution": "nodenext",
"jsx": "react",
"resolveJsonModule": true,
"esModuleInterop": true,
Expand Down
Loading
Loading