adapt-authoring-lang 1.0.4 → 1.0.6
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.
- package/.github/workflows/new.yml +7 -11
- package/bin/check.js +1 -1
- package/package.json +3 -16
- package/.github/workflows/labelled_prs.yml +0 -16
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
# Calls the org-level reusable workflow to add PRs to the TODO Board
|
|
2
|
+
|
|
3
|
+
name: Add PR to Project
|
|
2
4
|
|
|
3
5
|
on:
|
|
4
|
-
issues:
|
|
5
|
-
types:
|
|
6
|
-
- opened
|
|
7
6
|
pull_request:
|
|
8
7
|
types:
|
|
9
8
|
- opened
|
|
9
|
+
- reopened
|
|
10
10
|
|
|
11
11
|
jobs:
|
|
12
12
|
add-to-project:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
- uses: actions/add-to-project@v0.1.0
|
|
17
|
-
with:
|
|
18
|
-
project-url: https://github.com/orgs/adapt-security/projects/5
|
|
19
|
-
github-token: ${{ secrets.PROJECTS_SECRET }}
|
|
13
|
+
uses: adapt-security/.github/.github/workflows/new.yml@main
|
|
14
|
+
secrets:
|
|
15
|
+
PROJECTS_SECRET: ${{ secrets.PROJECTS_SECRET }}
|
package/bin/check.js
CHANGED
|
@@ -8,7 +8,7 @@ import path from 'path'
|
|
|
8
8
|
|
|
9
9
|
const root = `${process.cwd().replaceAll(path.sep, '/')}/node_modules`
|
|
10
10
|
|
|
11
|
-
const underline
|
|
11
|
+
const underline = (s = '', topLine = true) => {
|
|
12
12
|
const line = () => ''.padEnd(80, '-')
|
|
13
13
|
console.log(`${topLine ? line() + '\n' : ''} ${s}\n${line()}`)
|
|
14
14
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adapt-authoring-lang",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
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",
|
|
@@ -11,17 +11,12 @@
|
|
|
11
11
|
},
|
|
12
12
|
"repository": "github:adapt-security/adapt-authoring-lang",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"glob": "^
|
|
14
|
+
"glob": "^13.0.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
18
17
|
"@semantic-release/git": "^10.0.1",
|
|
19
|
-
"@semantic-release/github": "^12.0.2",
|
|
20
|
-
"@semantic-release/npm": "^13.1.2",
|
|
21
|
-
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
22
18
|
"conventional-changelog-eslint": "^6.0.0",
|
|
23
19
|
"semantic-release": "^25.0.2",
|
|
24
|
-
"semantic-release-replace-plugin": "^1.2.7",
|
|
25
20
|
"standard": "^17.1.0"
|
|
26
21
|
},
|
|
27
22
|
"release": {
|
|
@@ -40,15 +35,7 @@
|
|
|
40
35
|
],
|
|
41
36
|
"@semantic-release/npm",
|
|
42
37
|
"@semantic-release/github",
|
|
43
|
-
|
|
44
|
-
"@semantic-release/git",
|
|
45
|
-
{
|
|
46
|
-
"assets": [
|
|
47
|
-
"package.json"
|
|
48
|
-
],
|
|
49
|
-
"message": "Chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
50
|
-
}
|
|
51
|
-
]
|
|
38
|
+
"@semantic-release/git"
|
|
52
39
|
]
|
|
53
40
|
}
|
|
54
41
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
name: Add labelled PRs to project
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
types: [ labeled ]
|
|
6
|
-
|
|
7
|
-
jobs:
|
|
8
|
-
add-to-project:
|
|
9
|
-
if: ${{ github.event.label.name == 'dependencies' }}
|
|
10
|
-
name: Add to main project
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/add-to-project@v0.1.0
|
|
14
|
-
with:
|
|
15
|
-
project-url: https://github.com/orgs/adapt-security/projects/5
|
|
16
|
-
github-token: ${{ secrets.PROJECTS_SECRET }}
|