File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/angular_devkit/build_ng_packagr/src/build Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ import { Architect } from '@angular-devkit/architect';
9
9
import { WorkspaceNodeModulesArchitectHost } from '@angular-devkit/architect/node' ;
10
10
import { TestProjectHost , TestingArchitectHost } from '@angular-devkit/architect/testing' ;
11
11
import {
12
- experimental ,
13
12
join ,
14
13
normalize ,
15
14
schema ,
16
15
virtualFs ,
16
+ workspaces ,
17
17
} from '@angular-devkit/core' ; // tslint:disable-line:no-implicit-dependencies
18
18
import { map , take , tap } from 'rxjs/operators' ;
19
19
@@ -33,7 +33,10 @@ describe('NgPackagr Builder', () => {
33
33
const registry = new schema . CoreSchemaRegistry ( ) ;
34
34
registry . addPostTransform ( schema . transforms . addUndefinedDefaults ) ;
35
35
36
- const workspace = await experimental . workspace . Workspace . fromPath ( host , host . root ( ) , registry ) ;
36
+ const { workspace } = await workspaces . readWorkspace (
37
+ host . root ( ) ,
38
+ workspaces . createWorkspaceHost ( host ) ,
39
+ ) ;
37
40
const architectHost = new TestingArchitectHost (
38
41
host . root ( ) ,
39
42
host . root ( ) ,
You can’t perform that action at this time.
0 commit comments