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.
@@ -25,7 +25,7 @@ jobs:
25
25
  - name: Update npm
26
26
  run: npm install -g npm@latest
27
27
  - name: Install dependencies
28
- run: npm ci
28
+ run: npm install
29
29
  - name: Release
30
30
  env:
31
31
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -8,6 +8,5 @@ jobs:
8
8
  - uses: actions/setup-node@master
9
9
  with:
10
10
  node-version: 'lts/*'
11
- cache: 'npm'
12
- - run: npm ci
11
+ - run: npm install
13
12
  - run: npx standard
@@ -10,6 +10,5 @@ jobs:
10
10
  - uses: actions/setup-node@master
11
11
  with:
12
12
  node-version: 'lts/*'
13
- cache: 'npm'
14
- - run: npm ci
13
+ - run: npm install
15
14
  - run: npm test
@@ -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 promises = deps.map(d => this.processModuleSchema(d, jsonschema))
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.1",
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
@@ -1,4 +0,0 @@
1
- scenarios:
2
- - flow:
3
- - get:
4
- url: "/config"