Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions chat/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
{
"name": "chat",
"version": "0.6.3",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint",
"export": "GITHUB_PAGES=true next build",
"serve-static": "npx serve out",
"deploy-gh-pages": "GITHUB_PAGES=true next build && gh-pages -d out --nojekyll -e chat -f",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"dependencies": {
"@radix-ui/react-dropdown-menu": "^2.1.14",
"@radix-ui/react-slot": "^1.2.2",
Expand Down Expand Up @@ -44,5 +30,19 @@
"tailwindcss": "^4",
"tw-animate-css": "^1.3.0",
"typescript": "^5"
}
},
"name": "chat",
"private": true,
"scripts": {
"build": "next build",
"build-storybook": "storybook build",
"deploy-gh-pages": "GITHUB_PAGES=true next build && gh-pages -d out --nojekyll -e chat -f",
"dev": "next dev --turbopack",
"export": "GITHUB_PAGES=true next build",
"lint": "next lint",
"serve-static": "npx serve out",
"start": "next start",
"storybook": "storybook dev -p 6006"
},
"version": "0.6.3"
}
4 changes: 2 additions & 2 deletions version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

version=$(go run main.go --version | awk '{print $3}')

jq --arg version "${version}" '.info.version = $version' openapi.json > openapi.json.tmp && mv openapi.json.tmp openapi.json
jq --arg version "${version}" '.version = $version' chat/package.json > chat/package.json.tmp && mv chat/package.json.tmp chat/package.json
jq --sort-keys --arg version "${version}" '.info.version = $version' openapi.json > openapi.json.tmp && mv openapi.json.tmp openapi.json
jq --sort-keys --arg version "${version}" '.version = $version' chat/package.json > chat/package.json.tmp && mv chat/package.json.tmp chat/package.json

echo -n "${version}"