@mekuru/coeiroink 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.jp.md +3 -3
- package/README.md +3 -3
- package/package.json +11 -5
package/README.jp.md
CHANGED
|
@@ -11,17 +11,17 @@ Mekuru Movie Maker のセリフを、COEIROINK v2 で読み上げる `Coeiroink`
|
|
|
11
11
|
Bun 1.4 以上・libx264 付き ffmpeg・ffprobe・日本語フォントを用意し、プロジェクトに追加します。
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
bun add -d @mekuru/
|
|
14
|
+
bun add -d @mekuru/types @mekuru/core @mekuru/coeiroink
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
`tsconfig.json` に `jsx: "react-jsx"` と `jsxImportSource: "@mekuru/
|
|
17
|
+
`tsconfig.json` に `jsx: "react-jsx"` と `jsxImportSource: "@mekuru/types"` を設定します。`bun create @mekuru` では設定済みです。
|
|
18
18
|
|
|
19
19
|
## 簡単な使い方
|
|
20
20
|
|
|
21
21
|
`src/main.tsx` に保存します。
|
|
22
22
|
|
|
23
23
|
```tsx
|
|
24
|
-
import { writeXml } from "@mekuru/
|
|
24
|
+
import { writeXml } from "@mekuru/types";
|
|
25
25
|
import { Coeiroink } from "@mekuru/coeiroink";
|
|
26
26
|
|
|
27
27
|
const text = "こんにちは。";
|
package/README.md
CHANGED
|
@@ -11,17 +11,17 @@ Install [COEIROINK v2](https://coeiroink.com/download), download the desired voi
|
|
|
11
11
|
Requires Bun 1.4+, ffmpeg with libx264, ffprobe, and Japanese fonts. Install in the project folder:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
bun add -d @mekuru/
|
|
14
|
+
bun add -d @mekuru/types @mekuru/core @mekuru/coeiroink
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
In `tsconfig.json`, set `jsx: "react-jsx"` and `jsxImportSource: "@mekuru/
|
|
17
|
+
In `tsconfig.json`, set `jsx: "react-jsx"` and `jsxImportSource: "@mekuru/types"` (already set by `bun create @mekuru`).
|
|
18
18
|
|
|
19
19
|
## Quick start
|
|
20
20
|
|
|
21
21
|
Save as `src/main.tsx`:
|
|
22
22
|
|
|
23
23
|
```tsx
|
|
24
|
-
import { writeXml } from "@mekuru/
|
|
24
|
+
import { writeXml } from "@mekuru/types";
|
|
25
25
|
import { Coeiroink } from "@mekuru/coeiroink";
|
|
26
26
|
|
|
27
27
|
const text = "こんにちは。";
|
package/package.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mekuru/coeiroink",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/kanade-k-1228/mekuru.git",
|
|
7
|
+
"directory": "pkgs/coeiroink"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/kanade-k-1228/mekuru/blob/main/pkgs/coeiroink/README.md",
|
|
4
10
|
"description": "The speech component <Coeiroink> of Mekuru Movie Maker: lines of speech read by COEIROINK",
|
|
5
11
|
"type": "module",
|
|
6
12
|
"exports": {
|
|
@@ -11,14 +17,14 @@
|
|
|
11
17
|
],
|
|
12
18
|
"sideEffects": false,
|
|
13
19
|
"peerDependencies": {
|
|
14
|
-
"@mekuru/
|
|
20
|
+
"@mekuru/types": "^0.1.4"
|
|
15
21
|
},
|
|
16
22
|
"devDependencies": {
|
|
17
|
-
"@mekuru/
|
|
23
|
+
"@mekuru/types": "0.1.4"
|
|
18
24
|
},
|
|
19
25
|
"dependencies": {
|
|
20
|
-
"@mekuru/speech": "^0.1.
|
|
21
|
-
"@mekuru/audio": "^0.1.
|
|
26
|
+
"@mekuru/speech": "^0.1.4",
|
|
27
|
+
"@mekuru/audio": "^0.1.4"
|
|
22
28
|
},
|
|
23
29
|
"engines": {
|
|
24
30
|
"bun": ">=1.4"
|