registration: Define packageFiles for v1 extension schema
authorGilles Dubuc <gilles@wikimedia.org>
Mon, 11 Feb 2019 20:39:41 +0000 (21:39 +0100)
committerKrinkle <krinklemail@gmail.com>
Mon, 11 Feb 2019 20:45:20 +0000 (20:45 +0000)
Follows 56fa42d4332c.

Bug: T215756
Change-Id: Icbf433b6b147f53cf99533a7272fc83392a8999d

docs/extension.schema.v1.json

index fcc41af..f9b71fb 100644 (file)
                                                                "noflip": {
                                                                        "type": "boolean",
                                                                        "description": "Whether to skip CSSJanus LTR-to-RTL flipping for this module. Recommended for styles imported from libraries that already properly handle their RTL styles. Default is false, meaning CSSJanus will be applied on RTL-mode output."
+                                                               },
+                                                               "packageFiles": {
+                                                                       "type": ["object", "array"],
+                                                                       "description": "Package files that can be require()d"
                                                                }
                                                        }
                                                },