mirror of
				https://github.com/ionic-team/ionic-framework.git
				synced 2025-11-04 03:48:13 +08:00 
			
		
		
		
	Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> The sync script for the React package is out of date. It will unintentionally delete the symlink directory of the build output from `core/`, which breaks the build for the package during local development. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Updates the sync script to package and install the `core` package - Matches the implementation pattern used for the sync script in our other packages ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
		
			
				
	
	
		
			13 lines
		
	
	
		
			147 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			147 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
set -e
 | 
						|
 | 
						|
# Delete old packages
 | 
						|
rm -f *.tgz
 | 
						|
 | 
						|
# Pack @ionic/core
 | 
						|
npm pack ../../core
 | 
						|
 | 
						|
# Install Dependencies
 | 
						|
npm install *.tgz --no-save
 |