Skip to content

Commit

Permalink
[CHORE] Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemick committed Aug 25, 2024
1 parent f17c5e3 commit 56229f7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@open-iframe-resizer/core",
"private": false,
"version": "1.0.0",
"version": "1.1.0",
"description": "Open-source modern iframe resizer",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@open-iframe-resizer/react",
"private": false,
"version": "1.0.0",
"version": "1.1.0",
"description": "Open-source modern iframe resizer component",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -48,7 +48,7 @@
"test": "npx playwright install --with-deps && npx playwright test"
},
"dependencies": {
"@open-iframe-resizer/core": "1.0.0"
"@open-iframe-resizer/core": "1.1.0"
},
"devDependencies": {
"@babel/core": "7.22.10",
Expand Down
4 changes: 3 additions & 1 deletion prerelease.sh → scripts/prerelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ echo "Updating core package version to $NEW_VERSION..."

echo "Updating react package and its dependency version to $NEW_VERSION..."
(
npm install @open-iframe-resizer/core --workspace=packages/react --save-exact
npm --workspace=packages/react pkg set "dependencies.@open-iframe-resizer/core=$1"
cd "$REACT_PACKAGE_DIR" || exit
npm version "$NEW_VERSION" --no-git-tag-version
)

npm install

echo "All versions updated successfully!"

0 comments on commit 56229f7

Please sign in to comment.