Skip to content

Commit f5e0796

Browse files
committed
prettier fix
1 parent 46d289f commit f5e0796

File tree

10 files changed

+56
-54
lines changed

10 files changed

+56
-54
lines changed

.changeset/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Changesets
22

3-
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4-
with multi-package repos, or single-package repos to help you version and publish your code. You can
5-
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it
4+
[in our repository](https://github.com/changesets/changesets)
65

7-
We have a quick list of common questions to get you started engaging with this project in
8-
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
6+
We have a quick list of common questions to get you started engaging with this project in [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.github/workflows/release.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
name: Release
22

33
permissions:
4-
contents: write
5-
pull-requests: write
4+
contents: write
5+
pull-requests: write
66

77
on:
8-
push:
9-
branches:
10-
- main
8+
push:
9+
branches:
10+
- main
1111

1212
concurrency: ${{ github.workflow }}-${{ github.ref }}
1313

1414
jobs:
15-
release:
16-
name: Release
17-
runs-on: ubuntu-latest
18-
steps:
19-
- uses: actions/checkout@v6
20-
21-
- name: Install pnpm
22-
uses: pnpm/action-setup@v4
23-
with:
24-
run_install: false
25-
26-
- name: Setup Node.js
27-
uses: actions/setup-node@v6
28-
with:
29-
node-version: 24
30-
cache: pnpm
31-
cache-dependency-path: pnpm-lock.yaml
32-
registry-url: 'https://registry.npmjs.org'
33-
34-
- name: Install dependencies
35-
run: pnpm install
36-
37-
- name: Create Release Pull Request or Publish to npm
38-
id: changesets
39-
uses: changesets/action@v1
40-
with:
41-
publish: pnpm run build:all && pnpm changeset publish
42-
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
45-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
15+
release:
16+
name: Release
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v6
20+
21+
- name: Install pnpm
22+
uses: pnpm/action-setup@v4
23+
with:
24+
run_install: false
25+
26+
- name: Setup Node.js
27+
uses: actions/setup-node@v6
28+
with:
29+
node-version: 24
30+
cache: pnpm
31+
cache-dependency-path: pnpm-lock.yaml
32+
registry-url: 'https://registry.npmjs.org'
33+
34+
- name: Install dependencies
35+
run: pnpm install
36+
37+
- name: Create Release Pull Request or Publish to npm
38+
id: changesets
39+
uses: changesets/action@v1
40+
with:
41+
publish: pnpm run build:all && pnpm changeset publish
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
45+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

packages/core/test/experimental/in-memory.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
22

33
import type { QueuedMessage } from '../../src/experimental/tasks/interfaces.js';
4-
import { InMemoryTaskMessageQueue,InMemoryTaskStore } from '../../src/experimental/tasks/stores/in-memory.js';
5-
import type { Request,TaskCreationParams } from '../../src/types/types.js';
4+
import { InMemoryTaskMessageQueue, InMemoryTaskStore } from '../../src/experimental/tasks/stores/in-memory.js';
5+
import type { Request, TaskCreationParams } from '../../src/types/types.js';
66

77
describe('InMemoryTaskStore', () => {
88
let store: InMemoryTaskStore;
@@ -934,4 +934,4 @@ describe('InMemoryTaskMessageQueue', () => {
934934
expect(dequeued?.type).toBe('error');
935935
});
936936
});
937-
});
937+
});

packages/core/test/inMemory.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { AuthInfo,JSONRPCMessage } from '../src/types/types.js';
1+
import type { AuthInfo, JSONRPCMessage } from '../src/types/types.js';
22
import { InMemoryTransport } from '../src/util/inMemory.js';
33

44
describe('InMemoryTransport', () => {

packages/core/test/shared/auth-utils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { checkResourceAllowed,resourceUrlFromServerUrl } from '../../src/shared/auth-utils.js';
1+
import { checkResourceAllowed, resourceUrlFromServerUrl } from '../../src/shared/auth-utils.js';
22

33
describe('auth-utils', () => {
44
describe('resourceUrlFromServerUrl', () => {

packages/core/test/shared/auth.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import {
33
OAuthMetadataSchema,
44
OpenIdProviderMetadataSchema,
55
OptionalSafeUrlSchema,
6-
SafeUrlSchema} from '../../src/shared/auth.js';
6+
SafeUrlSchema
7+
} from '../../src/shared/auth.js';
78

89
describe('SafeUrlSchema', () => {
910
it('accepts valid HTTPS URLs', () => {

packages/core/test/shared/protocol-transport-handling.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { beforeEach,describe, expect, test } from 'vitest';
1+
import { beforeEach, describe, expect, test } from 'vitest';
22
import * as z from 'zod/v4';
33

44
import { Protocol } from '../../src/shared/protocol.js';
55
import type { Transport } from '../../src/shared/transport.js';
6-
import type { JSONRPCMessage,Notification, Request, Result } from '../../src/types/types.js';
6+
import type { JSONRPCMessage, Notification, Request, Result } from '../../src/types/types.js';
77

88
// Mock Transport class
99
class MockTransport implements Transport {

packages/core/test/shared/protocol.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ import type {
88
QueuedNotification,
99
QueuedRequest,
1010
TaskMessageQueue,
11-
TaskStore} from '../../src/experimental/tasks/interfaces.js';
11+
TaskStore
12+
} from '../../src/experimental/tasks/interfaces.js';
1213
import { InMemoryTaskMessageQueue } from '../../src/experimental/tasks/stores/in-memory.js';
13-
import { mergeCapabilities,Protocol } from '../../src/shared/protocol.js';
14+
import { mergeCapabilities, Protocol } from '../../src/shared/protocol.js';
1415
import type { ErrorMessage, ResponseMessage } from '../../src/shared/responseMessage.js';
1516
import { toArrayAsync } from '../../src/shared/responseMessage.js';
1617
import type { Transport, TransportSendOptions } from '../../src/shared/transport.js';
@@ -26,7 +27,8 @@ import type {
2627
Result,
2728
ServerCapabilities,
2829
Task,
29-
TaskCreationParams} from '../../src/types/types.js';
30+
TaskCreationParams
31+
} from '../../src/types/types.js';
3032
import { CallToolRequestSchema, ErrorCode, McpError, RELATED_TASK_META_KEY } from '../../src/types/types.js';
3133

3234
// Type helper for accessing private/protected Protocol properties in tests

packages/core/test/shared/toolNameValidation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { MockInstance } from 'vitest';
22
import { vi } from 'vitest';
33

4-
import { issueToolNameWarning,validateAndWarnToolName, validateToolName } from '../../src/shared/toolNameValidation.js';
4+
import { issueToolNameWarning, validateAndWarnToolName, validateToolName } from '../../src/shared/toolNameValidation.js';
55

66
// Spy on console.warn to capture output
77
let warnSpy: MockInstance;

packages/core/test/types.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ import {
1414
ToolChoiceSchema,
1515
ToolResultContentSchema,
1616
ToolSchema,
17-
ToolUseContentSchema} from '../src/types/types.js';
17+
ToolUseContentSchema
18+
} from '../src/types/types.js';
1819

1920
describe('Types', () => {
2021
test('should have correct latest protocol version', () => {

0 commit comments

Comments
 (0)