Thanks for helping improve the NodeRings Backstage plugins.
-
Open an issue before large changes.
-
Use Node.js 24 (or 26) and Yarn 4 (
corepack enable), thenyarn install. -
These must pass (CI runs them):
yarn tsc yarn lint:all yarn prettier:check yarn test:all # coverage must stay at 80 % or more yarn backstage-cli repo fix --publish --check yarn build:all -
Try UI changes in the plugin's dev app (
yarn --cwd plugins/noderings start, mock data) or in the full dev app (yarn start, withNODERINGS_TOKENin the environment). -
For changes to API calls, run the live tests against your own organization:
NODERINGS_TOKEN=... yarn backstage-cli repo test live.testThey only read, unless you also set
NODERINGS_TEST_ZONE_ID(adds and removes a TXT record) orNODERINGS_TEST_BILLED=1withNODERINGS_TEST_PLAN_ID,NODERINGS_TEST_REGION_IDandNODERINGS_TEST_SSH_KEY_ID(creates and deletes a server, which is billed). -
Every NodeRings call goes through the
noderingsSDK. Responses to the browser are the trimmed types inplugins/noderings-common/src/types.ts, never raw SDK objects. -
Use Conventional Commits (release-please builds the changelog from them) and sign off your commits (
git commit -s) for the Developer Certificate of Origin.
Report security problems privately as described in SECURITY.md.