Try “optimization”, “doctor” or “page body”.

    v1.2.2
    Docs menu
    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:

    1. Bump the versions in packages/@aces-core/* and apps/create-aces-app (they share one version) and merge to main.
    2. From a clean main, run pnpm publish:all. It builds, then publishes the packages before create-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>.
    3. Tag vX.Y.Z.

    Something wrong or missing? Open an issue.