Skip to content

Commit cf80219

Browse files
Graden ReaGraden Rea
Graden Rea
authored and
Graden Rea
committed
Rename repo: groq-typescript
1 parent 9d363e0 commit cf80219

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

.github/workflows/publish-npm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow is triggered when a GitHub release is created.
22
# 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/groq/groq-node/actions/workflows/publish-npm.yml
3+
# You can run this workflow by navigating to https://www.github.com/groq/groq-typescript/actions/workflows/publish-npm.yml
44
name: Publish NPM
55
on:
66
workflow_dispatch:

.github/workflows/release-doctor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
release_doctor:
88
name: release doctor
99
runs-on: ubuntu-latest
10-
if: github.repository == 'groq/groq-node' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
10+
if: github.repository == 'groq/groq-typescript' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1111

1212
steps:
1313
- uses: actions/checkout@v3

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ If you’d like to use the repository from source, you can either install from g
4242
To install via git:
4343

4444
```bash
45-
npm install --save git+ssh://[email protected]:groq/groq-node.git
45+
npm install --save git+ssh://[email protected]:groq/groq-typescript.git
4646
```
4747

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

5050
```bash
5151
# Clone
52-
git clone https://www.github.com/groq/groq-node
53-
cd groq-node
52+
git clone https://www.github.com/groq/groq-typescript
53+
cd groq-typescript
5454

5555
# With yarn
5656
yarn link
@@ -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/groq/groq-node/actions/workflows/publish-npm.yml). This will require 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/groq/groq-typescript/actions/workflows/publish-npm.yml). This will require a setup organization or repository secret to be set up.
103103

104104
### Publish manually
105105

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ import Groq from 'groq-sdk';
201201
```
202202

203203
To do the inverse, add `import "groq-sdk/shims/node"` (which does import polyfills).
204-
This can also be useful if you are getting the wrong TypeScript types for `Response` - more details [here](https://github.com/groq/groq-node/tree/main/src/_shims#readme).
204+
This can also be useful if you are getting the wrong TypeScript types for `Response` - more details [here](https://github.com/groq/groq-typescript/tree/main/src/_shims#readme).
205205

206206
You may also provide a custom `fetch` function when instantiating the client,
207207
which can be used to inspect or alter the `Request` or `Response` before/after each request:
@@ -256,7 +256,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
256256

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

259-
We are keen for your feedback; please open an [issue](https://www.github.com/groq/groq-node/issues) with questions, bugs, or suggestions.
259+
We are keen for your feedback; please open an [issue](https://www.github.com/groq/groq-typescript/issues) with questions, bugs, or suggestions.
260260

261261
## Requirements
262262

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "groq-sdk",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "The official TypeScript library for the Groq API",
55
"author": "Groq <[email protected]>",
66
"types": "dist/index.d.ts",
77
"main": "dist/index.js",
88
"type": "commonjs",
9-
"repository": "github:groq/groq-node",
9+
"repository": "github:groq/groq-typescript",
1010
"license": "Apache-2.0",
1111
"packageManager": "[email protected]",
1212
"files": [

src/_shims/index-deno.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function getDefaultAgent(url: string) {
7979
}
8080
export function fileFromPath() {
8181
throw new Error(
82-
'The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/groq/groq-node#file-uploads',
82+
'The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/groq/groq-typescript#file-uploads',
8383
);
8484
}
8585

src/_shims/web-runtime.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export function getRuntime({ manuallyImported }: { manuallyImported?: boolean }
9595
getDefaultAgent: (url: string) => undefined,
9696
fileFromPath: () => {
9797
throw new Error(
98-
'The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/groq/groq-node#file-uploads',
98+
'The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/groq/groq-typescript#file-uploads',
9999
);
100100
},
101101
isFsReadStream: (value: any) => false,

src/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.2.0'; // x-release-please-version
1+
export const VERSION = '0.2.1'; // x-release-please-version

0 commit comments

Comments
 (0)