Merge pull request #34105 from awanlin/topic/non-breaking-typos
Fixes for non-breaking typos and typos configuration
This commit is contained in:
@@ -100,7 +100,7 @@ export interface HostDiscoveryOptions {
|
||||
* These endpoints have lower priority than any that are defined in
|
||||
* app-config, but higher priority than the fallback ones.
|
||||
*
|
||||
* This parameter is usedful for example if you want to provide a shared
|
||||
* This parameter is useful for example if you want to provide a shared
|
||||
* library of core services to your plugin developers, which is set up for the
|
||||
* default behaviors in your org. This alleviates the need for replicating any
|
||||
* given set of endpoint config in every backend that you deploy.
|
||||
|
||||
@@ -100,7 +100,7 @@ export function prepareRuntimeSharedDependenciesScript(
|
||||
return {
|
||||
name,
|
||||
version: sharedDep.version,
|
||||
lib: name as unknown as () => Promise<unknown>, // Coverted into import below
|
||||
lib: name as unknown as () => Promise<unknown>, // Converted into import below
|
||||
shareConfig: {
|
||||
singleton: sharedDep.singleton,
|
||||
requiredVersion: sharedDep.requiredVersion,
|
||||
|
||||
@@ -50,7 +50,7 @@ export function exitWithError(error: unknown): never {
|
||||
return exit(error.message, 64 /* command line usage error */);
|
||||
case 'AuthenticationError':
|
||||
case 'NotAllowedError':
|
||||
return exit(error.message, 77 /* permissino denied */);
|
||||
return exit(error.message, 77 /* permission denied */);
|
||||
case 'ExitCodeError':
|
||||
return exit(
|
||||
error.message,
|
||||
|
||||
@@ -120,7 +120,7 @@ const markdown =
|
||||
'\n' +
|
||||
'Per quem, nec formosior qui cum Peliden me interea **ornatos**! Te facit\n' +
|
||||
'instimulat sequentia in flumina exilium te vulnere, sola. Coetum nec amnes.\n' +
|
||||
'Protinus nam Caras cava, *a* vocantem dicta inevitabile, nata nulla.\n' +
|
||||
'Lumen nova signa at tempori flecta, sed quietum narrata civitas.\n' +
|
||||
'\n' +
|
||||
'## Piscem Iunoni maius\n' +
|
||||
'\n' +
|
||||
|
||||
@@ -130,7 +130,7 @@ const gfmRehypePlugins: PluggableList = [
|
||||
[
|
||||
rehypeRaw,
|
||||
{
|
||||
tagFiter: true,
|
||||
tagfilter: true,
|
||||
},
|
||||
],
|
||||
[
|
||||
|
||||
@@ -66,7 +66,7 @@ export type AuthProviderInfo = {
|
||||
icon: IconComponent | IconElement;
|
||||
|
||||
/**
|
||||
* Optional user friendly messaage to display for the auth provider.
|
||||
* Optional user friendly message to display for the auth provider.
|
||||
*/
|
||||
message?: string;
|
||||
};
|
||||
|
||||
@@ -278,14 +278,14 @@ describe('createExtension', () => {
|
||||
expect(String(extension)).toBe(
|
||||
'ExtensionDefinition{attachTo=<plugin>@tabs+page:<plugin>@tabs+<plugin>/index@tabs+page:<plugin>/index@otherTabs}',
|
||||
);
|
||||
const overrdeExtension = extension.override({
|
||||
const overrideExtension = extension.override({
|
||||
attachTo: [
|
||||
parent2.inputs.tabs,
|
||||
parent3.inputs.tabs,
|
||||
parent4.inputs.otherTabs,
|
||||
] as any,
|
||||
});
|
||||
expect(String(overrdeExtension)).toBe(
|
||||
expect(String(overrideExtension)).toBe(
|
||||
'ExtensionDefinition{attachTo=page:<plugin>@tabs+<plugin>/index@tabs+page:<plugin>/index@otherTabs}',
|
||||
);
|
||||
});
|
||||
|
||||
@@ -48,8 +48,8 @@ import { describeParentCallSite } from '../routing/describeParentCallSite';
|
||||
* @remarks
|
||||
*
|
||||
* This function is primarily intended to enable the use of inferred type
|
||||
* parameters for blueprint params, but it can also be used to transoform the
|
||||
* params before they are handed ot the blueprint.
|
||||
* parameters for blueprint params, but it can also be used to transform the
|
||||
* params before they are handed to the blueprint.
|
||||
*
|
||||
* The function must return an object created with
|
||||
* {@link createExtensionBlueprintParams}.
|
||||
|
||||
@@ -77,7 +77,7 @@ export class PackageDocsCache {
|
||||
}
|
||||
map.set(pkg, parsed);
|
||||
} catch (e) {
|
||||
console.error(`Skipping unparseable cache file ${file}: ${e}`);
|
||||
console.error(`Skipping unparsable cache file ${file}: ${e}`);
|
||||
}
|
||||
}
|
||||
return new PackageDocsCache(lockfile, map, baseDirectory);
|
||||
|
||||
Reference in New Issue
Block a user