From c66a426c64dc1f883a5d708f59e377476b6308c2 Mon Sep 17 00:00:00 2001 From: prosdev Date: Fri, 7 Nov 2025 21:36:55 -0800 Subject: [PATCH 1/3] feat(ci): enable automatic GitHub Releases Add GitHub Releases creation to release workflow: - Set createGithubReleases: true for automatic release creation - Add fetch-depth: 0 to fetch full git history for proper changelogs - Keep simple push-to-main trigger (branch protection ensures quality) When packages are published, GitHub Releases will be created with: - Version tags (e.g., @lytics/experience-editor@1.1.0) - Changelog content as release notes - Links to published npm packages --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de2ed1f..30754c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,9 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + # Fetch all history for changesets to generate proper changelogs + fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v4 @@ -57,6 +60,7 @@ jobs: version: yarn version-packages commit: "chore: version packages" title: "chore: version packages" + createGithubReleases: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_CONFIG_PROVENANCE: true From 801070257464d4e0f05b9ba4a29ad5f3bc36a568 Mon Sep 17 00:00:00 2001 From: prosdev Date: Fri, 7 Nov 2025 21:42:04 -0800 Subject: [PATCH 2/3] feat(experience-editor): prepare v1.1.0 release Add changeset documenting features since v1.0.1: - Default field values support - Content ranking for recommendations - Date range display conditions - Code quality improvements with Biome --- .changeset/major-elephants-wash.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .changeset/major-elephants-wash.md diff --git a/.changeset/major-elephants-wash.md b/.changeset/major-elephants-wash.md new file mode 100644 index 0000000..2f6bdb7 --- /dev/null +++ b/.changeset/major-elephants-wash.md @@ -0,0 +1,12 @@ +--- +"@lytics/experience-editor": minor +--- + +Add field default values, content ranking, and date range display conditions + +- Support for default field values to simplify form handling and eliminate field-specific logic +- Content ranking options (affinity/popular) for recommendation widgets +- Date range display condition for time-based widget targeting +- Improved code quality with Biome linting and formatting +- Enhanced CI pipeline with automated quality checks + From c2f06239318b65f532a5439fe68db1e526c3ad93 Mon Sep 17 00:00:00 2001 From: prosdev Date: Fri, 7 Nov 2025 21:45:29 -0800 Subject: [PATCH 3/3] maint: add Contributing section with changeset workflow --- README.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/README.md b/README.md index a15a6d1..eb8fba4 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,9 @@ Lytics Lab - [Configuration](#configuration) - [.env](#env) - [nx-cloud.env](#nx-cloudenv) + - [Contributing](#contributing) + - [Making Changes](#making-changes) + - [Documenting Changes](#documenting-changes) - [Iterating](#iterating) - [`yarn start`](#yarn-start) - [`yarn storybook`](#yarn-storybook) @@ -61,6 +64,62 @@ To build, run tests, storybook, etc., you may be required to create a local `nx- NX_CLOUD_ACCESS_TOKEN={VALID_READ_WRITE_TOKEN} ``` +
+ +## Contributing + +We use [Changesets](https://github.com/changesets/changesets) for version management and automated releases. See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines. + +### Making Changes + +1. Create a feature branch +2. Make your changes +3. Run quality checks locally: + ```sh + yarn lint + yarn typecheck + yarn test + yarn build + ``` +4. Create a changeset documenting your changes +5. Open a pull request + +### Documenting Changes + +When you make user-facing changes, create a changeset: + +```sh +yarn changeset +``` + +This will prompt you to: +- Select which packages changed +- Choose the version bump type (major/minor/patch) +- Write a summary of your changes + +The changeset will be included in your PR and used to automatically generate changelogs and version bumps when merged. + +**Example workflow:** +```sh +# Make your changes +git checkout -b feat/add-new-feature + +# Create a changeset +yarn changeset +# Select: @lytics/experience-editor +# Type: minor (for new features) +# Summary: "Add support for custom themes" + +# Commit everything +git add . +git commit -m "feat(experience-editor): add custom theme support" +git push +``` + +For more details, see [CONTRIBUTING.md](CONTRIBUTING.md). + +
+ ## Iterating ### `yarn start`