Skip to content

Commit 05d40ba

Browse files
Merge pull request #9 from sfcompute/release-please--branches--main--changes--next--components--nodes-sdk-alpha
2 parents 55eaacd + 666191a commit 05d40ba

22 files changed

+57
-45
lines changed

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

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
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: e310f0f1f4275f17d4a3872005f33a90
4+
config_hash: eef7f1ef61a018bf17b996862a8c0e01

CHANGELOG.md

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

3+
## 0.1.0-alpha.3 (2025-07-22)
4+
5+
Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/sfcompute/nodes-typescript/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
6+
7+
### Features
8+
9+
* **api:** update via SDK Studio ([709751e](https://github.com/sfcompute/nodes-typescript/commit/709751e721c1061ec63f264e7f866a9062d4d912))
10+
311
## 0.1.0-alpha.2 (2025-07-22)
412

513
Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/sfcompute/nodes-typescript/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ $ cd nodes-typescript
5555
# With yarn
5656
$ yarn link
5757
$ cd ../my-package
58-
$ yarn link @sfc/nodes-sdk-alpha
58+
$ yarn link @sfcompute/nodes-sdk-alpha
5959

6060
# With pnpm
6161
$ pnpm link --global
6262
$ cd ../my-package
63-
$ pnpm link -—global @sfc/nodes-sdk-alpha
63+
$ pnpm link -—global @sfcompute/nodes-sdk-alpha
6464
```
6565

6666
## Running tests

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SFC Nodes TypeScript API Library
22

3-
[![NPM version](<https://img.shields.io/npm/v/@sfc/nodes-sdk-alpha.svg?label=npm%20(stable)>)](https://npmjs.org/package/@sfc/nodes-sdk-alpha) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@sfc/nodes-sdk-alpha)
3+
[![NPM version](<https://img.shields.io/npm/v/@sfcompute/nodes-sdk-alpha.svg?label=npm%20(stable)>)](https://npmjs.org/package/@sfcompute/nodes-sdk-alpha) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@sfcompute/nodes-sdk-alpha)
44

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

@@ -11,7 +11,7 @@ It is generated with [Stainless](https://www.stainless.com/).
1111
## Installation
1212

1313
```sh
14-
npm install @sfc/nodes-sdk-alpha
14+
npm install @sfcompute/nodes-sdk-alpha
1515
```
1616

1717
## Usage
@@ -20,7 +20,7 @@ The full API of this library can be found in [api.md](api.md).
2020

2121
<!-- prettier-ignore -->
2222
```js
23-
import SFCNodes from '@sfc/nodes-sdk-alpha';
23+
import SFCNodes from '@sfcompute/nodes-sdk-alpha';
2424

2525
const client = new SFCNodes({
2626
apiKey: process.env['SFC_API_KEY'], // This is the default and can be omitted
@@ -35,7 +35,7 @@ This library includes TypeScript definitions for all request params and response
3535

3636
<!-- prettier-ignore -->
3737
```ts
38-
import SFCNodes from '@sfc/nodes-sdk-alpha';
38+
import SFCNodes from '@sfcompute/nodes-sdk-alpha';
3939

4040
const client = new SFCNodes({
4141
apiKey: process.env['SFC_API_KEY'], // This is the default and can be omitted
@@ -157,7 +157,7 @@ The log level can be configured in two ways:
157157
2. Using the `logLevel` client option (overrides the environment variable if set)
158158

159159
```ts
160-
import SFCNodes from '@sfc/nodes-sdk-alpha';
160+
import SFCNodes from '@sfcompute/nodes-sdk-alpha';
161161

162162
const client = new SFCNodes({
163163
logLevel: 'debug', // Show all log messages
@@ -185,7 +185,7 @@ When providing a custom logger, the `logLevel` option still controls which messa
185185
below the configured level will not be sent to your logger.
186186

187187
```ts
188-
import SFCNodes from '@sfc/nodes-sdk-alpha';
188+
import SFCNodes from '@sfcompute/nodes-sdk-alpha';
189189
import pino from 'pino';
190190

191191
const logger = pino();
@@ -254,7 +254,7 @@ globalThis.fetch = fetch;
254254
Or pass it to the client:
255255

256256
```ts
257-
import SFCNodes from '@sfc/nodes-sdk-alpha';
257+
import SFCNodes from '@sfcompute/nodes-sdk-alpha';
258258
import fetch from 'my-fetch';
259259

260260
const client = new SFCNodes({ fetch });
@@ -265,7 +265,7 @@ const client = new SFCNodes({ fetch });
265265
If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
266266

267267
```ts
268-
import SFCNodes from '@sfc/nodes-sdk-alpha';
268+
import SFCNodes from '@sfcompute/nodes-sdk-alpha';
269269

270270
const client = new SFCNodes({
271271
fetchOptions: {
@@ -282,7 +282,7 @@ options to requests:
282282
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
283283

284284
```ts
285-
import SFCNodes from '@sfc/nodes-sdk-alpha';
285+
import SFCNodes from '@sfcompute/nodes-sdk-alpha';
286286
import * as undici from 'undici';
287287

288288
const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
@@ -296,7 +296,7 @@ const client = new SFCNodes({
296296
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
297297

298298
```ts
299-
import SFCNodes from '@sfc/nodes-sdk-alpha';
299+
import SFCNodes from '@sfcompute/nodes-sdk-alpha';
300300

301301
const client = new SFCNodes({
302302
fetchOptions: {
@@ -308,7 +308,7 @@ const client = new SFCNodes({
308308
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
309309

310310
```ts
311-
import SFCNodes from 'npm:@sfc/nodes-sdk-alpha';
311+
import SFCNodes from 'npm:@sfcompute/nodes-sdk-alpha';
312312

313313
const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
314314
const client = new SFCNodes({

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default tseslint.config(
2525
{
2626
patterns: [
2727
{
28-
regex: '^@sfc/nodes-sdk-alpha(/.*)?',
28+
regex: '^@sfcompute/nodes-sdk-alpha(/.*)?',
2929
message: 'Use a relative import, not a package import.',
3030
},
3131
],

jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const config: JestConfigWithTsJest = {
77
'^.+\\.(t|j)sx?$': ['@swc/jest', { sourceMaps: 'inline' }],
88
},
99
moduleNameMapper: {
10-
'^@sfc/nodes-sdk-alpha$': '<rootDir>/src/index.ts',
11-
'^@sfc/nodes-sdk-alpha/(.*)$': '<rootDir>/src/$1',
10+
'^@sfcompute/nodes-sdk-alpha$': '<rootDir>/src/index.ts',
11+
'^@sfcompute/nodes-sdk-alpha/(.*)$': '<rootDir>/src/$1',
1212
},
1313
modulePathIgnorePatterns: [
1414
'<rootDir>/ecosystem-tests/',

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@sfc/nodes-sdk-alpha",
3-
"version": "0.1.0-alpha.2",
2+
"name": "@sfcompute/nodes-sdk-alpha",
3+
"version": "0.1.0-alpha.3",
44
"description": "The official TypeScript library for the SFC Nodes API",
55
"author": "SFC Nodes <[email protected]>",
66
"types": "dist/index.d.ts",
@@ -47,8 +47,8 @@
4747
"typescript-eslint": "8.31.1"
4848
},
4949
"imports": {
50-
"@sfc/nodes-sdk-alpha": ".",
51-
"@sfc/nodes-sdk-alpha/*": "./src/*"
50+
"@sfcompute/nodes-sdk-alpha": ".",
51+
"@sfcompute/nodes-sdk-alpha/*": "./src/*"
5252
},
5353
"exports": {
5454
".": {

scripts/build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ node scripts/utils/check-version.cjs
88

99
# Build into dist and will publish the package from there,
1010
# so that src/resources/foo.ts becomes <package root>/resources/foo.js
11-
# This way importing from `"@sfc/nodes-sdk-alpha/resources/foo"` works
11+
# This way importing from `"@sfcompute/nodes-sdk-alpha/resources/foo"` works
1212
# even with `"moduleResolution": "node"`
1313

1414
rm -rf dist; mkdir dist
@@ -42,8 +42,8 @@ node scripts/utils/postprocess-files.cjs
4242

4343
# make sure that nothing crashes when we require the output CJS or
4444
# import the output ESM
45-
(cd dist && node -e 'require("@sfc/nodes-sdk-alpha")')
46-
(cd dist && node -e 'import("@sfc/nodes-sdk-alpha")' --input-type=module)
45+
(cd dist && node -e 'require("@sfcompute/nodes-sdk-alpha")')
46+
(cd dist && node -e 'import("@sfcompute/nodes-sdk-alpha")' --input-type=module)
4747

4848
if [ -e ./scripts/build-deno ]
4949
then

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.1.0-alpha.2'; // x-release-please-version
1+
export const VERSION = '0.1.0-alpha.3'; // x-release-please-version

0 commit comments

Comments
 (0)