Skip to content

Commit 27eefcb

Browse files
chore: update SDK settings
1 parent caa6e39 commit 27eefcb

File tree

11 files changed

+127
-17
lines changed

11 files changed

+127
-17
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release Doctor
2+
on:
3+
pull_request:
4+
branches:
5+
- stainless
6+
workflow_dispatch:
7+
8+
jobs:
9+
release_doctor:
10+
name: release doctor
11+
runs-on: ubuntu-latest
12+
if: github.repository == 'imagekit-developer/imagekit-nodejs' && (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:

.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.0.1-alpha.0"
3+
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 42
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-81851750ac0e826623eae52a2361a85e97d1dc39cfcd47adea4b392440c897f1.yml
33
openapi_spec_hash: b36ee8d65b9b270168076c8d36420dc1
4-
config_hash: 1dd1a96eff228aa2567b9973c36f5593
4+
config_hash: 93458331374b86a886e325d435070b07

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
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
```sh
45-
$ npm install git+ssh://[email protected]:stainless-sdks/imagekit-typescript.git
45+
$ npm install git+ssh://[email protected]:imagekit-developer/imagekit-nodejs.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/imagekit-typescript
53-
$ cd imagekit-typescript
52+
$ git clone https://www.github.com/imagekit-developer/imagekit-nodejs
53+
$ cd imagekit-nodejs
5454

5555
# With yarn
5656
$ yarn link

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ It is generated with [Stainless](https://www.stainless.com/).
1111
## Installation
1212

1313
```sh
14-
npm install git+ssh://[email protected]:stainless-sdks/imagekit-typescript.git
14+
npm install git+ssh://[email protected]:imagekit-developer/imagekit-nodejs.git
1515
```
1616

1717
> [!NOTE]
@@ -379,7 +379,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
379379

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

382-
We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/imagekit-typescript/issues) with questions, bugs, or suggestions.
382+
We are keen for your feedback; please open an [issue](https://www.github.com/imagekit-developer/imagekit-nodejs/issues) with questions, bugs, or suggestions.
383383

384384
## Requirements
385385

bin/check-release-environment

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
3+
errors=()
4+
5+
lenErrors=${#errors[@]}
6+
7+
if [[ lenErrors -gt 0 ]]; then
8+
echo -e "Found the following errors in the release environment:\n"
9+
10+
for error in "${errors[@]}"; do
11+
echo -e "- $error\n"
12+
done
13+
14+
exit 1
15+
fi
16+
17+
echo "The environment is ready to push releases!"
18+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "dist/index.d.ts",
77
"main": "dist/index.js",
88
"type": "commonjs",
9-
"repository": "github:stainless-sdks/imagekit-typescript",
9+
"repository": "github:imagekit-developer/imagekit-nodejs",
1010
"license": "Apache-2.0",
1111
"packageManager": "[email protected]",
1212
"files": [

packages/mcp-server/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ It is generated with [Stainless](https://www.stainless.com/).
99
Because it's not published yet, clone the repo and build it:
1010

1111
```sh
12-
git clone [email protected]:stainless-sdks/imagekit-typescript.git
13-
cd imagekit-typescript
12+
git clone [email protected]:imagekit-developer/imagekit-nodejs.git
13+
cd imagekit-nodejs
1414
./scripts/bootstrap
1515
./scripts/build
1616
```
@@ -41,11 +41,7 @@ For clients with a configuration JSON, it might look something like this:
4141
"mcpServers": {
4242
"imagekit_nodejs_api": {
4343
"command": "node",
44-
"args": [
45-
"/path/to/local/imagekit-typescript/packages/mcp-server",
46-
"--client=claude",
47-
"--tools=dynamic"
48-
],
44+
"args": ["/path/to/local/imagekit-nodejs/packages/mcp-server", "--client=claude", "--tools=dynamic"],
4945
"env": {
5046
"IMAGEKIT_PRIVATE_API_KEY": "My Private API Key",
5147
"ORG_MY_PASSWORD_TOKEN": "My Password"

packages/mcp-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"type": "commonjs",
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/stainless-sdks/imagekit-typescript.git",
11+
"url": "git+https://github.com/imagekit-developer/imagekit-nodejs.git",
1212
"directory": "packages/mcp-server"
1313
},
14-
"homepage": "https://github.com/stainless-sdks/imagekit-typescript/tree/main/packages/mcp-server#readme",
14+
"homepage": "https://github.com/imagekit-developer/imagekit-nodejs/tree/main/packages/mcp-server#readme",
1515
"license": "Apache-2.0",
1616
"packageManager": "[email protected]",
1717
"private": false,

release-please-config.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"packages": {
3+
".": {}
4+
},
5+
"$schema": "https://raw.githubusercontent.com/stainless-api/release-please/main/schemas/config.json",
6+
"include-v-in-tag": true,
7+
"include-component-in-tag": false,
8+
"versioning": "prerelease",
9+
"prerelease": true,
10+
"bump-minor-pre-major": true,
11+
"bump-patch-for-minor-pre-major": false,
12+
"pull-request-header": "Automated Release PR",
13+
"pull-request-title-pattern": "release: ${version}",
14+
"changelog-sections": [
15+
{
16+
"type": "feat",
17+
"section": "Features"
18+
},
19+
{
20+
"type": "fix",
21+
"section": "Bug Fixes"
22+
},
23+
{
24+
"type": "perf",
25+
"section": "Performance Improvements"
26+
},
27+
{
28+
"type": "revert",
29+
"section": "Reverts"
30+
},
31+
{
32+
"type": "chore",
33+
"section": "Chores"
34+
},
35+
{
36+
"type": "docs",
37+
"section": "Documentation"
38+
},
39+
{
40+
"type": "style",
41+
"section": "Styles"
42+
},
43+
{
44+
"type": "refactor",
45+
"section": "Refactors"
46+
},
47+
{
48+
"type": "test",
49+
"section": "Tests",
50+
"hidden": true
51+
},
52+
{
53+
"type": "build",
54+
"section": "Build System"
55+
},
56+
{
57+
"type": "ci",
58+
"section": "Continuous Integration",
59+
"hidden": true
60+
}
61+
],
62+
"release-type": "node",
63+
"extra-files": [
64+
"src/version.ts",
65+
"README.md",
66+
"packages/mcp-server/yarn.lock",
67+
{
68+
"type": "json",
69+
"path": "packages/mcp-server/package.json",
70+
"jsonpath": "$.version"
71+
}
72+
]
73+
}

0 commit comments

Comments
 (0)