Skip to content

Commit

Permalink
Merge pull request #1523 from laws-africa/latest-monaco
Browse files Browse the repository at this point in the history
monaco 0.33.0
  • Loading branch information
longhotsummer authored Jul 12, 2022
2 parents aca53b4 + cb574a7 commit 6efaa89
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 2,634 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@ jobs:
- name: Build
run: npx webpack

- name: Import indigo-web
# Keep the local copy of indigo-web up to date; this is only used for PDF exports
run: cp -R node_modules/indigo-web/scss indigo_app/static/lib/indigo-web/
- name: Copy node dependencies
# Keep the local copy of some node dependencies up to date
# indigo-web: only used for PDF exports
# monaco-editor
run: |
- cp -R node_modules/indigo-web/scss indigo_app/static/lib/indigo-web/
- cp -R node_modules/monaco-editor/min/vs/{base,basic-languages,editor,loader.js} indigo_app/static/lib/monaco-editor/
- name: Push
uses: EndBug/add-and-commit@v7
Expand Down
Binary file not shown.
160 changes: 0 additions & 160 deletions indigo_app/static/lib/monaco-editor-0.20.0/base/worker/workerMain.js

This file was deleted.

This file was deleted.

This file was deleted.

2,339 changes: 0 additions & 2,339 deletions indigo_app/static/lib/monaco-editor-0.20.0/editor/editor.main.js

This file was deleted.

This file was deleted.

37 changes: 0 additions & 37 deletions indigo_app/static/lib/monaco-editor-0.20.0/loader.js

This file was deleted.

6 changes: 3 additions & 3 deletions indigo_app/templates/indigo_api/document/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ <h5 class="main-header-title">

<script type="text/javascript" src="{% static 'ckeditor/ckeditor.js' %}"></script>

<script src="{% static 'lib/monaco-editor-0.20.0/loader.js' %}"></script>
<script src="{% static 'lib/monaco-editor-0.20.0/editor/editor.main.nls.js' %}"></script>
<script src="{% static 'lib/monaco-editor-0.20.0/editor/editor.main.js' %}"></script>
<script src="{% static 'lib/monaco-editor/loader.js' %}"></script>
<script src="{% static 'lib/monaco-editor/editor/editor.main.nls.js' %}"></script>
<script src="{% static 'lib/monaco-editor/editor/editor.main.js' %}"></script>

{% endblock %}
86 changes: 43 additions & 43 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.2.0",
"@lawsafrica/indigo-akn": "^5.1.0",
"@lawsafrica/indigo-akn": "^5.1.1",
"@lawsafrica/web-components": "^0.7.3-beta",
"bootstrap": "^4.3.1",
"bootstrap-select": "^1.13.18",
Expand All @@ -26,7 +26,7 @@
"eslint-webpack-plugin": "^3.2.0",
"indigo-web": "^8.1.2",
"lodash": "^4.17.21",
"monaco-editor": "^0.20.0",
"monaco-editor": "^0.33.0",
"sass-loader": "^13.0.2",
"style-loader": "^2.0.0",
"ts-loader": "^8.1.0",
Expand Down

0 comments on commit 6efaa89

Please sign in to comment.