Skip to content

Commit

Permalink
enhance(client): update AiScript to 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Mar 15, 2023
1 parent f9cdcc9 commit 6da6c4d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ You should also include the user name that made the change.
- 配送先サーバーが410 Goneで応答してきた場合は自動で配送停止をするように
- avatarBlurHash/bannerBlurHashの型をstringに限定
- ナビゲーションバーの項目に「プロフィール」を追加できるように
- AiScriptを0.13.0に更新

### Bugfixes
- プロフィールで設定した情報が削除できない問題を修正
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@rollup/plugin-alias": "4.0.3",
"@rollup/plugin-json": "6.0.0",
"@rollup/pluginutils": "5.0.2",
"@syuilo/aiscript": "0.12.4",
"@syuilo/aiscript": "0.13.0",
"@tabler/icons-webfont": "2.2.0",
"@vitejs/plugin-vue": "4.0.0",
"@vue/compiler-sfc": "3.2.47",
Expand Down
10 changes: 5 additions & 5 deletions packages/frontend/src/pages/flash/flash-edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import MkTextarea from '@/components/MkTextarea.vue';
import MkInput from '@/components/MkInput.vue';
import { useRouter } from '@/router';
const PRESET_DEFAULT = `/// @ 0.12.4
const PRESET_DEFAULT = `/// @ 0.13.0
var name = ""
Expand All @@ -51,7 +51,7 @@ Ui:render([
])
`;
const PRESET_OMIKUJI = `/// @ 0.12.4
const PRESET_OMIKUJI = `/// @ 0.13.0
// ユーザーごとに日替わりのおみくじのプリセット
// 選択肢
Expand Down Expand Up @@ -94,7 +94,7 @@ Ui:render([
])
`;
const PRESET_SHUFFLE = `/// @ 0.12.4
const PRESET_SHUFFLE = `/// @ 0.13.0
// 巻き戻し可能な文字シャッフルのプリセット
let string = "ペペロンチーノ"
Expand Down Expand Up @@ -173,7 +173,7 @@ var cursor = 0
do()
`;
const PRESET_QUIZ = `/// @ 0.12.4
const PRESET_QUIZ = `/// @ 0.13.0
let title = '地理クイズ'
let qas = [{
Expand Down Expand Up @@ -286,7 +286,7 @@ qaEls.push(Ui:C:container({
Ui:render(qaEls)
`;
const PRESET_TIMELINE = `/// @ 0.12.4
const PRESET_TIMELINE = `/// @ 0.13.0
// APIリクエストを行いローカルタイムラインを表示するプリセット
@fetch() {
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/settings/plugin.install.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function install() {
text: 'No language version annotation found :(',
});
return;
} else if (!lv.startsWith('0.12.')) {
} else if (!(lv.startsWith('0.12.') || lv.startsWith('0.13.'))) {
os.alert({
type: 'error',
text: `aiscript version '${lv}' is not supported :(`,
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6da6c4d

Please sign in to comment.