adapt-authoring-lang 1.2.2 → 1.2.4

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
@@ -29,4 +30,4 @@ jobs:
29
30
  - name: Release
30
31
  env:
31
32
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
- run: npx semantic-release
33
+ run: npx semantic-release
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.2",
3
+ "version": "1.2.4",
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",
@@ -18,17 +18,9 @@
18
18
  "glob": "^13.0.0"
19
19
  },
20
20
  "peerDependencies": {
21
- "adapt-authoring-auth": "^1.0.7",
21
+ "adapt-authoring-auth": "^2.0.0",
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",