-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5bb3ea8
commit feb8222
Showing
8 changed files
with
67 additions
and
14 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/python @angrybayblade @tushar-composio | ||
/js @himanshu-dixit @plxity | ||
/js @himanshu-dixit @plxity @utkarsh-dixit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
List of things to do for Composio JS SDK | ||
- [ ] Decrease bundle size more to less than 500 kb. | ||
- [ ] Move away from axios | ||
- [ ] Optimise code from openapi spec | ||
- [ ] Move away from class based to functional based code | ||
- [ ] Add react code library | ||
- [ ] Add support via browserify | ||
- [ ] Add more edge cases | ||
- [ ] Sign JS SDK CLIs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
# Get the current version from package.dist.json and package.json | ||
current_version=$(grep '"version":' package.dist.json | cut -d'"' -f4) | ||
current_version_pkg=$(grep '"version":' package.json | cut -d'"' -f4) | ||
|
||
# Get new version from argument or prompt user | ||
if [ -z "$1" ]; then | ||
echo "Current version in package.dist.json is: $current_version" | ||
echo "Current version in package.json is: $current_version_pkg" | ||
echo "Enter new version:" | ||
read new_version | ||
else | ||
new_version=$1 | ||
fi | ||
|
||
# Update version in package.dist.json | ||
sed -i.bak "s/\"version\": \"$current_version\"/\"version\": \"$new_version\"/" package.dist.json && rm package.dist.json.bak | ||
|
||
# Update version in package.json | ||
sed -i.bak "s/\"version\": \"$current_version_pkg\"/\"version\": \"$new_version\"/" package.json && rm package.json.bak | ||
|
||
# Update version in src/constants.js | ||
sed -i.bak "s/COMPOSIO_VERSION = \`$current_version\`/COMPOSIO_VERSION = \`$new_version\`/" src/constants.js && rm src/constants.js.bak | ||
|
||
echo "Version updated from $current_version to $new_version in package.dist.json" | ||
echo "Version updated from $current_version_pkg to $new_version in package.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "composio-core", | ||
"version": "0.4.4-beta", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": {}, | ||
"bin": { | ||
"composio-js": "./cli/index", | ||
"composio": "./cli/index" | ||
}, | ||
"lint-staged": {}, | ||
"keywords": [], | ||
"author": "Utkarsh Dixit <utkarsh@composio.dev>", | ||
"license": "ISC", | ||
"devDependencies": {}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters