Skip to content

Commit 3d3b225

Browse files
authored
Merge pull request #405 from dev-five-git/add-components
Add components
2 parents f1443f8 + 8355c0e commit 3d3b225

File tree

16 files changed

+1663
-1838
lines changed

16 files changed

+1663
-1838
lines changed

.changeset/tall-tires-taste.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@devup-ui/vite-plugin': patch
3+
---
4+
5+
Add components to noDep

apps/rsbuild/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@devup-ui/react": "workspace:*"
1717
},
1818
"devDependencies": {
19-
"@rsbuild/core": "^1.5.12",
19+
"@rsbuild/core": "^1.5.13",
2020
"@rsbuild/plugin-react": "^1.4.1",
2121
"@devup-ui/rsbuild-plugin": "workspace:*"
2222
}

benchmark/next-stylex/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"@stylexjs/babel-plugin": "^0.16.0",
2727
"@stylexjs/eslint-plugin": "^0.16.0",
2828
"@stylexjs/nextjs-plugin": "^0.11.1",
29-
"@types/node": "24.5.2",
30-
"@types/react": "19.1.15",
29+
"@types/node": "24.6.1",
30+
"@types/react": "19.1.16",
3131
"@types/react-dom": "19.1.9",
3232
"@types/react-test-renderer": "^19.1.0",
3333
"eslint": "9.36.0",
@@ -36,6 +36,6 @@
3636
"react-test-renderer": "^19.1.1",
3737
"rimraf": "^6.0.1",
3838
"ts_dependency_graph": "^2.1.1",
39-
"typescript": "5.9.2"
39+
"typescript": "5.9.3"
4040
}
4141
}

eslint.config.mjs

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
import devupUIEslintPlugin from '@devup-ui/eslint-plugin'
2-
import { configs } from 'eslint-plugin-devup'
1+
import devupUi from '@devup-ui/eslint-plugin'
2+
import devup from 'eslint-plugin-devup'
33
import eslintPlugin from 'eslint-plugin-eslint-plugin'
44
import jsonc from 'eslint-plugin-jsonc'
5-
import * as mdx from 'eslint-plugin-mdx'
65
import globals from 'globals'
6+
77
export default [
88
{
99
ignores: [
10-
'**/coverage',
11-
'target',
1210
'benchmark/next-panda-css/styled-system',
1311
'bindings/devup-ui-wasm/pkg',
1412
],
1513
},
1614
// eslint-plugin-devup
17-
...configs.recommended,
15+
...devup.configs.recommended.filter(
16+
(config) => !('plugins' in config && '@devup-ui' in config.plugins),
17+
),
1818
// eslint-plugin-jsonc
1919
...jsonc.configs['flat/recommended-with-json'],
2020
...jsonc.configs['flat/recommended-with-jsonc'],
@@ -52,31 +52,13 @@ export default [
5252
'react/no-children-prop': 'off',
5353
},
5454
},
55-
// md, mdx rules
56-
{
57-
...mdx.flat,
58-
files: ['**/*.{md,mdx}'],
59-
processor: mdx.createRemarkProcessor({
60-
lintCodeBlocks: true,
61-
}),
62-
},
63-
// md, mdx code blocks rules
64-
{
65-
...mdx.flatCodeBlocks,
66-
files: ['**/*.{md,mdx}/*.{js,jsx,ts,tsx}'],
67-
rules: {
68-
...mdx.flatCodeBlocks.rules,
69-
'react/jsx-no-undef': 'off',
70-
'react/jsx-tag-spacing': ['error', { beforeClosing: 'never' }],
71-
},
72-
},
7355
// eslint-plugin rule
7456
{
7557
...eslintPlugin.configs.recommended,
76-
// files: ['packages/eslint-plugin/**/*.{js,jsx,ts,tsx}'],
58+
files: ['packages/eslint-plugin/**/*.{js,jsx,ts,tsx}'],
7759
},
7860
{
79-
ignores: ['**/*.md'],
61+
ignores: ['packages/eslint-plugin/**/*.md'],
8062
},
81-
...devupUIEslintPlugin.configs.recommended,
63+
...devupUi.configs.recommended,
8264
]

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@
1818
"@changesets/cli": "^2.29.7",
1919
"@devup-ui/eslint-plugin": "workspace:*",
2020
"@devup-ui/vite-plugin": "workspace:*",
21-
"@testing-library/jest-dom": "^6.8.0",
21+
"@testing-library/jest-dom": "^6.9.0",
2222
"@testing-library/react": "^16.3.0",
2323
"@testing-library/user-event": "14.6.1",
24-
"@types/node": "^24.5.2",
24+
"@types/node": "^24.6.1",
2525
"@vitest/coverage-v8": "^3.2.4",
2626
"eslint": "^9.36.0",
27-
"eslint-plugin-devup": "^2.0.5",
27+
"eslint-plugin-devup": "^2.0.8",
2828
"eslint-plugin-eslint-plugin": "^7.0.0",
2929
"eslint-plugin-jsonc": "^2.20.1",
3030
"eslint-plugin-mdx": "^3.6.2",
3131
"globals": "^16.4.0",
32-
"happy-dom": "^19.0.1",
32+
"happy-dom": "^19.0.2",
3333
"husky": "^9.1.7",
3434
"lint-staged": "^16.2.3",
3535
"vitest": "^3.2.4"
3636
},
3737
"author": "devfive",
3838
"packageManager": "[email protected]",
3939
"resolutions": {
40-
"vite": "^6"
40+
"@devup-ui/eslint-plugin": "workspace:*"
4141
}
4242
}

packages/components/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@
4949
},
5050
"devDependencies": {
5151
"@devup-ui/vite-plugin": "workspace:*",
52-
"@storybook/addon-docs": "^9.1.8",
53-
"@storybook/addon-onboarding": "^9.1.8",
54-
"@storybook/react-vite": "^9.1.8",
55-
"@types/react": "^19.1.15",
56-
"eslint-plugin-storybook": "^9.1.8",
52+
"@storybook/addon-docs": "^9.1.10",
53+
"@storybook/addon-onboarding": "^9.1.10",
54+
"@storybook/react-vite": "^9.1.10",
55+
"@types/react": "^19.1.16",
56+
"eslint-plugin-storybook": "^9.1.10",
5757
"rollup-plugin-preserve-directives": "^0.4.0",
58-
"storybook": "^9.1.8",
59-
"typescript": "^5.9.2",
58+
"storybook": "^9.1.10",
59+
"typescript": "^5.9.3",
6060
"vite": "^7.1.7",
6161
"vite-plugin-dts": "^4.5.4",
6262
"vitest": "^3.2.4"

packages/eslint-plugin/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
"dist"
4141
],
4242
"dependencies": {
43-
"typescript-eslint": "^8.44",
44-
"@typescript-eslint/utils": "^8.44"
43+
"typescript-eslint": "^8.45",
44+
"@typescript-eslint/utils": "^8.45"
4545
},
4646
"devDependencies": {
47-
"@typescript-eslint/rule-tester": "^8.44",
48-
"typescript": "^5.9.2",
47+
"@typescript-eslint/rule-tester": "^8.45",
48+
"typescript": "^5.9.3",
4949
"vite": "^7.1.7",
5050
"vite-plugin-dts": "^4.5.4"
5151
}

packages/eslint-plugin/src/configs/__tests__/__snapshots__/recommended.test.ts.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ exports[`recommended > export recommended config 1`] = `
2020
"schema": [],
2121
"type": "problem",
2222
},
23+
"name": "css-utils-literal-only",
2324
},
2425
"no-duplicate-value": {
2526
"create": [Function],
@@ -36,6 +37,7 @@ exports[`recommended > export recommended config 1`] = `
3637
"schema": [],
3738
"type": "problem",
3839
},
40+
"name": "no-duplicate-value",
3941
},
4042
"no-useless-responsive": {
4143
"create": [Function],
@@ -52,6 +54,7 @@ exports[`recommended > export recommended config 1`] = `
5254
"schema": [],
5355
"type": "problem",
5456
},
57+
"name": "no-useless-responsive",
5558
},
5659
"no-useless-tailing-nulls": {
5760
"create": [Function],
@@ -68,6 +71,7 @@ exports[`recommended > export recommended config 1`] = `
6871
"schema": [],
6972
"type": "problem",
7073
},
74+
"name": "no-useless-tailing-nulls",
7175
},
7276
},
7377
},

packages/next-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"vite": "^7.1.7",
5050
"vite-plugin-dts": "^4.5.4",
5151
"vitest": "^3.2.4",
52-
"typescript": "^5.9.2",
52+
"typescript": "^5.9.3",
5353
"@types/webpack": "^5.28.5"
5454
},
5555
"peerDependencies": {

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"rollup-plugin-preserve-directives": "^0.4.0",
4747
"vite": "^7.1.7",
4848
"vite-plugin-dts": "^4.5.4",
49-
"typescript": "^5.9.2",
49+
"typescript": "^5.9.3",
5050
"@types/react": "^19"
5151
},
5252
"peerDependencies": {

0 commit comments

Comments
 (0)