Skip to content

Commit d568878

Browse files
release: 0.1.0 (#409)
* chore: go live (#410) * chore: update SDK settings (#411) * feat(api): update via SDK Studio (#412) * feat(api): update via SDK Studio (#414) * release: 0.1.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 6471160 commit d568878

36 files changed

+151
-190
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
pull_request:
77
branches:
88
- v3
9+
- next
910

1011
jobs:
1112
lint:

.github/workflows/create-releases.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/handle-release-pr-title-edit.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/publish-npm.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
# workflow for re-running publishing to NPM in case it fails for some reason
2-
# you can run this workflow by navigating to https://www.github.com/intercom/intercom-node/actions/workflows/publish-npm.yml
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/intercom/intercom-node/actions/workflows/publish-npm.yml
34
name: Publish NPM
45
on:
56
workflow_dispatch:
67

8+
release:
9+
types: [published]
10+
711
jobs:
812
publish:
913
name: publish

.github/workflows/release-doctor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ jobs:
1616
run: |
1717
bash ./bin/check-release-environment
1818
env:
19-
STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}
2019
NPM_TOKEN: ${{ secrets.INTERCOM_NPM_TOKEN || secrets.NPM_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.prism.log
12
node_modules
23
yarn-error.log
34
codegen.log

.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.0.1"
2+
".": "0.1.0"
33
}

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Changelog
2+
3+
## 0.1.0 (2024-07-17)
4+
5+
Full Changelog: [v0.0.1...v0.1.0](https://github.com/intercom/intercom-node/compare/v0.0.1...v0.1.0)
6+
7+
### Features
8+
9+
* **api:** OpenAPI spec update ([1a8a867](https://github.com/intercom/intercom-node/commit/1a8a8675934f0601126350b5e3e0ead3a1cebcf3))
10+
* **api:** OpenAPI spec update ([1e478f3](https://github.com/intercom/intercom-node/commit/1e478f3d60d5c3de15525fda5e13cd05fb9dfd40))
11+
* **api:** update via SDK Studio ([6471160](https://github.com/intercom/intercom-node/commit/64711607bff8fd3f8412d54c53c15aac7cf4d052))
12+
* **api:** update via SDK Studio ([536cfac](https://github.com/intercom/intercom-node/commit/536cfac86eee9ef93b7b81d5ae788bc93d25efda))
13+
* **api:** update via SDK Studio ([12c2c09](https://github.com/intercom/intercom-node/commit/12c2c09d937e5f5e75632a36b1164bd8aa378c8d))
14+
* **api:** update via SDK Studio ([28e8e5f](https://github.com/intercom/intercom-node/commit/28e8e5f1c6b27814e23586a4fb929f8fe8a723ba))
15+
* **api:** update via SDK Studio ([e64afcd](https://github.com/intercom/intercom-node/commit/e64afcd5a1d27dbe3198ea3b36ac355e3acd8dcf))
16+
* **api:** update via SDK Studio ([f74126d](https://github.com/intercom/intercom-node/commit/f74126d5b78c6dc9f9fe221cbaf85bb50ed4cd54))
17+
* **api:** update via SDK Studio ([62e438d](https://github.com/intercom/intercom-node/commit/62e438d68b0ddf19ed2bf3e5f465c377429d1019))
18+
* **api:** update via SDK Studio ([29c13ed](https://github.com/intercom/intercom-node/commit/29c13edfd02451cfcf5e57f22a75db01aff33914))
19+
* **api:** update via SDK Studio ([ab7812c](https://github.com/intercom/intercom-node/commit/ab7812c8fcaa554ceea8503e41182ffcc308fb8b))
20+
* **api:** update via SDK Studio ([2a37e9d](https://github.com/intercom/intercom-node/commit/2a37e9d1b40d2b6039eb5c6c9c4e8017174eaad3))
21+
* **api:** update via SDK Studio ([e3ac97a](https://github.com/intercom/intercom-node/commit/e3ac97a790142f89f486271785bde4371dc16859))
22+
* **api:** update via SDK Studio ([f39fc52](https://github.com/intercom/intercom-node/commit/f39fc52dbc8296f6162b04621b6f481ab72f3059))
23+
* **api:** update via SDK Studio ([8768954](https://github.com/intercom/intercom-node/commit/87689549c0987467a2121256b2dcd92718544a42))
24+
* **api:** update via SDK Studio ([8470cf4](https://github.com/intercom/intercom-node/commit/8470cf423d6fe7830338995a4e09b1293ac5496a))
25+
* **api:** update via SDK Studio ([dca56d2](https://github.com/intercom/intercom-node/commit/dca56d2f9ec4cdcf54336af92b3f0b23e6d9d93a))
26+
* **api:** update via SDK Studio ([768ce13](https://github.com/intercom/intercom-node/commit/768ce13689945ebcbc11f83839f1edb3fb4f92b5))
27+
* **api:** update via SDK Studio ([#412](https://github.com/intercom/intercom-node/issues/412)) ([6487a76](https://github.com/intercom/intercom-node/commit/6487a76337ab7486478262537b290de94db8070d))
28+
* **api:** update via SDK Studio ([#414](https://github.com/intercom/intercom-node/issues/414)) ([7497e9b](https://github.com/intercom/intercom-node/commit/7497e9b0f277a2544605987a4d798596996416a4))
29+
30+
31+
### Chores
32+
33+
* go live ([#410](https://github.com/intercom/intercom-node/issues/410)) ([9e9253f](https://github.com/intercom/intercom-node/commit/9e9253fa6e5a26378e2dca6ba6fa8edeca5749e2))
34+
* update SDK settings ([153050a](https://github.com/intercom/intercom-node/commit/153050a1b87b52ab66930c4ede96e5fb8bfb571d))
35+
* update SDK settings ([#411](https://github.com/intercom/intercom-node/issues/411)) ([6443bf8](https://github.com/intercom/intercom-node/commit/6443bf80a90d7377bb40b07ea4bc0d5f7b0f1a07))

README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,16 @@
44

55
This library provides convenient access to the Intercom REST API from server-side TypeScript or JavaScript.
66

7-
The REST API documentation can be found [on developers.intercom.com](https://developers.intercom.com). The full API of this library can be found in [api.md](api.md).
7+
The REST API documentation can be found on [developers.intercom.com](https://developers.intercom.com). The full API of this library can be found in [api.md](api.md).
88

99
It is generated with [Stainless](https://www.stainlessapi.com/).
1010

1111
## Installation
1212

1313
```sh
14-
npm install git+ssh://[email protected]:intercom/intercom-node.git
14+
npm install intercom-client
1515
```
1616

17-
> [!NOTE]
18-
> Once this package is [published to npm](https://app.stainlessapi.com/docs/guides/publish), this will become: `npm install intercom-client`
19-
2017
## Usage
2118

2219
The full API of this library can be found in [api.md](api.md).
@@ -284,14 +281,6 @@ TypeScript >= 4.5 is supported.
284281

285282
The following runtimes are supported:
286283

287-
- Node.js 18 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
288-
- Deno v1.28.0 or higher, using `import Intercom from "npm:intercom-client"`.
289-
- Bun 1.0 or later.
290-
- Cloudflare Workers.
291-
- Vercel Edge Runtime.
292-
- Jest 28 or greater with the `"node"` environment (`"jsdom"` is not supported at this time).
293-
- Nitro v2.6 or greater.
294-
295284
Note that React Native is not supported at this time.
296285

297286
If you are interested in other runtime environments, please open or upvote an issue on GitHub.

bin/check-release-environment

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
errors=()
44

5-
if [ -z "${STAINLESS_API_KEY}" ]; then
6-
errors+=("The STAINLESS_API_KEY secret has not been set. Please contact Stainless for an API key & set it in your organization secrets on GitHub.")
7-
fi
8-
95
if [ -z "${NPM_TOKEN}" ]; then
106
errors+=("The INTERCOM_NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
117
fi

0 commit comments

Comments
 (0)