You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On every invocation of charter run, charter architect, charter scaffold, charter login:
Print a warning notice to stderr indicating the command is deprecated and will be removed in Charter 1.0.
Link to @stackbilt/build as the replacement (npm install -g @stackbilt/build).
Notice is pre-execution; command still runs after (no behavior change yet).
Suggested format:
⚠ charter run is deprecated and will be removed in Charter 1.0.
Install @stackbilt/build for the long-term home of this command:
npm install -g @stackbilt/build
See https://github.com/Stackbilt-dev/charter/issues/112 for context.
Acceptance criteria
All four deprecated commands print the notice once per invocation before executing.
Notice writes to stderr (doesn't pollute stdout for --format json consumers).
Notice suppressible via --no-deprecation-warning flag or CHARTER_NO_DEPRECATION_WARNING=1 env var.
Tests assert the notice is emitted for each deprecated command.
Ships in a minor version bump.
Blocked on
Phase 2 (@stackbilt/build must be publishable before the notice can link to a real package).
Phase 3 of RFC #112 — surface a stronger runtime deprecation notice in
@stackbilt/clipointing users at@stackbilt/buildafter it's published.Context
charter logindeprecation notice): shipped in feat(cli): STACKBILT_API_KEY env var auth; deprecate charter login #111.@stackbilt/build): prerequisite — notice can't link to a real package until@stackbilt/buildis on npm.Scope
On every invocation of
charter run,charter architect,charter scaffold,charter login:@stackbilt/buildas the replacement (npm install -g @stackbilt/build).Suggested format:
Acceptance criteria
--format jsonconsumers).--no-deprecation-warningflag orCHARTER_NO_DEPRECATION_WARNING=1env var.Blocked on
@stackbilt/buildmust be publishable before the notice can link to a real package).References
charter logindeprecation)@stackbilt/build