@schematics/angular 15.1.0-next.1 → 15.1.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/guard/schema.json CHANGED
@@ -47,6 +47,7 @@
47
47
  "default": false
48
48
  },
49
49
  "implements": {
50
+ "alias": "guardType",
50
51
  "type": "array",
51
52
  "description": "Specifies which type of guard to create.",
52
53
  "uniqueItems": true,
@@ -6,4 +6,4 @@ export const <%= camelize(name) %>Guard: <%= guardType %><% if (guardType === 'C
6
6
  %><% if (guardType === 'CanActivateChildFn') { %>(childRoute, state)<% }
7
7
  %><% if (guardType === 'CanDeactivateFn') { %>(component, currentRoute, currentState, nextState)<% } %> => {
8
8
  return true;
9
- }
9
+ };
@@ -1,4 +1,5 @@
1
1
  import { TestBed } from '@angular/core/testing';
2
+ import { HttpInterceptorFn } from '@angular/common/http';
2
3
 
3
4
  import { <%= camelize(name) %>Interceptor } from './<%= dasherize(name) %>.interceptor';
4
5
 
@@ -2,4 +2,4 @@ import { HttpInterceptorFn } from '@angular/common/http';
2
2
 
3
3
  export const <%= camelize(name) %>Interceptor: HttpInterceptorFn = (req, next) => {
4
4
  return next(req);
5
- }
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematics/angular",
3
- "version": "15.1.0-next.1",
3
+ "version": "15.1.0-next.2",
4
4
  "description": "Schematics specific to Angular",
5
5
  "homepage": "https://github.com/angular/angular-cli",
6
6
  "keywords": [
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "schematics": "./collection.json",
25
25
  "dependencies": {
26
- "@angular-devkit/core": "15.1.0-next.1",
27
- "@angular-devkit/schematics": "15.1.0-next.1",
26
+ "@angular-devkit/core": "15.1.0-next.2",
27
+ "@angular-devkit/schematics": "15.1.0-next.2",
28
28
  "jsonc-parser": "3.2.0"
29
29
  },
30
30
  "repository": {
@@ -2,4 +2,4 @@ import { ResolveFn } from '@angular/router';
2
2
 
3
3
  export const <%= camelize(name) %>Resolver: ResolveFn<boolean> = (route, state) => {
4
4
  return true;
5
- }
5
+ };
@@ -14,7 +14,7 @@
14
14
  "karma": "~6.4.0",
15
15
  "ng-packagr": "^15.0.0-next.0",
16
16
  "protractor": "~7.0.0",
17
- "rxjs": "~7.5.0",
17
+ "rxjs": "~7.6.0",
18
18
  "tslib": "^2.3.0",
19
19
  "ts-node": "~10.9.0",
20
20
  "typescript": "~4.8.2",