diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index c9bcd88..f4f9205 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -1,6 +1,6 @@ # This workflow is triggered when a GitHub release is created. # It can also be run manually to re-publish to NPM in case it failed for some reason. -# You can run this workflow by navigating to https://www.github.com/OneBusAway/js-sdk/actions/workflows/publish-npm.yml +# You can run this workflow by navigating to https://www.github.com/onebusaway/js-sdk/actions/workflows/publish-npm.yml name: Publish NPM on: workflow_dispatch: diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index b510948..7756ccf 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -7,7 +7,7 @@ jobs: release_doctor: name: release doctor runs-on: ubuntu-latest - if: github.repository == 'OneBusAway/js-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + if: github.repository == 'onebusaway/js-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') steps: - uses: actions/checkout@v4 diff --git a/.stats.yml b/.stats.yml index ac0f22f..ea88278 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 6 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-e2d8fe6ddeac1c6c1069b561d47fb0a2a5c821fe2840c734238e050d73fe211b.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Foba-e2d8fe6ddeac1c6c1069b561d47fb0a2a5c821fe2840c734238e050d73fe211b.yml diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7b1a67c..6f3dedf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,14 +42,14 @@ If you’d like to use the repository from source, you can either install from g To install via git: ```bash -npm install git+ssh://git@github.com:OneBusAway/js-sdk.git +npm install git+ssh://git@github.com:onebusaway/js-sdk.git ``` Alternatively, to link a local copy of the repo: ```bash # Clone -git clone https://www.github.com/OneBusAway/js-sdk +git clone https://www.github.com/onebusaway/js-sdk cd js-sdk # With yarn @@ -99,7 +99,7 @@ the changes aren't made through the automated pipeline, you may want to make rel ### Publish with a GitHub workflow -You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/OneBusAway/js-sdk/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up. +You can release to package managers by using [the `Publish NPM` GitHub action](https://www.github.com/onebusaway/js-sdk/actions/workflows/publish-npm.yml). This requires a setup organization or repository secret to be set up. ### Publish manually diff --git a/README.md b/README.md index 5056a9d..e35a0b8 100644 --- a/README.md +++ b/README.md @@ -216,7 +216,7 @@ import OnebusawaySDK from 'onebusaway-sdk'; ``` To do the inverse, add `import "onebusaway-sdk/shims/node"` (which does import polyfills). -This can also be useful if you are getting the wrong TypeScript types for `Response` ([more details](https://github.com/OneBusAway/js-sdk/tree/main/src/_shims#readme)). +This can also be useful if you are getting the wrong TypeScript types for `Response` ([more details](https://github.com/onebusaway/js-sdk/tree/main/src/_shims#readme)). ### Logging and middleware @@ -272,7 +272,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience. -We are keen for your feedback; please open an [issue](https://www.github.com/OneBusAway/js-sdk/issues) with questions, bugs, or suggestions. +We are keen for your feedback; please open an [issue](https://www.github.com/onebusaway/js-sdk/issues) with questions, bugs, or suggestions. ## Requirements diff --git a/package.json b/package.json index f5e6092..a6be568 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "types": "dist/index.d.ts", "main": "dist/index.js", "type": "commonjs", - "repository": "github:OneBusAway/js-sdk", + "repository": "github:onebusaway/js-sdk", "license": "Apache-2.0", "packageManager": "yarn@1.22.22", "files": [ diff --git a/src/_shims/index-deno.ts b/src/_shims/index-deno.ts index 026858d..1df3ffd 100644 --- a/src/_shims/index-deno.ts +++ b/src/_shims/index-deno.ts @@ -79,7 +79,7 @@ export function getDefaultAgent(url: string) { } export function fileFromPath() { throw new Error( - 'The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/OneBusAway/js-sdk#file-uploads', + 'The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/onebusaway/js-sdk#file-uploads', ); } diff --git a/src/_shims/web-runtime.ts b/src/_shims/web-runtime.ts index e710e66..8232e6c 100644 --- a/src/_shims/web-runtime.ts +++ b/src/_shims/web-runtime.ts @@ -95,7 +95,7 @@ export function getRuntime({ manuallyImported }: { manuallyImported?: boolean } getDefaultAgent: (url: string) => undefined, fileFromPath: () => { throw new Error( - 'The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/OneBusAway/js-sdk#file-uploads', + 'The `fileFromPath` function is only supported in Node. See the README for more details: https://www.github.com/onebusaway/js-sdk#file-uploads', ); }, isFsReadStream: (value: any) => false,