1 # ## Format of this file
3 # The top-level keys in this file correspond with directories under resources/lib/.
4 # These in turn are registered as module bundles in Resources.php.
6 # ## How to install an foreign resource
8 # 1. Add or update the url(s) for the upstream module to this YAML file.
10 # Look at other modules for examples. To install a module from npm,
11 # we use the tarball distribution from npmjs.org. This is the same as what
12 # the npm CLI uses. For example, to install jquery-client@9.2.0, use:
13 # <https://registry.npmjs.org/jquery-client/-/jquery-client-9.2.0.tgz>.
15 # 2. If the upstream maintainers publish an integrity hash, set that as well.
16 # Otherwise, use manageForeignResources.php to compute the integrity hash.
18 # Run `php manageForeignResources.php make-sri "my module name"`
20 # This will download the specified file(s) and print their integrity hashes,
21 # already formatted in YAML, ready for copying to this file.
23 # 3. Last but not least, decide where files go.
25 # If you specified a direct url to JavaScript or CSS file, this step is
26 # optional. See the corresponding documentation section below for more
27 # information and examples for "dest" keys. Once you've set any "dest" keys,
28 # run `php manageForeignResources.php update "my module name"`.
32 # Each top-level key must use one of these types:
34 # - `file`: For a plain file.
35 # - `multi-file`: For multiple plain files.
36 # - `tar`: For a tarball archive (may be compressed).
40 # * `src`: Full URL to the remote resource.
41 # * `integrity`: Cryptographic hash (integrity metadata format per <https://www.w3.org/TR/SRI/>).
42 # * `dest`: [optional] The file name to use in the module directory. Default: Basename of URL.
44 # For example, the following would produce resources/lib/mymodule/x.js:
48 # src: https://mymodule.example/1.2.3/x.js
49 # integrity: sha384-Je+NE+saisQuoi
51 # ### The "multi-file" type
53 # * `files`: An object mapping destination paths to `src` and `integrity` keys.
61 # src: https://mymodule.example/1.2.3/x.js
62 # integrity: sha384-Je+NE+saisQuoi
64 # src: https://mymodule.example/1.2.3/x.css
65 # integrity: sha384-Je+NE+saisQuoi
69 # * `src`: Full URL to the remote resource.
70 # * `integrity`: Cryptographic hash (integrity metadata format per <https://www.w3.org/TR/SRI/>).
71 # * `dest`: [optional] The default is to extract all files from the package.
72 # To only extract some of the files or directories, use "dest" to specify
73 # files, directories, and/or glob patterns. You can use a site like https://unpkg.com/
74 # to easily inspect an npm package, like <https://unpkg.com/jquery-client@2.0.2/>.
80 # src: https://registry.npmjs.org/jquery-client/-/jquery-client-9.2.0.tgz
81 # integrity: sha384-Je+NE+saisQuoi
85 # package/dist/style/*.css:
87 # The would extract the "x.js" file, the "i18n" directory (recursive),
88 # and any "*.css" files from the "style" directory.
93 src: https://raw.githubusercontent.com/santhoshtr/CLDRPluralRuleParser/0dda851/src/CLDRPluralRuleParser.js
94 integrity: sha384-M4taeYYG2+9Ob1/La16iO+zlRRmBV5lBR3xUKkQT6kfkJ0aLbCi6yc0RYI1BDzdh
100 src: https://raw.githubusercontent.com/edg2s/Easy-Deflate/7a6056e5302f6f385ff2efa60afda45b4ad81e51/deflate.js
101 integrity: sha384-sHnZLDSWMUhA2w9ygkzCK8YFvoh/fQKY6lXMbvmrYzjuNURiLB0DZFCDNMpGyZ77
103 src: https://raw.githubusercontent.com/edg2s/Easy-Deflate/7a6056e5302f6f385ff2efa60afda45b4ad81e51/easydeflate.js
104 integrity: sha384-EwPfP2RMkDPa1HkzQsXgzTsy1KEjcIzQPA1HDS/JPHjvEMvVUsCxWwm1oXql/jk2
106 src: https://raw.githubusercontent.com/edg2s/Easy-Deflate/7a6056e5302f6f385ff2efa60afda45b4ad81e51/inflate.js
107 integrity: sha384-hMg44Hw424mUYvmzKl0JT4J8UU/1YYhTiGRtR0YX/MXNLK9qWTK0d62FBCDGxmxw
109 src: https://raw.githubusercontent.com/edg2s/Easy-Deflate/7a6056e5302f6f385ff2efa60afda45b4ad81e51/README.md
110 integrity: sha384-6kwcfCLivvqXBZy2ATyya+mTVWLk3eaQyBdC6tbpBtkygnBrM2SNkq3jz/l7IkvP
114 src: https://raw.githubusercontent.com/aFarkas/html5shiv/3.7.3/src/html5shiv.js
115 integrity: sha384-RPXhaTf22QktT8KTwZ6bUz/C+7CnccaIw5W/y/t0FW5WSDGj3wc3YtRIJC0w47in
119 src: https://code.jquery.com/jquery-3.3.1.js
120 # Integrity from link modals https://code.jquery.com/jquery/
121 integrity: sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=
126 src: https://registry.npmjs.org/jquery-client/-/jquery-client-2.0.2.tgz
127 integrity: sha256-8c8nBbBykHEMc4I7ksdKJvvw/P7WkaC2X46RTPdz/pw=
130 package/jquery.client.js:
138 src: https://raw.githubusercontent.com/carhartl/jquery-cookie/v1.3.1/jquery.cookie.js
139 integrity: sha384-Xxq63E9KDgzUJ6WPNPqVeOtRIwZyx6y9DzEwY2u6LYKSnWrjSoGtWSKmTindYBf2
141 src: https://raw.githubusercontent.com/carhartl/jquery-cookie/v1.3.1/MIT-LICENSE.txt
142 integrity: sha384-zYsGf3KJ7S0AhOICjcoh0kkn7aGZlzYUXXX5xz8dwR9KjLMM+/JPR2g/jVOGGeId
144 src: https://raw.githubusercontent.com/carhartl/jquery-cookie/v1.3.1/CHANGELOG.md
145 integrity: sha384-SQOHhLc7PHxHDQpGE/zv9XfXKL0A7OBu8kuyVDnHVp+zSoWyRw4xUJ+LSm5ql4kS
149 src: https://raw.githubusercontent.com/jquery-form/form/ff80d9ddf4/jquery.form.js
150 integrity: sha384-h4G2CrcSbixzMvrrK259cNBYaL/vS1D4+KdUN9NJDzQnTU1bQ6Avluget+Id13M7
154 src: https://raw.githubusercontent.com/theopolisme/jquery-fullscreen/v2.1.0/jquery.fullscreen.js
155 integrity: sha384-G4KPs2d99tgcsyUnJ3eeZ1r2hEKDwZfc4+/xowL/LIemq2VVwEE8HpVAWt4WYNLR
159 src: https://raw.githubusercontent.com/briancherne/jquery-hoverIntent/823603fdac/jquery.hoverIntent.js
160 integrity: sha384-lca0haN0hqFGGh2aYUhtAgX9dhVHfQnTADH4svDeM6gcXnL7aFGeAi1NYwipDMyS
164 src: https://raw.githubusercontent.com/andris9/jStorage/v0.4.12/jstorage.js
165 integrity: sha384-geMeN8k803kPp6cqRL4VNfuSM1L8DcbKRk0St/KHJzxgpX9S0y9FA6HxA/JgucrJ
167 jquery.throttle-debounce:
169 src: https://raw.githubusercontent.com/cowboy/jquery-throttle-debounce/v1.1/jquery.ba-throttle-debounce.js
170 integrity: sha384-ULOy4DbAghrCqRcrTJLXOY9e4gDpWh0BeEf6xMSL0VtNudXWggcb6AmrVrl4KDAP
174 src: https://codeload.github.com/moment/moment/tar.gz/2.24.0
175 integrity: sha384-2/I9rfqkN8AAgh5wOXXphuo827uV7lMmOodrCfIvqC6W6JKKiDGOwd+lE3e8R0yz
177 moment-2.24.0/moment.js:
178 moment-2.24.0/CHANGELOG.md:
179 moment-2.24.0/README.md:
180 moment-2.24.0/LICENSE:
181 moment-2.24.0/locale/*.js: locale
187 src: https://raw.githubusercontent.com/janl/mustache.js/v1.0.0/mustache.js
188 integrity: sha384-k2UYqmzoiq/qgIzZvcYBxbXQW4YdPAsXDOTkHTGb9TCZ9sjCkyT4TlaUN0wQRkql
190 src: https://raw.githubusercontent.com/janl/mustache.js/v1.0.0/LICENSE
191 integrity: sha384-MYVwXwula9+YkyXexOJVZ0v0DaVvG22uX57mNq5Di+7u8OH9EG9q3yuXkp1Iehiq
195 src: https://registry.npmjs.org/oojs/-/oojs-2.2.2.tgz
196 integrity: sha256-ebgQW2EGrSkBCnDJBGqDpsBDjA3PMN/M8U5DyLHt9mw=
198 package/dist/oojs.jquery.js:
205 src: https://registry.npmjs.org/oojs-router/-/oojs-router-0.2.0.tgz
206 integrity: sha384-VngYqdQ3vTDMXbm4e4FUZCCGos7fB0Jkr9V+kBL5MElprK1h0yQZOzBNnMHtSJS/
208 package/dist/oojs-router.js:
215 src: https://registry.npmjs.org/oojs-ui/-/oojs-ui-0.31.1.tgz
216 integrity: sha384-M9KdU6u02zSKCVczcw6YJmSvFLhdeagNg9CPhizYVqrybL8bamrF5u6YfrFGEyiv
219 package/dist/oojs-ui-core.js{,.map.json}:
220 package/dist/oojs-ui-core-{wikimediaui,apex}.css:
221 package/dist/oojs-ui-widgets.js{,.map.json}:
222 package/dist/oojs-ui-widgets-{wikimediaui,apex}.css:
223 package/dist/oojs-ui-toolbars.js{,.map.json}:
224 package/dist/oojs-ui-toolbars-{wikimediaui,apex}.css:
225 package/dist/oojs-ui-windows.js{,.map.json}:
226 package/dist/oojs-ui-windows-{wikimediaui,apex}.css:
227 package/dist/oojs-ui-{wikimediaui,apex}.js{,.map.json}:
231 package/dist/themes/wikimediaui/images/icons/*.{svg,png}: themes/wikimediaui/images/icons
232 package/dist/themes/wikimediaui/images/indicators/*.{svg,png}: themes/wikimediaui/images/indicators
233 package/dist/themes/wikimediaui/images/textures/*.{gif,svg}: themes/wikimediaui/images/textures
234 package/src/themes/wikimediaui/*.json: themes/wikimediaui
235 package/dist/wikimedia-ui-base.less:
236 # Apex theme (icons, indicators, and textures)
237 package/src/themes/apex/*.json: themes/apex
239 package/dist/AUTHORS.txt:
240 package/dist/History.md:
241 package/dist/LICENSE-MIT:
242 package/dist/README.md:
246 # Integrity from link modals at https://code.jquery.com/qunit/
249 src: http://code.jquery.com/qunit/qunit-2.9.1.js
250 integrity: sha256-eNccBdxd8zReziWcVjEsPeyJDi3LKMYnzMXyDv8bzsU=
252 src: https://code.jquery.com/qunit/qunit-2.9.1.css
253 integrity: sha256-SSS7o92V7wzcIFg3qnJL9mc4msePaT4klbxtuSGvVVo=
257 src: https://sinonjs.org/releases/sinon-1.17.7.js
258 integrity: sha384-wR63Jwy75KqwBfzCmXd6gYws6uj3qV/XMAybzXrkEYGYG3AQ58ZWwr1fVpkHa5e8