Skip to content

Commit 1d93a3e

Browse files
committed
chore: update snapshot
1 parent 622b0d0 commit 1d93a3e

5 files changed

Lines changed: 58 additions & 30 deletions

File tree

eslint.config.js

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,46 @@
11
// @ts-check
22
import antfu, { parserPlain } from '@antfu/eslint-config'
33

4-
export default antfu({
5-
pnpm: true,
6-
antislop: {
7-
slop: {
8-
inspection: 'full',
4+
export default antfu(
5+
{
6+
pnpm: true,
7+
antislop: {
8+
slop: {
9+
inspection: 'full',
10+
},
911
},
12+
ignores: [
13+
'skills',
14+
'plans',
15+
'**/dist',
16+
'**/storybook-static',
17+
'**/.next',
18+
'**/.nitro',
19+
'**/.output',
20+
'**/out',
21+
'**/next-env.d.ts',
22+
'**/.nuxt',
23+
],
1024
},
11-
ignores: [
12-
'skills',
13-
'plans',
14-
'**/dist',
15-
'**/storybook-static',
16-
'**/.next',
17-
'**/.nitro',
18-
'**/.output',
19-
'**/out',
20-
'**/next-env.d.ts',
21-
'**/.nuxt',
22-
],
23-
}, {
25+
{
2426
/**
2527
* The antislop `no-em-dash` rule scans every source glob, including CSS,
2628
* HTML, and Vue/Svelte `<style>` blocks that have no JS parser here. Parse
2729
* them as plain text so the rule reads their raw content without erroring.
2830
*/
29-
files: ['**/*.css', '**/*.scss', '**/*.less', '**/*.pcss', '**/*.postcss', '**/*.html', '**/*.htm', '**/*.svelte'],
30-
languageOptions: {
31-
parser: parserPlain,
31+
files: ['**/*.css', '**/*.scss', '**/*.less', '**/*.pcss', '**/*.postcss', '**/*.html', '**/*.htm', '**/*.svelte'],
32+
languageOptions: {
33+
parser: parserPlain,
34+
},
3235
},
33-
}, {
36+
{
3437
/**
3538
* MDC component syntax (`::u-page-hero`, `#title` slot markers) is not
3639
* ATX-heading markdown - don't lint it as such.
3740
*/
38-
files: ['docs/content/**/*.md'],
39-
rules: {
40-
'markdown/no-missing-atx-heading-space': 'off',
41+
files: ['docs/content/**/*.md'],
42+
rules: {
43+
'markdown/no-missing-atx-heading-space': 'off',
44+
},
4145
},
42-
})
46+
)

services/git/src/operations.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,10 +488,6 @@ export function createGitOps(cwd: string): GitServiceApi {
488488
const parsed = Date.parse(isoDate)
489489
return {
490490
name,
491-
/**
492-
* Annotated tags dereference to their target commit; lightweight
493-
* tags point straight at it.
494-
*/
495491
sha: targetSha || objectSha,
496492
date: Number.isNaN(parsed) ? 0 : parsed,
497493
subject: subject ?? '',

tests/__snapshots__/tsnapi/@devframes/hub/node.snapshot.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,11 @@ export declare class DevframeTerminalsHost implements DevframeTerminalsHost$1 {
7272
private _channel?;
7373
constructor(_: DevframeHubContext);
7474
private getStreamingChannel;
75+
private createStreamLifecycle;
7576
register(_: DevframeTerminalSession): DevframeTerminalSession;
7677
update(_: PartialWithoutId<DevframeTerminalSession>): void;
7778
remove(_: DevframeTerminalSession): void;
79+
private pumpStream;
7880
private bindStream;
7981
startChildProcess(_: DevframeChildProcessExecuteOptions, _: Omit<DevframeTerminalSessionBase, 'status'>): Promise<DevframeChildProcessTerminalSession>;
8082
startPtySession(_: DevframePtyExecuteOptions, _: Omit<DevframeTerminalSessionBase, 'status'>): Promise<DevframePtyTerminalSession>;

tests/__snapshots__/tsnapi/@devframes/plugin-code-server/node.snapshot.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ export declare class CodeServerSupervisor {
6060
detect(): Promise<CodeServerDetection>;
6161
status(): CodeServerStatusResult;
6262
start(_?: CodeServerStartRequest): Promise<CodeServerStartResult>;
63+
private tryAdopt;
64+
private resolveInitialPort;
65+
private buildLaunchEnv;
66+
private consumeOutput;
67+
private latchPort;
68+
private latchLogin;
69+
private latchReadyUrl;
70+
private handleChildError;
71+
private handleChildExit;
72+
private finalizeLocalStart;
73+
private handleStartFailure;
6374
stop(): CodeServerStatusResult;
6475
dispose(): void;
6576
get resolvedBackend(): CodeServerBackend;
@@ -72,6 +83,8 @@ export declare class CodeServerSupervisor {
7283
private resolveHubTerminals;
7384
private reflectHub;
7485
private launchProcess;
86+
private launchViaHub;
87+
private launchDirect;
7588
private appendLog;
7689
private lastLog;
7790
private publish;

tests/__snapshots__/tsnapi/@devframes/plugin-code-server/node.snapshot.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ export class CodeServerSupervisor {
3636
async detect() {}
3737
status() {}
3838
async start(_) {}
39+
async tryAdopt(_) {}
40+
async resolveInitialPort(_) {}
41+
buildLaunchEnv(_) {}
42+
consumeOutput(_, _, _) {}
43+
latchPort(_, _) {}
44+
latchLogin(_, _, _) {}
45+
latchReadyUrl(_, _, _) {}
46+
handleChildError(_, _, _) {}
47+
handleChildExit(_, _, _) {}
48+
async finalizeLocalStart(_, _) {}
49+
handleStartFailure(_, _, _, _) {}
3950
stop() {}
4051
dispose() {}
4152
get resolvedBackend() {}
@@ -48,6 +59,8 @@ export class CodeServerSupervisor {
4859
resolveHubTerminals() {}
4960
reflectHub(_) {}
5061
async launchProcess(_, _, _) {}
62+
async launchViaHub(_, _, _, _) {}
63+
launchDirect(_, _, _) {}
5164
appendLog(_) {}
5265
lastLog() {}
5366
publish() {}

0 commit comments

Comments
 (0)