|
21 | 21 | "react" |
22 | 22 | ], |
23 | 23 | "scripts": { |
24 | | - "dev": "next dev", |
25 | 24 | "build": "rollup -c --bundleConfigAsCjs", |
26 | | - "start": "next start", |
27 | | - "lint": "next lint", |
28 | | - "storybook": "storybook dev -p 6006", |
| 25 | + "lint": "eslint \"src/**/*.{ts,tsx}\"", |
| 26 | + "compile": "tsc --noEmit", |
| 27 | + "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix", |
| 28 | + "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,css}\"", |
| 29 | + "storybook": "storybook dev", |
29 | 30 | "build-storybook": "storybook build", |
30 | | - "test": "jest", |
| 31 | + "test": "jest --testPathIgnorePatterns=\"computePosition\\.test\\.ts\" --passWithNoTests", |
31 | 32 | "yalc:publish": "npm run build && yalc publish", |
32 | 33 | "yalc:push": "npm run build && yalc push", |
33 | | - "prettier": "prettier --write \"src/**/*.{js,jsx,ts,tsx,css}\"", |
34 | | - "ci": "npm-run-all prettier lint test build", |
| 34 | + "ci": "npm-run-all lint:fix lint test build", |
35 | 35 | "deploy-storybook": "gh-pages -d storybook-static" |
36 | 36 | }, |
37 | 37 | "jest": { |
38 | | - "transform": { |
39 | | - ".(ts|tsx)": "ts-jest" |
40 | | - }, |
| 38 | + "preset": "ts-jest", |
| 39 | + "testEnvironment": "jsdom", |
| 40 | + "setupFilesAfterEnv": [ |
| 41 | + "@testing-library/jest-dom" |
| 42 | + ], |
41 | 43 | "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", |
42 | 44 | "moduleFileExtensions": [ |
43 | 45 | "ts", |
44 | 46 | "tsx", |
45 | 47 | "js" |
46 | | - ] |
| 48 | + ], |
| 49 | + "moduleNameMapper": { |
| 50 | + "\\.(css|less|scss)$": "identity-obj-proxy" |
| 51 | + } |
47 | 52 | }, |
48 | 53 | "dependencies": { |
49 | | - "@dolthub/react-components": "^0.2.7", |
50 | | - "@dolthub/react-hooks": "^0.1.7", |
51 | | - "@dolthub/web-utils": "^0.1.5", |
52 | | - "@rollup/plugin-typescript": "12.3.0", |
53 | | - "classnames": "^2.3.2", |
54 | 54 | "react": ">=18.0.0", |
55 | | - "react-copy-to-clipboard": "^5.1.0", |
56 | 55 | "react-dom": ">=18.0.0", |
57 | | - "react-icons": "^5.3.0", |
| 56 | + "react-icons": "^5.6.0", |
58 | 57 | "react-infinite-scroller": "^1.2.6", |
59 | | - "react-tooltip": "^5.26.3", |
| 58 | + "react-tooltip": "^5.30.0", |
60 | 59 | "reactjs-popup": "^2.0.6" |
61 | 60 | }, |
62 | 61 | "devDependencies": { |
63 | | - "@rollup/plugin-commonjs": "^29.0.0", |
64 | | - "@rollup/plugin-node-resolve": "^16.0.0", |
| 62 | + "@eslint/js": "^10.0.1", |
| 63 | + "@rollup/plugin-commonjs": "^29.0.2", |
| 64 | + "@rollup/plugin-node-resolve": "^16.0.3", |
65 | 65 | "@rollup/plugin-terser": "^0.4.4", |
66 | | - "@storybook/nextjs": "^8.0.0", |
67 | | - "@storybook/react": "^8.0.0", |
68 | | - "@types/react": "^18.2.57", |
| 66 | + "@rollup/plugin-typescript": "12.3.0", |
| 67 | + "@storybook/addon-webpack5-compiler-swc": "^4.0.3", |
| 68 | + "@storybook/react": "^10", |
| 69 | + "@storybook/react-webpack5": "^10", |
| 70 | + "@testing-library/dom": "^10.4.1", |
| 71 | + "@testing-library/jest-dom": "^6.9.1", |
| 72 | + "@testing-library/react": "^16.3.2", |
| 73 | + "@types/jest": "^30.0.0", |
| 74 | + "@types/react": "^19.2.14", |
69 | 75 | "@types/react-infinite-scroller": "^1.2.5", |
70 | | - "@typescript-eslint/eslint-plugin": "8.32.1", |
71 | | - "@typescript-eslint/parser": "8.53.0", |
72 | | - "eslint-config-airbnb-base": "latest", |
73 | | - "eslint-config-airbnb-typescript": "latest", |
74 | | - "eslint-config-prettier": "^10.0.1", |
75 | | - "gh-pages": "^6.1.1", |
76 | | - "jest": "^30.2.0", |
77 | | - "next": "^15.1.7", |
| 76 | + "eslint": "^10", |
| 77 | + "eslint-config-prettier": "^10.1.8", |
| 78 | + "eslint-plugin-react": "^7.37.5", |
| 79 | + "gh-pages": "^6.3.0", |
| 80 | + "identity-obj-proxy": "^3.0.0", |
| 81 | + "jest": "^30.3.0", |
| 82 | + "jest-environment-jsdom": "^30.3.0", |
78 | 83 | "npm-run-all": "^4.1.5", |
79 | | - "prettier": "^3.2.5", |
80 | | - "rollup": "^4.12.0", |
81 | | - "rollup-plugin-dts": "^6.1.0", |
| 84 | + "postcss": "^8.5.8", |
| 85 | + "prettier": "^3.8.1", |
| 86 | + "rollup": "^4.60.0", |
| 87 | + "rollup-plugin-dts": "^6.4.1", |
82 | 88 | "rollup-plugin-peer-deps-external": "^2.2.4", |
83 | 89 | "rollup-plugin-postcss": "^4.0.2", |
84 | | - "storybook": "8.6.15", |
85 | | - "ts-jest": "^29.1.2", |
| 90 | + "storybook": "^10", |
| 91 | + "ts-jest": "^29.4.6", |
86 | 92 | "typescript": "^5.4.2", |
| 93 | + "typescript-eslint": "^8.57.2", |
87 | 94 | "yalc": "^1.0.0-pre.53" |
88 | 95 | }, |
89 | 96 | "peerDependencies": { |
|
93 | 100 | "main": "dist/cjs/index.js", |
94 | 101 | "module": "dist/esm/index.js", |
95 | 102 | "types": "dist/index.d.ts", |
96 | | - "resolutions": { |
97 | | - "cross-spawn": "^7.0.5", |
98 | | - "wrap-ansi/string-width": "^4.2.0" |
99 | | - } |
| 103 | + "packageManager": "yarn@4.13.0" |
100 | 104 | } |
0 commit comments