This change is part of a larger effort to migrate all golden type tracking files to a single location. Additionally, this makes it a bit easier to manage file ownership in pullapprove. PR Close #36455
		
			
				
	
	
		
			16 lines
		
	
	
		
			406 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			406 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| set -eu -o pipefail
 | |
| 
 | |
| readonly thisDir=$(cd $(dirname $0); pwd)
 | |
| readonly parentDir=$(dirname $thisDir)
 | |
| readonly target=${1:-aio}
 | |
| 
 | |
| # Track payload size functions
 | |
| source ../scripts/ci/payload-size.sh
 | |
| 
 | |
| # Provide node_modules from aio
 | |
| NODE_MODULES_BIN=$PROJECT_ROOT/aio/node_modules/.bin/
 | |
| 
 | |
| trackPayloadSize "$target" "dist/*.js" true "$PROJECT_ROOT/goldens/size-tracking/aio-payloads.json"
 |