Skip to content

Commit 0e1ccfb

Browse files
Merge pull request #5 from sfcompute/release-please--branches--main--changes--next--components--sfc-nodes
2 parents 4c4c022 + 041b6a4 commit 0e1ccfb

File tree

19 files changed

+198
-194
lines changed

19 files changed

+198
-194
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+
- main
6+
workflow_dispatch:
7+
8+
jobs:
9+
release_doctor:
10+
name: release doctor
11+
runs-on: ubuntu-latest
12+
if: github.repository == 'sfcompute/nodes-typescript' && (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.1.0-alpha.1"
3+
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 10
1+
configured_endpoints: 8
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/the-san-francisco-compute-company%2Fsfc-nodes-b800806859333bacc88fa4236eae35c8cdbec62970b7fb9ad440a330f24a1622.yml
33
openapi_spec_hash: fa672b6ca8953a8059961a7559a607a9
4-
config_hash: ba0ad07ed829c1e78fe717ee17542d69
4+
config_hash: e089259785c0c81187a2b25ae04b8459

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Changelog
2+
3+
## 0.1.0-alpha.1 (2025-07-17)
4+
5+
Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/sfcompute/nodes-typescript/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)
6+
7+
### Features
8+
9+
* **api:** update via SDK Studio ([f6fbb21](https://github.com/sfcompute/nodes-typescript/commit/f6fbb21ada6d6b605cdfd650ed5691332852bcc6))
10+
* **api:** update via SDK Studio ([37f8f8a](https://github.com/sfcompute/nodes-typescript/commit/37f8f8a31cac296661e763426063b9c551e75fb0))
11+
* **api:** update via SDK Studio ([23e635b](https://github.com/sfcompute/nodes-typescript/commit/23e635bc0930f62db5f3acfcb8216576e0258d21))
12+
* **api:** update via SDK Studio ([5584f02](https://github.com/sfcompute/nodes-typescript/commit/5584f024bdfd4c27b967db665eddbadb3e2acd8b))
13+
14+
15+
### Chores
16+
17+
* **ts:** reorder package.json imports ([f66c637](https://github.com/sfcompute/nodes-typescript/commit/f66c63722ad817b550485d2edcd3d7ba0734d7c7))
18+
* update SDK settings ([3cc7184](https://github.com/sfcompute/nodes-typescript/commit/3cc71841d6328ad119132b2b7a448076393b9660))

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/sfc-nodes-typescript.git
45+
$ npm install git+ssh://[email protected]:sfcompute/nodes-typescript.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/sfc-nodes-typescript
53-
$ cd sfc-nodes-typescript
52+
$ git clone https://www.github.com/sfcompute/nodes-typescript
53+
$ cd nodes-typescript
5454

5555
# With yarn
5656
$ yarn link

README.md

Lines changed: 4 additions & 4 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/sfc-nodes-typescript.git
14+
npm install git+ssh://[email protected]:sfcompute/nodes-typescript.git
1515
```
1616

1717
> [!NOTE]
@@ -26,7 +26,7 @@ The full API of this library can be found in [api.md](api.md).
2626
import SFCNodes from 'sfc-nodes';
2727

2828
const client = new SFCNodes({
29-
bearerToken: process.env['SFC_BEARER_TOKEN'], // This is the default and can be omitted
29+
apiKey: process.env['SFC_API_KEY'], // This is the default and can be omitted
3030
});
3131

3232
const nodes = await client.nodes.list();
@@ -41,7 +41,7 @@ This library includes TypeScript definitions for all request params and response
4141
import SFCNodes from 'sfc-nodes';
4242

4343
const client = new SFCNodes({
44-
bearerToken: process.env['SFC_BEARER_TOKEN'], // This is the default and can be omitted
44+
apiKey: process.env['SFC_API_KEY'], // This is the default and can be omitted
4545
});
4646

4747
const nodes: SFCNodes.NodeListResponse = await client.nodes.list();
@@ -333,7 +333,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
333333

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

336-
We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/sfc-nodes-typescript/issues) with questions, bugs, or suggestions.
336+
We are keen for your feedback; please open an [issue](https://www.github.com/sfcompute/nodes-typescript/issues) with questions, bugs, or suggestions.
337337

338338
## Requirements
339339

api.md

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

33
Types:
44

5-
- <code><a href="./src/resources/vms/vms.ts">VmListResponse</a></code>
65
- <code><a href="./src/resources/vms/vms.ts">VmLogsResponse</a></code>
7-
- <code><a href="./src/resources/vms/vms.ts">VmReplaceResponse</a></code>
86
- <code><a href="./src/resources/vms/vms.ts">VmSSHResponse</a></code>
97

108
Methods:
119

12-
- <code title="get /v0/vms/instances">client.vms.<a href="./src/resources/vms/vms.ts">list</a>() -> VmListResponse</code>
1310
- <code title="get /v0/vms/logs2">client.vms.<a href="./src/resources/vms/vms.ts">logs</a>({ ...params }) -> VmLogsResponse</code>
14-
- <code title="post /v0/vms/replace">client.vms.<a href="./src/resources/vms/vms.ts">replace</a>({ ...params }) -> VmReplaceResponse</code>
1511
- <code title="get /v0/vms/ssh">client.vms.<a href="./src/resources/vms/vms.ts">ssh</a>({ ...params }) -> VmSSHResponse</code>
1612

1713
## Script

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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "sfc-nodes",
3-
"version": "0.0.1-alpha.0",
3+
"version": "0.1.0-alpha.1",
44
"description": "The official TypeScript library for the SFC Nodes API",
55
"author": "SFC Nodes <[email protected]>",
66
"types": "dist/index.d.ts",
77
"main": "dist/index.js",
88
"type": "commonjs",
9-
"repository": "github:stainless-sdks/sfc-nodes-typescript",
9+
"repository": "github:sfcompute/nodes-typescript",
1010
"license": "Apache-2.0",
1111
"packageManager": "[email protected]",
1212
"files": [
@@ -30,7 +30,6 @@
3030
"@swc/jest": "^0.2.29",
3131
"@types/jest": "^29.4.0",
3232
"@types/node": "^20.17.6",
33-
"typescript-eslint": "8.31.1",
3433
"@typescript-eslint/eslint-plugin": "8.31.1",
3534
"@typescript-eslint/parser": "8.31.1",
3635
"eslint": "^9.20.1",
@@ -44,7 +43,8 @@
4443
"ts-node": "^10.5.0",
4544
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.8/tsc-multi.tgz",
4645
"tsconfig-paths": "^4.0.0",
47-
"typescript": "5.8.3"
46+
"typescript": "5.8.3",
47+
"typescript-eslint": "8.31.1"
4848
},
4949
"imports": {
5050
"sfc-nodes": ".",

release-please-config.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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": ["src/version.ts", "README.md"]
64+
}

0 commit comments

Comments
 (0)