Add a schematic to update users to the new v11 `initialNavigation` options for `RouterModule`. This replaces the deprecated/removed `true`, `false`, `legacy_disabled`, and `legacy_enabled` options with the newer `enabledBlocking` and `enabledNonBlocking` options. PR Close #36926
		
			
				
	
	
		
			20 lines
		
	
	
		
			617 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			617 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| load("//tools:defaults.bzl", "ts_library")
 | |
| 
 | |
| ts_library(
 | |
|     name = "initial-navigation",
 | |
|     srcs = glob(["**/*.ts"]),
 | |
|     tsconfig = "//packages/core/schematics:tsconfig.json",
 | |
|     visibility = [
 | |
|         "//packages/core/schematics:__pkg__",
 | |
|         "//packages/core/schematics/migrations/google3:__pkg__",
 | |
|         "//packages/core/schematics/migrations/initial-navigation/google3:__pkg__",
 | |
|         "//packages/core/schematics/test:__pkg__",
 | |
|     ],
 | |
|     deps = [
 | |
|         "//packages/core/schematics/utils",
 | |
|         "@npm//@angular-devkit/schematics",
 | |
|         "@npm//@types/node",
 | |
|         "@npm//typescript",
 | |
|     ],
 | |
| )
 |