Skip to content

feat(platform): add server entrypoint with createPlatformServer - #316

Merged
ozsay merged 2 commits into
mainfrom
feat/platform-server-entrypoint
Oct 15, 2026
Merged

ozsay merged 2 commits into
mainfrom
feat/platform-server-entrypoint

Conversation

@ozsay

@ozsay ozsay commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Move the client into src/client/ (first commit, pure move, no code changes). Updates the paths that referenced the old layout: package entry points (dist/client/index.*), typedoc, type-test paths, the AsyncAPI event generator's output path, the sync-asyncapi workflow, and test imports.
  • Add @base44/platform/server: createPlatformServer({ serverUrl, apiKey }) returns a frozen PlatformServer. No modules yet. ./server export plus typesVersions for classic node resolution; typedoc covers both entrypoints. The Mintlify reference (typedoc.mintlify.json) stays client-only for now.
  • Tests: unit tests for the server factory; package test checks the tarball, runtime import and declarations under NodeNext/Bundler/Node resolution.

Rebuilt on top of #313.

Test plan

  • npm test -w @base44/platform (types, unit, typedoc, packed-package checks)
  • npm run check:events -w @base44/platform and npm run create-docs:generate -w @base44/platform
  • npx eslint packages/platform

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

🚀 Package Preview Available!


Install this PR's preview build with npm:

npm i @base44-preview/sdk@0.8.54-pr.316.81dc6f9

Prefer not to change any import paths? Install using npm alias so your code still imports @base44/sdk:

npm i "@base44/sdk@npm:@base44-preview/sdk@0.8.54-pr.316.81dc6f9"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "@base44/sdk": "npm:@base44-preview/sdk@0.8.54-pr.316.81dc6f9"
  }
}

Preview published to npm registry — try new features instantly!

@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

🚀 Package Preview Available! (@base44/platform)


Install this PR's preview build with npm:

npm i @base44-preview/platform@0.2.0-pr.316.81dc6f9

Prefer not to change any import paths? Install using npm alias so your code still imports @base44/platform:

npm i "@base44/platform@npm:@base44-preview/platform@0.2.0-pr.316.81dc6f9"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "@base44/platform": "npm:@base44-preview/platform@0.2.0-pr.316.81dc6f9"
  }
}

Preview published to npm registry — try new features instantly!

@ozsay ozsay changed the title feat(platform): add server entrypoint with Base44PlatformServer feat(platform): add server entrypoint with createBase44PlatformServer Oct 12, 2026
@ozsay
ozsay force-pushed the feat/platform-server-entrypoint branch from 91e6193 to 5c970a9 Compare October 12, 2026 12:08
@ozsay
ozsay added this pull request to stack #321 October 12, 2026 12:08
@ozsay
ozsay force-pushed the feat/platform-server-entrypoint branch 2 times, most recently from dfe347e to cf34121 Compare October 14, 2026 07:59
@ozsay ozsay changed the title feat(platform): add server entrypoint with createBase44PlatformServer feat(platform): add server entrypoint with createPlatformServer Oct 14, 2026
ozsay and others added 2 commits October 15, 2026 10:32
Pure move, no code changes, to make room for a server entrypoint next to
it. Updates the paths that reference the old layout: package entry
points, typedoc, type-test paths, the event generator's output, the
sync-asyncapi workflow and the test imports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@base44/platform/server exposes createPlatformServer({ serverUrl,
apiKey }), returning a frozen PlatformServer. No modules yet.
Adds the ./server export (plus typesVersions for classic node
resolution) and documents it with typedoc. The Mintlify reference stays
client-only for now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ozsay
ozsay force-pushed the feat/platform-server-entrypoint branch from cf34121 to 07cbb87 Compare October 15, 2026 07:33
@ozsay
ozsay merged commit 17702be into main Oct 15, 2026
7 checks passed
amitbardos added a commit that referenced this pull request Oct 15, 2026
#316 added @base44/platform/server with createPlatformServer and moved
the client build to dist/client/. Both ship in 0.2.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
amitbardos added a commit that referenced this pull request Oct 15, 2026
…w bumps it (#332)

* chore(platform): set the version back to 0.1.0 so the publish workflow bumps it

manual-publish.yml runs npm version itself and commits the bump, so it
needs package.json at the published 0.1.0; run it with version: minor to
publish 0.2.0. CHANGELOG.md keeps its 0.2.0 section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(platform): changelog for the server entrypoint in 0.2.0

#316 added @base44/platform/server with createPlatformServer and moved
the client build to dist/client/. Both ship in 0.2.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants