@playrunner/environment
v0.1.5
Published
Environment integration package for Playrunner.
Downloads
615
Readme
@playrunner/environment
Environment-variable configuration for Playrunner workflows.
Install
npm install @playrunner/environmentAdd the package as a direct production dependency of the Playrunner frontend and API. Their build steps discover the package's playrunner.integration metadata and bundle its frontend and API contributions.
Package surfaces
@playrunner/environmentexports the Environment integration, configuration panel, variables table, and environment types.@playrunner/environment/apiexports the API contribution mounted at/api/environment.@playrunner/environment/e2eexports the package-owned E2E contribution.- The integration id is
environment.
import environmentIntegration, {
EnvironmentConfigPanel,
VariablesTable,
} from '@playrunner/environment';
import environmentApiContribution from '@playrunner/environment/api';Testing
Run the package checks from the repository root:
npm run format:check --prefix packages/environment
npm run lint --prefix packages/environment
npm run typecheck --prefix packages/environment
npm run test:e2e:mock -- --grep @environmentThe E2E scenario composes Environment as a configuration-only integration. It runs in deterministic mock mode through the shared Playrunner browser harness, which uses the real frontend, API, authentication, and dedicated E2E database. No provider credentials are required.
Documentation
See the Environment integration documentation for exports, behavior, and Playrunner build integration.
License
Licensed under the Playrunner Sustainable Use License.
