NOW MANAGED ON CODEBERG
Meta: Added lexical licensing info and added TS/JS CI testing
Dan Brown1b9310e76627
diff --git a/.github/workflows/lint-js.yml b/.github/workflows/lint-js.ymlindex 0391ce5b5..9aceea2a2 100644--- a/.github/workflows/lint-js.yml+++ b/.github/workflows/lint-js.yml@@ -13,9 +13,9 @@ on:jobs:build:if: ${{ github.ref != 'refs/heads/l10n_development' }}- runs-on: ubuntu-22.04+ runs-on: ubuntu-24.04steps:- - uses: actions/checkout@v1+ - uses: actions/checkout@v4- name: Install NPM depsrun: npm cidiff --git a/.github/workflows/test-js.yml b/.github/workflows/test-js.ymlnew file mode 100644index 000000000..13f9a8a98--- /dev/null+++ b/.github/workflows/test-js.yml@@ -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\ No newline at end of filediff --git a/readme.md b/readme.mdindex 11bf2c888..29983eaff 100644--- a/readme.md+++ b/readme.md@@ -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)_diff --git a/resources/views/help/licenses.blade.php b/resources/views/help/licenses.blade.phpindex 1eb293523..09126ddad 100644--- a/resources/views/help/licenses.blade.php+++ b/resources/views/help/licenses.blade.php@@ -54,6 +54,12 @@License File: https://github.com/tinymce/tinymce/blob/release/6.7/LICENSE.TXTCopyright: 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>