Skip to content

Introduce ***plain Modules

Latest

Choose a tag to compare

@tjazerzen tjazerzen released this 21 Jan 15:26
· 119 commits to main since this release

Overview

We’re introducing support for reusable modules in ***plain.

What’s new

You can now include modules in a ***plain spec using Markdown frontmatter.

Example (hello world React):

---
import:
  - typescript-react-app-template
requires:
  - typescript-react-app-boilerplate
---

***functional specs***

- Display "hello, world"
  • import includes all ***plain primitives except functional specs
  • requires can include all primitives

Rendering order

When this spec is rendered:
1. typescript-react-app-boilerplate is resolved and rendered as a dependency.
2. The functional spec (Display "hello, world") is rendered afterwards.