Skip to content

Commit 157a113

Browse files
committed
(packages): update local sync and pack
1 parent edb99f5 commit 157a113

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

packages/angular/scripts/sync-and-pack.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ echo "\n⚙️ Updating package.json with global path for @ionic/core..."
1212
CORE_PACKAGE=$(ls ionic-core-*.tgz | head -1)
1313
sed -i "" "s|\"@ionic/core\": \".*\"|\"@ionic/core\": \"file:$(pwd)/$CORE_PACKAGE\"|" package.json
1414

15+
# Remove package-lock.json
16+
rm -f package-lock.json
17+
1518
# Install Dependencies
1619
echo "\n🔧 Installing dependencies..."
1720
npm install

packages/react/scripts/sync-and-pack.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ echo "\n⚙️ Updating package.json with global path for @ionic/core..."
1212
CORE_PACKAGE=$(ls ionic-core-*.tgz | head -1)
1313
sed -i "" "s|\"@ionic/core\": \".*\"|\"@ionic/core\": \"file:$(pwd)/$CORE_PACKAGE\"|" package.json
1414

15+
# Remove package-lock.json
16+
rm -f package-lock.json
17+
1518
# Install Dependencies
1619
echo "\n🔧 Installing dependencies..."
1720
npm install

packages/vue/scripts/sync-and-pack.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ echo "\n⚙️ Updating package.json with global path for @ionic/core..."
1919
CORE_PACKAGE=$(ls ionic-core-*.tgz | head -1)
2020
sed -i "" "s|\"@ionic/core\": \".*\"|\"@ionic/core\": \"file:$(pwd)/$CORE_PACKAGE\"|" package.json
2121

22+
# Remove package-lock.json
23+
rm -f package-lock.json
24+
2225
# Install Dependencies
2326
echo "\n🔧 Installing dependencies..."
2427
npm install

0 commit comments

Comments
 (0)