Skip to content

Commit c7cf4ba

Browse files
authored
chore(ui): add stylelint, prettier and eslint configs as a separate workspace package (#1237)
1 parent f214e53 commit c7cf4ba

20 files changed

+2151
-1451
lines changed

apps/beeai-cli/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/beeai-server/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/beeai-ui/eslint.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
export { nextConfig as default } from '@i-am-bee/lint-config/eslint';

apps/beeai-ui/eslint.config.mjs

Lines changed: 0 additions & 31 deletions
This file was deleted.

apps/beeai-ui/package.json

Lines changed: 38 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -11,91 +11,81 @@
1111
"#*": "./src/*"
1212
},
1313
"dependencies": {
14-
"@a2a-js/sdk": "^0.3.3",
15-
"@bprogress/next": "^3.2.10",
16-
"@carbon/colors": "^11.30.0",
17-
"@carbon/grid": "^11.33.0",
18-
"@carbon/icons-react": "^11.65.0",
19-
"@carbon/layout": "^11.31.0",
20-
"@carbon/motion": "^11.25.0",
21-
"@carbon/react": "^1.89.0",
22-
"@carbon/styles": "^1.82.0",
23-
"@floating-ui/react": "^0.27.5",
14+
"@a2a-js/sdk": "^0.3.4",
15+
"@bprogress/next": "^3.2.12",
16+
"@carbon/colors": "^11.40.0",
17+
"@carbon/grid": "^11.43.0",
18+
"@carbon/icons-react": "^11.67.0",
19+
"@carbon/layout": "^11.41.0",
20+
"@carbon/motion": "^11.35.0",
21+
"@carbon/react": "^1.91.0",
22+
"@carbon/styles": "^1.90.0",
23+
"@floating-ui/react": "^0.27.16",
2424
"@ibm/plex": "^6.4.1",
25-
"@radix-ui/react-slot": "^1.1.2",
26-
"@simplewebauthn/server": "^13.1.2",
27-
"@tanstack/react-query": "^5.69.0",
25+
"@radix-ui/react-slot": "^1.2.3",
26+
"@simplewebauthn/server": "^13.2.1",
27+
"@tanstack/react-query": "^5.90.2",
2828
"@types/react-resizable": "^3.0.8",
2929
"@types/react-syntax-highlighter": "^15.5.13",
3030
"clsx": "^2.1.1",
3131
"fetch-event-stream": "^0.1.5",
32-
"framer-motion": "^12.6.2",
32+
"framer-motion": "^12.23.19",
3333
"http-proxy": "^1.18.1",
34-
"humanize-duration": "^3.32.1",
35-
"immer": "^10.1.1",
34+
"humanize-duration": "^3.33.1",
35+
"immer": "^10.1.3",
3636
"jose": "6.1.0",
3737
"json5": "^2.2.3",
38-
"ky": "^1.7.5",
38+
"ky": "^1.10.0",
3939
"lodash": "catalog:",
4040
"lottie-react": "^2.4.1",
4141
"mdast-util-to-hast": "^13.2.0",
42-
"next": "15.5.2",
43-
"next-auth": "^5.0.0-beta.29",
44-
"openapi-fetch": "^0.13.5",
42+
"next": "15.5.3",
43+
"next-auth": "5.0.0-beta.29",
44+
"openapi-fetch": "^0.13.8",
4545
"pluralize": "^8.0.0",
46-
"react": "^19.0.0",
47-
"react-aria": "^3.42.0",
48-
"react-dom": "^19.0.0",
46+
"react": "^19.1.1",
47+
"react-aria": "^3.43.2",
48+
"react-dom": "^19.1.1",
4949
"react-dropzone": "^14.3.8",
5050
"react-error-boundary": "^5.0.0",
51-
"react-hook-form": "^7.60.0",
52-
"react-is": "^19.0.0",
51+
"react-hook-form": "^7.63.0",
52+
"react-is": "^19.1.1",
5353
"react-markdown": "^10.1.0",
5454
"react-merge-refs": "^2.1.1",
5555
"react-resizable": "^3.0.5",
56-
"react-syntax-highlighter": "^15.6.1",
56+
"react-syntax-highlighter": "^15.6.6",
5757
"rehype-minify-whitespace": "^6.0.2",
5858
"remark-gfm": "^4.0.1",
5959
"rxjs": "^7.8.2",
60-
"ts-pattern": "^5.7.1",
60+
"ts-pattern": "^5.8.0",
6161
"unified": "^11.0.5",
6262
"unist-util-visit": "^5.0.0",
63-
"usehooks-ts": "^3.1.0",
64-
"uuid": "^11.0.5",
65-
"zod": "^3.24.1",
66-
"zod-to-json-schema": "3.24.5"
63+
"usehooks-ts": "^3.1.1",
64+
"uuid": "^11.1.0",
65+
"zod": "^3.25.76",
66+
"zod-to-json-schema": "^3.24.6"
6767
},
6868
"devDependencies": {
69-
"@eslint/eslintrc": "^3.3.1",
70-
"@eslint/js": "catalog:",
71-
"@next/eslint-plugin-next": "catalog:",
69+
"@i-am-bee/lint-config": "workspace:*",
7270
"@svgr/webpack": "catalog:",
7371
"@types/hast": "^3.0.4",
74-
"@types/http-proxy": "^1.17.14",
72+
"@types/http-proxy": "^1.17.16",
7573
"@types/humanize-duration": "^3.27.4",
7674
"@types/lodash": "catalog:",
7775
"@types/mdast": "^4.0.4",
78-
"@types/node": "^22.13.13",
76+
"@types/node": "^22.18.6",
7977
"@types/pluralize": "^0.0.33",
80-
"@types/react": "^19.0.12",
81-
"@types/react-dom": "^19.0.4",
78+
"@types/react": "^19.1.13",
79+
"@types/react-dom": "^19.1.9",
8280
"eslint": "catalog:",
83-
"eslint-config-next": "catalog:",
84-
"eslint-config-prettier": "catalog:",
85-
"eslint-plugin-react-hooks": "catalog:",
86-
"eslint-plugin-simple-import-sort": "catalog:",
8781
"globals": "catalog:",
8882
"keycode-js": "^3.1.0",
89-
"openapi-typescript": "^7.8.0",
83+
"openapi-typescript": "^7.9.1",
9084
"openapi-typescript-helpers": "^0.0.15",
9185
"prettier": "catalog:",
9286
"sass-embedded": "catalog:",
9387
"stylelint": "catalog:",
94-
"stylelint-config-css-modules": "catalog:",
95-
"stylelint-config-recommended-scss": "catalog:",
96-
"stylelint-plugin-logical-css": "catalog:",
97-
"typescript": "catalog:",
98-
"typescript-eslint": "catalog:"
88+
"typescript": "catalog:"
9989
},
10090
"packageManager": "pnpm@9.9.0"
10191
}

apps/beeai-ui/prettier.config.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,4 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
const config = {
7-
printWidth: 120,
8-
singleQuote: true,
9-
trailingComma: 'all',
10-
proseWrap: 'always',
11-
};
12-
13-
export default config;
6+
export { default } from '@i-am-bee/lint-config/prettier';

apps/beeai-ui/stylelint.config.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/** @type {import('stylelint').Config} */
7+
const config = {
8+
extends: ['@i-am-bee/lint-config/stylelint'],
9+
};
10+
11+
export default config;

apps/beeai-web/eslint.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
export { nextConfig as default } from '@i-am-bee/lint-config/eslint';

apps/beeai-web/eslint.config.mjs

Lines changed: 0 additions & 31 deletions
This file was deleted.

apps/beeai-web/package.json

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,39 +24,29 @@
2424
"lodash": "catalog:",
2525
"reading-time": "^1.5.0",
2626
"rehype-slug": "^6.0.0",
27-
"remark-flexible-toc": "^1.2.0",
27+
"remark-flexible-toc": "^1.2.1",
2828
"server-only": "^0.0.1",
29-
"usehooks-ts": "^3.1.0",
29+
"usehooks-ts": "^3.1.1",
3030
"vfile": "^6.0.3",
31-
"yaml": "^2.7.1"
31+
"yaml": "^2.8.1"
3232
},
3333
"devDependencies": {
34-
"@eslint/eslintrc": "^3.3.1",
35-
"@eslint/js": "catalog:",
34+
"@i-am-bee/lint-config": "workspace:*",
3635
"@mdx-js/loader": "^3.1.1",
37-
"@next/eslint-plugin-next": "catalog:",
38-
"@next/mdx": "^15.5.2",
36+
"@next/mdx": "15.5.3",
3937
"@svgr/webpack": "catalog:",
4038
"@types/estree": "^1.0.8",
4139
"@types/lodash": "catalog:",
4240
"@types/mdx": "^2.0.13",
43-
"@types/node": "^22.13.13",
44-
"@types/react": "^19.0.12",
45-
"@types/react-dom": "^19.0.4",
41+
"@types/node": "^22.18.6",
42+
"@types/react": "^19.1.13",
43+
"@types/react-dom": "^19.1.9",
4644
"eslint": "catalog:",
47-
"eslint-config-next": "catalog:",
48-
"eslint-config-prettier": "catalog:",
49-
"eslint-plugin-react-hooks": "catalog:",
50-
"eslint-plugin-simple-import-sort": "catalog:",
5145
"prettier": "catalog:",
5246
"remark-reading-time": "^2.0.2",
5347
"sass-embedded": "catalog:",
5448
"stylelint": "catalog:",
55-
"stylelint-config-css-modules": "catalog:",
56-
"stylelint-config-recommended-scss": "catalog:",
57-
"stylelint-plugin-logical-css": "catalog:",
58-
"typescript": "catalog:",
59-
"typescript-eslint": "catalog:"
49+
"typescript": "catalog:"
6050
},
6151
"packageManager": "pnpm@9.9.0"
6252
}

0 commit comments

Comments
 (0)