Skip to content

Commit d1ac27b

Browse files
release: 0.1.0-alpha.15 (#16)
* chore(internal): codegen related update * fix(ci): set permissions for DXT publish action * chore(internal): codegen related update * chore(internal): codegen related update * fix(ci): use pnpm in ci * chore: update CONTRIBUTING.md * release: 0.1.0-alpha.15 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent ced6208 commit d1ac27b

File tree

13 files changed

+80
-72
lines changed

13 files changed

+80
-72
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"features": {
77
"ghcr.io/devcontainers/features/node:1": {}
88
},
9-
"postCreateCommand": "yarn install",
9+
"postCreateCommand": "pnpm install",
1010
"customizations": {
1111
"vscode": {
1212
"extensions": ["esbenp.prettier-vscode"]

.github/workflows/publish-npm.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
publish:
1717
name: publish
1818
runs-on: ubuntu-latest
19+
permissions:
20+
contents: write
1921

2022
steps:
2123
- uses: actions/checkout@v4
@@ -25,9 +27,12 @@ jobs:
2527
with:
2628
node-version: '20'
2729

30+
- name: Set up pnpm
31+
uses: pnpm/action-setup@v4
32+
2833
- name: Install dependencies
2934
run: |
30-
yarn install
35+
pnpm install
3136
3237
- name: Publish to NPM
3338
run: |
@@ -36,11 +41,13 @@ jobs:
3641
else
3742
PATHS_RELEASED='[\".\", \"packages/mcp-server\"]'
3843
fi
39-
yarn tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
44+
pnpm tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
4045
env:
4146
NPM_TOKEN: ${{ secrets.STAINLESS_NPM_TOKEN || secrets.NPM_TOKEN }}
4247

4348
- name: Upload MCP Server DXT GitHub release asset
4449
run: |
4550
gh release upload ${{ github.event.release.tag_name }} \
4651
packages/mcp-server/stainless_api_sdk_api.dxt
52+
env:
53+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.14"
2+
".": "0.1.0-alpha.15"
33
}

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 0.1.0-alpha.15 (2025-09-17)
4+
5+
Full Changelog: [v0.1.0-alpha.14...v0.1.0-alpha.15](https://github.com/stainless-api/stainless-api-typescript/compare/v0.1.0-alpha.14...v0.1.0-alpha.15)
6+
7+
### Bug Fixes
8+
9+
* **ci:** set permissions for DXT publish action ([b0fc3ff](https://github.com/stainless-api/stainless-api-typescript/commit/b0fc3ff2b07277ef8e05bfbe89d2a9d4a8029dc5))
10+
* **ci:** use pnpm in ci ([2d6c02e](https://github.com/stainless-api/stainless-api-typescript/commit/2d6c02e352044ee31d4ab8458f148b94d0a0d6e7))
11+
12+
13+
### Chores
14+
15+
* **internal:** codegen related update ([e80a81a](https://github.com/stainless-api/stainless-api-typescript/commit/e80a81a1204f7cfd1e159a5ad832a8c6efadd92f))
16+
* **internal:** codegen related update ([88e4215](https://github.com/stainless-api/stainless-api-typescript/commit/88e421546c20b154c279e5abde6dac0257a0e997))
17+
* **internal:** codegen related update ([e2e8f11](https://github.com/stainless-api/stainless-api-typescript/commit/e2e8f113bb4d62288969455484cc47ff0851054d))
18+
* update CONTRIBUTING.md ([7f37fb5](https://github.com/stainless-api/stainless-api-typescript/commit/7f37fb5ffe2d7a0731e34bb977625a55739c08a3))
19+
320
## 0.1.0-alpha.14 (2025-09-16)
421

522
Full Changelog: [v0.1.0-alpha.13...v0.1.0-alpha.14](https://github.com/stainless-api/stainless-api-typescript/compare/v0.1.0-alpha.13...v0.1.0-alpha.14)

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
## Setting up the environment
22

3-
This repository uses [`yarn@v1`](https://classic.yarnpkg.com/lang/en/docs/install).
3+
This repository uses [`pnpm`](https://pnpm.io/).
44
Other package managers may work but are not officially supported for development.
55

66
To set up the repository, run:
77

88
```sh
9-
$ yarn
10-
$ yarn build
9+
$ pnpm install
10+
$ pnpm build
1111
```
1212

1313
This will install all the required dependencies and build output files to `dist/`.
@@ -32,7 +32,7 @@ All files in the `examples/` directory are not modified by the generator and can
3232
```sh
3333
$ chmod +x examples/<your-example>.ts
3434
# run the example against your api
35-
$ yarn tsn -T examples/<your-example>.ts
35+
$ pnpm tsn -T examples/<your-example>.ts
3636
```
3737

3838
## Using the repository from source
@@ -72,7 +72,7 @@ $ npx prism mock path/to/your/openapi.yml
7272
```
7373

7474
```sh
75-
$ yarn run test
75+
$ pnpm run test
7676
```
7777

7878
## Linting and formatting
@@ -83,13 +83,13 @@ This repository uses [prettier](https://www.npmjs.com/package/prettier) and
8383
To lint:
8484

8585
```sh
86-
$ yarn lint
86+
$ pnpm lint
8787
```
8888

8989
To format and fix all lint issues automatically:
9090

9191
```sh
92-
$ yarn fix
92+
$ pnpm fix
9393
```
9494

9595
## Publishing and releases

bin/publish-npm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -eux
44

55
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
66

7-
yarn build
7+
pnpm build
88
cd dist
99

1010
# Get package name and version from package.json
@@ -58,4 +58,4 @@ else
5858
fi
5959

6060
# Publish with the appropriate tag
61-
yarn publish --tag "$TAG"
61+
pnpm publish --no-git-checks --tag "$TAG"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stainless-api/sdk",
3-
"version": "0.1.0-alpha.14",
3+
"version": "0.1.0-alpha.15",
44
"description": "The official TypeScript library for the Stainless API",
55
"author": "Stainless <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ WORKDIR /build
1111
COPY . .
1212

1313
# Install all dependencies and build everything
14-
RUN yarn install --frozen-lockfile && \
15-
yarn build
14+
RUN pnpm install --frozen-lockfile && \
15+
pnpm build
1616

1717
# Production stage
1818
FROM node:20-alpine

packages/mcp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stainless-api/sdk-mcp",
3-
"version": "0.1.0-alpha.14",
3+
"version": "0.1.0-alpha.15",
44
"description": "The official MCP Server for the Stainless API",
55
"author": "Stainless <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const newMcpServer = () =>
3333
new McpServer(
3434
{
3535
name: 'stainless_api_sdk_api',
36-
version: '0.1.0-alpha.14',
36+
version: '0.1.0-alpha.15',
3737
},
3838
{ capabilities: { tools: {}, logging: {} } },
3939
);

0 commit comments

Comments
 (0)