Commit Graph

157 Commits

Author SHA1 Message Date
Jakub Jastrzębski c906861d8f Add space before `<code>` tag 2019-07-02 11:33:26 -07:00
Michael Jackson bfecd1955a Fix module resolution
Fixes a bug where a directory with the same name as a file would be used
as the matching entry instead of that file depending on the order they
appear in the tarball.
2019-06-10 21:02:29 -07:00
Michael Jackson 397a9f8915 Inline query sanitizer 2019-06-10 21:02:29 -07:00
Michael Jackson bade9a8d28 Remove _metadata and _module routes
See #185
2019-06-10 21:02:22 -07:00
Michael Jackson 59e402a41e Merge branch 'percent-40' of https://github.com/wmhilton-contrib/unpkg.com into wmhilton-contrib-percent-40 2019-04-08 17:38:13 -07:00
Simey de Klerk fe11175f9d add space between in and `package.json` 2019-04-08 17:33:02 -07:00
Jason Miller ab78e4f64e Preserve minification semantics when transforming bare import specifiers (fixes #149) 2019-03-20 14:55:32 -07:00
Michael Jackson da7b915cca Update percentage decimal places 2019-02-25 22:20:30 -08:00
Michael Jackson 5df576c6be Add /_metadata and /_module functions
Also deprecate ?meta and ?module query params.
2019-02-23 22:04:16 -08:00
William Hilton 1ee88d0166
Merge branch 'master' into percent-40 2019-02-01 12:17:42 -05:00
Michael Jackson d560b6281f Use CORS in front of static server 2019-01-30 08:05:19 -07:00
Michael Jackson 154b732540 Deploy staging on App Engine standard 2019-01-29 14:57:39 -08:00
Michael Jackson 20c4926e13 Lengthen cache ttl on 404s 2019-01-28 12:15:05 -08:00
Michael Jackson 21ce9c50cf Trust the X-Forwarded-For header 2019-01-26 22:08:42 -08:00
Michael Jackson 5533725f64 Remove Firebase hosting, back to Express 2019-01-26 15:20:15 -08:00
Michael Jackson 0ae074e164 Fix linting errors 2019-01-24 18:51:35 -08:00
Michael Jackson ea85062ff6 Inline scripts in HTML files 2019-01-24 15:49:21 -08:00
Michael Jackson e6134b0969 Use production globals in staging 2019-01-23 21:43:52 -08:00
Michael Jackson bbb092d974 Load React + Emotion from CDN URLs, use globals
Remove @emotion/babel-preset-css-prop and import { jsx } from
@emotion/core directly instead so Rollup can preserve imports order when
bundling (instead of @emotion/core automatically inserting itself as the
first import).
2019-01-23 21:27:58 -08:00
Michael Jackson 6228f0de5c Update plugin signature 2019-01-23 16:03:27 -08:00
Michael Jackson 3526660620 Tweak max-age for semver/tag redirects 2019-01-17 19:13:56 -08:00
Michael Jackson 276013696e Cache 302s for 4 hours 2019-01-17 18:36:46 -08:00
Michael Jackson 949c40f11e Hide verbose logs behind debug flag 2019-01-15 16:43:52 -08:00
Michael Jackson 7800180d3b Fix linting errors 2019-01-15 14:57:09 -08:00
Michael Jackson 3fd7ef86f3 Update home page 2019-01-15 14:49:02 -08:00
Michael Jackson 9cdcf90c8a Add HTTP request logging 2019-01-15 08:42:54 -08:00
Michael Jackson dc2950d60f Remove blacklist code 2019-01-15 08:06:12 -08:00
Michael Jackson 5e7323f389 Remove incrementCounter utility 2019-01-15 07:59:53 -08:00
Michael Jackson 83cb7af8b0 Use express.Router directly 2019-01-15 07:56:26 -08:00
Michael Jackson 9cd9fb1f9b Remove auto-index function 2019-01-14 20:41:51 -08:00
Michael Jackson faa1eeae8f Do not cache auto-index pages 2019-01-14 20:33:33 -08:00
Michael Jackson 328fda2d16 More margin tweaks 2019-01-14 20:14:25 -08:00
Michael Jackson 0e143977cf Small margin tweak 2019-01-14 20:10:19 -08:00
Michael Jackson 2e81715024 Stronger cache invalidation 2019-01-14 20:02:45 -08:00
Michael Jackson f01d23da1d Add Angular + GCP sponsorship info 2019-01-14 19:56:36 -08:00
Michael Jackson 86861f47e4 Do not cache the home page 2019-01-14 18:41:42 -08:00
Michael Jackson 3fd2a6cd66 Show stats on initial render if they are cached 2019-01-14 18:41:32 -08:00
Michael Jackson 20fcc24d14 Do not underline links 2019-01-14 16:25:34 -08:00
Michael Jackson 8cc9273fdc Use correct default origin 2019-01-14 16:03:09 -08:00
Michael Jackson 1cd8a5490d Remove d3 from bare URL examples 2019-01-14 15:57:36 -08:00
Michael Jackson edb042a92e Move global styles inside the app 2019-01-14 13:28:52 -08:00
Michael Jackson c75a32c60a Small tweaks 2019-01-12 21:30:59 -08:00
Michael Jackson d13fedd940 Use css prop 2019-01-12 21:23:31 -08:00
Michael Jackson 66b607843a Increase cache max-age for auto-index pages 2019-01-12 20:53:30 -08:00
Michael Jackson d2637cb9ea Streamline home page 2019-01-12 20:30:42 -08:00
Michael Jackson 59be66f552 Remove all PropTypes in production 2019-01-12 19:32:16 -08:00
Michael Jackson 09914c1db4 Server render the main page
Also, add hashes to asset file names and use the "entry manifest" plugin
in dev to get auto-reloading.
2019-01-12 19:27:28 -08:00
Michael Jackson 45c48cba26 Merge branch 'master' into firebase-hosting 2019-01-08 21:11:12 -08:00
Michael Jackson 0baec61184 Experiment w cache times on redirects 2019-01-08 20:54:16 -08:00
Michael Jackson ab97ff2cc4 Merge branch 'master' into firebase-hosting 2019-01-08 19:02:08 -08:00