import { DefaultGlobalScope, DefaultGlobalScope as ProjectRenovateScope } from "../../configure.js"; import type { AsStrictExecutionContext, BfeBuilderObjectValue, BfeCheckFunction, BfeStrictArguments, ChildConfiguration } from '@-xun/cli'; import type { ExtendedDebugger, ExtendedLogger } from 'rejoinder'; import type { CamelCasedProperties, KeysOfUnion } from 'type-fest'; import type { AssetPreset } from "../../assets.js"; import type { GlobalCliArguments, GlobalExecutionContext } from "../../configure.js"; export type { RawAliasMapperArray, RawAliasMapperFunction } from "../../util.js"; /** * @see {@link ProjectRenovateScope} */ export declare const projectRenovateScopes: DefaultGlobalScope[]; /** * The context passed to each individual task. */ export type RenovationTaskContext = { self: RenovationTask; log: ExtendedLogger; debug: ExtendedDebugger; }; /** * @internal */ export type RenovationTaskArgv = BfeStrictArguments; /** * @internal */ export type RenovationTask = Omit, GlobalExecutionContext>, 'alias' | 'demandThisOptionOr'> & { /** * The name of the task. */ taskName: string; /** * The alternative names of the task. * * @see {@link BfeBuilderObjectValue.alias} */ taskAliases: string[]; /** * A symbol that will be placed before symbiote output text concerning this * task. */ emoji: string; /** * The description reported to the user when the task is run. * * @default `Running task ${taskName}` */ actionDescription: string; /** * The description reported to the user when `--help` is called (via usage). */ longHelpDescription: string; /** * The description reported to the user when `--help` is called (via option). */ shortHelpDescription: string; /** * If `true`, --force must be given on the command line alongside this task. */ requiresForce: boolean; /** * Which {@link ProjectRenovateScope}s are allowed when attempting this * renovation. */ supportedScopes: ProjectRenovateScope[]; /** * Suboptions of this task are only relevant when this task's flag is given * on the CLI. */ subOptions: Record, GlobalExecutionContext>, 'requires' | `demand${string}`> & { requires?: Extract, GlobalExecutionContext>['requires'], Record>; }>; /** * A function called when the task is triggered. */ run: (argv: unknown, taskContextPartial: RenovationTaskContext) => Promise; }; export type CustomCliArguments = GlobalCliArguments & { force: boolean; parallel: boolean; runToCompletion: boolean; } & CamelCasedProperties & Partial, unknown>>>; export default function command(executionContext: AsStrictExecutionContext): ChildConfiguration; /** * @see {@link RenovationTask} */ declare const renovationTasks: { readonly 'github-reconfigure-repo': { readonly emoji: "šŸŽšļø"; readonly taskAliases: []; readonly actionDescription: "Reconfiguring origin repository settings"; readonly shortHelpDescription: "(Re-)configure the origin GitHub repository settings"; readonly longHelpDescription: `This renovation will apply a standard configuration preset to the origin repository. Specifically, this renovation will: - Update the repository's metadata ${string} - Set description to package.json::description only if not already set ${string}${string} - With default emoji prefix: \u26A1 ${string} - Set homepage to "https://npm.im/pkg-name" only if not already set ${string} - Enable ambient repository-wide secret scanning (unless repo is private) ${string} - Enable scanning pushes for secrets (unless repo is private) ${string} - Enable issues ${string} - Enable projects ${string} - Enable squash merging for pull requests ${string} - Disable normal merging for pull requests ${string} - Enable rebase merging for pull requests ${string} - Disable branch deletion on successful pull request merge ${string} - Enable suggesting forced-synchronization of pull request branches ${string} - Set topics to lowercased package.json::keywords - Set the repository to "starred" by the current user - Set the repository to "watched" (via "all activity") by the current user - Create/enable the "standard-protect" and "canary-protect" rulesets ${string} - If the rulesets already exist and --force was given, they're deleted, recreated, then enabled ${string} - If the rulesets already exist and --force wasn't given, they're enabled ${string} - A warning is issued if any other ruleset is encountered ${string} - A warning is issued if a legacy "classic branch protection" setting is encountered for well-known branches - Upload missing GitHub Actions environment secrets (encrypted) ${string} - Only secrets that do not already exist will be uploaded ${string} - If --force was given, all existing secrets will be deleted before the upload ${string} - Secrets will be sourced from the package and project .env files ${string}${string} - Empty/unset variables in .env files will be ignored Due to the current limitations of GitHub's REST API, the following renovations are not able to be automated and should be configured manually: - Include "Releases" and remove "Packages" and "Deployments" sidebar sections - Enable sponsorships - Enable repository preservation (arctic code vault) - Enable discussions - Enable "private vulnerability reporting" - Enable "dependency graph" - Enable "dependabot" (i.e. "dependabot alerts" and "dependabot security updates") By default, this command will preserve the origin repository's pre-existing configuration. Run this command with --force to overwrite any pre-existing configuration EXCEPT the origin repository's description and homepage, which can never be overwritten by this renovation.`; readonly requiresForce: false; readonly conflicts: { [x: string]: boolean; }[]; readonly supportedScopes: [DefaultGlobalScope.Unlimited]; readonly subOptions: {}; readonly run: (argv_: unknown, { debug, log }: RenovationTaskContext) => Promise; }; readonly 'github-rename-root': { readonly emoji: "🧬"; readonly taskAliases: []; readonly actionDescription: "Updating origin repository name and relevant metadata"; readonly shortHelpDescription: "Rename the origin repo and root package, and update metadata"; readonly longHelpDescription: "This renovation will:\n\n1. Rename the origin repository on GitHub.\n\n2. Update the origin repository's GitHub release names that are scoped to the old root package's name. If --force is given, all releases with old-style semver valid names (e.g. \"v1.2.3\") will be updated (to e.g. \"new-package-name@1.2.3\") as well.\n\n3. Update the name field in the root package's package.json file.\n\n4. Update the package.json::repository of all packages in the project.\n\n5. Update the origin remote url in `.git/config` if it matches the old origin url. If --force is given, the origin remote url will always be updated regardless of its value.\n\n6. In a hybridrepo or polyrepo, add new annotated tags with the updated root package name as respective aliases of tags with the old package name, and then push them to the origin repository. If --force is given, alias tags (e.g. \"new-package-name@1.2.3\") will be created for any existing tags with old-style semver valid names (e.g. \"v1.2.3\") as well.\n\n7. Rename (move) the repository directory on the local filesystem, if the repository name has changed. If the destination directory path already exists, this step will fail.\n\nIf any step fails, the renovation will abort immediately. Further, this command never deletes tags.\n\nTo create and recreate alias tags for existing release tags more generally, see the --generate-alias-tags renovation."; readonly requiresForce: false; readonly supportedScopes: [DefaultGlobalScope.Unlimited]; readonly subOptions: { readonly 'new-repo-name': { readonly string: true; readonly description: "The repository's new name"; readonly subOptionOf: { readonly 'github-rename-root': { readonly when: (superOptionValue: any) => any; readonly update: (oldOptionConfig: import("@-xun/cli").BfeBuilderObjectValueWithoutSubOptionOfExtension, GlobalExecutionContext>) => { demandThisOption: true; string?: boolean | undefined | undefined; number?: boolean | undefined | undefined; boolean?: boolean | undefined | undefined; description?: string | undefined | undefined; type?: "array" | "count" | import("@types/yargs").PositionalOptionsType | undefined; config?: boolean | undefined | undefined; normalize?: boolean | undefined | undefined; conflicts?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; implies?: (Exclude | Exclude[]) | undefined; default?: unknown; coerce?: ((arg: any) => any) | undefined; alias?: string | readonly string[] | undefined; array?: boolean | undefined | undefined; choices?: import("@types/yargs").Choices | undefined; configParser?: ((configPath: string) => object) | undefined | undefined; count?: boolean | undefined | undefined; defaultDescription?: string | undefined | undefined; deprecate?: boolean | string | undefined | undefined; deprecated?: boolean | string | undefined | undefined; desc?: string | undefined | undefined; describe?: string | undefined | undefined; global?: boolean | undefined | undefined; group?: string | undefined | undefined; hidden?: boolean | undefined | undefined; nargs?: number | undefined | undefined; requiresArg?: boolean | undefined | undefined; skipValidation?: boolean | undefined | undefined; demandThisOptionOr?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; requires?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; demandThisOptionIf?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; demandThisOptionXor?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; looseImplications?: boolean | undefined; vacuousImplications?: boolean | undefined; check?: BfeCheckFunction, GlobalExecutionContext> | BfeCheckFunction, GlobalExecutionContext>[] | undefined; }; }; }; }; readonly 'new-root-package-name': { readonly string: true; readonly description: "The root package's new name"; readonly subOptionOf: { readonly 'github-rename-root': { readonly when: (superOptionValue: any) => any; readonly update: (oldOptionConfig: import("@-xun/cli").BfeBuilderObjectValueWithoutSubOptionOfExtension, GlobalExecutionContext>) => { demandThisOption: true; string?: boolean | undefined | undefined; number?: boolean | undefined | undefined; boolean?: boolean | undefined | undefined; description?: string | undefined | undefined; type?: "array" | "count" | import("@types/yargs").PositionalOptionsType | undefined; config?: boolean | undefined | undefined; normalize?: boolean | undefined | undefined; conflicts?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; implies?: (Exclude | Exclude[]) | undefined; default?: unknown; coerce?: ((arg: any) => any) | undefined; alias?: string | readonly string[] | undefined; array?: boolean | undefined | undefined; choices?: import("@types/yargs").Choices | undefined; configParser?: ((configPath: string) => object) | undefined | undefined; count?: boolean | undefined | undefined; defaultDescription?: string | undefined | undefined; deprecate?: boolean | string | undefined | undefined; deprecated?: boolean | string | undefined | undefined; desc?: string | undefined | undefined; describe?: string | undefined | undefined; global?: boolean | undefined | undefined; group?: string | undefined | undefined; hidden?: boolean | undefined | undefined; nargs?: number | undefined | undefined; requiresArg?: boolean | undefined | undefined; skipValidation?: boolean | undefined | undefined; demandThisOptionOr?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; requires?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; demandThisOptionIf?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; demandThisOptionXor?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; looseImplications?: boolean | undefined; vacuousImplications?: boolean | undefined; check?: BfeCheckFunction, GlobalExecutionContext> | BfeCheckFunction, GlobalExecutionContext>[] | undefined; }; }; }; }; }; readonly conflicts: { [x: string]: boolean; }[]; readonly run: (argv_: unknown, { log, debug }: RenovationTaskContext) => Promise; }; readonly 'github-pause-rulesets': { readonly emoji: "šŸ›ø"; readonly taskAliases: []; readonly actionDescription: "Pausing ruleset protections for 5 minutes"; readonly shortHelpDescription: "Temporarily deactivate origin repository ruleset protections"; readonly longHelpDescription: "This renovation will temporarily deactivate all rulesets in the repository for 5 minutes, after which this command will reactivate them.\n\nUpon executing this renovation, you will be presented with a countdown until protections will be reactivated. You may press any key to immediately reactivate protections and exit the program.\n\nIf this renovation does not exit cleanly, re-running it (or --github-reconfigure-repo) will reactivate any erroneously disabled rulesets."; readonly requiresForce: false; readonly supportedScopes: [DefaultGlobalScope.Unlimited]; readonly subOptions: {}; readonly conflicts: { [x: string]: boolean; }[]; readonly run: (argv_: unknown, { log, debug }: RenovationTaskContext) => Promise; }; readonly 'github-delete-all-releases': { readonly emoji: "ā˜¢ļø"; readonly taskAliases: []; readonly actionDescription: "Permanently deleting all origin repository releases"; readonly shortHelpDescription: "Delete all releases associated with the origin repository"; readonly longHelpDescription: "This renovation will delete from the origin repository all releases associated with the current package (if --scope=this-package) or every possible release in existence (if --scope=unlimited).\n\nāš ļøšŸš§ This is an INCREDIBLY DANGEROUS command that should ONLY be used to clear out unrelated releases after forking a repository."; readonly requiresForce: true; readonly supportedScopes: DefaultGlobalScope[]; readonly subOptions: {}; readonly conflicts: { [x: string]: boolean; }[]; readonly run: (argv_: unknown, { log }: RenovationTaskContext) => Promise; }; readonly 'github-clone-remote-wiki': { readonly emoji: "šŸ“”"; readonly taskAliases: []; readonly actionDescription: "Cloning origin repository wiki into project root"; readonly shortHelpDescription: "Clone the origin repository's wiki into a (gitignored) directory"; readonly longHelpDescription: "This renovation will enable the wiki for the origin repository (if it is not enabled already) and then clone that wiki into the (gitignored) .wiki/ directory at the project root."; readonly requiresForce: false; readonly supportedScopes: [DefaultGlobalScope.Unlimited]; readonly subOptions: {}; readonly conflicts: { [x: string]: boolean; }[]; readonly run: (argv_: unknown, { log }: RenovationTaskContext) => Promise; }; readonly 'github-kill-master': { readonly emoji: "🚷"; readonly taskAliases: []; readonly actionDescription: "Renaming default branch to \"main\" and finishing off \"master\""; readonly shortHelpDescription: "Rename and remove all references to any legacy \"master\" ref(s)"; readonly longHelpDescription: "This renovation will kill any and all references to any \"master\" ref throughout the repository. This includes renaming the \"master\" branch to \"main,\" deleting the \"master\" branch on the origin repository, and setting the default branch to \"main\" both locally and remotely if it is not the case already."; readonly requiresForce: false; readonly supportedScopes: [DefaultGlobalScope.Unlimited]; readonly subOptions: {}; readonly conflicts: { [x: string]: boolean; }[]; readonly run: (argv_: unknown, { log }: RenovationTaskContext) => Promise; }; readonly 'generate-alias-tags': { readonly emoji: "āš“"; readonly taskAliases: []; readonly actionDescription: "Creating aliases for matching tags"; readonly shortHelpDescription: "Create tag aliases for each existing tag with matching scope"; readonly longHelpDescription: "This renovation creates an alias of every tag in the repository with --old-scope. The alias tag names are derived by taking the existing tag name and replacing --old-scope with --new-scope. If --force is given, alias tags (e.g. \"new-package-name@1.2.3\") will be created for any existing tags with old-style semver valid names (e.g. \"v1.2.3\") as well.\n\nFor example, to only create new-style aliases of all tags with old-style semver valid names, i.e. alias tag \"new-package-name@1.2.3\" for existing tag \"v1.2.3\":\n\n`symbiote project renovate --generate-alias-tags --new-scope='new-package-name' --force`\n\nOr to generate aliases for existing modern scoped tags, i.e. alias tag \"@new/package-name@1.2.3\" for existing tag \"existing-scope@1.2.3\":\n\n`symbiote project renovate --generate-alias-tags --old-scope='existing-scope' --new-scope='@new/package-name'`\n\nUse --rename-matching-releases to control if releases on GitHub with names matching --old-scope will have that scope replaced with --new-scope.\n\nNote that this command never deletes tags."; readonly requiresForce: false; readonly supportedScopes: [DefaultGlobalScope.Unlimited]; readonly subOptions: { readonly 'new-scope': { readonly string: true; readonly description: "The characters preceding \"@\" in generated alias tags"; readonly subOptionOf: { readonly 'generate-alias-tags': { readonly when: (superOptionValue: any) => any; readonly update: (oldOptionConfig: import("@-xun/cli").BfeBuilderObjectValueWithoutSubOptionOfExtension, GlobalExecutionContext>) => { demandThisOption: true; string?: boolean | undefined | undefined; number?: boolean | undefined | undefined; boolean?: boolean | undefined | undefined; description?: string | undefined | undefined; type?: "array" | "count" | import("@types/yargs").PositionalOptionsType | undefined; config?: boolean | undefined | undefined; normalize?: boolean | undefined | undefined; conflicts?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; implies?: (Exclude | Exclude[]) | undefined; default?: unknown; coerce?: ((arg: any) => any) | undefined; alias?: string | readonly string[] | undefined; array?: boolean | undefined | undefined; choices?: import("@types/yargs").Choices | undefined; configParser?: ((configPath: string) => object) | undefined | undefined; count?: boolean | undefined | undefined; defaultDescription?: string | undefined | undefined; deprecate?: boolean | string | undefined | undefined; deprecated?: boolean | string | undefined | undefined; desc?: string | undefined | undefined; describe?: string | undefined | undefined; global?: boolean | undefined | undefined; group?: string | undefined | undefined; hidden?: boolean | undefined | undefined; nargs?: number | undefined | undefined; requiresArg?: boolean | undefined | undefined; skipValidation?: boolean | undefined | undefined; demandThisOptionOr?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; requires?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; demandThisOptionIf?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; demandThisOptionXor?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; looseImplications?: boolean | undefined; vacuousImplications?: boolean | undefined; check?: BfeCheckFunction, GlobalExecutionContext> | BfeCheckFunction, GlobalExecutionContext>[] | undefined; }; }; }; }; readonly 'old-scope': { readonly string: true; readonly description: "The characters preceding \"@\" in existing target tags"; readonly default: ""; readonly defaultDescription: "if omitted while --force is used, only old-style tags are aliased"; }; readonly 'rename-matching-releases': { readonly boolean: true; readonly description: "Whether to rename matching GitHub releases"; readonly default: false; }; }; readonly conflicts: { [x: string]: boolean; }[]; readonly run: (argv_: unknown, { debug, log }: RenovationTaskContext) => Promise; }; readonly 'full-deprecate': { readonly emoji: "🪦"; readonly taskAliases: []; readonly actionDescription: "Deprecating package"; readonly shortHelpDescription: "Deprecate the current package and possibly the entire repository"; readonly longHelpDescription: "This renovation will execute the standard deprecation procedure on the current package. See the symbiote wiki for details on the standard deprecation procedure.\n\n Regardless of --scope, if this renovation is used on a polyrepo, the entire repository will also be deprecated; if this renovation is used on a monorepo, it will apply only to the current package unless the repository is a hybridrepo and deprecating the current package would result in all packages having been deprecated. In case of the latter, the entire repository will also be deprecated."; readonly requiresForce: true; readonly supportedScopes: [DefaultGlobalScope.ThisPackage]; readonly subOptions: {}; readonly conflicts: { [x: string]: boolean; }[]; readonly run: (argv_: unknown, { log }: RenovationTaskContext) => Promise; }; readonly 'full-undeprecate': { readonly emoji: "🧟"; readonly taskAliases: []; readonly actionDescription: "Un-deprecating package"; readonly shortHelpDescription: "Reverse the deprecation of the current package and repository"; readonly longHelpDescription: "This renovation will make a best effort at undoing the standard deprecation procedure on the current package and its containing repository, effectively \"un-deprecating\" them both. See the symbiote wiki for details on the standard deprecation procedure and what the ramifications of an \"un-deprecation\" are."; readonly requiresForce: true; readonly supportedScopes: [DefaultGlobalScope.ThisPackage]; readonly subOptions: {}; readonly conflicts: { [x: string]: boolean; }[]; readonly run: (argv_: unknown, { log }: RenovationTaskContext) => Promise; }; readonly 'regenerate-assets': { readonly emoji: "ā™»ļø"; readonly taskAliases: []; readonly actionDescription: "Regenerating targeted configuration and template assets"; readonly shortHelpDescription: "Regenerate targeted configuration and template asset files"; readonly longHelpDescription: ` This renovation will regenerate one or more files in the project, each represented by an "asset". An asset is a collection mapping output paths to generated content. When writing out content to an output path, existing files are overwritten, missing files are created, and obsolete files are deleted. Provide --assets-preset to specify which assets to regenerate. Note that, in a monorepo context, this preset is applied "generally" across the entire project; heuristic analysis is used to determine which preset to apply per sub-package (see symbiote wiki for more details). The parameter accepts one of the following presets: ${string}. The paths of assets included in the preset will be targeted for renovation with respect to --exclude-asset-paths and --include-asset-paths/--only-aliases, if provided. Use either --exclude-asset-paths or --include-asset-paths to further narrow which files are regenerated. These parameters accept regular expressions that are matched against paths (relative to the project root) to be written out. Any paths matching one of the regular expressions provided by --exclude-asset-paths, or not matching one of the regular expressions provided by --include-asset-paths, will have their contents discarded instead of written out. Providing both --exclude-asset-paths and --include-asset-paths in the same command will cause an error. This renovation attempts to import the "alias.config.mjs" file if it exists at the root of the project. Use this file to provide additional \`RawAliasMapping[]\`s to include when regenerating files defining the project's import aliases. See the symbiote wiki documentation for further details. When renovating Markdown files with templates divided into replacer regions via the magic comments "${string}" and "", this command will perform so-called "regional replacements" where only the content between the "start" and "end" comments will be modified. Regions without matching ids are ignored. When regional replacements are performed, matching non-numeric reference definitions will be overwritten respectively, and new definitions will be appended. However, when attempting to renovate a Markdown file and either (1) it does not have replacer regions when its corresponding template contains replacer regions or (2) --force is used, the entire file will be overwritten instead. Note that only certain Markdown files support regional replacements. See the symbiote wiki documentation for more details. After invoking this renovation, you should use your IDE's diff tools to compare and contrast the latest best practices with the project's current configuration setup. This renovation should be re-run each time a package is added to, or removed from, a symbiote-compliant monorepo but should NEVER be run in a CI environment or anywhere logs can be viewed publicly. Project compliant with symbiote can use the "renovate:aliases" NPM script. See the symbiote wiki documentation for more details on this command and all available assets. `; readonly requiresForce: false; readonly implies: { readonly hush: true; }; readonly looseImplications: true; readonly supportedScopes: [DefaultGlobalScope.Unlimited]; readonly subOptions: { readonly 'assets-preset': { readonly alias: "preset"; readonly choices: AssetPreset[]; readonly description: "Select a set of assets to target for regeneration"; readonly subOptionOf: { readonly 'regenerate-assets': { readonly when: (superOptionValue: any) => any; readonly update: (oldOptionConfig: import("@-xun/cli").BfeBuilderObjectValueWithoutSubOptionOfExtension, GlobalExecutionContext>) => { demandThisOption: true; string?: boolean | undefined | undefined; number?: boolean | undefined | undefined; boolean?: boolean | undefined | undefined; description?: string | undefined | undefined; type?: "array" | "count" | import("@types/yargs").PositionalOptionsType | undefined; config?: boolean | undefined | undefined; normalize?: boolean | undefined | undefined; conflicts?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; implies?: (Exclude | Exclude[]) | undefined; default?: unknown; coerce?: ((arg: any) => any) | undefined; alias?: string | readonly string[] | undefined; array?: boolean | undefined | undefined; choices?: import("@types/yargs").Choices | undefined; configParser?: ((configPath: string) => object) | undefined | undefined; count?: boolean | undefined | undefined; defaultDescription?: string | undefined | undefined; deprecate?: boolean | string | undefined | undefined; deprecated?: boolean | string | undefined | undefined; desc?: string | undefined | undefined; describe?: string | undefined | undefined; global?: boolean | undefined | undefined; group?: string | undefined | undefined; hidden?: boolean | undefined | undefined; nargs?: number | undefined | undefined; requiresArg?: boolean | undefined | undefined; skipValidation?: boolean | undefined | undefined; demandThisOptionOr?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; requires?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; demandThisOptionIf?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; demandThisOptionXor?: import("@-xun/cli").BfeBuilderObjectValueExtensionValue | undefined; looseImplications?: boolean | undefined; vacuousImplications?: boolean | undefined; check?: BfeCheckFunction, GlobalExecutionContext> | BfeCheckFunction, GlobalExecutionContext>[] | undefined; }; }; }; }; readonly 'exclude-asset-paths': { readonly alias: readonly ["exclude-asset-path", "exclude", "skip"]; readonly array: true; readonly string: true; readonly description: "Skip regenerating assets matching a regular expression"; readonly default: readonly []; readonly conflicts: ["include-asset-paths", "only-aliases"]; readonly implies: { readonly hush: false; }; readonly looseImplications: true; readonly coerce: (paths: string[]) => RegExp[]; }; readonly 'include-asset-paths': { readonly alias: readonly ["include-asset-path", "include", "only"]; readonly array: true; readonly string: true; readonly description: "Only regenerate assets matching a regular expression"; readonly default: readonly []; readonly conflicts: ["exclude-asset-paths", "only-aliases"]; readonly implies: { readonly hush: false; }; readonly looseImplications: true; readonly coerce: (paths: string[]) => RegExp[]; }; readonly 'only-aliases': { readonly boolean: true; readonly description: "Only regenerate assets containing aliases"; readonly default: false; readonly conflicts: ["include-asset-paths", "exclude-asset-paths"]; readonly implies: { readonly hush: false; }; readonly looseImplications: true; }; }; readonly conflicts: { [x: string]: boolean; }[]; readonly run: (argv_: unknown, { debug, log }: RenovationTaskContext) => Promise; }; readonly 'update-dependencies': { readonly emoji: "āš•ļø"; readonly taskAliases: []; readonly actionDescription: "Launching interactive dependency check for latest versions"; readonly shortHelpDescription: "Interactively update dependencies in package.json"; readonly longHelpDescription: "This renovation allows the user to interactively select and update dependencies in package.json files belong to packages across the entire project (depending on --scope). Each updated dependency will generate either a chore-type commit (for package.json::devDependency updates) or a build-type commit (for any other kind of dependency in package.json) with a short simple commit message tailored to the dependency being updated. Afterwards, \"npm install --force\" will be executed and the resulting package-lock.json committed."; readonly requiresForce: false; readonly supportedScopes: DefaultGlobalScope[]; readonly subOptions: {}; readonly check: RenovationTask["check"]; readonly run: (argv_: unknown, { log, debug }: RenovationTaskContext) => Promise; }; readonly 'synchronize-interdependencies': { readonly emoji: "šŸ”—"; readonly taskAliases: ["sync-deps"]; readonly actionDescription: "Synchronizing package interdependencies"; readonly shortHelpDescription: "Update package.json dependencies to match their monorepo versions"; readonly longHelpDescription: "This renovation will analyze \"dependencies\" (that is: not \"devDependencies\", etc) in one or more package.json files with respect to --scope, select dependencies in those files that match a package name in this project, update those dependencies' ranges to match their respective package versions as they are in the project, and committing the changes (as one unified \"build\" commit).\n\nThis renovation ensures a package released from this monorepo will always install the latest version of the other packages released from this same monorepo.\n\nIf this project is a polyrepo, this renovation is essentially a no-op."; readonly requiresForce: false; readonly supportedScopes: DefaultGlobalScope[]; readonly subOptions: {}; readonly conflicts: { [x: string]: boolean; }[]; readonly run: (argv_: unknown, { debug, log }: RenovationTaskContext) => Promise; }; };