Skip to content

Conversation

@wimpyprogrammer
Copy link
Owner

@wimpyprogrammer wimpyprogrammer commented Oct 13, 2025

Upgrade package manager from Yarn Classic (1.x) to Yarn Modern.

Use per-project lint configuration files.

Require testpack to succeed for all Node versions.

This is necessary to fix the "focus" behavior of Yarn workspace.  In Yarn 1.x, a focused install of a workspace will fail when other workspaces are private.
Do not install or build the demo workspace.  The dependencies of that workspace do not need the same Node version support as the npm package.
@wimpyprogrammer wimpyprogrammer self-assigned this Oct 13, 2025
@wimpyprogrammer wimpyprogrammer added bug Something isn't working github_actions Pull requests that update Github_actions code labels Oct 13, 2025
This allows for linting a single focused workspace instead of all workspaces.

Isolate project-specific ESLint configs in their respective config files.
Convert "format" into a global script that can be run from any project.
@wimpyprogrammer wimpyprogrammer force-pushed the feature/scope-test-workflows branch from 796d443 to 0dd32d5 Compare October 17, 2025 05:24
"yarn workspaces focus" may be unnecessary after upgrading to Yarn Modern.
The workaround for #66 seems to be no longer necessary.
Fix error in GitHub Actions:
The lockfile would have been created by this install, which is explicitly forbidden.
ts=jest has a peer dependency on jest-util, which is a dependency of jest.  But evidently Yarn Modern requires a more explicit dependency on jest-util.
# Conflicts:
#	packages/regex-to-strings/package.json
@codecov
Copy link

codecov bot commented Oct 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.29%. Comparing base (7a58730) to head (0149898).
⚠️ Report is 15 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #229   +/-   ##
========================================
  Coverage    99.29%   99.29%           
========================================
  Files           22       22           
  Lines          424      424           
  Branches        67       69    +2     
========================================
  Hits           421      421           
  Misses           3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wimpyprogrammer wimpyprogrammer changed the title Scope "test" GitHub Action workflows to only a single Yarn workspace Upgrade to Yarn Modern Oct 19, 2025
@wimpyprogrammer wimpyprogrammer merged commit 8fb7c99 into develop Oct 19, 2025
8 checks passed
@wimpyprogrammer wimpyprogrammer deleted the feature/scope-test-workflows branch October 19, 2025 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working github_actions Pull requests that update Github_actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants