@dsh-gis/dsh-opengis-skill 0.4.0 → 0.5.1

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.
Files changed (59) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +73 -21
  3. package/adaptations/brutile.md +19 -6
  4. package/adaptations/cesiumjs.md +14 -5
  5. package/adaptations/common.md +50 -20
  6. package/adaptations/deck-gl.md +19 -6
  7. package/adaptations/duckdb-spatial.md +20 -6
  8. package/adaptations/gdal-api.md +24 -6
  9. package/adaptations/gdal.md +22 -6
  10. package/adaptations/geolibre.md +20 -6
  11. package/adaptations/geometry-api-java.md +14 -6
  12. package/adaptations/geometry-api-net.md +17 -6
  13. package/adaptations/geonode.md +17 -6
  14. package/adaptations/geopandas.md +21 -6
  15. package/adaptations/geopipe-agent.md +21 -6
  16. package/adaptations/geos.md +21 -6
  17. package/adaptations/geoserver-cloud.md +17 -6
  18. package/adaptations/geoserver-rest-api.md +17 -6
  19. package/adaptations/geoserver.md +18 -6
  20. package/adaptations/geotools.md +19 -6
  21. package/adaptations/grass-gis.md +24 -6
  22. package/adaptations/jts.md +18 -6
  23. package/adaptations/kepler-gl.md +18 -5
  24. package/adaptations/leaflet.md +25 -6
  25. package/adaptations/mapbox-gl-js.md +23 -6
  26. package/adaptations/maplibre-gl-js.md +18 -6
  27. package/adaptations/maplibre-native.md +17 -6
  28. package/adaptations/mapserver.md +22 -6
  29. package/adaptations/mapsui.md +22 -6
  30. package/adaptations/nettopologysuite.md +19 -6
  31. package/adaptations/opendronemap.md +19 -6
  32. package/adaptations/opengis-all.md +16 -5
  33. package/adaptations/opengis-daf.md +16 -5
  34. package/adaptations/opengis-utils-for-java.md +20 -6
  35. package/adaptations/opengis-utils-for-net.md +23 -6
  36. package/adaptations/openlayers.md +20 -6
  37. package/adaptations/pdal.md +26 -6
  38. package/adaptations/postgis.md +20 -6
  39. package/adaptations/proj.md +20 -6
  40. package/adaptations/projnet4geoapi.md +21 -6
  41. package/adaptations/pyqgis.md +18 -6
  42. package/adaptations/qgis-process.md +21 -6
  43. package/adaptations/qgis-server.md +18 -6
  44. package/adaptations/shapely.md +22 -6
  45. package/adaptations/sharpmap.md +19 -6
  46. package/adaptations/spatialite.md +23 -6
  47. package/adaptations/stac-cog-titiler.md +21 -6
  48. package/adaptations/whitebox-tools.md +19 -6
  49. package/docs/DETAIL.md +18 -0
  50. package/lib/adaptations.d.ts +9 -0
  51. package/lib/adaptations.js +161 -27
  52. package/lib/index.d.ts +62 -12
  53. package/lib/index.js +165 -64
  54. package/lib/markdown-links.js +9 -2
  55. package/lib/taxonomy.d.ts +41 -0
  56. package/lib/taxonomy.js +369 -0
  57. package/locale/en.json +1 -0
  58. package/locale/zh.json +1 -0
  59. package/package.json +4 -2
@@ -0,0 +1,369 @@
1
+ /**
2
+ * Catalog taxonomy for the bundled GIS skills: the groups a session can filter
3
+ * on and the local trigger keywords that make an English description reachable
4
+ * from a Chinese request.
5
+ *
6
+ * Upstream frontmatter stays the single source of truth for *what* a skill
7
+ * covers. This module only carries two things the vendored snapshot cannot
8
+ * express without breaking byte-identity with the upstream git blob:
9
+ *
10
+ * - "GROUPS" a coarse, deployment-shaped partition. A session that only builds
11
+ * browser maps can hide the GeoServer and PostGIS skills without editing the
12
+ * package, which keeps the session catalog small.
13
+ * - "KEYWORDS" short phrases, mostly Chinese, that a user actually types. The
14
+ * upstream descriptions are English "Use when ..." sentences, so a Chinese
15
+ * request reaches the right skill only through the model's own translation.
16
+ * Keywords remove that hop: the provider exposes them on the candidate
17
+ * metadata and the routing test scores candidate matches against them.
18
+ *
19
+ * Keywords are matched as substrings, so they must be short and phrased the way
20
+ * a request phrases them ("点云滤波", not "滤波处理能力"). Overlap between two
21
+ * skills is expected and allowed; discrimination comes from the number of hits.
22
+ *
23
+ * @module @dsh-gis/dsh-opengis-skill/taxonomy
24
+ */
25
+
26
+ /** The coarse groups a plugin config may select from. */
27
+ export const GROUP_IDS = Object.freeze([
28
+ "desktop",
29
+ "server",
30
+ "data",
31
+ "geometry",
32
+ "web",
33
+ "dotnet",
34
+ "java",
35
+ "pipeline",
36
+ "meta"
37
+ ]);
38
+
39
+ /** One-line description of every group, used in diagnostics and docs. */
40
+ export const GROUP_DESCRIPTIONS = Object.freeze({
41
+ desktop: "QGIS 桌面与桌面端应用",
42
+ server: "服务端发布、目录与 OGC 服务",
43
+ data: "数据读写、栅格与矢量处理、空间数据库",
44
+ geometry: "几何算法与几何库",
45
+ web: "Web / 3D 前端可视化与地图控件",
46
+ dotnet: ".NET 技术栈专用的 GIS 库",
47
+ java: "Java 技术栈专用的 GIS 库",
48
+ pipeline: "流程编排、自动化管线与无人机重建",
49
+ meta: "跨技能的索引与流程总览"
50
+ });
51
+
52
+ /**
53
+ * Group membership per skill. A skill may belong to several groups; filtering
54
+ * unions the selected groups.
55
+ */
56
+ const SKILL_GROUPS = Object.freeze({
57
+ brutile: ["web", "dotnet"],
58
+ cesiumjs: ["web"],
59
+ "deck-gl": ["web"],
60
+ "duckdb-spatial": ["data"],
61
+ gdal: ["data"],
62
+ "gdal-api": ["data"],
63
+ geolibre: ["desktop", "web"],
64
+ "geometry-api-java": ["geometry", "java"],
65
+ "geometry-api-net": ["geometry", "dotnet"],
66
+ geonode: ["server"],
67
+ geopandas: ["data"],
68
+ "geopipe-agent": ["pipeline"],
69
+ geos: ["geometry"],
70
+ geoserver: ["server"],
71
+ "geoserver-cloud": ["server"],
72
+ "geoserver-rest-api": ["server"],
73
+ geotools: ["geometry", "java"],
74
+ "grass-gis": ["data"],
75
+ jts: ["geometry", "java"],
76
+ "kepler-gl": ["web"],
77
+ leaflet: ["web"],
78
+ "mapbox-gl-js": ["web"],
79
+ "maplibre-gl-js": ["web"],
80
+ "maplibre-native": ["web"],
81
+ mapserver: ["server"],
82
+ mapsui: ["dotnet"],
83
+ nettopologysuite: ["geometry", "dotnet"],
84
+ opendronemap: ["pipeline"],
85
+ "opengis-all": ["meta"],
86
+ "opengis-daf": ["pipeline"],
87
+ "opengis-utils-for-java": ["geometry", "java"],
88
+ "opengis-utils-for-net": ["geometry", "dotnet"],
89
+ openlayers: ["web"],
90
+ pdal: ["data"],
91
+ postgis: ["data"],
92
+ proj: ["data"],
93
+ projnet4geoapi: ["geometry", "dotnet"],
94
+ pyqgis: ["desktop"],
95
+ "qgis-process": ["desktop"],
96
+ "qgis-server": ["server"],
97
+ shapely: ["geometry"],
98
+ sharpmap: ["dotnet"],
99
+ spatialite: ["data"],
100
+ "stac-cog-titiler": ["data", "server"],
101
+ "whitebox-tools": ["data"]
102
+ });
103
+
104
+ /**
105
+ * Trigger phrases per skill, in the wording a request uses. English product
106
+ * names and acronyms are included where a Chinese request would keep them.
107
+ */
108
+ const SKILL_KEYWORDS = Object.freeze({
109
+ brutile: ["瓦片", "底图", "切片方案", "MBTiles", "离线地图"],
110
+ cesiumjs: ["三维地球", "3D Tiles", "倾斜摄影", "CZML", "模型贴地"],
111
+ "deck-gl": ["大数据可视化", "六边形聚合", "WebGL 图层", "轨迹热力"],
112
+ "duckdb-spatial": ["DuckDB", "Parquet", "列式分析", "空间函数"],
113
+ gdal: ["格式转换", "重投影", "镶嵌", "栅格裁剪", "重采样", "COG"],
114
+ "gdal-api": ["GDAL 绑定", "Python 绑定", "驱动注册", "异常处理"],
115
+ geolibre: ["GeoLibre", "桌面应用", "本地项目"],
116
+ "geometry-api-java": ["Esri 几何", "GeometryEngine", "Java 几何"],
117
+ "geometry-api-net": ["Esri 几何", "反序列化几何", "WKB", "GeoJSON 转几何"],
118
+ geonode: ["GeoNode", "元数据", "数据目录"],
119
+ geopandas: ["GeoDataFrame", "空间连接", "叠加分析", "出图"],
120
+ "geopipe-agent": ["GeoPipeAgent", "YAML 流程", "管线编排"],
121
+ geos: ["GEOS", "拓扑异常", "叠加失败", "C 接口"],
122
+ geoserver: ["GeoServer", "WMS", "WFS", "图层发布", "样式配置"],
123
+ "geoserver-cloud": ["微服务", "集群部署", "Kubernetes"],
124
+ "geoserver-rest-api": ["REST 发布", "批量建图层", "自动化发布"],
125
+ geotools: ["GeoTools", "要素读取", "渲染出图"],
126
+ "grass-gis": ["GRASS", "区域设置", "流域分析", "栅格代数"],
127
+ jts: ["JTS", "空间关系判断", "精度问题"],
128
+ "kepler-gl": ["Kepler.gl", "时空可视化", "出行轨迹"],
129
+ leaflet: ["Leaflet", "网页地图", "标记弹窗"],
130
+ "mapbox-gl-js": ["Mapbox", "样式表达式", "矢量瓦片渲染", "三维建筑"],
131
+ "maplibre-gl-js": ["MapLibre", "免密钥", "地形夸张"],
132
+ "maplibre-native": ["移动端地图", "离线地图包", "Android 地图"],
133
+ mapserver: ["MapServer", "mapfile", "地图服务发布"],
134
+ mapsui: ["Mapsui", "WPF 地图", "MAUI 地图"],
135
+ nettopologysuite: ["NetTopologySuite", "NTS", "EF Core 空间"],
136
+ opendronemap: ["无人机", "正射影像", "三维重建", "空三"],
137
+ "opengis-all": ["全流程", "技术选型", "链路串联"],
138
+ "opengis-daf": ["OpenGisDAF", "JSON 计划", "DAG 执行"],
139
+ "opengis-utils-for-java": ["OGU4J", "CGCS2000", "拓扑校验"],
140
+ "opengis-utils-for-net": ["OguLayerUtil", "格式互转", "GBK 乱码"],
141
+ openlayers: ["OpenLayers", "前端地图", "绘制编辑"],
142
+ pdal: ["点云滤波", "LAS", "地面分类", "PDAL"],
143
+ postgis: ["PostGIS", "空间数据库", "空间索引", "几何字段"],
144
+ proj: ["PROJ", "坐标转换", "投影参数", "EPSG"],
145
+ projnet4geoapi: ["ProjNet", "坐标转换", "EPSG 解析"],
146
+ pyqgis: ["PyQGIS", "QGIS 脚本", "QGIS 环境", "initQgis", "图层自动化"],
147
+ "qgis-process": ["qgis_process", "命令行算法", "无界面运行"],
148
+ "qgis-server": ["QGIS Server", "fcgi", "服务参数调优"],
149
+ shapely: ["Shapely", "缓冲区", "相交判断", "有效性修复"],
150
+ sharpmap: ["SharpMap", "WinForms 地图", "专题渲染"],
151
+ spatialite: ["SpatiaLite", "SQLite", "空间 SQL"],
152
+ "stac-cog-titiler": ["STAC", "TiTiler", "动态切片", "影像编目", "云优化影像"],
153
+ "whitebox-tools": ["WhiteboxTools", "洼地填充", "汇流累积", "地形指数"]
154
+ });
155
+
156
+ /**
157
+ * Score every catalog entry against one lowercased request.
158
+ *
159
+ * Two signals, both taken from what the provider actually exposes:
160
+ *
161
+ * - A keyword hit is worth three points, because the keywords are written in
162
+ * request wording and are the strongest evidence available.
163
+ * - A Latin token of the description is worth one point. Product names and
164
+ * acronyms (GDAL, PostGIS, MapLibre) survive a Chinese request untouched, so
165
+ * they separate neighbouring skills the keywords alone cannot.
166
+ *
167
+ * Description tokens shorter than three characters and pure numbers are
168
+ * ignored: they match too much and carry no routing signal.
169
+ *
170
+ * @param skills - the catalog entries; a description is optional but improves
171
+ * scoring when present.
172
+ * @param query - the request text, already lowercased.
173
+ * @returns one { name, score } entry per skill, in catalog order.
174
+ */
175
+ export function keywordScores(skills, query) {
176
+ return skills.map((skill) => {
177
+ let score = 0;
178
+ for (const keyword of keywordsOf(skill.name)) {
179
+ if (containsTerm(query, keyword)) score += 3;
180
+ }
181
+ for (const token of descriptionTokens(skill.description)) {
182
+ if (containsTerm(query, token)) score += 1;
183
+ }
184
+ return { name: skill.name, score };
185
+ });
186
+ }
187
+
188
+ /**
189
+ * Report whether one lowercased query contains a term as a whole word.
190
+ *
191
+ * A bare "includes" match is a substring test: "geos" fires inside
192
+ * "geoserver" and "jts" inside a version string, which makes two neighbouring
193
+ * skills score identically and turns routing into a coin flip. A term is
194
+ * therefore required to start and end at a non-alphanumeric boundary. The
195
+ * keywords are mostly Chinese, where word boundaries do not exist, so the
196
+ * check keeps the plain substring test whenever the term has no ASCII letter.
197
+ *
198
+ * @param query - the lowercased request text.
199
+ * @param term - the keyword or description token to look for.
200
+ * @returns whether the term occurs in the query.
201
+ */
202
+ function containsTerm(query, term) {
203
+ const needle = term.toLowerCase();
204
+ if (!/[a-z]/u.test(needle)) return query.includes(needle);
205
+ let index = query.indexOf(needle);
206
+ while (index !== -1) {
207
+ const before = index === 0 ? "" : query[index - 1];
208
+ const after = query[index + needle.length] ?? "";
209
+ if (!isTermCharacter(before) && !isTermCharacter(after)) return true;
210
+ index = query.indexOf(needle, index + 1);
211
+ }
212
+ return false;
213
+ }
214
+
215
+ /**
216
+ * Report whether one character continues a Latin term.
217
+ *
218
+ * @param character - one character, or the empty string at an edge.
219
+ * @returns whether the character is an ASCII letter or digit.
220
+ */
221
+ function isTermCharacter(character) {
222
+ return character.length > 0 && /[a-z0-9]/u.test(character);
223
+ }
224
+
225
+ /**
226
+ * Extract the Latin tokens of one description.
227
+ *
228
+ * Short tokens and pure numbers are dropped: they match too much ("use", "id")
229
+ * or carry no routing signal, and a two-character token would fire on every
230
+ * version string in a request.
231
+ *
232
+ * @param description - the upstream description, when known.
233
+ * @returns the lowercased tokens, deduplicated.
234
+ */
235
+ function descriptionTokens(description) {
236
+ if (typeof description !== "string") return [];
237
+ const tokens = new Set();
238
+ for (const match of description.toLowerCase().matchAll(/[a-z][a-z0-9+#.-]{2,}/gu)) {
239
+ if (/^\d+$/u.test(match[0])) continue;
240
+ tokens.add(match[0]);
241
+ }
242
+ return [...tokens];
243
+ }
244
+
245
+ /**
246
+ * The groups one skill belongs to.
247
+ *
248
+ * @param name - kebab-case skill name.
249
+ * @returns the group ids, empty when the taxonomy has no entry.
250
+ */
251
+ export function groupsOf(name) {
252
+ const groups = SKILL_GROUPS[name];
253
+ return groups === undefined ? [] : [...groups];
254
+ }
255
+
256
+ /**
257
+ * The trigger keywords of one skill.
258
+ *
259
+ * @param name - kebab-case skill name.
260
+ * @returns the keywords, empty when the taxonomy has no entry.
261
+ */
262
+ export function keywordsOf(name) {
263
+ const keywords = SKILL_KEYWORDS[name];
264
+ return keywords === undefined ? [] : [...keywords];
265
+ }
266
+
267
+ /**
268
+ * Report every skill the taxonomy does not describe, and every key it describes
269
+ * that the catalog does not ship.
270
+ *
271
+ * @param names - the catalog skill names.
272
+ * @returns human-readable problems, empty when the taxonomy matches the catalog.
273
+ */
274
+ export function taxonomyProblems(names) {
275
+ const problems = [];
276
+ const catalog = new Set(names);
277
+ for (const name of names) {
278
+ if (groupsOf(name).length === 0) problems.push("lib/taxonomy.js: \"" + name + "\" has no group; add it to SKILL_GROUPS");
279
+ if (keywordsOf(name).length < 3) problems.push("lib/taxonomy.js: \"" + name + "\" has fewer than 3 keywords; add trigger phrases to SKILL_KEYWORDS");
280
+ }
281
+ for (const name of Object.keys(SKILL_GROUPS)) {
282
+ if (!catalog.has(name)) problems.push("lib/taxonomy.js: SKILL_GROUPS names \"" + name + "\", which is not a bundled skill");
283
+ for (const group of SKILL_GROUPS[name]) {
284
+ if (!GROUP_IDS.includes(group)) problems.push("lib/taxonomy.js: \"" + name + "\" lists unknown group \"" + group + "\"");
285
+ }
286
+ }
287
+ for (const name of Object.keys(SKILL_KEYWORDS)) {
288
+ if (!catalog.has(name)) problems.push("lib/taxonomy.js: SKILL_KEYWORDS names \"" + name + "\", which is not a bundled skill");
289
+ const seen = new Set();
290
+ for (const keyword of SKILL_KEYWORDS[name]) {
291
+ if (keyword.trim().length === 0) problems.push("lib/taxonomy.js: \"" + name + "\" carries an empty keyword");
292
+ if (seen.has(keyword)) problems.push("lib/taxonomy.js: \"" + name + "\" repeats the keyword \"" + keyword + "\"");
293
+ seen.add(keyword);
294
+ }
295
+ }
296
+ for (const group of GROUP_IDS) {
297
+ if (!Object.values(SKILL_GROUPS).some((groups) => groups.includes(group))) problems.push("lib/taxonomy.js: group \"" + group + "\" has no members");
298
+ }
299
+ return problems;
300
+ }
301
+
302
+ /**
303
+ * Read one optional string list from the plugin config.
304
+ *
305
+ * @param config - the raw plugin config, possibly undefined.
306
+ * @param key - the field to read.
307
+ * @returns the list, empty when the field is absent.
308
+ * @throws when the field is present but is not an array of non-empty strings.
309
+ */
310
+ function readList(config, key) {
311
+ const value = config?.[key];
312
+ if (value === undefined) return [];
313
+ if (!Array.isArray(value) || value.some((entry) => typeof entry !== "string" || entry.length === 0)) {
314
+ throw new Error('opengis-skill: plugin config field "' + key + '" must be an array of non-empty strings');
315
+ }
316
+ return [...value];
317
+ }
318
+
319
+ /**
320
+ * Validate and normalize the plugin config into a selection.
321
+ *
322
+ * The three fields compose as: "skills" wins over "groups" when both are given,
323
+ * and "exclude" is always applied last. Unknown group ids and unknown skill
324
+ * names are rejected instead of being silently ignored, because a typo in a
325
+ * filter silently returns the wrong catalog.
326
+ *
327
+ * @param config - the raw plugin config, possibly undefined.
328
+ * @param skills - the catalog entries the plugin loaded.
329
+ * @returns the normalized selection.
330
+ * @throws when a field is malformed or names an unknown group or skill.
331
+ */
332
+ export function normalizeSelection(config, skills) {
333
+ const available = new Set(skills.map((skill) => skill.name));
334
+ const groups = readList(config, "groups");
335
+ const only = readList(config, "skills");
336
+ const exclude = readList(config, "exclude");
337
+ for (const group of groups) {
338
+ if (!GROUP_IDS.includes(group)) {
339
+ throw new Error('opengis-skill: unknown group "' + group + '"; valid groups are ' + GROUP_IDS.join(", "));
340
+ }
341
+ }
342
+ for (const name of [...only, ...exclude]) {
343
+ if (!available.has(name)) throw new Error('opengis-skill: unknown skill "' + name + '" in the plugin config; the catalog ships ' + skills.length + " skills");
344
+ }
345
+ return { groups, only, exclude };
346
+ }
347
+
348
+ /**
349
+ * Apply one selection to the catalog, keeping the catalog order.
350
+ *
351
+ * @param skills - the catalog entries the plugin loaded.
352
+ * @param selection - the normalized selection.
353
+ * @returns the visible catalog entries.
354
+ * @throws when the selection hides every skill.
355
+ */
356
+ export function selectSkills(skills, selection) {
357
+ const wanted = new Set(selection.only);
358
+ const excluded = new Set(selection.exclude);
359
+ const selected = skills.filter((skill) => {
360
+ if (excluded.has(skill.name)) return false;
361
+ if (wanted.size > 0) return wanted.has(skill.name);
362
+ if (selection.groups.length === 0) return true;
363
+ return groupsOf(skill.name).some((group) => selection.groups.includes(group));
364
+ });
365
+ if (selected.length === 0) {
366
+ throw new Error("opengis-skill: the plugin config selects no skill; widen \"groups\" or drop \"exclude\"");
367
+ }
368
+ return selected;
369
+ }
package/locale/en.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "meta": {
3
+ "detail": "docs/DETAIL.md",
3
4
  "title": "OpenGIS Skills",
4
5
  "description": "45 GIS skills from opengis-skills (GDAL, QGIS, GeoServer, PostGIS, DuckDB Spatial, JTS, GEOS, CesiumJS, OpenLayers, MapLibre, OpenDroneMap, STAC/COG and more) loaded on demand, each extended with a DeepSeek Harness execution layer: tool mapping, background jobs, artifact verification and consent gates."
5
6
  }
package/locale/zh.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "meta": {
3
+ "detail": "docs/DETAIL.md",
3
4
  "title": "OpenGIS 技能包",
4
5
  "description": "来自 opengis-skills 的 45 个 GIS 技能:GDAL、QGIS、GeoServer、PostGIS、DuckDB Spatial、JTS、GEOS、CesiumJS、OpenLayers、MapLibre、OpenDroneMap、STAC/COG 等。正文与参考资料按需加载,并附带 DeepSeek Harness 执行层(工具映射、后台作业、产物验证、权限确认)。"
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-gis/dsh-opengis-skill",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "OpenGIS skill pack for DeepSeek Harness: the 45 gis/ skills from opengis-skills, vendored byte-for-byte and loaded on demand, plus a DeepSeek Harness execution layer (tool mapping, background jobs, verification, consent, upstream routing metadata) appended at load time.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -23,6 +23,7 @@
23
23
  "files": [
24
24
  "lib",
25
25
  "assets",
26
+ "docs",
26
27
  "adaptations",
27
28
  "cordis.patch.yml",
28
29
  "locale/*.json",
@@ -47,8 +48,9 @@
47
48
  "sync:check": "node scripts/sync-opengis-skills.mjs --check",
48
49
  "validate": "node scripts/validate-skills.mjs",
49
50
  "check:adaptations": "node scripts/check-adaptations.mjs",
51
+ "check:citations": "node scripts/check-citations.mjs",
50
52
  "test": "node --test",
51
- "check": "npm run validate && npm test",
53
+ "check": "npm run validate && npm run check:adaptations && npm run check:citations && npm test",
52
54
  "prepublishOnly": "npm run check"
53
55
  },
54
56
  "repository": {