@mui/internal-code-infra 0.1.1-canary.34 → 0.1.1-canary.36

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.
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env node
2
- export type Args = {
3
- /**
4
- * - Run with verbose logging
5
- */
6
- verbose?: boolean;
7
- /**
8
- * - Screenshots folder path
9
- */
10
- folder: string;
11
- };
12
- /**
13
- * @typedef {Object} Args
14
- * @property {boolean} [verbose] - Run with verbose logging
15
- * @property {string} folder - Screenshots folder path
16
- */
17
- declare const _default: import('yargs').CommandModule<{}, Args>;
18
- export default _default;
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env node
2
- export type Args = {
3
- /**
4
- * - Branch pull requests fork from
5
- */
6
- baseBranch?: string;
7
- /**
8
- * - Remote the base branch is fetched from
9
- */
10
- remote?: string;
11
- };
12
- /**
13
- * @typedef {Object} Args
14
- * @property {string} [baseBranch] - Branch pull requests fork from
15
- * @property {string} [remote] - Remote the base branch is fetched from
16
- */
17
- declare const _default: import('yargs').CommandModule<{}, Args>;
18
- export default _default;
@@ -1,68 +0,0 @@
1
- export type Args = {
2
- /**
3
- * - The bundles to build.
4
- */
5
- bundle: import('../utils/build.mjs').BundleType[];
6
- /**
7
- * - The large files to build.
8
- */
9
- hasLargeFiles: boolean;
10
- /**
11
- * - Whether to skip generating a package.json file in the /esm folder.
12
- */
13
- skipBundlePackageJson: boolean;
14
- /**
15
- * - Whether to enable verbose logging.
16
- */
17
- verbose: boolean;
18
- /**
19
- * - Whether to build types for the package.
20
- */
21
- buildTypes: boolean;
22
- /**
23
- * - Whether to build types for the package.
24
- */
25
- skipTsc: boolean;
26
- /**
27
- * - Whether to skip checking for Babel runtime dependencies in the package.
28
- */
29
- skipBabelRuntimeCheck: boolean;
30
- /**
31
- * - Whether to skip generating the package.json file in the bundle output.
32
- */
33
- skipPackageJson: boolean;
34
- /**
35
- * - Whether to skip checking for main field in package.json.
36
- */
37
- skipMainCheck: boolean;
38
- /**
39
- * - Whether to skip validating the output directory with publint.
40
- */
41
- skipPublint: boolean;
42
- /**
43
- * - Globs to be ignored by Babel.
44
- */
45
- ignore: string[];
46
- /**
47
- * - Files/Directories to be copied. Can be a glob pattern.
48
- */
49
- copy?: string[];
50
- /**
51
- * - Whether to use the React compiler.
52
- */
53
- enableReactCompiler?: boolean;
54
- /**
55
- * - Whether to build types using the native TypeScript compiler.
56
- */
57
- tsgo?: boolean;
58
- /**
59
- * - Deprecated no-op; flat builds are always used.
60
- */
61
- flat?: boolean;
62
- /**
63
- * - Whether to enumerate glob patterns in exports/imports into concrete entries.
64
- */
65
- expand: boolean;
66
- };
67
- declare const _default: import('yargs').CommandModule<{}, Args>;
68
- export default _default;
@@ -1,20 +0,0 @@
1
- export type Args = {
2
- /**
3
- * Run in silent mode without logging
4
- */
5
- silent?: boolean;
6
- /**
7
- * Exclude default files from the copy operation
8
- */
9
- excludeDefaults?: boolean;
10
- /**
11
- * Glob patterns to copy
12
- */
13
- glob?: string[];
14
- /**
15
- * Extra files to copy
16
- */
17
- files?: string[];
18
- };
19
- declare const _default: import('yargs').CommandModule<{}, Args>;
20
- export default _default;
@@ -1,6 +0,0 @@
1
- export type Args = import('../utils/extractErrorCodes.mjs').Args;
2
- /**
3
- * @typedef {import('../utils/extractErrorCodes.mjs').Args} Args
4
- */
5
- declare const _default: import('yargs').CommandModule<{}, Args>;
6
- export default _default;
@@ -1,32 +0,0 @@
1
- export type Args = {
2
- /**
3
- * Path to the changelog configuration file
4
- */
5
- config: string;
6
- /**
7
- * The git reference (tag/commit) of the last release
8
- */
9
- lastRelease: string;
10
- /**
11
- * The git reference (tag/commit) of the new release
12
- */
13
- release: string;
14
- /**
15
- * The version number for the new release
16
- */
17
- releaseVersion: string;
18
- /**
19
- * The current working directory to run the command in
20
- */
21
- cwd: string;
22
- };
23
- /**
24
- * @typedef {Object} Args
25
- * @property {string} config Path to the changelog configuration file
26
- * @property {string} lastRelease The git reference (tag/commit) of the last release
27
- * @property {string} release The git reference (tag/commit) of the new release
28
- * @property {string} releaseVersion The version number for the new release
29
- * @property {string} cwd The current working directory to run the command in
30
- */
31
- declare const _default: import('yargs').CommandModule<{}, Args>;
32
- export default _default;
@@ -1,11 +0,0 @@
1
- export type Args = {
2
- authorize: boolean;
3
- clear: boolean;
4
- };
5
- /**
6
- * @typedef {Object} Args
7
- * @property {boolean} authorize
8
- * @property {boolean} clear
9
- */
10
- declare const _default: import('yargs').CommandModule<{}, Args>;
11
- export default _default;
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env node
2
- export type PublicPackage = import('../utils/pnpm.mjs').PublicPackage;
3
- export type Args = {
4
- /**
5
- * - Whether to filter to only public packages
6
- */
7
- publicOnly?: boolean;
8
- /**
9
- * - Output format (name, path, or json)
10
- */
11
- output?: 'json' | 'path' | 'name';
12
- /**
13
- * - Git reference to filter changes since
14
- */
15
- sinceRef?: string;
16
- /**
17
- * - Same as filtering packages with --filter in pnpm. Only include packages matching the filter. See https://pnpm.io/filtering.
18
- */
19
- filter?: string[];
20
- };
21
- /**
22
- * @typedef {Object} Args
23
- * @property {boolean} [publicOnly] - Whether to filter to only public packages
24
- * @property {'json'|'path'|'name'} [output] - Output format (name, path, or json)
25
- * @property {string} [sinceRef] - Git reference to filter changes since
26
- * @property {string[]} [filter] - Same as filtering packages with --filter in pnpm. Only include packages matching the filter. See https://pnpm.io/filtering.
27
- */
28
- declare const _default: import('yargs').CommandModule<{}, Args>;
29
- export default _default;
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env node
2
- export type Args = {
3
- /**
4
- * - Workspace names or root-relative paths to process
5
- */
6
- workspaces: string[];
7
- /**
8
- * - Check mode - error if the generated content differs from current
9
- */
10
- check?: boolean;
11
- /**
12
- * - Branch to compare PRs against (default: master)
13
- */
14
- baseBranch?: string;
15
- };
16
- declare const _default: import('yargs').CommandModule<{}, Args>;
17
- export default _default;
@@ -1,32 +0,0 @@
1
- #!/usr/bin/env node
2
- export type PublicPackage = import('../utils/pnpm.mjs').PublicPackage;
3
- export type PublishOptions = import('../utils/pnpm.mjs').PublishOptions;
4
- export type PublishSummaryEntry = import('../utils/pnpm.mjs').PublishSummaryEntry;
5
- export type Args = {
6
- /**
7
- * Run in dry-run mode without publishing
8
- */
9
- "dry-run": boolean;
10
- /**
11
- * Create a GitHub draft release after publishing
12
- */
13
- "github-release": boolean;
14
- /**
15
- * NPM dist tag to publish to
16
- */
17
- tag: string;
18
- /**
19
- * Runs in CI environment
20
- */
21
- ci: boolean;
22
- /**
23
- * Git SHA to use for the GitHub release workflow (local only)
24
- */
25
- sha?: string;
26
- /**
27
- * Same as filtering packages with --filter in pnpm. Only publish packages matching the filter. See https://pnpm.io/filtering.
28
- */
29
- filter?: string[];
30
- };
31
- declare const _default: import('yargs').CommandModule<{}, Args>;
32
- export default _default;
@@ -1,34 +0,0 @@
1
- #!/usr/bin/env node
2
- export type PublicPackage = import('../utils/pnpm.mjs').PublicPackage;
3
- export type VersionInfo = import('../utils/pnpm.mjs').VersionInfo;
4
- export type PublishOptions = import('../utils/pnpm.mjs').PublishOptions;
5
- export type Args = {
6
- /**
7
- * - Whether to run in dry-run mode
8
- */
9
- dryRun?: boolean;
10
- /**
11
- * - Whether to create GitHub releases for canary packages
12
- */
13
- githubRelease?: boolean;
14
- /**
15
- * - Same as filtering packages with --filter in pnpm. Only publish packages matching the filter. See https://pnpm.io/filtering.
16
- */
17
- filter?: string[];
18
- };
19
- export type Commit = {
20
- /**
21
- * - Commit SHA
22
- */
23
- sha: string;
24
- /**
25
- * - Commit message
26
- */
27
- message: string;
28
- /**
29
- * - Commit author
30
- */
31
- author: string;
32
- };
33
- declare const _default: import('yargs').CommandModule<{}, Args>;
34
- export default _default;
@@ -1,17 +0,0 @@
1
- export type Args = {
2
- /**
3
- * If true, will only log the commands without executing them
4
- */
5
- dryRun?: boolean;
6
- /**
7
- * 6 digit auth code to forward to npm for two-factor authentication
8
- */
9
- otp?: string;
10
- };
11
- /**
12
- * @typedef {Object} Args
13
- * @property {boolean} [dryRun] If true, will only log the commands without executing them
14
- * @property {string} [otp] 6 digit auth code to forward to npm for two-factor authentication
15
- */
16
- declare const _default: import('yargs').CommandModule<{}, Args>;
17
- export default _default;
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env node
2
- export type Args = {
3
- /**
4
- * Source and target scope
5
- */
6
- alias: [string, string];
7
- };
8
- /**
9
- * @typedef {Object} Args
10
- * @property {[string, string]} alias Source and target scope
11
- */
12
- /**
13
- * @param {string} alias
14
- * @returns {[string, string]}
15
- */
16
- export declare function parseAlias(alias: string): [string, string];
17
- declare const _default: import('yargs').CommandModule<{}, Args>;
18
- export default _default;
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env node
2
- export type Args = {
3
- /**
4
- * - Package version specifiers in format 'package@version'
5
- */
6
- pkg?: string[];
7
- };
8
- declare const _default: import('yargs').CommandModule<{}, Args>;
9
- export default _default;
@@ -1,46 +0,0 @@
1
- export type ValeOS = 'Linux' | 'macOS' | 'Windows';
2
- export type ValeArch = '64-bit' | 'arm64';
3
- /**
4
- * Extracts the replacement text from a vale alert.
5
- * Returns null if no replacement can be determined.
6
- * @param {{ Action: { Name: string; Params: string[] | null }; Message: string }} alert
7
- * @returns {string | null}
8
- */
9
- export declare function getReplacementText(alert: {
10
- Action: {
11
- Name: string;
12
- Params: string[] | null;
13
- };
14
- Message: string;
15
- }): string | null;
16
- /**
17
- * Applies auto-fixes from vale alerts to the source files.
18
- * Processes alerts in reverse order within each line to preserve column positions.
19
- * @param {Record<string, Array<{ Action: { Name: string; Params: string[] | null }; Span: [number, number]; Check: string; Message: string; Severity: string; Match: string; Line: number }>>} results
20
- * @param {'all' | 'error'} fixLevel
21
- * @returns {Promise<{ fixed: number; skipped: number }>}
22
- */
23
- export declare function applyFixes(results: Record<string, Array<{
24
- Action: {
25
- Name: string;
26
- Params: string[] | null;
27
- };
28
- Span: [number, number];
29
- Check: string;
30
- Message: string;
31
- Severity: string;
32
- Match: string;
33
- Line: number;
34
- }>>, fixLevel: 'all' | 'error'): Promise<{
35
- fixed: number;
36
- skipped: number;
37
- }>;
38
- export type Args = {
39
- 'vale-version': string;
40
- 'auto-fix': 'all' | 'error' | undefined;
41
- };
42
- /**
43
- * @typedef {{ 'vale-version': string; 'auto-fix': 'all' | 'error' | undefined; }} Args
44
- */
45
- declare const _default: import('yargs').CommandModule<{}, Args>;
46
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('yargs').CommandModule<{}, {}>;
2
- export default _default;
@@ -1 +0,0 @@
1
- export {};