Skip to content

Commit

Permalink
chore: bump all winglibs
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr committed Jul 31, 2024
1 parent f10083c commit b4a087d
Show file tree
Hide file tree
Showing 30 changed files with 66 additions and 31 deletions.
2 changes: 1 addition & 1 deletion bedrock/package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion budget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@winglibs/budget",
"version": "0.1.3",
"version": "0.1.4",
"description": "AWS Budget",
"keywords": [
"AWS",
Expand Down
35 changes: 35 additions & 0 deletions bump-all.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion checks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@winglibs/checks",
"version": "0.0.14",
"version": "0.0.15",
"description": "Cloud checks",
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion cognito/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion containers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@winglibs/containers",
"version": "0.1.3",
"version": "0.1.4",
"description": "Container support for Wing",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion dynamodb/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion eventbridge/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion fifoqueue/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion github/package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion jwt/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion k8s/package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion lock/package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion messagefanout/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions momento/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -28,4 +28,4 @@
"@gomomento/sdk": "^1.93.0",
"@winglibs/tf": "^0.0.5"
}
}
}
2 changes: 1 addition & 1 deletion ngrok/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion openai/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion postgres/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@winglibs/postgres",
"version": "0.1.9",
"version": "0.1.10",
"description": "Postgres support for Wing",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion python/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion react/package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion redis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@winglibs/redis",
"version": "0.0.9",
"version": "0.0.10",
"description": "Redis resource for Wing",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion sagemaker/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ses/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion simtools/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions slack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@winglibs/slack",
"version": "0.1.1",
"version": "0.1.2",
"description": "Slack library for Wing",
"repository": {
"type": "git",
Expand All @@ -25,4 +25,4 @@
}
},
"license": "MIT"
}
}
2 changes: 1 addition & 1 deletion sns/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"email": "[email protected]",
"name": "Elad Ben-Israel"
},
"version": "0.0.5",
"version": "0.0.6",
"repository": {
"type": "git",
"url": "https://github.com/winglang/winglibs.git",
Expand Down
2 changes: 1 addition & 1 deletion tsoa/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@winglibs/tsoa",
"description": "TSOA library for Wing",
"version": "0.1.11",
"version": "0.1.12",
"author": {
"email": "[email protected]",
"name": "Eyal Keren"
Expand Down
2 changes: 1 addition & 1 deletion vite/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion websockets/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit b4a087d

Please sign in to comment.