scv-esm 1.126.0 → 1.130.0
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/.github/workflows/schedule-actions.yml +1 -1
- package/package.json +2 -2
- package/scripts/install +2 -2
- package/scripts/js/{authors.js → authors.mjs} +9 -4
- package/scripts/schedule-action +1 -1
- package/src/auto/authors-v2.mjs +2 -2
- package/src/auto/suid-map.json +1 -0
- package/src/auto/suid-map.mjs +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scv-esm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.130.0",
|
|
4
4
|
"description": "SuttaCentral Voice ES Module",
|
|
5
5
|
"main": "index.mjs",
|
|
6
6
|
"module": "main.mjs",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"eslint": "^9.17.0",
|
|
27
27
|
"memo-again": "^0.8.0",
|
|
28
28
|
"mocha": "^11.0.1",
|
|
29
|
-
"scv-bilara": "^3.
|
|
29
|
+
"scv-bilara": "^3.197.1",
|
|
30
30
|
"should": "^13.2.3",
|
|
31
31
|
"suttacentral-api": "^2.24.0"
|
|
32
32
|
}
|
package/scripts/install
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
DIR=`dirname $0`
|
|
4
4
|
SCRIPT=`basename $0 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
|
|
5
5
|
|
|
6
|
-
${DIR}/install-node
|
|
7
|
-
${DIR}/update-npm
|
|
6
|
+
${DIR}/install-node 24 &&
|
|
7
|
+
${DIR}/update-npm 11 &&
|
|
8
8
|
${DIR}/install-ripgrep &&
|
|
9
9
|
npm install &&
|
|
10
10
|
echo -e "${SCRIPT}: completed (OK)"
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import fs from "fs";
|
|
4
|
+
import path from "path";
|
|
5
|
+
import { fileURLToPath } from "url";
|
|
6
|
+
import { logger } from "log-instance";
|
|
7
|
+
import * as module from "../../index.mjs";
|
|
8
|
+
|
|
9
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
10
|
+
const __dirname = path.dirname(__filename);
|
|
6
11
|
|
|
7
12
|
const APP_DIR = path.join(__dirname, "..", "..");
|
|
8
13
|
const LOCAL_DIR = path.join(APP_DIR, "local");
|
|
@@ -11,7 +16,7 @@ const EBT_DATA_DIR = path.join(LOCAL_DIR, "ebt-data");
|
|
|
11
16
|
const EBT_AUTHOR = path.join(EBT_DATA_DIR, "_author.json");
|
|
12
17
|
const SCRIPT = path.basename(__filename);
|
|
13
18
|
const AUTHORS_PATH = path.join(SRC_DIR, "auto", "authors.mjs");
|
|
14
|
-
const { Examples } =
|
|
19
|
+
const { Examples } = module;
|
|
15
20
|
|
|
16
21
|
const COMMENT = [`Auto-generated by ${SCRIPT}`];
|
|
17
22
|
|
package/scripts/schedule-action
CHANGED
package/src/auto/authors-v2.mjs
CHANGED
|
@@ -165,7 +165,7 @@ const AUTHORS = {
|
|
|
165
165
|
"sutta"
|
|
166
166
|
],
|
|
167
167
|
"stats": {
|
|
168
|
-
"sutta":
|
|
168
|
+
"sutta": 4058,
|
|
169
169
|
"sutta/an": 1408,
|
|
170
170
|
"sutta/an/an1": 31,
|
|
171
171
|
"sutta/an/an2": 19,
|
|
@@ -197,7 +197,7 @@ const AUTHORS = {
|
|
|
197
197
|
"sutta/kn/ja": 47,
|
|
198
198
|
"sutta/kn/kp": 9,
|
|
199
199
|
"sutta/kn/mil": 1,
|
|
200
|
-
"sutta/mn":
|
|
200
|
+
"sutta/mn": 128,
|
|
201
201
|
"sutta/sn": 1819,
|
|
202
202
|
"sutta/sn/sn1": 81,
|
|
203
203
|
"sutta/sn/sn2": 30,
|
package/src/auto/suid-map.json
CHANGED
|
@@ -11119,6 +11119,7 @@
|
|
|
11119
11119
|
"root/pli/ms": "sutta/mn"
|
|
11120
11120
|
},
|
|
11121
11121
|
"mn106": {
|
|
11122
|
+
"translation/de/sabbamitta": "sutta/mn",
|
|
11122
11123
|
"translation/en/sujato": "sutta/mn",
|
|
11123
11124
|
"translation/it/giovannizappa": "sutta/mn",
|
|
11124
11125
|
"translation/ru/sv": "sutta/mn",
|
package/src/auto/suid-map.mjs
CHANGED
|
@@ -11119,6 +11119,7 @@ const SUIDMAP = {
|
|
|
11119
11119
|
"root/pli/ms": "sutta/mn"
|
|
11120
11120
|
},
|
|
11121
11121
|
"mn106": {
|
|
11122
|
+
"translation/de/sabbamitta": "sutta/mn",
|
|
11122
11123
|
"translation/en/sujato": "sutta/mn",
|
|
11123
11124
|
"translation/it/giovannizappa": "sutta/mn",
|
|
11124
11125
|
"translation/ru/sv": "sutta/mn",
|