adapt-authoring-config 1.4.1 → 1.4.3
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/lib/ConfigModule.js
CHANGED
|
@@ -127,7 +127,10 @@ class ConfigModule extends AbstractModule {
|
|
|
127
127
|
if (isCore(b)) return 1
|
|
128
128
|
return a.name.localeCompare(b.name)
|
|
129
129
|
})
|
|
130
|
-
const
|
|
130
|
+
const coreDep = deps.find(d => isCore(d))
|
|
131
|
+
if (coreDep) await this.processModuleSchema(coreDep, jsonschema)
|
|
132
|
+
|
|
133
|
+
const promises = deps.filter(d => !isCore(d)).map(d => this.processModuleSchema(d, jsonschema))
|
|
131
134
|
let hasErrored = false;
|
|
132
135
|
|
|
133
136
|
(await Promise.allSettled(promises)).forEach(r => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adapt-authoring-config",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "A configuration module for the Adapt authoring tool.",
|
|
5
5
|
"homepage": "https://github.com/adapt-security/adapt-authoring-config",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -24,20 +24,6 @@
|
|
|
24
24
|
"adapt-authoring-jsonschema": "^1.2.0",
|
|
25
25
|
"adapt-authoring-server": "^2.0.0"
|
|
26
26
|
},
|
|
27
|
-
"peerDependenciesMeta": {
|
|
28
|
-
"adapt-authoring-auth": {
|
|
29
|
-
"optional": true
|
|
30
|
-
},
|
|
31
|
-
"adapt-authoring-errors": {
|
|
32
|
-
"optional": true
|
|
33
|
-
},
|
|
34
|
-
"adapt-authoring-jsonschema": {
|
|
35
|
-
"optional": true
|
|
36
|
-
},
|
|
37
|
-
"adapt-authoring-server": {
|
|
38
|
-
"optional": true
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
27
|
"devDependencies": {
|
|
42
28
|
"@semantic-release/git": "^10.0.1",
|
|
43
29
|
"conventional-changelog-eslint": "^6.0.0",
|
package/artillery.yml
DELETED