@eslint-react/shared 2.0.0-beta.14 → 2.0.0-beta.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +9 -9
  2. package/package.json +6 -6
package/dist/index.d.ts CHANGED
@@ -749,7 +749,7 @@ declare const CustomComponentPropSchema: z.ZodMiniObject<{
749
749
  * `"/"`
750
750
  */
751
751
  defaultValue: z.ZodMiniOptional<z.ZodMiniString<string>>;
752
- }, {}>;
752
+ }, {}, {}>;
753
753
  /**
754
754
  * @description
755
755
  * This will provide some key information to the rule before checking for user-defined components.
@@ -800,7 +800,7 @@ declare const CustomComponentSchema: z.ZodMiniObject<{
800
800
  * `"/"`
801
801
  */
802
802
  defaultValue: z.ZodMiniOptional<z.ZodMiniString<string>>;
803
- }, {}>>>;
803
+ }, {}, {}>>>;
804
804
  /**
805
805
  * The ESQuery selector to select the component precisely.
806
806
  * @internal
@@ -808,7 +808,7 @@ declare const CustomComponentSchema: z.ZodMiniObject<{
808
808
  * `JSXElement:has(JSXAttribute[name.name='component'][value.value='a'])`
809
809
  */
810
810
  selector: z.ZodMiniOptional<z.ZodMiniString<string>>;
811
- }, {}>;
811
+ }, {}, {}>;
812
812
  declare const CustomHooksSchema: z.ZodMiniObject<{
813
813
  use: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
814
814
  useActionState: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
@@ -829,7 +829,7 @@ declare const CustomHooksSchema: z.ZodMiniObject<{
829
829
  useState: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
830
830
  useSyncExternalStore: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
831
831
  useTransition: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
832
- }, {}>;
832
+ }, {}, {}>;
833
833
  /**
834
834
  * @internal
835
835
  */
@@ -903,7 +903,7 @@ declare const ESLintReactSettingsSchema: z.ZodMiniObject<{
903
903
  useState: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
904
904
  useSyncExternalStore: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
905
905
  useTransition: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
906
- }, {}>>;
906
+ }, {}, {}>>;
907
907
  /**
908
908
  * An array of user-defined components
909
909
  * @description This is used to inform the ESLint React plugins how to treat these components during checks.
@@ -953,7 +953,7 @@ declare const ESLintReactSettingsSchema: z.ZodMiniObject<{
953
953
  * `"/"`
954
954
  */
955
955
  defaultValue: z.ZodMiniOptional<z.ZodMiniString<string>>;
956
- }, {}>>>;
956
+ }, {}, {}>>>;
957
957
  /**
958
958
  * The ESQuery selector to select the component precisely.
959
959
  * @internal
@@ -961,14 +961,14 @@ declare const ESLintReactSettingsSchema: z.ZodMiniObject<{
961
961
  * `JSXElement:has(JSXAttribute[name.name='component'][value.value='a'])`
962
962
  */
963
963
  selector: z.ZodMiniOptional<z.ZodMiniString<string>>;
964
- }, {}>>>;
965
- }, {}>;
964
+ }, {}, {}>>>;
965
+ }, {}, {}>;
966
966
  /**
967
967
  * @internal
968
968
  */
969
969
  declare const ESLintSettingsSchema: z.ZodMiniOptional<z.ZodMiniObject<{
970
970
  "react-x": z.ZodMiniOptional<z.ZodMiniUnknown>;
971
- }, {}>>;
971
+ }, {}, {}>>;
972
972
  type CustomComponent = z.infer<typeof CustomComponentSchema>;
973
973
  type CustomComponentProp = z.infer<typeof CustomComponentPropSchema>;
974
974
  type CustomHooks = z.infer<typeof CustomHooksSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "2.0.0-beta.14",
3
+ "version": "2.0.0-beta.15",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -27,17 +27,17 @@
27
27
  "./package.json"
28
28
  ],
29
29
  "dependencies": {
30
- "@typescript-eslint/utils": "^8.31.1",
31
- "@zod/mini": "^4.0.0-beta.20250503T014749",
30
+ "@typescript-eslint/utils": "^8.32.0",
31
+ "@zod/mini": "^4.0.0-beta.20250505T195954",
32
32
  "ts-pattern": "^5.7.0",
33
- "@eslint-react/eff": "2.0.0-beta.14",
34
- "@eslint-react/kit": "2.0.0-beta.14"
33
+ "@eslint-react/eff": "2.0.0-beta.15",
34
+ "@eslint-react/kit": "2.0.0-beta.15"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@tsconfig/node22": "^22.0.1",
38
38
  "@types/picomatch": "^4.0.0",
39
39
  "tsup": "^8.4.0",
40
- "type-fest": "^4.40.1",
40
+ "type-fest": "^4.41.0",
41
41
  "@local/configs": "0.0.0"
42
42
  },
43
43
  "engines": {