adapt-authoring-defaultplugins 1.0.0 → 1.0.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.
@@ -3,10 +3,16 @@ on:
3
3
  push:
4
4
  branches:
5
5
  - master
6
+
6
7
  jobs:
7
8
  release:
8
9
  name: Release
9
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
10
16
  steps:
11
17
  - name: Checkout
12
18
  uses: actions/checkout@v3
@@ -16,10 +22,11 @@ jobs:
16
22
  uses: actions/setup-node@v3
17
23
  with:
18
24
  node-version: 'lts/*'
25
+ - name: Update npm
26
+ run: npm install -g npm@latest
19
27
  - name: Install dependencies
20
28
  run: npm ci
21
29
  - name: Release
22
30
  env:
23
31
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24
- NPM_TOKEN: ${{ secrets.AAT_NPM_TOKEN }}
25
- run: npx semantic-release
32
+ run: npx semantic-release
@@ -0,0 +1,13 @@
1
+ name: Standard.js formatting check
2
+ on: push
3
+ jobs:
4
+ default:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@master
8
+ - uses: actions/setup-node@master
9
+ with:
10
+ node-version: 'lts/*'
11
+ cache: 'npm'
12
+ - run: npm ci
13
+ - run: npx standard
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-defaultplugins",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Allows specified content plugins to be added to every new course by default",
5
5
  "homepage": "https://github.com/adapt-security/adapt-authoring-defaultplugins",
6
6
  "license": "GPL-3.0",
@@ -11,16 +11,15 @@
11
11
  "adapt-authoring-core": "github:adapt-security/adapt-authoring-core"
12
12
  },
13
13
  "devDependencies": {
14
- "eslint": "^9.12.0",
15
- "standard": "^17.1.0",
16
- "@semantic-release/commit-analyzer": "^9.0.2",
14
+ "@semantic-release/commit-analyzer": "^13.0.1",
17
15
  "@semantic-release/git": "^10.0.1",
18
- "@semantic-release/github": "^8.0.5",
19
- "@semantic-release/npm": "^9.0.1",
20
- "@semantic-release/release-notes-generator": "^10.0.3",
21
- "conventional-changelog-eslint": "^3.0.9",
22
- "semantic-release": "^21.0.1",
23
- "semantic-release-replace-plugin": "^1.2.7"
16
+ "@semantic-release/github": "^12.0.2",
17
+ "@semantic-release/npm": "^13.1.2",
18
+ "@semantic-release/release-notes-generator": "^14.1.0",
19
+ "conventional-changelog-eslint": "^6.0.0",
20
+ "semantic-release": "^25.0.2",
21
+ "semantic-release-replace-plugin": "^1.2.7",
22
+ "standard": "^17.1.0"
24
23
  },
25
24
  "release": {
26
25
  "plugins": [
package/.eslintignore DELETED
@@ -1 +0,0 @@
1
- node_modules
package/.eslintrc DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "env": {
3
- "browser": false,
4
- "node": true,
5
- "commonjs": false,
6
- "es2020": true
7
- },
8
- "extends": [
9
- "standard"
10
- ],
11
- "parserOptions": {
12
- "ecmaVersion": 2020
13
- }
14
- }