Skip to content

v1.0.28 — A project names its site

Choose a tag to compare

@github-actions github-actions released this 22 Nov 16:25
· 6 commits to main since this release

A project can now say which site its frontend publishes to, and a project can hold one app per site. Every build also records where it came from, so tools can tell your code from an upload in the dashboard.

npm install @xano/sdk@1.0.28

A project names its site in package.json

"xanosdk": { "@xano/sdk": { "staticHost": "<site>" } } is the default site for publish and deploy --static. A typed --static-host still wins, with a note when it differs. xanosdk site use <name> writes the line; xanosdk site list shows the workspace's sites, their addresses and the build each one serves.

One app per site with frontend//

A frontend/ folder with no app of its own and a subfolder per site publishes each app to the site with its name; --site <name> publishes one. A site that doesn't exist yet is created on first publish. Flat frontend/ projects work exactly as before. xanosdk frontend list shows the layout; xanosdk frontend split moves a flat app into frontend/<site>/, building it first and putting everything back if the build fails.

Every build says where it came from

Static builds carry the description Published from <the CLI | XANO_PUBLISHED_FROM> · commit <sha>, marking uncommitted changes.