mirror of
https://github.com/kamask-dev/pchelpmaster.git
synced 2026-11-11 05:49:38 +00:00
style: apply prettier formatting
Routine formatting only, no functional changes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016GHq7GcQtB91bnq3832H76
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
8cc6ef4dcc
commit
b0bcd7ca2d
+1
-3
@@ -24,9 +24,7 @@
|
|||||||
"input": "public"
|
"input": "public"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": ["src/styles.css"],
|
||||||
"src/styles.css"
|
|
||||||
],
|
|
||||||
"server": "src/main.server.ts",
|
"server": "src/main.server.ts",
|
||||||
"outputMode": "server",
|
"outputMode": "server",
|
||||||
"security": {
|
"security": {
|
||||||
|
|||||||
@@ -9,4 +9,6 @@ if (!email || !password) {
|
|||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
execFileSync('pocketbase', ['superuser', 'upsert', email, password, '--dir', dir], { stdio: 'inherit' });
|
execFileSync('pocketbase', ['superuser', 'upsert', email, password, '--dir', dir], {
|
||||||
|
stdio: 'inherit',
|
||||||
|
});
|
||||||
|
|||||||
@@ -4,9 +4,7 @@ import { appConfig } from './app.config';
|
|||||||
import { serverRoutes } from './app.routes.server';
|
import { serverRoutes } from './app.routes.server';
|
||||||
|
|
||||||
const serverConfig: ApplicationConfig = {
|
const serverConfig: ApplicationConfig = {
|
||||||
providers: [
|
providers: [provideServerRendering(withRoutes(serverRoutes))],
|
||||||
provideServerRendering(withRoutes(serverRoutes))
|
|
||||||
]
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export const config = mergeApplicationConfig(appConfig, serverConfig);
|
export const config = mergeApplicationConfig(appConfig, serverConfig);
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import { provideClientHydration } from '@angular/platform-browser';
|
|||||||
export const appConfig: ApplicationConfig = {
|
export const appConfig: ApplicationConfig = {
|
||||||
providers: [
|
providers: [
|
||||||
provideBrowserGlobalErrorListeners(),
|
provideBrowserGlobalErrorListeners(),
|
||||||
provideRouter(routes), provideClientHydration()
|
provideRouter(routes),
|
||||||
]
|
provideClientHydration(),
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
+39
-23
@@ -36,9 +36,18 @@
|
|||||||
|
|
||||||
--pill-accent: var(--bright-blue);
|
--pill-accent: var(--bright-blue);
|
||||||
|
|
||||||
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
font-family:
|
||||||
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
'Inter',
|
||||||
"Segoe UI Symbol";
|
-apple-system,
|
||||||
|
BlinkMacSystemFont,
|
||||||
|
'Segoe UI',
|
||||||
|
Roboto,
|
||||||
|
Helvetica,
|
||||||
|
Arial,
|
||||||
|
sans-serif,
|
||||||
|
'Apple Color Emoji',
|
||||||
|
'Segoe UI Emoji',
|
||||||
|
'Segoe UI Symbol';
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
@@ -53,9 +62,18 @@
|
|||||||
line-height: 100%;
|
line-height: 100%;
|
||||||
letter-spacing: -0.125rem;
|
letter-spacing: -0.125rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
font-family:
|
||||||
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
'Inter Tight',
|
||||||
"Segoe UI Symbol";
|
-apple-system,
|
||||||
|
BlinkMacSystemFont,
|
||||||
|
'Segoe UI',
|
||||||
|
Roboto,
|
||||||
|
Helvetica,
|
||||||
|
Arial,
|
||||||
|
sans-serif,
|
||||||
|
'Apple Color Emoji',
|
||||||
|
'Segoe UI Emoji',
|
||||||
|
'Segoe UI Symbol';
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@@ -238,20 +256,24 @@
|
|||||||
<div class="divider" role="separator" aria-label="Divider"></div>
|
<div class="divider" role="separator" aria-label="Divider"></div>
|
||||||
<div class="right-side">
|
<div class="right-side">
|
||||||
<div class="pill-group">
|
<div class="pill-group">
|
||||||
@for (item of [
|
@for (
|
||||||
|
item of [
|
||||||
{ title: 'Explore the Docs', link: 'https://angular.dev' },
|
{ title: 'Explore the Docs', link: 'https://angular.dev' },
|
||||||
{ title: 'Learn with Tutorials', link: 'https://angular.dev/tutorials' },
|
{ title: 'Learn with Tutorials', link: 'https://angular.dev/tutorials' },
|
||||||
{ title: 'Prompt and best practices for AI', link: 'https://angular.dev/ai/develop-with-ai'},
|
{
|
||||||
|
title: 'Prompt and best practices for AI',
|
||||||
|
link: 'https://angular.dev/ai/develop-with-ai',
|
||||||
|
},
|
||||||
{ title: 'CLI Docs', link: 'https://angular.dev/tools/cli' },
|
{ title: 'CLI Docs', link: 'https://angular.dev/tools/cli' },
|
||||||
{ title: 'Angular Language Service', link: 'https://angular.dev/tools/language-service' },
|
{
|
||||||
|
title: 'Angular Language Service',
|
||||||
|
link: 'https://angular.dev/tools/language-service',
|
||||||
|
},
|
||||||
{ title: 'Angular DevTools', link: 'https://angular.dev/tools/devtools' },
|
{ title: 'Angular DevTools', link: 'https://angular.dev/tools/devtools' },
|
||||||
]; track item.title) {
|
];
|
||||||
<a
|
track item.title
|
||||||
class="pill"
|
) {
|
||||||
[href]="item.link"
|
<a class="pill" [href]="item.link" target="_blank" rel="noopener">
|
||||||
target="_blank"
|
|
||||||
rel="noopener"
|
|
||||||
>
|
|
||||||
<span>{{ item.title }}</span>
|
<span>{{ item.title }}</span>
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
@@ -287,12 +309,7 @@
|
|||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a href="https://x.com/angular" aria-label="X" target="_blank" rel="noopener">
|
||||||
href="https://x.com/angular"
|
|
||||||
aria-label="X"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener"
|
|
||||||
>
|
|
||||||
<svg
|
<svg
|
||||||
width="24"
|
width="24"
|
||||||
height="24"
|
height="24"
|
||||||
@@ -340,5 +357,4 @@
|
|||||||
<!-- * * * * * * * * * * End of Placeholder * * * * * * * * * * * * -->
|
<!-- * * * * * * * * * * End of Placeholder * * * * * * * * * * * * -->
|
||||||
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
|
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
|
||||||
|
|
||||||
|
|
||||||
<router-outlet />
|
<router-outlet />
|
||||||
|
|||||||
@@ -3,6 +3,6 @@ import { RenderMode, ServerRoute } from '@angular/ssr';
|
|||||||
export const serverRoutes: ServerRoute[] = [
|
export const serverRoutes: ServerRoute[] = [
|
||||||
{
|
{
|
||||||
path: '**',
|
path: '**',
|
||||||
renderMode: RenderMode.Prerender
|
renderMode: RenderMode.Prerender,
|
||||||
}
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
+1
-2
@@ -5,8 +5,7 @@ describe('App', () => {
|
|||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
imports: [App],
|
imports: [App],
|
||||||
})
|
}).compileComponents();
|
||||||
.compileComponents();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should create the app', () => {
|
it('should create the app', () => {
|
||||||
|
|||||||
+8
-8
@@ -1,13 +1,13 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
<title>Pchelpcrm</title>
|
<title>Pchelpcrm</title>
|
||||||
<base href="/">
|
<base href="/" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<app-root></app-root>
|
<app-root></app-root>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
+1
-2
@@ -2,7 +2,6 @@ import { BootstrapContext, bootstrapApplication } from '@angular/platform-browse
|
|||||||
import { App } from './app/app';
|
import { App } from './app/app';
|
||||||
import { config } from './app/app.config.server';
|
import { config } from './app/app.config.server';
|
||||||
|
|
||||||
const bootstrap = (context: BootstrapContext) =>
|
const bootstrap = (context: BootstrapContext) => bootstrapApplication(App, config, context);
|
||||||
bootstrapApplication(App, config, context);
|
|
||||||
|
|
||||||
export default bootstrap;
|
export default bootstrap;
|
||||||
|
|||||||
+1
-2
@@ -2,5 +2,4 @@ import { bootstrapApplication } from '@angular/platform-browser';
|
|||||||
import { appConfig } from './app/app.config';
|
import { appConfig } from './app/app.config';
|
||||||
import { App } from './app/app';
|
import { App } from './app/app';
|
||||||
|
|
||||||
bootstrapApplication(App, appConfig)
|
bootstrapApplication(App, appConfig).catch((err) => console.error(err));
|
||||||
.catch((err) => console.error(err));
|
|
||||||
|
|||||||
+1
-3
@@ -41,9 +41,7 @@ app.use(
|
|||||||
app.use((req, res, next) => {
|
app.use((req, res, next) => {
|
||||||
angularApp
|
angularApp
|
||||||
.handle(req)
|
.handle(req)
|
||||||
.then((response) =>
|
.then((response) => (response ? writeResponseToNodeResponse(response, res) : next()))
|
||||||
response ? writeResponseToNodeResponse(response, res) : next(),
|
|
||||||
)
|
|
||||||
.catch(next);
|
.catch(next);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
+3
-9
@@ -3,14 +3,8 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"types": [
|
"types": ["node"]
|
||||||
"node"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"include": [
|
"include": ["src/**/*.ts"],
|
||||||
"src/**/*.ts"
|
"exclude": ["src/**/*.spec.ts"]
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"src/**/*.spec.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-7
@@ -3,12 +3,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"types": [
|
"types": ["vitest/globals"]
|
||||||
"vitest/globals"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"include": [
|
"include": ["src/**/*.d.ts", "src/**/*.spec.ts"]
|
||||||
"src/**/*.d.ts",
|
|
||||||
"src/**/*.spec.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user