diff --git a/bedrock/package.json b/bedrock/package.json index 818039c7..99ef926b 100644 --- a/bedrock/package.json +++ b/bedrock/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/bedrock", "description": "A Wing library for Amazon Bedrock", - "version": "0.0.7", + "version": "0.0.8", "author": { "name": "Eyal Keren", "email": "eyalk@wing.cloud" diff --git a/budget/package.json b/budget/package.json index 1055b9f3..8790d876 100644 --- a/budget/package.json +++ b/budget/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/budget", - "version": "0.1.3", + "version": "0.1.4", "description": "AWS Budget", "keywords": [ "AWS", diff --git a/bump-all.sh b/bump-all.sh new file mode 100755 index 00000000..894fd7a5 --- /dev/null +++ b/bump-all.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +# Check if jq is installed +if ! command -v jq &> /dev/null; then + echo "jq is not installed. Please install jq to run this script." + exit 1 +fi + +# Function to increment the patch version +increment_patch_version() { + local version="$1" + local IFS=. + read -a version_parts <<< "$version" + ((version_parts[2]++)) + echo "${version_parts[0]}.${version_parts[1]}.${version_parts[2]}" +} + +# Find all package.json files in subdirectories +for package_file in */package.json; do + # Check if the package.json file exists + if [[ -f "$package_file" ]]; then + # Extract the current version + current_version=$(jq -r '.version' "$package_file") + + # Increment the patch version + new_version=$(increment_patch_version "$current_version") + + # Update the version in package.json + jq --arg new_version "$new_version" '.version = $new_version' "$package_file" > temp.json && mv temp.json "$package_file" + + echo "Updated $package_file from $current_version to $new_version" + else + echo "No package.json found in $package_file" + fi +done diff --git a/checks/package.json b/checks/package.json index e91bdf9a..d2e02bc1 100644 --- a/checks/package.json +++ b/checks/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/checks", - "version": "0.0.14", + "version": "0.0.15", "description": "Cloud checks", "publishConfig": { "access": "public", diff --git a/cognito/package.json b/cognito/package.json index a500f42a..039f225d 100644 --- a/cognito/package.json +++ b/cognito/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/cognito", - "version": "0.0.12", + "version": "0.0.13", "description": "A wing library to work with AWS Cognito", "author": { "name": "Elad Cohen", diff --git a/containers/package.json b/containers/package.json index fdf63c8e..77e2b6c2 100644 --- a/containers/package.json +++ b/containers/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/containers", - "version": "0.1.3", + "version": "0.1.4", "description": "Container support for Wing", "repository": { "type": "git", diff --git a/dynamodb/package.json b/dynamodb/package.json index 3624afb3..1762be97 100644 --- a/dynamodb/package.json +++ b/dynamodb/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/dynamodb", - "version": "0.1.19", + "version": "0.1.20", "description": "DynamoDB library for Wing", "author": { "name": "Cristian Pallarés", diff --git a/eventbridge/package.json b/eventbridge/package.json index de1b86cc..e52ebe8b 100644 --- a/eventbridge/package.json +++ b/eventbridge/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/eventbridge", "description": "Amazon EventBridge library for Wing", - "version": "0.1.4", + "version": "0.1.5", "repository": { "type": "git", "url": "https://github.com/winglang/winglibs.git", diff --git a/fifoqueue/package.json b/fifoqueue/package.json index 7b8e0e7f..bf786b4c 100644 --- a/fifoqueue/package.json +++ b/fifoqueue/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/fifoqueue", - "version": "0.0.8", + "version": "0.0.9", "description": "A wing library to work with FIFO (first-in first-out) Queues", "author": { "name": "Elad Cohen", diff --git a/github/package.json b/github/package.json index da9a8ad6..ec7c5714 100644 --- a/github/package.json +++ b/github/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/github", "description": "A Wing library for GitHub Probot", - "version": "0.0.12", + "version": "0.0.13", "author": { "name": "Elad Cohen", "email": "eladc@wing.cloud" diff --git a/jwt/package.json b/jwt/package.json index 929b27f6..ae1f4832 100644 --- a/jwt/package.json +++ b/jwt/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/jwt", "description": "Wing library for JWT authentication", - "version": "0.0.5", + "version": "0.0.6", "repository": { "type": "git", "url": "https://github.com/winglang/winglibs.git", diff --git a/k8s/package.json b/k8s/package.json index aa5001f4..de05124a 100644 --- a/k8s/package.json +++ b/k8s/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/k8s", "description": "Wing for Kubernetes", - "version": "0.0.4", + "version": "0.0.5", "author": { "name": "Elad Ben-Israel", "email": "eladb@wing.cloud" diff --git a/lock/package.json b/lock/package.json index 3914faef..451d640b 100644 --- a/lock/package.json +++ b/lock/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/lock", "description": "A Wing library for cloud Lock", - "version": "0.0.4", + "version": "0.0.5", "author": { "name": "Eyal Keren", "email": "eyalk@wing.cloud" diff --git a/messagefanout/package.json b/messagefanout/package.json index d0f49e7a..a518c85d 100644 --- a/messagefanout/package.json +++ b/messagefanout/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/messagefanout", "description": "Message fanout library for Wing", - "version": "0.0.5", + "version": "0.0.6", "repository": { "type": "git", "url": "https://github.com/winglang/winglibs.git", diff --git a/momento/package.json b/momento/package.json index 391b0c93..15affc0a 100644 --- a/momento/package.json +++ b/momento/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/momento", "description": "momento library for Wing", - "version": "0.0.2", + "version": "0.0.3", "repository": { "type": "git", "url": "https://github.com/winglang/winglibs.git", @@ -28,4 +28,4 @@ "@gomomento/sdk": "^1.93.0", "@winglibs/tf": "^0.0.5" } -} \ No newline at end of file +} diff --git a/ngrok/package.json b/ngrok/package.json index e9afbf1c..fe2784c1 100644 --- a/ngrok/package.json +++ b/ngrok/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/ngrok", - "version": "0.0.7", + "version": "0.0.8", "description": "ngrok library for Wing", "author": { "name": "Elad Ben-Israel", diff --git a/openai/package.json b/openai/package.json index 5179daa7..ecd9e736 100644 --- a/openai/package.json +++ b/openai/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/openai", "description": "OpenAI library for Wing", - "version": "0.0.5", + "version": "0.0.6", "repository": { "type": "git", "url": "https://github.com/winglang/winglibs.git", diff --git a/postgres/package.json b/postgres/package.json index 1609b516..d4db0949 100644 --- a/postgres/package.json +++ b/postgres/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/postgres", - "version": "0.1.9", + "version": "0.1.10", "description": "Postgres support for Wing", "repository": { "type": "git", diff --git a/python/package.json b/python/package.json index 7ae0dd1b..2521340d 100644 --- a/python/package.json +++ b/python/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/python", "description": "python library for Wing", - "version": "0.1.2", + "version": "0.1.3", "repository": { "type": "git", "url": "https://github.com/winglang/winglibs.git", diff --git a/react/package.json b/react/package.json index fc9c68fd..4f5f2e15 100644 --- a/react/package.json +++ b/react/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/react", "description": "React library for Wing", - "version": "0.1.2", + "version": "0.1.3", "author": { "name": "Meir Elbaz", "email": "maornet@gmail.com" diff --git a/redis/package.json b/redis/package.json index 55d0c4fb..998e8262 100644 --- a/redis/package.json +++ b/redis/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/redis", - "version": "0.0.9", + "version": "0.0.10", "description": "Redis resource for Wing", "repository": { "type": "git", diff --git a/sagemaker/package.json b/sagemaker/package.json index 43b86e1e..ade281f0 100644 --- a/sagemaker/package.json +++ b/sagemaker/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/sagemaker", - "version": "0.0.6", + "version": "0.0.7", "description": "The library enables owners of a trained sagemaker model, to access its Endpoints from a winglang inflight code.", "repository": { "type": "git", diff --git a/ses/package.json b/ses/package.json index c139bb5d..3242ec97 100644 --- a/ses/package.json +++ b/ses/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/ses", "description": "Wing library for interacting with AWS SES", - "version": "0.0.4", + "version": "0.0.5", "repository": { "type": "git", "url": "https://github.com/winglang/winglibs.git", diff --git a/simtools/package.json b/simtools/package.json index 84b3d2da..2240ef17 100644 --- a/simtools/package.json +++ b/simtools/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/simtools", "description": "Wing simulator utility library", - "version": "0.0.2", + "version": "0.0.3", "repository": { "type": "git", "url": "https://github.com/winglang/winglibs.git", diff --git a/slack/package.json b/slack/package.json index 21e11df3..fefda657 100644 --- a/slack/package.json +++ b/slack/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/slack", - "version": "0.1.1", + "version": "0.1.2", "description": "Slack library for Wing", "repository": { "type": "git", @@ -25,4 +25,4 @@ } }, "license": "MIT" -} \ No newline at end of file +} diff --git a/sns/package.json b/sns/package.json index 70515c85..38b093a0 100644 --- a/sns/package.json +++ b/sns/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/sns", "description": "Wing library for interacting with Amazon SNS", - "version": "0.1.3", + "version": "0.1.4", "repository": { "type": "git", "url": "https://github.com/winglang/winglibs.git", diff --git a/tf/package.json b/tf/package.json index 57a2451c..3e57fa8c 100644 --- a/tf/package.json +++ b/tf/package.json @@ -5,7 +5,7 @@ "email": "eladb@wing.cloud", "name": "Elad Ben-Israel" }, - "version": "0.0.5", + "version": "0.0.6", "repository": { "type": "git", "url": "https://github.com/winglang/winglibs.git", diff --git a/tsoa/package.json b/tsoa/package.json index 01037054..48cf2e66 100644 --- a/tsoa/package.json +++ b/tsoa/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/tsoa", "description": "TSOA library for Wing", - "version": "0.1.11", + "version": "0.1.12", "author": { "email": "eyalk@wing.cloud", "name": "Eyal Keren" diff --git a/vite/package.json b/vite/package.json index cb2013ca..f4be428f 100644 --- a/vite/package.json +++ b/vite/package.json @@ -1,6 +1,6 @@ { "name": "@winglibs/vite", - "version": "0.2.1", + "version": "0.2.2", "description": "Wing resource that allows deploying a Vite application to the cloud", "repository": { "type": "git", diff --git a/websockets/package.json b/websockets/package.json index d494df31..abc430f9 100644 --- a/websockets/package.json +++ b/websockets/package.json @@ -1,7 +1,7 @@ { "name": "@winglibs/websockets", "description": "WebSocket library for Wing", - "version": "0.3.8", + "version": "0.3.9", "repository": { "type": "git", "url": "https://github.com/winglang/winglibs.git",