Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2c4fccb

Browse files
chore: ensure sorted jq output (#77)
1 parent 66713c7 commit 2c4fccb

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

‎chat/package.json‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
{
2-
"name": "chat",
3-
"version": "0.6.3",
4-
"private": true,
5-
"scripts": {
6-
"dev": "next dev --turbopack",
7-
"build": "next build",
8-
"start": "next start",
9-
"lint": "next lint",
10-
"export": "GITHUB_PAGES=true next build",
11-
"serve-static": "npx serve out",
12-
"deploy-gh-pages": "GITHUB_PAGES=true next build && gh-pages -d out --nojekyll -e chat -f",
13-
"storybook": "storybook dev -p 6006",
14-
"build-storybook": "storybook build"
15-
},
162
"dependencies": {
173
"@radix-ui/react-dropdown-menu": "^2.1.14",
184
"@radix-ui/react-slot": "^1.2.2",
@@ -44,5 +30,19 @@
4430
"tailwindcss": "^4",
4531
"tw-animate-css": "^1.3.0",
4632
"typescript": "^5"
47-
}
33+
},
34+
"name": "chat",
35+
"private": true,
36+
"scripts": {
37+
"build": "next build",
38+
"build-storybook": "storybook build",
39+
"deploy-gh-pages": "GITHUB_PAGES=true next build && gh-pages -d out --nojekyll -e chat -f",
40+
"dev": "next dev --turbopack",
41+
"export": "GITHUB_PAGES=true next build",
42+
"lint": "next lint",
43+
"serve-static": "npx serve out",
44+
"start": "next start",
45+
"storybook": "storybook dev -p 6006"
46+
},
47+
"version": "0.6.3"
4848
}

‎version.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fi
99

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

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

1515
echo -n "${version}"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /