Skip to content

Commit

Permalink
Meta: Added lexical licensing info and added TS/JS CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddanbrown committed Sep 27, 2024
1 parent a62d838 commit 1b9310e
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/test-js.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)_
Expand Down
6 changes: 6 additions & 0 deletions resources/views/help/licenses.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1b9310e

Please sign in to comment.