-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add facades refactor: core module export refactor: inference plugin - deprecate function registering (janhq#537) * refactor: revamp inference plugin as class - deprecate function registering * refactor: monitoring plugin - deprecate service registering (janhq#538) refactor: revamp inference plugin as class - deprecate function registering chore: update import refactor: plugin revamp - model management chore: update build steps and remove experimental plugins refactor: remove pluggable electron chore: add sorting for conversations chore: build plugins for testing chore: consistent plugin directory name chore: docs chore: fix CI chore: update conversation prefix
- Loading branch information
Showing
147 changed files
with
1,800 additions
and
3,670 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,11 @@ jobs: | |
for dir in $(cat /tmp/change_dir.txt) | ||
do | ||
echo "$dir" | ||
if [ ! -d "$dir" ]; then | ||
echo "Directory $dir does not exist, plugin might be removed, skipping..." | ||
continue | ||
fi | ||
# Extract current version | ||
current_version=$(jq -r '.version' $dir/package.json) | ||
|
@@ -80,13 +85,22 @@ jobs: | |
with: | ||
node-version: "20.x" | ||
registry-url: "https://registry.npmjs.org" | ||
- name: Build core module | ||
run: | | ||
cd core | ||
npm install | ||
npm run build | ||
- name: Publish npm packages | ||
run: | | ||
cd plugins | ||
for dir in $(cat /tmp/change_dir.txt) | ||
do | ||
echo $dir | ||
if [ ! -d "$dir" ]; then | ||
echo "Directory $dir does not exist, plugin might be removed, skipping..." | ||
continue | ||
fi | ||
cd $dir | ||
npm install | ||
if [[ $dir == 'data-plugin' ]]; then | ||
|
@@ -112,6 +126,10 @@ jobs: | |
for dir in $(cat /tmp/change_dir.txt) | ||
do | ||
echo "$dir" | ||
if [ ! -d "$dir" ]; then | ||
echo "Directory $dir does not exist, plugin might be removed, skipping..." | ||
continue | ||
fi | ||
version=$(jq -r '.version' plugins/$dir/package.json) | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Service Account" | ||
|
Oops, something went wrong.