Skip to content

Commit 1b9310e

Browse files
committed
Meta: Added lexical licensing info and added TS/JS CI testing
1 parent a62d838 commit 1b9310e

File tree

4 files changed

+38
-2
lines changed

4 files changed

+38
-2
lines changed

.github/workflows/lint-js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ on:
1313
jobs:
1414
build:
1515
if: ${{ github.ref != 'refs/heads/l10n_development' }}
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717
steps:
18-
- uses: actions/checkout@v1
18+
- uses: actions/checkout@v4
1919

2020
- name: Install NPM deps
2121
run: npm ci

.github/workflows/test-js.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: test-js
2+
3+
on:
4+
push:
5+
paths:
6+
- '**.js'
7+
- '**.ts'
8+
- '**.json'
9+
pull_request:
10+
paths:
11+
- '**.js'
12+
- '**.ts'
13+
- '**.json'
14+
15+
jobs:
16+
build:
17+
if: ${{ github.ref != 'refs/heads/l10n_development' }}
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Install NPM deps
23+
run: npm ci
24+
25+
- name: Run TypeScript type checking
26+
run: npm run ts:lint
27+
28+
- name: Run JavaScript tests
29+
run: npm run test

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ Note: This is not an exhaustive list of all libraries and projects that would be
145145

146146
* [Laravel](http://laravel.com/) - _[MIT](https://github.com/laravel/framework/blob/v8.82.0/LICENSE.md)_
147147
* [TinyMCE](https://www.tinymce.com/) - _[MIT](https://github.com/tinymce/tinymce/blob/develop/LICENSE.TXT)_
148+
* [Lexical](https://lexical.dev/) - _[MIT](https://github.com/facebook/lexical/blob/main/LICENSE)_
148149
* [CodeMirror](https://codemirror.net) - _[MIT](https://github.com/codemirror/CodeMirror/blob/master/LICENSE)_
149150
* [Sortable](https://github.com/SortableJS/Sortable) - _[MIT](https://github.com/SortableJS/Sortable/blob/master/LICENSE)_
150151
* [Google Material Icons](https://github.com/google/material-design-icons) - _[Apache-2.0](https://github.com/google/material-design-icons/blob/master/LICENSE)_

resources/views/help/licenses.blade.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@
5454
License File: https://github.com/tinymce/tinymce/blob/release/6.7/LICENSE.TXT
5555
Copyright: Copyright (c) 2022 Ephox Corporation DBA Tiny Technologies, Inc.
5656
Link: https://github.com/tinymce/tinymce
57+
-----------
58+
BookStack's newer WYSIWYG editor is based upon lexical code:
59+
License: MIT
60+
License File: https://github.com/facebook/lexical/blob/v0.17.1/LICENSE
61+
Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
62+
Link: https://github.com/facebook/lexical
5763
</div>
5864
</div>
5965
</div>

0 commit comments

Comments
 (0)