@mui/internal-code-infra 0.0.4-canary.17 → 0.0.4-canary.18

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/internal-code-infra",
3
- "version": "0.0.4-canary.17",
3
+ "version": "0.0.4-canary.18",
4
4
  "description": "Infra scripts and configs to be used across MUI repos.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -62,6 +62,7 @@
62
62
  "@babel/preset-react": "^7.28.5",
63
63
  "@babel/preset-typescript": "^7.28.5",
64
64
  "@eslint/compat": "^2.0.3",
65
+ "@eslint/config-helpers": "^0.5.4",
65
66
  "@eslint/js": "^10.0.1",
66
67
  "@eslint/json": "^1.1.0",
67
68
  "@inquirer/confirm": "^6.0.10",
@@ -84,6 +85,7 @@
84
85
  "clipboardy": "^5.3.1",
85
86
  "content-type": "^1.0.5",
86
87
  "env-ci": "^11.2.0",
88
+ "es-toolkit": "^1.45.1",
87
89
  "eslint-config-prettier": "^10.1.8",
88
90
  "eslint-import-resolver-typescript": "^4.4.4",
89
91
  "eslint-module-utils": "^2.12.1",
@@ -95,7 +97,6 @@
95
97
  "eslint-plugin-react-compiler": "^19.1.0-rc.2",
96
98
  "eslint-plugin-react-hooks": "^7.0.1",
97
99
  "eslint-plugin-testing-library": "^7.16.0",
98
- "es-toolkit": "^1.45.1",
99
100
  "execa": "^9.6.1",
100
101
  "git-url-parse": "^16.1.0",
101
102
  "globals": "^17.4.0",
@@ -164,7 +165,7 @@
164
165
  "publishConfig": {
165
166
  "access": "public"
166
167
  },
167
- "gitSha": "13afe1ac26e354b46557bfc73ce0996d51fb37da",
168
+ "gitSha": "b4060c48b3ce95713e89a837419be71880dd0c16",
168
169
  "scripts": {
169
170
  "build": "tsgo -p tsconfig.build.json",
170
171
  "typescript": "tsgo -noEmit",
@@ -1,6 +1,7 @@
1
1
  import { includeIgnoreFile, fixupConfigRules } from '@eslint/compat';
2
2
  import eslintJs from '@eslint/js';
3
- import { defineConfig } from 'eslint/config';
3
+ // TODO: change back to 'eslint/config' once https://github.com/eslint/rewrite/issues/425 is fixed
4
+ import { defineConfig } from '@eslint/config-helpers';
4
5
  import prettier from 'eslint-config-prettier/flat';
5
6
  import compatPlugin from 'eslint-plugin-compat';
6
7
  import importPlugin from 'eslint-plugin-import';
@@ -1,5 +1,6 @@
1
1
  import nextjs from '@next/eslint-plugin-next';
2
- import { defineConfig } from 'eslint/config';
2
+ // TODO: change back to 'eslint/config' once https://github.com/eslint/rewrite/issues/425 is fixed
3
+ import { defineConfig } from '@eslint/config-helpers';
3
4
 
4
5
  /**
5
6
  * @returns {import('eslint').Linter.Config[]}
@@ -1,4 +1,5 @@
1
- import { defineConfig } from 'eslint/config';
1
+ // TODO: change back to 'eslint/config' once https://github.com/eslint/rewrite/issues/425 is fixed
2
+ import { defineConfig } from '@eslint/config-helpers';
2
3
  import json from '@eslint/json';
3
4
 
4
5
  /**
@@ -1,4 +1,5 @@
1
- import { defineConfig } from 'eslint/config';
1
+ // TODO: change back to 'eslint/config' once https://github.com/eslint/rewrite/issues/425 is fixed
2
+ import { defineConfig } from '@eslint/config-helpers';
2
3
 
3
4
  const restrictedMethods = ['setTimeout', 'setInterval', 'clearTimeout', 'clearInterval'];
4
5
 
@@ -1,7 +1,8 @@
1
1
  import mochaPlugin from 'eslint-plugin-mocha';
2
2
  import vitestPlugin from '@vitest/eslint-plugin';
3
3
  import testingLibrary from 'eslint-plugin-testing-library';
4
- import { defineConfig } from 'eslint/config';
4
+ // TODO: change back to 'eslint/config' once https://github.com/eslint/rewrite/issues/425 is fixed
5
+ import { defineConfig } from '@eslint/config-helpers';
5
6
  import globals from 'globals';
6
7
  import * as tseslint from 'typescript-eslint';
7
8
  import { EXTENSION_TS } from './extensions.mjs';