(core) replace material in bower_components with package.json lines + yarn cache

Summary:
In preparation for moving the client code to grist-core, this strips out the third party code checked in to bower_components. Since bower maintainers are recommending migration, I list the needed packages in package.json.

 * bootstrap-tokenfield is removed
 * jqueryui is a later version (older version is not available on npmjs)

There is a theme image that was included by `electron-files.rsync` that is no longer present and does not seem to be needed?  I've trimmed material that no longer seems present from this file.

I've retained a `bower_components` directory with soft links to the needed material. The directory could be eliminated with some more work, but that would be easier to review as a separate diff. Packaging appears to work correctly, but it will be important to check on staging also.

Test Plan: existing tests pass; packaging spot checks look sane - client loads ok and can't tickle any 404s

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2623
pull/6/head
Paul Fitzpatrick 4 years ago
parent bac070de91
commit 5d60d51763

@ -9,7 +9,6 @@
<link rel="stylesheet" href="jqueryui/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="bootstrap-tokenfield/dist/css/bootstrap-tokenfield.css">
<link rel="stylesheet" href="hljs.default.css">
<link rel="stylesheet" href="bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css">
<link rel="stylesheet" href="bundle.css">
@ -65,7 +64,6 @@
<script src="jquery/dist/jquery.min.js"></script>
<script src="jqueryui/jquery-ui.min.js"></script>
<script src="bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bootstrap-tokenfield/dist/bootstrap-tokenfield.min.js"></script>
<script src="bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
<script src="main.bundle.js" crossorigin="anonymous"></script>
<script type="application/javascript" src="browser-check.js"></script>

Loading…
Cancel
Save