@mui/internal-code-infra 0.0.4-canary.1 → 0.0.4-canary.100
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/LICENSE +1 -1
- package/README.md +22 -8
- package/build/babel-config.d.mts +11 -3
- package/build/brokenLinksChecker/crawlWorker.d.mts +1 -0
- package/build/brokenLinksChecker/index.d.mts +192 -2
- package/build/changelog/fetchChangelogs.d.mts +3 -0
- package/build/changelog/types.d.ts +3 -1
- package/build/cli/cmdArgosPush.d.mts +8 -2
- package/build/cli/cmdBuild.d.mts +48 -2
- package/build/cli/cmdCopyFiles.d.mts +14 -2
- package/build/cli/cmdExtractErrorCodes.d.mts +2 -2
- package/build/cli/cmdGenerateChangelog.d.mts +17 -2
- package/build/cli/cmdGithubAuth.d.mts +2 -2
- package/build/cli/cmdListWorkspaces.d.mts +16 -2
- package/build/cli/cmdNetlifyIgnore.d.mts +12 -2
- package/build/cli/cmdPublish.d.mts +24 -4
- package/build/cli/cmdPublishCanary.d.mts +21 -2
- package/build/cli/cmdPublishNewPackage.d.mts +10 -2
- package/build/cli/cmdRenameScope.d.mts +18 -0
- package/build/cli/cmdSetVersionOverrides.d.mts +5 -2
- package/build/cli/cmdVale.d.mts +46 -0
- package/build/cli/cmdValidateBuiltTypes.d.mts +2 -2
- package/build/eslint/baseConfig.d.mts +3 -1
- package/build/eslint/mui/rules/disallow-react-api-in-server-components.d.mts +2 -2
- package/build/eslint/mui/rules/docgen-ignore-before-comment.d.mts +2 -2
- package/build/eslint/mui/rules/no-floating-cleanup.d.mts +5 -0
- package/build/eslint/mui/rules/no-guarded-throw.d.mts +31 -0
- package/build/eslint/mui/rules/no-presentation-role.d.mts +5 -0
- package/build/eslint/mui/rules/no-restricted-resolved-imports.d.mts +8 -2
- package/build/eslint/mui/rules/nodeEnvUtils.d.mts +18 -0
- package/build/remark/config.d.mts +43 -0
- package/build/remark/createLintTester.d.mts +10 -0
- package/build/remark/firstBlockHeading.d.mts +4 -0
- package/build/remark/gitDiff.d.mts +2 -0
- package/build/remark/noSpaceInLinks.d.mts +2 -0
- package/build/remark/straightQuotes.d.mts +2 -0
- package/build/remark/tableAlignment.d.mts +2 -0
- package/build/remark/terminalLanguage.d.mts +2 -0
- package/build/utils/babel.d.mts +7 -1
- package/build/utils/build.d.mts +59 -37
- package/build/utils/extractErrorCodes.d.mts +9 -0
- package/build/utils/git.d.mts +16 -0
- package/build/utils/github.d.mts +13 -1
- package/build/utils/pnpm.d.mts +200 -7
- package/build/utils/testUtils.d.mts +28 -0
- package/build/utils/typescript.d.mts +6 -16
- package/package.json +83 -56
- package/src/babel-config.mjs +9 -3
- package/src/brokenLinksChecker/crawlWorker.mjs +240 -0
- package/src/brokenLinksChecker/index.mjs +263 -188
- package/src/build-env.d.ts +13 -0
- package/src/changelog/fetchChangelogs.mjs +8 -2
- package/src/changelog/renderChangelog.mjs +1 -1
- package/src/changelog/types.ts +3 -1
- package/src/cli/cmdBuild.mjs +51 -85
- package/src/cli/cmdListWorkspaces.mjs +16 -3
- package/src/cli/cmdNetlifyIgnore.mjs +34 -93
- package/src/cli/cmdPublish.mjs +105 -36
- package/src/cli/cmdPublishCanary.mjs +145 -109
- package/src/cli/cmdPublishNewPackage.mjs +31 -8
- package/src/cli/cmdRenameScope.mjs +76 -0
- package/src/cli/cmdSetVersionOverrides.mjs +8 -9
- package/src/cli/cmdVale.mjs +513 -0
- package/src/cli/index.mjs +4 -0
- package/src/cli/packageJson.d.ts +2 -3
- package/src/eslint/baseConfig.mjs +51 -19
- package/src/eslint/docsConfig.mjs +2 -1
- package/src/eslint/mui/config.mjs +24 -4
- package/src/eslint/mui/index.mjs +6 -0
- package/src/eslint/mui/rules/no-floating-cleanup.mjs +187 -0
- package/src/eslint/mui/rules/no-guarded-throw.mjs +115 -0
- package/src/eslint/mui/rules/no-presentation-role.mjs +60 -0
- package/src/eslint/mui/rules/nodeEnvUtils.mjs +52 -0
- package/src/eslint/mui/rules/require-dev-wrapper.mjs +25 -40
- package/src/estree-typescript.d.ts +1 -1
- package/src/remark/config.mjs +157 -0
- package/src/remark/createLintTester.mjs +19 -0
- package/src/remark/firstBlockHeading.mjs +87 -0
- package/src/remark/gitDiff.mjs +43 -0
- package/src/remark/noSpaceInLinks.mjs +42 -0
- package/src/remark/straightQuotes.mjs +31 -0
- package/src/remark/tableAlignment.mjs +23 -0
- package/src/remark/terminalLanguage.mjs +19 -0
- package/src/stylelint/index.mjs +2 -2
- package/src/untyped-plugins.d.ts +14 -14
- package/src/utils/build.mjs +604 -270
- package/src/utils/git.mjs +27 -7
- package/src/utils/pnpm.mjs +549 -26
- package/src/utils/testUtils.mjs +53 -0
- package/src/utils/typescript.mjs +23 -42
- package/vale/.vale.ini +1 -0
- package/vale/styles/MUI/CorrectReferenceAllCases.yml +42 -0
- package/vale/styles/MUI/CorrectRererenceCased.yml +14 -0
- package/vale/styles/MUI/GoogleLatin.yml +11 -0
- package/vale/styles/MUI/MuiBrandName.yml +22 -0
- package/vale/styles/MUI/NoBritish.yml +112 -0
- package/vale/styles/MUI/NoCompanyName.yml +17 -0
- package/build/markdownlint/duplicate-h1.d.mts +0 -56
- package/build/markdownlint/git-diff.d.mts +0 -11
- package/build/markdownlint/index.d.mts +0 -52
- package/build/markdownlint/straight-quotes.d.mts +0 -11
- package/build/markdownlint/table-alignment.d.mts +0 -11
- package/build/markdownlint/terminal-language.d.mts +0 -11
- package/src/brokenLinksChecker/__fixtures__/static-site/broken-links.html +0 -20
- package/src/brokenLinksChecker/__fixtures__/static-site/broken-targets.html +0 -22
- package/src/brokenLinksChecker/__fixtures__/static-site/example.md +0 -20
- package/src/brokenLinksChecker/__fixtures__/static-site/external-links.html +0 -21
- package/src/brokenLinksChecker/__fixtures__/static-site/ignored-page.html +0 -17
- package/src/brokenLinksChecker/__fixtures__/static-site/index.html +0 -28
- package/src/brokenLinksChecker/__fixtures__/static-site/known-targets.json +0 -5
- package/src/brokenLinksChecker/__fixtures__/static-site/nested/page.html +0 -21
- package/src/brokenLinksChecker/__fixtures__/static-site/orphaned-page.html +0 -20
- package/src/brokenLinksChecker/__fixtures__/static-site/page-with-api-links.html +0 -20
- package/src/brokenLinksChecker/__fixtures__/static-site/page-with-custom-targets.html +0 -24
- package/src/brokenLinksChecker/__fixtures__/static-site/page-with-ignored-content.html +0 -28
- package/src/brokenLinksChecker/__fixtures__/static-site/page-with-known-target-links.html +0 -19
- package/src/brokenLinksChecker/__fixtures__/static-site/unclosed-tags.html +0 -1
- package/src/brokenLinksChecker/__fixtures__/static-site/valid.html +0 -20
- package/src/brokenLinksChecker/__fixtures__/static-site/with-anchors.html +0 -31
- package/src/brokenLinksChecker/index.test.ts +0 -261
- package/src/changelog/categorizeCommits.test.ts +0 -319
- package/src/changelog/filterCommits.test.ts +0 -363
- package/src/changelog/parseCommitLabels.test.ts +0 -509
- package/src/changelog/renderChangelog.test.ts +0 -378
- package/src/changelog/sortSections.test.ts +0 -199
- package/src/eslint/mui/rules/add-undef-to-optional.test.mjs +0 -361
- package/src/eslint/mui/rules/consistent-production-guard.test.mjs +0 -162
- package/src/eslint/mui/rules/disallow-active-elements-as-key-event-target.test.mjs +0 -66
- package/src/eslint/mui/rules/disallow-react-api-in-server-components.test.mjs +0 -305
- package/src/eslint/mui/rules/docgen-ignore-before-comment.test.mjs +0 -52
- package/src/eslint/mui/rules/flatten-parentheses.test.mjs +0 -245
- package/src/eslint/mui/rules/mui-name-matches-component-name.test.mjs +0 -247
- package/src/eslint/mui/rules/no-empty-box.test.mjs +0 -40
- package/src/eslint/mui/rules/no-styled-box.test.mjs +0 -73
- package/src/eslint/mui/rules/require-dev-wrapper.test.mjs +0 -265
- package/src/eslint/mui/rules/rules-of-use-theme-variants.test.mjs +0 -149
- package/src/eslint/mui/rules/straight-quotes.test.mjs +0 -67
- package/src/markdownlint/duplicate-h1.mjs +0 -69
- package/src/markdownlint/git-diff.mjs +0 -31
- package/src/markdownlint/index.mjs +0 -62
- package/src/markdownlint/straight-quotes.mjs +0 -26
- package/src/markdownlint/table-alignment.mjs +0 -42
- package/src/markdownlint/terminal-language.mjs +0 -19
- package/src/utils/build.test.mjs +0 -705
- package/src/utils/template.test.mjs +0 -133
- package/src/utils/typescript.test.mjs +0 -380
package/src/untyped-plugins.d.ts
CHANGED
|
@@ -13,77 +13,77 @@ declare module 'eslint-config-airbnb' {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
declare module 'eslint-config-airbnb-base/rules/best-practices' {
|
|
16
|
-
import { Linter } from 'eslint';
|
|
16
|
+
import type { Linter } from 'eslint';
|
|
17
17
|
|
|
18
18
|
declare const config: Omit<Linter.LegacyConfig, 'extends' | 'plugins'>;
|
|
19
19
|
export default config;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
declare module 'eslint-config-airbnb-base/rules/errors' {
|
|
23
|
-
import { Linter } from 'eslint';
|
|
23
|
+
import type { Linter } from 'eslint';
|
|
24
24
|
|
|
25
25
|
declare const config: Omit<Linter.LegacyConfig, 'extends' | 'plugins'>;
|
|
26
26
|
export default config;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
declare module 'eslint-config-airbnb-base/rules/es6' {
|
|
30
|
-
import { Linter } from 'eslint';
|
|
30
|
+
import type { Linter } from 'eslint';
|
|
31
31
|
|
|
32
32
|
declare const config: Omit<Linter.LegacyConfig, 'extends' | 'plugins'>;
|
|
33
33
|
export default config;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
declare module 'eslint-config-airbnb-base/rules/imports' {
|
|
37
|
-
import { Linter } from 'eslint';
|
|
37
|
+
import type { Linter } from 'eslint';
|
|
38
38
|
|
|
39
39
|
declare const config: Omit<Linter.LegacyConfig, 'extends' | 'plugins'>;
|
|
40
40
|
export default config;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
declare module 'eslint-config-airbnb-base/rules/node' {
|
|
44
|
-
import { Linter } from 'eslint';
|
|
44
|
+
import type { Linter } from 'eslint';
|
|
45
45
|
|
|
46
46
|
declare const config: Omit<Linter.LegacyConfig, 'extends' | 'plugins'>;
|
|
47
47
|
export default config;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
declare module 'eslint-config-airbnb-base/rules/strict' {
|
|
51
|
-
import { Linter } from 'eslint';
|
|
51
|
+
import type { Linter } from 'eslint';
|
|
52
52
|
|
|
53
53
|
declare const config: Omit<Linter.LegacyConfig, 'extends' | 'plugins'>;
|
|
54
54
|
export default config;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
declare module 'eslint-config-airbnb-base/rules/style' {
|
|
58
|
-
import { Linter } from 'eslint';
|
|
58
|
+
import type { Linter } from 'eslint';
|
|
59
59
|
|
|
60
60
|
declare const config: Omit<Linter.LegacyConfig, 'extends' | 'plugins'>;
|
|
61
61
|
export default config;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
declare module 'eslint-config-airbnb-base/rules/variables' {
|
|
65
|
-
import { Linter } from 'eslint';
|
|
65
|
+
import type { Linter } from 'eslint';
|
|
66
66
|
|
|
67
67
|
declare const config: Omit<Linter.LegacyConfig, 'extends' | 'plugins'>;
|
|
68
68
|
export default config;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
declare module 'eslint-config-airbnb/rules/react' {
|
|
72
|
-
import { Linter } from 'eslint';
|
|
72
|
+
import type { Linter } from 'eslint';
|
|
73
73
|
|
|
74
74
|
declare const config: Omit<Linter.LegacyConfig, 'extends' | 'plugins'>;
|
|
75
75
|
export default config;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
declare module 'eslint-config-airbnb/rules/react-a11y' {
|
|
79
|
-
import { Linter } from 'eslint';
|
|
79
|
+
import type { Linter } from 'eslint';
|
|
80
80
|
|
|
81
81
|
declare const config: Omit<Linter.LegacyConfig, 'extends' | 'plugins'>;
|
|
82
82
|
export default config;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
declare module '@next/eslint-plugin-next' {
|
|
86
|
-
import { Linter } from 'eslint';
|
|
86
|
+
import type { Linter } from 'eslint';
|
|
87
87
|
|
|
88
88
|
interface NextEslintPluginConfig extends Linter.LegacyConfig {
|
|
89
89
|
flatConfig: {
|
|
@@ -169,8 +169,8 @@ declare module 'stylelint-config-standard' {
|
|
|
169
169
|
export default configExtends;
|
|
170
170
|
}
|
|
171
171
|
declare module 'postcss-styled-syntax' {
|
|
172
|
-
import type {
|
|
172
|
+
import type { Parser, Stringifier } from 'postcss';
|
|
173
173
|
|
|
174
|
-
|
|
175
|
-
export
|
|
174
|
+
export const parse: Parser;
|
|
175
|
+
export const stringify: Stringifier;
|
|
176
176
|
}
|