Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monaco 0.33.0 #1523

Merged
merged 1 commit into from
Jul 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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