Docs › Grow
Packages & releases
The three @aces-core packages, how projects pin them, and how a release ships.
The framework’s engine ships as three npm packages. Every project depends on them by version, so upgrading the engine doesn’t touch your components.
| Package | What it holds |
|---|---|
@aces-core/core |
defineAcesConfig and the config schema, the locale proxy, the metadata builder, utils, registry code generation, skin operations (@aces-core/core/skin) |
@aces-core/contentful |
The fetch-based GraphQL client and gql, Draft Mode handlers (createDraftHandler, createDisableDraftHandler), Live Preview helpers (useRefetchOnSave) |
@aces-core/cli |
The aces command |
create-aces-app |
The scaffolder and the marketing-website template |
Entry points:
import { defineAcesConfig } from "@aces-core/core/config";
import { createDraftHandler } from "@aces-core/contentful/draft";
Upgrading a project
pnpm up "@aces-core/*"
pnpm aces sync && pnpm typecheck && pnpm build
pnpm aces doctor
New projects depend on ^<version> of each @aces-core/* package, and all three packages share one version number. Read the changelog in the repo before upgrading across a major version.
Releasing the framework
Work happens in the stark-labs-rnd/aces monorepo:
pnpm install
pnpm build # packages, CLI and template
pnpm typecheck && pnpm lint
# Scaffold against local, unpublished packages:
node apps/create-aces-app/dist/index.js /tmp/test-site --local . --skip-setup
To release:
- Bump the versions in
packages/@aces-core/*andapps/create-aces-app(they share one version) and merge tomain. - From a clean
main, runpnpm publish:all. It builds, then publishes the packages beforecreate-aces-app(which embeds their versions), and skips versions already on npm, so re-run it if one fails. Per package:pnpm publish:core,publish:contentful,publish:cli,publish:create-aces-app. npm asks for a 2FA code; pass one with-- --otp=<code>. - Tag
vX.Y.Z.
Something wrong or missing? Open an issue.