this is needed to update to latest rules_nodejs due to breaking change in https://github.com/bazelbuild/rules_nodejs/pull/172 It has the side-effect of correctly marking rxjs packages as side-effect-free PR Close #23131
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
workspace(name = "bazel_integration_test")
 | 
						|
 | 
						|
http_archive(
 | 
						|
    name = "build_bazel_rules_nodejs",
 | 
						|
    url = "https://github.com/bazelbuild/rules_nodejs/archive/cd368bd71a4b04fae0eafb5c5e2c906a93772584.zip",
 | 
						|
    strip_prefix = "rules_nodejs-cd368bd71a4b04fae0eafb5c5e2c906a93772584",
 | 
						|
    sha256 = "db74c61dd8bf73cc50aed56e78b7a8ad383f5869206901506cf8d3ee27f9277f",
 | 
						|
)
 | 
						|
 | 
						|
load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")
 | 
						|
node_repositories(package_json = ["//:package.json"])
 | 
						|
 | 
						|
local_repository(
 | 
						|
    name = "build_bazel_rules_typescript",
 | 
						|
    path = "node_modules/@bazel/typescript",
 | 
						|
)
 | 
						|
 | 
						|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace")
 | 
						|
 | 
						|
ts_setup_workspace()
 | 
						|
 | 
						|
local_repository(
 | 
						|
    name = "angular",
 | 
						|
    path = "node_modules/@angular/bazel",
 | 
						|
)
 | 
						|
 | 
						|
local_repository(
 | 
						|
    name = "rxjs",
 | 
						|
    path = "node_modules/rxjs/src",
 | 
						|
)
 | 
						|
 | 
						|
http_archive(
 | 
						|
    name = "io_bazel_rules_sass",
 | 
						|
    url = "https://github.com/bazelbuild/rules_sass/archive/0.0.3.zip",
 | 
						|
    strip_prefix = "rules_sass-0.0.3",
 | 
						|
    sha256 = "8fa98e7b48a5837c286a1ea254b5a5c592fced819ee9fe4fdd759768d97be868",
 | 
						|
)
 | 
						|
 | 
						|
load("@io_bazel_rules_sass//sass:sass.bzl", "sass_repositories")
 | 
						|
 | 
						|
sass_repositories()
 |