Formsort Open Source Monorepo
Constants that are used across Formsort products and repos.
Helpers for implementing custom questions in Formsort.
ESLint config used by all projects in this repo and other Formsort repos.
React component to load formsort flows.
TypeScript configuration used by all projects in this repo and other Formsort repos.
Embed flows within other webpages, allowing communication between the embed and the parent page.
This repo is published using Craft via GitHub Actions.
To release a new version of a package, follow these steps:
- Decide on the version of the package you are going to release, following semver (
MAJOR.MINOR.PATCH
):- Bump
PATCH
version if you are only fixing minor bugs w/o new features or breaking changes - Bump
MINOR
version if you are adding new features - Bump
MAJOR
version if you have any backwards incompatible changes
- Bump
- Add
#skip-changelog
to PR bodies you want to omit from the automated changelogs - Create some milestones and associate relevant PRs with them to group PRs under higher-level initiatives. The milestone title and description will end up in the automated changelogs along with a list of PR numbers (but not the commit logs). See a Craft release itself for an example.
- Trigger the release through GitHub Actions:
- Run
gh workflow run release.yml -f package=<package> -f version=<version>
if you havegh
installed - Or visit the actions page,
click on the
Run workflow
button on the top right corner, fill in the values and ship this sucker.
- Run
- Triggering this action will send an approval request to the Security guild
- Once the publish request is approved, Craft will run its magic, creating a release branch with automated changelogs
- After the build passes on the release branch it will publish to
npm
and GitHub releases
See CONTRIBUTING.md
for an overview of how to contribute to these packages.