Skip to content

Commit 1d6e6fa

Browse files
authored
Merge pull request #6 from beeper/release-please--branches--main--changes--next--components--desktop-api
release: 0.1.0
2 parents 35856fd + 2474970 commit 1d6e6fa

File tree

124 files changed

+11138
-2008
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+11138
-2008
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Node
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: '20'
27+
node-version: '22'
2828

2929
- name: Bootstrap
3030
run: ./scripts/bootstrap
@@ -46,7 +46,7 @@ jobs:
4646
- name: Set up Node
4747
uses: actions/setup-node@v4
4848
with:
49-
node-version: '20'
49+
node-version: '22'
5050

5151
- name: Bootstrap
5252
run: ./scripts/bootstrap
@@ -68,6 +68,15 @@ jobs:
6868
AUTH: ${{ steps.github-oidc.outputs.github_token }}
6969
SHA: ${{ github.sha }}
7070
run: ./scripts/utils/upload-artifact.sh
71+
72+
- name: Upload MCP Server tarball
73+
if: github.repository == 'stainless-sdks/beeper-desktop-api-typescript'
74+
env:
75+
URL: https://pkg.stainless.com/s?subpackage=mcp-server
76+
AUTH: ${{ steps.github-oidc.outputs.github_token }}
77+
SHA: ${{ github.sha }}
78+
BUILD_PATH: packages/mcp-server/dist
79+
run: ./scripts/utils/upload-artifact.sh
7180
test:
7281
timeout-minutes: 10
7382
name: test
@@ -79,10 +88,13 @@ jobs:
7988
- name: Set up Node
8089
uses: actions/setup-node@v4
8190
with:
82-
node-version: '20'
91+
node-version: '22'
8392

8493
- name: Bootstrap
8594
run: ./scripts/bootstrap
8695

96+
- name: Build
97+
run: ./scripts/build
98+
8799
- name: Run tests
88100
run: ./scripts/test

.github/workflows/publish-npm.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This workflow is triggered when a GitHub release is created.
2+
# It can also be run manually to re-publish to NPM in case it failed for some reason.
3+
# You can run this workflow by navigating to https://www.github.com/beeper/desktop-api-js/actions/workflows/publish-npm.yml
4+
name: Publish NPM
5+
on:
6+
workflow_dispatch:
7+
inputs:
8+
path:
9+
description: The path to run the release in, e.g. '.' or 'packages/mcp-server'
10+
required: true
11+
12+
release:
13+
types: [published]
14+
15+
jobs:
16+
publish:
17+
name: publish
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Set up Node
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: '20'
27+
28+
- name: Install dependencies
29+
run: |
30+
yarn install
31+
32+
- name: Publish to NPM
33+
run: |
34+
if [ -n "${{ github.event.inputs.path }}" ]; then
35+
PATHS_RELEASED='[\"${{ github.event.inputs.path }}\"]'
36+
else
37+
PATHS_RELEASED='[\".\", \"packages/mcp-server\"]'
38+
fi
39+
yarn tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
40+
env:
41+
NPM_TOKEN: ${{ secrets.BEEPER-DESKTOP_NPM_TOKEN || secrets.NPM_TOKEN }}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release Doctor
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
workflow_dispatch:
7+
8+
jobs:
9+
release_doctor:
10+
name: release doctor
11+
runs-on: ubuntu-latest
12+
if: github.repository == 'beeper/desktop-api-js' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Check release environment
18+
run: |
19+
bash ./bin/check-release-environment
20+
env:
21+
NPM_TOKEN: ${{ secrets.BEEPER-DESKTOP_NPM_TOKEN || secrets.NPM_TOKEN }}

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ CHANGELOG.md
44
/deno
55

66
# don't format tsc output, will break source maps
7-
/dist
7+
dist

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.1.0"
3+
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 13
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-10508b7bd52381c216ed2584b7b0894f70fcc97fbd7f86792e78f72d108157c5.yml
3-
openapi_spec_hash: d5f07fd2a363877f4c72da1187b8aaf1
4-
config_hash: 552d4814bcb4837f1d1acfc0f48773dd
1+
configured_endpoints: 12
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/beeper%2Fbeeper-desktop-api-e3b1a49dc833ea325071831c8e3e2f334bd20cff0ef19a1aae941572a14bcd99.yml
3+
openapi_spec_hash: 551b8c5126992f153faedc2f2272559c
4+
config_hash: dae4a4716f364a03ad112465d14b9abb

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Changelog
2+
3+
## 0.1.0 (2025-08-27)
4+
5+
Full Changelog: [v0.0.1...v0.1.0](https://github.com/beeper/desktop-api-js/compare/v0.0.1...v0.1.0)
6+
7+
### Features
8+
9+
* **api:** update via SDK Studio ([7d82f28](https://github.com/beeper/desktop-api-js/commit/7d82f2855a239cf33ffd6ea0607b996a10fabae4))
10+
* **api:** update via SDK Studio ([f59d872](https://github.com/beeper/desktop-api-js/commit/f59d872944525609bd9500f95dfa72c7ca2903b0))
11+
* **api:** update via SDK Studio ([6ac46ed](https://github.com/beeper/desktop-api-js/commit/6ac46edff9860493fb1df79adfac72069d284165))
12+
* **api:** update via SDK Studio ([a3e5b50](https://github.com/beeper/desktop-api-js/commit/a3e5b50a1645b33c70c37e041ac42ba50b59349b))
13+
* **api:** update via SDK Studio ([1141f59](https://github.com/beeper/desktop-api-js/commit/1141f5983fb6a496dce7758aef0e49744ef1cdf6))
14+
* **api:** update via SDK Studio ([68a1f66](https://github.com/beeper/desktop-api-js/commit/68a1f66d2fec7ad1841354051f8cc318989d4682))
15+
* **api:** update via SDK Studio ([c79fc8f](https://github.com/beeper/desktop-api-js/commit/c79fc8f6f0b5250281f0d244deffcb0243a4b5c9))
16+
* **api:** update via SDK Studio ([fab7f7f](https://github.com/beeper/desktop-api-js/commit/fab7f7f52d2741a7c317293dac6e61e96216fcdd))
17+
* **api:** update via SDK Studio ([ec22b51](https://github.com/beeper/desktop-api-js/commit/ec22b517c1c361406e20ff04fb266be4f29e0099))
18+
* **api:** update via SDK Studio ([309394b](https://github.com/beeper/desktop-api-js/commit/309394bef9aafd3945bc9e5970182313b980cc18))
19+
* **api:** update via SDK Studio ([cc9a88d](https://github.com/beeper/desktop-api-js/commit/cc9a88d50361bb8f0547b24cbdf6d0d6e6b61e87))
20+
* **api:** update via SDK Studio ([461ee20](https://github.com/beeper/desktop-api-js/commit/461ee20c6a395014969262f0b2733ead8b20cfd8))
21+
* **api:** update via SDK Studio ([f451a9d](https://github.com/beeper/desktop-api-js/commit/f451a9d07115959fa0bcb02996ca6809606eeb74))
22+
* **api:** update via SDK Studio ([8bd03c9](https://github.com/beeper/desktop-api-js/commit/8bd03c9935ebd6bc1d974c9bac0372f7e16db3eb))
23+
* **api:** update via SDK Studio ([c18aaf2](https://github.com/beeper/desktop-api-js/commit/c18aaf23a04b97ab55f43d479ef351724b071462))
24+
* **api:** update via SDK Studio ([34d3a1c](https://github.com/beeper/desktop-api-js/commit/34d3a1c3e185bc7fac23983855cb43055244a288))
25+
* **api:** update via SDK Studio ([5dfa3e9](https://github.com/beeper/desktop-api-js/commit/5dfa3e98f5f77f3039907c8f799017990bd5836d))
26+
27+
28+
### Chores
29+
30+
* update SDK settings ([5cf5745](https://github.com/beeper/desktop-api-js/commit/5cf5745b8b07bdbe89099f3d3d25238cf155c33b))

CONTRIBUTING.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,25 @@ If you’d like to use the repository from source, you can either install from g
4242
To install via git:
4343

4444
```sh
45-
$ npm install git+ssh://[email protected]:stainless-sdks/beeper-desktop-api-typescript.git
45+
$ npm install git+ssh://[email protected]:beeper/desktop-api-js.git
4646
```
4747

4848
Alternatively, to link a local copy of the repo:
4949

5050
```sh
5151
# Clone
52-
$ git clone https://www.github.com/stainless-sdks/beeper-desktop-api-typescript
53-
$ cd beeper-desktop-api-typescript
52+
$ git clone https://www.github.com/beeper/desktop-api-js
53+
$ cd desktop-api-js
5454

5555
# With yarn
5656
$ yarn link
5757
$ cd ../my-package
58-
$ yarn link beeper-desktop-api
58+
$ yarn link @beeper/desktop-api
5959

6060
# With pnpm
6161
$ pnpm link --global
6262
$ cd ../my-package
63-
$ pnpm link -—global beeper-desktop-api
63+
$ pnpm link -—global @beeper/desktop-api
6464
```
6565

6666
## Running tests
@@ -91,3 +91,17 @@ To format and fix all lint issues automatically:
9191
```sh
9292
$ yarn fix
9393
```
94+
95+
## Publishing and releases
96+
97+
Changes made to this repository via the automated release PR pipeline should publish to npm automatically. If
98+
the changes aren't made through the automated pipeline, you may want to make releases manually.
99+
100+
### Publish with a GitHub workflow
101+
102+
You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/beeper/desktop-api-js/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up.
103+
104+
### Publish manually
105+
106+
If you need to manually release a package, you can run the `bin/publish-npm` script with an `NPM_TOKEN` set on
107+
the environment.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2025 beeper-desktop-api
1+
Copyright 2025 beeperdesktop
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

0 commit comments

Comments
 (0)