adapt-authoring-api 3.6.0 → 3.6.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.
@@ -1,32 +1,17 @@
1
1
  name: Release
2
+
2
3
  on:
3
4
  push:
4
5
  branches:
5
6
  - master
6
7
 
8
+ permissions:
9
+ contents: write
10
+ issues: write
11
+ pull-requests: write
12
+ id-token: write
13
+ packages: write
14
+
7
15
  jobs:
8
16
  release:
9
- name: Release
10
- runs-on: ubuntu-latest
11
- permissions:
12
- contents: write # to be able to publish a GitHub release
13
- issues: write # to be able to comment on released issues
14
- pull-requests: write # to be able to comment on released pull requests
15
- id-token: write # to enable use of OIDC for trusted publishing and npm provenance
16
- steps:
17
- - name: Checkout
18
- uses: actions/checkout@v3
19
- with:
20
- fetch-depth: 0
21
- - name: Setup Node.js
22
- uses: actions/setup-node@v3
23
- with:
24
- node-version: 'lts/*'
25
- - name: Update npm
26
- run: npm install -g npm@latest
27
- - name: Install dependencies
28
- run: npm install
29
- - name: Release
30
- env:
31
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
- run: npx semantic-release
17
+ uses: adaptlearning/semantic-release-config/.github/workflows/release.yml@master
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-api",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "description": "Abstract module for creating APIs",
5
5
  "homepage": "https://github.com/adapt-security/adapt-authoring-api",
6
6
  "license": "GPL-3.0",
@@ -11,7 +11,7 @@
11
11
  "test": "node --test 'tests/**/*.spec.js'"
12
12
  },
13
13
  "dependencies": {
14
- "adapt-authoring-core": "^2.5.0",
14
+ "adapt-authoring-core": "^3.0.0",
15
15
  "adapt-authoring-server": "^2.1.0",
16
16
  "lodash": "^4.17.21"
17
17
  },
@@ -21,29 +21,11 @@
21
21
  "adapt-authoring-mongodb": "^3.0.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@semantic-release/git": "^10.0.1",
24
+ "@adaptlearning/semantic-release-config": "^1.0.0",
25
25
  "adapt-authoring-server": "^2.1.0",
26
- "conventional-changelog-eslint": "^6.0.0",
27
- "semantic-release": "^25.0.2",
28
26
  "standard": "^17.1.0"
29
27
  },
30
28
  "release": {
31
- "plugins": [
32
- [
33
- "@semantic-release/commit-analyzer",
34
- {
35
- "preset": "eslint"
36
- }
37
- ],
38
- [
39
- "@semantic-release/release-notes-generator",
40
- {
41
- "preset": "eslint"
42
- }
43
- ],
44
- "@semantic-release/npm",
45
- "@semantic-release/github",
46
- "@semantic-release/git"
47
- ]
29
+ "extends": "@adaptlearning/semantic-release-config"
48
30
  }
49
31
  }