Closed taiyme closed 1 month ago
/// @ 0.12.x
はAiScript Nextのutils.getLangVersionで判定できるみたい (エディション明示構文)
取得された値が null
or "0.11.1"
であればそれに対応した関数を使うようにしたい
// package.json
{
"@syuilo/aiscript": "0.11.1",
"@syuilo/aiscript-next": "npm:@syuilo/aiscript@0.12.4",
}
import {} from '@syuilo/aiscript';
import {} from '@syuilo/aiscript-next';
バージョンの共存はこんな感じにすればよさそうかな
AiScriptの処理、集約したいな ファイルごとに追記するのはとてもつらい
Summary
0.11.1 → 0.12.x では言語の互換性が無いためプラグインが全滅し、全俺が阿鼻叫喚なので
以前のプラグインも引き続き使えるように、かつ新しいプラグインも利用できるようにしたい