Skip to content

Comments

feat: bump substack-api to 2.2.1 and migrate from npm to pnpm#164

Merged
jakub-k-slys merged 3 commits intomainfrom
feat/move-to-substack-api-2x
Jan 7, 2026
Merged

feat: bump substack-api to 2.2.1 and migrate from npm to pnpm#164
jakub-k-slys merged 3 commits intomainfrom
feat/move-to-substack-api-2x

Conversation

@jakub-k-slys
Copy link
Owner

No description provided.

jakub-k-slys and others added 2 commits January 6, 2026 19:23
Updated to substack-api 2.2.1 which includes bundling fixes and API improvements.

Breaking changes fixed:
- Updated SubstackClient config: hostname→publicationUrl, apiKey→token
- Updated OwnProfile method: followees()→following()
- Fixed test mocks to work with new Rollup-bundled module structure

All tests passing (93/93) and build successful.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Migrated package manager from npm to pnpm for better dependency management
and faster installs.

Changes:
- Replaced package-lock.json with pnpm-lock.yaml
- Updated package.json scripts to use pnpm commands (npm→pnpm, npx→pnpm dlx)
- Fixed NodeConnectionType usage for n8n-workflow v1.120.3 compatibility
  (removed enum import, using string literals 'main' instead)
- Removed unnecessary @jest/globals import from testSetup.ts

All tests passing (93/93) and build successful with pnpm.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jakub-k-slys jakub-k-slys force-pushed the feat/move-to-substack-api-2x branch from 59cf1a6 to a6341fa Compare January 7, 2026 17:08
@jakub-k-slys jakub-k-slys requested a review from Gabri3l as a code owner January 7, 2026 17:08
@jakub-k-slys jakub-k-slys force-pushed the feat/move-to-substack-api-2x branch from a6341fa to ffa9f47 Compare January 7, 2026 17:09
Update CI/CD workflows to use pnpm instead of npm for package management.
- Add pnpm/action-setup@v4 action
- Enable pnpm caching in actions/setup-node
- Replace npm commands with pnpm equivalents

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jakub-k-slys jakub-k-slys force-pushed the feat/move-to-substack-api-2x branch from ffa9f47 to 78fd05b Compare January 7, 2026 17:12
@jakub-k-slys jakub-k-slys merged commit b081470 into main Jan 7, 2026
11 checks passed
@jakub-k-slys jakub-k-slys deleted the feat/move-to-substack-api-2x branch January 7, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant