@bzenky/spoti 0.10.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -65,7 +65,7 @@ The redirect URI must use HTTPS except for local development, where an explicit
65
65
 
66
66
  ## Installation
67
67
 
68
- Once published to npm:
68
+ Install the latest published release from npm:
69
69
 
70
70
  ```bash
71
71
  npm install --global @bzenky/spoti
@@ -429,17 +429,19 @@ npm run build
429
429
 
430
430
  ## Releases
431
431
 
432
- GitHub Releases are created automatically when a version tag is pushed. The tag must match the version in `package.json`:
432
+ GitHub Releases are created automatically when a version tag is pushed. Maintainers release in this order so npm publication and the GitHub Release cannot drift:
433
433
 
434
- ```bash
435
- npm version patch
436
- npm run verify
437
- git push origin main
438
- git push origin v0.1.1
434
+ ```text
435
+ 1. Update package.json, package-lock.json, and CHANGELOG.md.
436
+ 2. Run npm run verify and npm run smoke:package.
437
+ 3. Commit, push main, and wait for cross-platform CI.
438
+ 4. Run npm publish --access public and verify the registry version.
439
+ 5. Create and push the matching vX.Y.Z tag.
440
+ 6. Verify the GitHub Release workflow and attached checksums.
439
441
  ```
440
442
 
441
- The release workflow attaches the npm package tarball and a `SHA256SUMS` file, and generates release notes from the Git history. Publishing to npm remains a separate explicit step.
443
+ The tag must exactly match the package version. Never push a release tag before npm publication succeeds. The release workflow independently verifies the project, installs the packed artifact, attaches the npm tarball and a `SHA256SUMS` file, and generates release notes from Git history.
442
444
 
443
445
  ## Current scope
444
446
 
445
- Version `0.9.0` includes the complete command-driven CLI and Ink TUI, Spotify Connect controls, paginated search and library browsing, secure PKCE authentication, quota-aware request handling, LRCLIB lyrics, update checks, cross-platform CI, and the companion website. Version `0.10.0` adds playlist insertion for the current track, a configurable default playback device, `spoti open`, and compact `spoti now --short` output as the final feature-focused release before `v1.0.0` stabilization.
447
+ Version `1.0.0` establishes the command-driven CLI, Ink TUI, configuration model, and documented command aliases as stable. The release includes Spotify Connect controls, paginated search and library browsing, playlist insertion, secure PKCE authentication, quota-aware request handling, LRCLIB lyrics, update checks, shell completions, a configurable default device, compact status output, cross-platform source and packaged-install CI, and the companion website.
@@ -1,2 +1,2 @@
1
1
  export declare const LEGACY_SPOTIFY_SCOPES: readonly ["user-read-playback-state", "user-modify-playback-state"];
2
- export declare const SPOTIFY_SCOPES: readonly ["user-read-playback-state", "user-modify-playback-state", "user-read-currently-playing", "playlist-read-private", "playlist-modify-public", "playlist-modify-private", "user-library-read", "user-library-modify", "user-read-recently-played"];
2
+ export declare const SPOTIFY_SCOPES: readonly ["user-read-playback-state", "user-modify-playback-state", "playlist-read-private", "playlist-modify-public", "playlist-modify-private", "user-library-read", "user-library-modify", "user-read-recently-played"];
@@ -4,7 +4,6 @@ export const LEGACY_SPOTIFY_SCOPES = [
4
4
  ];
5
5
  export const SPOTIFY_SCOPES = [
6
6
  ...LEGACY_SPOTIFY_SCOPES,
7
- 'user-read-currently-playing',
8
7
  'playlist-read-private',
9
8
  'playlist-modify-public',
10
9
  'playlist-modify-private',
@@ -1 +1 @@
1
- {"version":3,"file":"scopes.js","sourceRoot":"","sources":["../../src/spotify/scopes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,0BAA0B;IAC1B,4BAA4B;CACpB,CAAC;AAEX,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,GAAG,qBAAqB;IACxB,6BAA6B;IAC7B,uBAAuB;IACvB,wBAAwB;IACxB,yBAAyB;IACzB,mBAAmB;IACnB,qBAAqB;IACrB,2BAA2B;CACnB,CAAC"}
1
+ {"version":3,"file":"scopes.js","sourceRoot":"","sources":["../../src/spotify/scopes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,0BAA0B;IAC1B,4BAA4B;CACpB,CAAC;AAEX,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,GAAG,qBAAqB;IACxB,uBAAuB;IACvB,wBAAwB;IACxB,yBAAyB;IACzB,mBAAmB;IACnB,qBAAqB;IACrB,2BAA2B;CACnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bzenky/spoti",
3
- "version": "0.10.1",
3
+ "version": "1.0.0",
4
4
  "description": "A local-first command-line client for controlling Spotify",
5
5
  "type": "module",
6
6
  "bin": {
@@ -34,6 +34,7 @@
34
34
  "test:watch": "vitest",
35
35
  "check": "npm run typecheck && npm run lint && npm test",
36
36
  "verify": "npm run check && npm run build",
37
+ "smoke:package": "node scripts/smoke-package.mjs",
37
38
  "prepack": "npm run build",
38
39
  "prepublishOnly": "npm run check"
39
40
  },