chore: bump @puppeteer/ng-schematics versions (#10200)

This commit is contained in:
Nikolay Vitkov 2023-06-02 10:37:36 +02:00 committed by GitHub
parent 6e39a2eb1d
commit 60229810c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1409 additions and 714 deletions

2078
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -166,7 +166,7 @@
"esprima": "4.0.1",
"expect": "29.4.3",
"glob": "8.1.0",
"gts": "4.0.0",
"gts": "4.0.1",
"husky": "8.0.3",
"jpeg-js": "0.4.4",
"license-checker": "25.0.1",

View File

@ -47,14 +47,15 @@
"node": ">=16.3.0"
},
"dependencies": {
"@angular-devkit/architect": "^0.1600.2",
"@angular-devkit/core": "^16.0.1",
"@angular-devkit/schematics": "^15.2.7"
"@angular-devkit/architect": "^0.1600.4",
"@angular-devkit/core": "^16.0.4",
"@angular-devkit/schematics": "^16.0.4"
},
"devDependencies": {
"@types/node": "^16.11.7",
"@schematics/angular": "^14.2.8",
"@angular/cli": "^15.2.2"
"@schematics/angular": "^16.0.4",
"@angular/cli": "^16.0.4",
"rxjs": "7.8.1"
},
"files": [
"lib",

View File

@ -5,7 +5,7 @@ import {JsonObject} from '@angular-devkit/core';
import {
SchematicTestRunner,
UnitTestTree,
} from '@angular-devkit/schematics/testing/schematic-test-runner';
} from '@angular-devkit/schematics/testing';
import expect from 'expect';
import sinon from 'sinon';
@ -65,26 +65,20 @@ async function buildTestingTree(userOptions?: Record<string, any>) {
let workingTree: UnitTestTree;
// Build workspace
workingTree = await runner
.runExternalSchematicAsync(
'@schematics/angular',
'workspace',
WORKSPACE_OPTIONS
)
.toPromise();
workingTree = await runner.runExternalSchematic(
'@schematics/angular',
'workspace',
WORKSPACE_OPTIONS
);
// Build dummy application
workingTree = await runner
.runExternalSchematicAsync(
'@schematics/angular',
'application',
APPLICATION_OPTIONS,
workingTree
)
.toPromise();
workingTree = await runner.runExternalSchematic(
'@schematics/angular',
'application',
APPLICATION_OPTIONS,
workingTree
);
return await runner
.runSchematicAsync('ng-add', options, workingTree)
.toPromise();
return await runner.runSchematic('ng-add', options, workingTree);
}
describe('@puppeteer/ng-schematics: ng-add', () => {