Meta: Added lexical licensing info and added TS/JS CI testing

This commit is contained in:
Dan Brown 2024-09-27 10:40:53 +01:00
parent a62d8381be
commit 1b9310e766
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
4 changed files with 38 additions and 2 deletions

View File

@ -13,9 +13,9 @@ on:
jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install NPM deps
run: npm ci

29
.github/workflows/test-js.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: test-js
on:
push:
paths:
- '**.js'
- '**.ts'
- '**.json'
pull_request:
paths:
- '**.js'
- '**.ts'
- '**.json'
jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install NPM deps
run: npm ci
- name: Run TypeScript type checking
run: npm run ts:lint
- name: Run JavaScript tests
run: npm run test

View File

@ -145,6 +145,7 @@ Note: This is not an exhaustive list of all libraries and projects that would be
* [Laravel](http://laravel.com/) - _[MIT](https://github.com/laravel/framework/blob/v8.82.0/LICENSE.md)_
* [TinyMCE](https://www.tinymce.com/) - _[MIT](https://github.com/tinymce/tinymce/blob/develop/LICENSE.TXT)_
* [Lexical](https://lexical.dev/) - _[MIT](https://github.com/facebook/lexical/blob/main/LICENSE)_
* [CodeMirror](https://codemirror.net) - _[MIT](https://github.com/codemirror/CodeMirror/blob/master/LICENSE)_
* [Sortable](https://github.com/SortableJS/Sortable) - _[MIT](https://github.com/SortableJS/Sortable/blob/master/LICENSE)_
* [Google Material Icons](https://github.com/google/material-design-icons) - _[Apache-2.0](https://github.com/google/material-design-icons/blob/master/LICENSE)_

View File

@ -54,6 +54,12 @@
License File: https://github.com/tinymce/tinymce/blob/release/6.7/LICENSE.TXT
Copyright: Copyright (c) 2022 Ephox Corporation DBA Tiny Technologies, Inc.
Link: https://github.com/tinymce/tinymce
-----------
BookStack's newer WYSIWYG editor is based upon lexical code:
License: MIT
License File: https://github.com/facebook/lexical/blob/v0.17.1/LICENSE
Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
Link: https://github.com/facebook/lexical
</div>
</div>
</div>