Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/angular/build/src/builders/application/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,13 +415,13 @@ export async function normalizeOptions(
if (appShellOptions || ssrOptions || prerenderOptions) {
if (!serverEntryPoint) {
throw new Error(
'The "server" option is required when enabling "ssr", "prerender" or "app-shell".',
'The "server" option is required when enabling "ssr", "prerender" or "appShell".',
);
}

if (!indexHtmlOptions) {
throw new Error(
'The "index" option cannot be set to false when enabling "ssr", "prerender" or "app-shell".',
'The "index" option cannot be set to false when enabling "ssr", "prerender" or "appShell".',
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class KarmaExecutor implements TestExecutor {
let filter = unitTestOptions.filter;
if (filter[0] === '/' && filter.at(-1) === '/') {
this.context.logger.warn(
'The `--filter` option is always a regular expression.' +
'The `--filter` option is always a regular expression. ' +
'Leading and trailing `/` are not required and will be ignored.',
);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ export function transformCompilerOptions(
notes: [
{
text:
`The 'emitDecoratorMetadata' option is not required by Angular` +
'and can be removed if not explictly required by the project.',
`The 'emitDecoratorMetadata' option is not required by Angular ` +
'and can be removed if not explicitly required by the project.',
},
],
});
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/cli/src/commands/config/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default class ConfigCommandModule
const { logger } = this.context;

if (!config || !configPath) {
throw new CommandModuleError('Confguration file cannot be found.');
throw new CommandModuleError('Configuration file cannot be found.');
}

const normalizeUUIDValue = (v: string | undefined) => (v === '' ? randomUUID() : `${v}`);
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/cli/src/commands/update/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default class UpdateCommandModule extends CommandModule<UpdateCommandArgs

// only registry identifiers are supported
if (!packageIdentifier.registry) {
logger.error(`Package '${request}' is not a registry package identifer.`);
logger.error(`Package '${request}' is not a registry package identifier.`);

return 1;
}
Expand Down
7 changes: 2 additions & 5 deletions packages/angular/ssr/src/routes/route-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,7 @@ export interface ServerRouteServer extends ServerRouteCommon {
* @see {@link withRoutes}
*/
export type ServerRoute =
| ServerRouteClient
| ServerRoutePrerender
| ServerRoutePrerenderWithParams
| ServerRouteServer;
ServerRouteClient | ServerRoutePrerender | ServerRoutePrerenderWithParams | ServerRouteServer;

/**
* Configuration value for server routes configuration.
Expand Down Expand Up @@ -464,7 +461,7 @@ export function provideServerRendering(

if (!hasServerRoutes && hasAppShell) {
throw new Error(
`Configuration error: found 'withAppShell()' without 'withRoutes()' in the same call to 'provideServerRendering()'.` +
`Configuration error: found 'withAppShell()' without 'withRoutes()' in the same call to 'provideServerRendering()'. ` +
`The 'withAppShell()' function requires 'withRoutes()' to be used.`,
);
}
Expand Down
Loading