Skip to content

Commit

Permalink
Sync desktop app package.json with other Khoj clients metadata
Browse files Browse the repository at this point in the history
- Make `bump_version.sh' script set version for the Khoj desktop app too
- Sync Khoj desktop app authors, license, description and version with
  the other interfaces and server
- Update description in packages metadata to match project subtitle on Github
  • Loading branch information
debanjum committed Oct 14, 2023
1 parent 80fb56b commit 96c0b21
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 16 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "khoj-assistant"
description = "An AI personal assistant for your Digital Brain"
description = "An AI copilot for your Second Brain"
readme = "README.md"
license = "GPL-3.0-or-later"
requires-python = ">=3.8"
Expand Down
4 changes: 4 additions & 0 deletions scripts/bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ do
# Get current project version
current_version=$OPTARG

# Bump Desktop app to current version
cd $project_root/src/interface/desktop
sed -E -i.bak "s/version\": \"(.*)\",/version\": \"$current_version\",/" package.json

# Bump Obsidian plugin to current version
cd $project_root/src/interface/obsidian
sed -E -i.bak "s/version\": \"(.*)\",/version\": \"$current_version\",/" package.json
Expand Down
12 changes: 6 additions & 6 deletions src/interface/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "Khoj",
"homepage": ".",
"productName": "Khoj",
"version": "0.12.3",
"description": "Scaffolding for the desktop entrypoint to Khoj",
"main": "main.js",
"description": "An AI copilot for your Second Brain",
"author": "Saba Imran, Debanjum Singh Solanky <team@khoj.dev>",
"license": "GPL-3.0-or-later",
"homepage": "https://khoj.dev",
"repository": "\"https://github.com/khoj-ai/khoj\"",
"author": "Khoj <team@khoj.dev>",
"license": "MIT",
"productName": "Khoj",
"main": "main.js",
"private": false,
"devDependencies": {
"electron": "25.8.1"
Expand Down
13 changes: 7 additions & 6 deletions src/interface/emacs/khoj.el
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
;;; khoj.el --- AI personal assistant for your digital brain -*- lexical-binding: t -*-
;;; khoj.el --- AI copilot for your Second Brain -*- lexical-binding: t -*-

;; Copyright (C) 2021-2022 Debanjum Singh Solanky
;; Copyright (C) 2021-2023 Khoj Inc.

;; Author: Debanjum Singh Solanky <debanjum@gmail.com>
;; Description: An AI personal assistant for your digital brain
;; Author: Debanjum Singh Solanky <debanjum@khoj.dev>
;; Saba Imran <saba@khoj.dev>
;; Description: An AI copilot for your Second Brain
;; Keywords: search, chat, org-mode, outlines, markdown, pdf, image
;; Version: 0.12.3
;; Package-Requires: ((emacs "27.1") (transient "0.3.0") (dash "2.19.1"))
Expand All @@ -28,8 +29,8 @@

;;; Commentary:

;; Create an AI personal assistant for your `org-mode', `markdown' notes,
;; PDFs and images. The assistant exposes 2 modes, search and chat:
;; Create an AI copilot to your `org-mode', `markdown' notes,
;; PDFs and images. The copilot exposes 2 modes, search and chat:
;;
;; Chat provides faster answers, iterative discovery and assisted
;; creativity. It requires your OpenAI API key to access GPT models
Expand Down
6 changes: 3 additions & 3 deletions src/interface/obsidian/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "Khoj",
"version": "0.12.3",
"description": "An AI Personal Assistant for your Digital Brain",
"description": "An AI copilot for your Second Brain",
"author": "Debanjum Singh Solanky, Saba Imran <team@khoj.dev>",
"license": "GPL-3.0-or-later",
"main": "src/main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
Expand All @@ -14,8 +16,6 @@
"AI",
"assistant"
],
"author": "Debanjum Singh Solanky",
"license": "GPL-3.0-or-later",
"devDependencies": {
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "5.29.0",
Expand Down

0 comments on commit 96c0b21

Please sign in to comment.