Skip to content

Commit bbfa69f

Browse files
authored
Merge pull request #3 from perplexityai/release-please--branches--main--changes--next--components--perplexity_ai
2 parents ef73e88 + d2cfcd1 commit bbfa69f

File tree

13 files changed

+28
-59
lines changed

13 files changed

+28
-59
lines changed

.github/workflows/create-releases.yml

Lines changed: 0 additions & 41 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-
# This workflow publishes the package to NPM.
2-
# You can run this workflow manually by navigating to https://www.github.com/ppl-ai/perplexity-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/perplexityai/perplexity-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: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
release_doctor:
1010
name: release doctor
1111
runs-on: ubuntu-latest
12-
if: github.repository == 'ppl-ai/perplexity-node' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
12+
if: github.repository == 'perplexityai/perplexity-node' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
1515
- uses: actions/checkout@v4
@@ -18,6 +18,5 @@ jobs:
1818
run: |
1919
bash ./bin/check-release-environment
2020
env:
21-
STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}
2221
NPM_TOKEN: ${{ secrets.PERPLEXITY_NPM_TOKEN || secrets.NPM_TOKEN }}
2322

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ dist
77
dist-deno
88
/*.tgz
99
.idea/
10+
.eslintcache
1011

.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.7.0"
2+
".": "0.7.1"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-aba0c21c569842e93e17b69cae9cee58d389fce9c2482f4d251fd8727db05679.yml
33
openapi_spec_hash: 3d01b1c1425f7d43a8acf8b99bb9b321
4-
config_hash: ea8508f4cd46515bb4bd5e85890bac2d
4+
config_hash: 43831e7f153f67b8f23f7091d14db066

CHANGELOG.md

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

3+
## 0.7.1 (2025-10-01)
4+
5+
Full Changelog: [v0.7.0...v0.7.1](https://github.com/perplexityai/perplexity-node/compare/v0.7.0...v0.7.1)
6+
7+
### Chores
8+
9+
* **internal:** fix incremental formatting in some cases ([34f38af](https://github.com/perplexityai/perplexity-node/commit/34f38af0de3c0597399de874717f495a999bd171))
10+
* **internal:** ignore .eslintcache ([b1b9340](https://github.com/perplexityai/perplexity-node/commit/b1b9340da0c92014e95fc3093cf348eb5304f5df))
11+
* update SDK settings ([96b6465](https://github.com/perplexityai/perplexity-node/commit/96b6465aafe76ecca7b025a1dc1d4aa8a830f002))
12+
313
## 0.7.0 (2025-09-26)
414

515
Full Changelog: [v0.6.0...v0.7.0](https://github.com/perplexityai/perplexity-node/compare/v0.6.0...v0.7.0)

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ 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]:ppl-ai/perplexity-node.git
45+
$ npm install git+ssh://[email protected]:perplexityai/perplexity-node.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/ppl-ai/perplexity-node
52+
$ git clone https://www.github.com/perplexityai/perplexity-node
5353
$ cd perplexity-node
5454

5555
# With yarn
@@ -99,7 +99,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
9999

100100
### Publish with a GitHub workflow
101101

102-
You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/ppl-ai/perplexity-node/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up.
102+
You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/perplexityai/perplexity-node/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up.
103103

104104
### Publish manually
105105

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
502502

503503
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
504504

505-
We are keen for your feedback; please open an [issue](https://www.github.com/ppl-ai/perplexity-node/issues) with questions, bugs, or suggestions.
505+
We are keen for your feedback; please open an [issue](https://www.github.com/perplexityai/perplexity-node/issues) with questions, bugs, or suggestions.
506506

507507
## Requirements
508508

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 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)