Skip to content

chore(functions-compiler): publish the package publicly - #627

Merged
yurynix merged 1 commit into
mainfrom
chore/functions-compiler-public-access
Sep 16, 2026
Merged

yurynix merged 1 commit into
mainfrom
chore/functions-compiler-public-access

Conversation

@yurynix

@yurynix yurynix commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Note

Description

Flips @base44/functions-compiler from restricted to public npm publish access so apper's bundler service can install it directly from the registry. Publishing publicly does not make it a supported public API — the CLI still bundles it at build time, so end users never install it, and the package carries no compatibility promise outside this repo. The README's "Status and scope" section is reworded to say exactly that, so the change in visibility is not mistaken for a stability guarantee.

Related Issue

None

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Other (please describe): packaging/release configuration change (publishConfig.access)

Changes Made

  • packages/functions-compiler/package.json: publishConfig.access changed from "restricted" to "public"
  • packages/functions-compiler/README.md: rewrote the "Status and scope" paragraph — documents that the package is published public for apper's bundler service, while stating it is not a supported public API, that the CLI bundles it at build time so end users never install it, and that it carries no compatibility promise outside this repo

Testing

  • I have tested these changes locally
  • I have added/updated tests as needed
  • All tests pass (npm test)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have updated docs/ (AGENTS.md) if I made architectural changes

Additional Notes

No source, build, or runtime behavior changes — publishConfig.access only affects registry visibility at publish time, and the CLI's bundling of the compiler is unaffected. Nothing else in the repo referenced the previous restricted setting. The Testing boxes are left unchecked because this diff touches only packaging metadata and prose: there is nothing executable to exercise, and no test run was performed as part of it.


🤖 Generated by Claude | 2026-09-16 16:04 UTC | 092ff93

npm charges for private packages, and the @base44 org is not on a plan that
allows them, so `npm publish` returns 402 Payment Required while
publishConfig.access is "restricted".

Nothing in the tarball needs to be private: this repo is public and MIT
licensed, @base44/sdk already publishes publicly under the same scope, and as
the README already notes the package carries no credentials and ships the same
code that is already compiled into every deployed user worker.

The README keeps the "internal" framing — public on npm is how apper's bundler
service installs it, not an invitation to depend on it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Package Preview Available!


Install this PR's preview build with npm:

npm i @base44-preview/cli@0.1.15-pr.627.092ff93

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

npm i "base44@npm:@base44-preview/cli@0.1.15-pr.627.092ff93"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "base44": "npm:@base44-preview/cli@0.1.15-pr.627.092ff93"
  }
}

Preview published to npm registry — try new features instantly!

@yurynix
yurynix enabled auto-merge (squash) September 16, 2026 16:04
@yurynix
yurynix merged commit 5949236 into main Sep 16, 2026
15 checks passed
@yurynix
yurynix deleted the chore/functions-compiler-public-access branch September 16, 2026 16:18
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