Skip to content

Version Packages (alpha)#33

Open
github-actions[bot] wants to merge 1 commit intomasterfrom
changeset-release/master
Open

Version Packages (alpha)#33
github-actions[bot] wants to merge 1 commit intomasterfrom
changeset-release/master

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

master is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on master.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@noormdev/cli@1.0.0-alpha.34

Minor Changes

  • 7b907b3: Introduce the noorm ci command namespace and retire the standalone noorm identity ci diagnostic.

    Four new commands cover the full CI lifecycle — mint a keypair, enroll it in a real database, bootstrap ephemeral state inside a job, and batch-load secrets:

    • noorm ci identity new --name <str> --email <str> — generate a test-CI keypair locally. No database contact, no state written. Prints the private key once plus a copy-pasteable NOORM_IDENTITY_* env block. Designed for stateless/ephemeral CI (isTest configs, throwaway databases). Accepts --json.
    • noorm ci identity enroll --config <name> --name <str> --email <str> [--public-key <hex>] — register a CI identity in the target database and propagate vault access to it. Run once by a developer with existing vault access. Decrypts the caller's vault key, inserts a new identity row (machine='ci', os='env'), and re-encrypts the vault key for the new identity. Idempotent on identityHash — safe to re-run. When --public-key is omitted, mints a new keypair and returns the private key; when provided, only the public half is enrolled (air-gapped flow).
    • noorm ci init [--name <str>] [--force] — bootstrap ephemeral state.enc from NOORM_IDENTITY_* + NOORM_CONNECTION_* env vars. Runs inside the CI job. Creates a config (default: ci, override via --name or NOORM_CI_CONFIG_NAME), marks it active, sets isTest: true. Absorbs the former noorm identity ci precheck — fails fast with exit 1 if any required env var is missing or malformed, or if state.enc already exists without --force.
    • noorm ci secrets --file <path> [--config <name>] [--overwrite] — batch-load secrets from a dotenv-style file into the active (or --config-named) vault. Parser ignores blank lines and # comments, splits on the first =, and strips a single matched pair of surrounding quotes. Existing keys are skipped unless --overwrite is set (so reruns are safe). Exit codes: 0 clean, 1 precondition failure, 2 partial (some set, some errored).

    Removed: noorm identity ci. Its precheck behavior is now built into noorm ci init. Callers that used identity ci only for validation should replace it with noorm ci init, which does the validation plus the state bootstrap.

    Migration: replace any pipeline that set NOORM_IDENTITY_* + NOORM_CONNECTION_* and ran noorm identity ci followed by noorm change ff with:

    noorm ci init --name prod
    noorm change ff

    For vault-aware pipelines, provision the CI identity once from a developer machine:

    noorm ci identity enroll --config prod --name "CI Bot" --email ci@example.com
    # copy the printed NOORM_IDENTITY_* block into your CI secrets store

@noormdev/sdk@1.0.0-alpha.34

@noormdev/example-todo-db@0.0.1-alpha.0

Patch Changes

  • @noormdev/sdk@1.0.0-alpha.34

@github-actions github-actions Bot force-pushed the changeset-release/master branch from aab6439 to 526a7b2 Compare April 24, 2026 04:07
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.

0 participants