Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"features": {
"ghcr.io/devcontainers/features/node:1": {}
},
"postCreateCommand": "yarn install",
"postCreateCommand": "pnpm install",
"customizations": {
"vscode": {
"extensions": ["esbenp.prettier-vscode"]
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
with:
node-version: '20'

- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.27.0'

- name: Bootstrap
run: ./scripts/bootstrap

Expand All @@ -48,6 +53,11 @@ jobs:
with:
node-version: '20'

- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.27.0'

- name: Bootstrap
run: ./scripts/bootstrap

Expand Down Expand Up @@ -81,6 +91,11 @@ jobs:
with:
node-version: '20'

- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.27.0'

- name: Bootstrap
run: ./scripts/bootstrap

Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.2"
".": "0.3.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 97
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless-commons%2Fspotify-7ac9fe2ee73e38b2892f0393435f2d3a275d04b1d0728708382dd752da1d44de.yml
openapi_spec_hash: 6be3d4faa079ee82335208bec39c917a
config_hash: 2ed5d4942a0e5570feed64222653d3bd
config_hash: e9eed48b634d363c8fb0052e81544e1e
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.3.0 (2026-02-23)

Full Changelog: [v0.2.2...v0.3.0](https://github.com/stainless-commons/spotify-typescript/compare/v0.2.2...v0.3.0)

### Features

* **api:** manual updates ([0e051f4](https://github.com/stainless-commons/spotify-typescript/commit/0e051f4ec1d02c0ad7621592e704ce87beb32e79))

## 0.2.2 (2026-02-20)

Full Changelog: [v0.2.1...v0.2.2](https://github.com/stainless-commons/spotify-typescript/compare/v0.2.1...v0.2.2)
Expand Down
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Setting up the environment

This repository uses [`yarn@v1`](https://classic.yarnpkg.com/lang/en/docs/install).
This repository uses [`pnpm`](https://pnpm.io/).
Other package managers may work but are not officially supported for development.

To set up the repository, run:

```sh
$ yarn
$ yarn build
$ pnpm install
$ pnpm build
```

This will install all the required dependencies and build output files to `dist/`.
Expand All @@ -32,7 +32,7 @@ All files in the `examples/` directory are not modified by the generator and can
```sh
$ chmod +x examples/<your-example>.ts
# run the example against your api
$ yarn tsn -T examples/<your-example>.ts
$ pnpm tsn -T examples/<your-example>.ts
```

## Using the repository from source
Expand Down Expand Up @@ -66,7 +66,7 @@ $ pnpm link -—global @stainless-commons/spotify
## Running tests

```sh
$ yarn run test
$ pnpm run test
```

## Linting and formatting
Expand All @@ -77,11 +77,11 @@ This repository uses [prettier](https://www.npmjs.com/package/prettier) and
To lint:

```sh
$ yarn lint
$ pnpm lint
```

To format and fix all lint issues automatically:

```sh
$ yarn fix
$ pnpm fix
```
4 changes: 2 additions & 2 deletions bin/publish-npm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eux

npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"

yarn build
pnpm build
cd dist

# Get package name and version from package.json
Expand Down Expand Up @@ -58,4 +58,4 @@ else
fi

# Publish with the appropriate tag
yarn publish --tag "$TAG"
pnpm publish --no-git-checks --tag "$TAG"
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@stainless-commons/spotify",
"version": "0.2.2",
"version": "0.3.0",
"description": "The official TypeScript library for the Spotify API",
"author": "Spotify <commons@stainless.com>",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"type": "commonjs",
"repository": "github:stainless-commons/spotify-typescript",
"license": "Apache-2.0",
"packageManager": "yarn@1.22.22",
"packageManager": "pnpm@10.27.0",
"files": [
"**/*"
],
Expand All @@ -19,7 +19,7 @@
"scripts": {
"test": "./scripts/test",
"build": "./scripts/build",
"prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1",
"prepublishOnly": "echo 'to publish, run pnpm build && (cd dist; pnpm publish)' && exit 1",
"format": "./scripts/format",
"prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build && ./scripts/utils/git-swap.sh; fi",
"tsn": "ts-node -r tsconfig-paths/register",
Expand Down
Loading
Loading