File tree Expand file tree Collapse file tree 5 files changed +368
-418
lines changed
pkg-tests-core/sources/utils
pkg-tests-specs/sources/commands/workspaces
plugin-workspace-tools/sources/commands Expand file tree Collapse file tree 5 files changed +368
-418
lines changed Original file line number Diff line number Diff line change 1+ releases :
2+ " @yarnpkg/cli " : patch
3+ " @yarnpkg/plugin-workspace-tools " : patch
4+
5+ declined :
6+ - " @yarnpkg/plugin-compat"
7+ - " @yarnpkg/plugin-constraints"
8+ - " @yarnpkg/plugin-dlx"
9+ - " @yarnpkg/plugin-essentials"
10+ - " @yarnpkg/plugin-init"
11+ - " @yarnpkg/plugin-interactive-tools"
12+ - " @yarnpkg/plugin-nm"
13+ - " @yarnpkg/plugin-npm-cli"
14+ - " @yarnpkg/plugin-pack"
15+ - " @yarnpkg/plugin-patch"
16+ - " @yarnpkg/plugin-pnp"
17+ - " @yarnpkg/plugin-pnpm"
18+ - " @yarnpkg/plugin-stage"
19+ - " @yarnpkg/plugin-typescript"
20+ - " @yarnpkg/plugin-version"
21+ - " @yarnpkg/builder"
22+ - " @yarnpkg/core"
23+ - " @yarnpkg/doctor"
Original file line number Diff line number Diff line change @@ -29,16 +29,18 @@ const staticServer = serveStatic(npath.fromPortablePath(require(`pkg-tests-fixtu
2929
3030const TEST_MAJOR = process . env . TEST_MAJOR
3131 ? parseInt ( process . env . TEST_MAJOR , 10 )
32- : null ;
32+ : 4 ;
3333
34- function isAtLeastMajor ( major : number ) {
35- return TEST_MAJOR !== null && TEST_MAJOR >= major ;
34+ function majorCheck ( test : ( major : number ) => boolean ) {
35+ return TEST_MAJOR === null || test ( TEST_MAJOR ) ;
3636}
3737
3838export const FEATURE_CHECKS = {
39- jsonLockfile : isAtLeastMajor ( 5 ) ,
40- prologConstraints : ! isAtLeastMajor ( 5 ) ,
41- mergeConflictTheirs : isAtLeastMajor ( 5 ) ,
39+ forEachWorktree : majorCheck ( major => major <= 4 ) ,
40+ forEachVerboseDone : majorCheck ( major => major >= 5 ) ,
41+ jsonLockfile : majorCheck ( major => major >= 5 ) ,
42+ prologConstraints : majorCheck ( major => major <= 4 ) ,
43+ mergeConflictTheirs : majorCheck ( major => major >= 5 ) ,
4244} as const ;
4345
4446// Testing things inside a big-endian container takes forever
You can’t perform that action at this time.
0 commit comments