Commit Graph

18 Commits

Author SHA1 Message Date
Bryan Housel
6e5cb45c17 Don't bundle the imagery anymore, fetch from dist/data at runtime
(re: #4994)
2020-01-30 17:10:41 -05:00
Bryan Housel
33a2dafc10 Fetch wmf-sitematrix from CDN.. No need to depend on it anymore. 2020-01-30 09:48:37 -05:00
Bryan Housel
c481f90e7d Stop bundling wmf-sitematrix, move it extern
This also includes a bunch of tweaks to make the tests work
in both PhantomJS and modern browsers like Chrome.

Basically - introduce some more async into the test code so that
the coreData.get promise is guaranteed to settle.  Because in
PhantomJS the promise is polyfilled, and Chrome it's native, they
work slightly differently.
2020-01-29 12:30:11 -05:00
Bryan Housel
567eeac587 Make several data external instead of bundled:
Also dist/data/* contains minified files now

These are now external and will fetch as needed:
-export { dataAddressFormats } from './address-formats.json';
-export { dataDeprecated } from './deprecated.json';
-export { dataDiscarded } from './discarded.json';
-export { dataLanguages } from './languages.json';
-export { dataPhoneFormats } from './phone-formats.json';
-export { dataShortcuts } from './shortcuts.json';
-export { dataTerritoryLanguages } from './territory-languages.json';
2020-01-28 22:21:31 -05:00
Bryan Housel
ce7cac6738 Move all the build scripts into scripts/ folder, ES6ify more stuff 2020-01-28 15:00:23 -05:00
Bryan Housel
b4137c1a9b Push strings to Transfiex only if we are building the 2.x branch 2019-10-24 15:57:34 -04:00
Tang Zhixiong
fdb24e3a5d Fix shellbang 2018-08-01 16:43:06 +08:00
Bryan Housel
9b37c998f6 Update example deploy script to better pull latest editor-layer-index
`npm install` may refuse to work if it finds the
`editor-layer-index/.git` folder
2018-05-11 10:09:40 -04:00
Bryan Housel
0ba8aab93a Test Node 10 on travis matrix build
(closes #5028)
2018-05-07 12:24:23 -04:00
Bryan Housel
fc367e8e93 Avoid issues with local untracked locale files in deploy.sh 2017-07-24 20:39:28 -04:00
Bryan Housel
8dd7644b20 fix permissions 2017-07-01 09:23:23 -04:00
Bryan Housel
ee783a0f16 Do not push translation strings to Transifex for pull requests 2017-07-01 09:09:06 -04:00
Bryan Housel
a9b205d126 Really silence output of git clone 2017-06-20 14:10:36 -04:00
Bryan Housel
56b2b2f08c Redirect output of git clone to /dev/null in sample deploy.sh 2017-06-20 13:38:52 -04:00
Bryan Housel
f55f7325d5 Avoid frequent npm install in sample deploy.sh, it wastes /tmp space 2017-06-20 13:34:48 -04:00
Bryan Housel
689bd38048 Update deploy script to pull latest imagery on preview.ideditor.com 2017-06-19 15:28:00 -04:00
Bryan Housel
ba1b84004c Update links to preview.ideditor.com mirrors
(closes #3912)
2017-04-13 00:17:19 -04:00
Bryan Housel
1d7e2f76bd Check in example deploy.sh script 2016-12-02 10:45:03 -05:00