composer.json - Ignore unused from Monaco "dev"/"esm"
authorTim Otten <totten@civicrm.org>
Fri, 22 Jan 2021 00:21:05 +0000 (16:21 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 22 Jan 2021 00:21:05 +0000 (16:21 -0800)
Saves ~50mb in the on-disk size of `bower_components`

Before
------

`bower_components` as a full developmental tree for monaco-editor

After
-----

`bower_components` only has the `min` variant of monaco-editor

composer.json
composer.lock

index e6d47a9c30ed123685e5bbf0c75abc3cf89cbeaa..f50143f6733ee3095f7fc316330d41e3114790ae 100644 (file)
       },
       "monaco-editor": {
         "url": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.16.2.tgz",
-        "path": "bower_components/monaco-editor"
+        "path": "bower_components/monaco-editor",
+        "ignore": ["dev", "esm"]
       },
       "google-code-prettify": {
         "url": "https://github.com/tcollard/google-code-prettify/archive/v1.0.5.zip",
index 171510a6287f3cb73a81ca0e50ef72f9b1015730..e78998528c7e42e460df79ced1fb0f0f9691fde0 100644 (file)
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "65312dbe20aaae9cb2a94b32937a24e0",
+    "content-hash": "a2171f9e6a9a0cffa1fcaebc3df8ea51",
     "packages": [
         {
             "name": "adrienrn/php-mimetyper",
     "platform-overrides": {
         "php": "7.2"
     },
-    "plugin-api-version": "2.0.0"
+    "plugin-api-version": "1.1.0"
 }