File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,13 @@ module.exports = defineConfig({
1212
1313 // Make sure that if the dependency is defined in the root workspace
1414 // that all child workspaces use the same version of that dependency
15- const [ mainWorkspace ] = Yarn . workspaces ( { ident : name } ) ;
15+ const [ rootWorkspace ] = Yarn . workspaces ( { ident : name } ) ;
1616
17- for ( const workspaceDep of Yarn . dependencies ( { workspace : mainWorkspace } ) ) {
17+ // There should not be any resolutions value for js-slang,
18+ // which might be present if you linked js-slang to a local copy
19+ rootWorkspace . set ( 'resolutions.js-slang' , undefined ) ;
20+
21+ for ( const workspaceDep of Yarn . dependencies ( { workspace : rootWorkspace } ) ) {
1822 if ( workspaceDep . type === 'peerDependencies' ) continue ;
1923
2024 for ( const otherDep of Yarn . dependencies ( { ident : workspaceDep . ident } ) ) {
You can’t perform that action at this time.
0 commit comments