adapt-authoring-lang 1.2.1 → 1.2.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.
@@ -1,5 +1,6 @@
1
1
  name: Release
2
2
  on:
3
+ workflow_dispatch:
3
4
  push:
4
5
  branches:
5
6
  - master
@@ -25,8 +26,8 @@ jobs:
25
26
  - name: Update npm
26
27
  run: npm install -g npm@latest
27
28
  - name: Install dependencies
28
- run: npm ci
29
+ run: npm install
29
30
  - name: Release
30
31
  env:
31
32
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
- run: npx semantic-release
33
+ run: npx semantic-release
@@ -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
package/bin/check.js CHANGED
@@ -47,7 +47,7 @@ async function check () {
47
47
  }
48
48
 
49
49
  async function getTranslatedStrings () {
50
- const langPacks = await glob(`${root}/adapt-authoring-langpack-*/lang`)
50
+ const langPacks = await glob(`${root}/adapt-authoring-*/lang`)
51
51
  const keyMap = {}
52
52
  await Promise.all((langPacks).map(async l => {
53
53
  await Promise.all((await fs.readdir(l)).map(async f => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-lang",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Localisation for the Adapt authoring tool",
5
5
  "homepage": "https://github.com/taylortom/adapt-authoring-lang",
6
6
  "license": "GPL-3.0",
@@ -21,14 +21,6 @@
21
21
  "adapt-authoring-auth": "^1.0.7",
22
22
  "adapt-authoring-server": "^2.0.0"
23
23
  },
24
- "peerDependenciesMeta": {
25
- "adapt-authoring-auth": {
26
- "optional": true
27
- },
28
- "adapt-authoring-server": {
29
- "optional": true
30
- }
31
- },
32
24
  "devDependencies": {
33
25
  "@semantic-release/git": "^10.0.1",
34
26
  "conventional-changelog-eslint": "^6.0.0",