Commit Graph

434 Commits

Author SHA1 Message Date
Michael Jackson 135da0fdc5 Server render auto-index pages
Also, load the autoIndex bundle on the client so we can use React
instead of using an inline script.
2018-07-31 10:07:27 -07:00
Michael Jackson 168ccf5aac Use secretKey module directly 2018-07-27 05:39:57 -07:00
Michael Jackson ab72779cfb Small tweaks 2018-07-27 05:08:07 -07:00
Michael Jackson ab3e5f4dfc Style tweak 2018-07-19 21:49:39 -04:00
Michael Jackson b69fd550a2 Fix 404 regression with CommonJS module paths 2018-07-19 21:03:40 -04:00
Michael Jackson a254a7a2f2 Move main files into client/main 2018-07-18 00:29:49 -07:00
Michael Jackson f8eea6ac2b Rename req.bundle => req.assets 2018-07-18 00:10:37 -07:00
Michael Jackson cb577b5d84 Run dev server on same port so auto-reload works 2018-07-17 23:58:43 -07:00
Michael Jackson caffd0efc8 Improvements to dev setup 2018-07-17 23:40:32 -07:00
Michael Jackson e7244e6000 Remove process-level mutex 2018-07-16 12:05:02 -07:00
Michael Jackson c7231b4c5e Use SETNX for caching package info 2018-07-16 10:17:00 -07:00
Michael Jackson 7543295e4e Better code clarity 2018-07-16 08:44:59 -07:00
Michael Jackson 6c3c71755a Fix relative name computation 2018-07-15 21:34:36 -07:00
Michael Jackson c5156be276 Server timeout is 10s 2018-07-15 21:13:56 -07:00
Michael Jackson 6075deb73f Return null for 404s 2018-07-15 16:29:54 -07:00
Michael Jackson c464dc3c3e More detailed error output on registry fetch errors 2018-07-15 12:41:36 -07:00
Michael Jackson d05ff65089 More readable errors for failed registry requests 2018-07-15 09:56:51 -07:00
Michael Jackson d1a6db5747 Force shutdown of workers after 5s 2018-07-15 09:17:46 -07:00
Michael Jackson 5f0fa21063 Re-use registry HTTP agent for package info requests 2018-07-14 17:45:37 -07:00
Michael Jackson 4360fbf7d6 Fix missing require 2018-07-14 15:12:37 -07:00
Michael Jackson eb75d866b7 Use persistent HTTP connection to the registry 2018-07-14 14:46:33 -07:00
Michael Jackson 5969ecc6ef Don't cache packages on the filesystem
Should help with transient errors reported in #86, #104, and #110
2018-07-14 14:46:33 -07:00
Michael Jackson 700bb109a1 Add release info to Raven config 2018-07-14 10:46:18 -07:00
Michael Jackson 139207ec86 Add Sentry 2018-07-14 10:33:36 -07:00
Michael Jackson 8790cbb024 Run builds on all branches 2018-07-14 00:00:29 -07:00
Michael Jackson 43379bb73d Use global React, ReactDOM, and ReactRouterDOM from unpkg 2018-07-10 07:49:35 +10:00
Michael Jackson aa118eecef Remove unnecessary require 2018-07-10 07:04:10 +10:00
Michael Jackson 5b747dc48b Add serveMainPage action 2018-07-10 07:03:53 +10:00
Michael Jackson 8ef362ba09 Separate out cache + data servers 2018-07-06 10:53:16 -07:00
Michael Jackson ffde00c444 Move stats.json into the root 2018-07-05 17:08:56 -07:00
Michael Jackson 89239a7c42 Use nodemon to automatically restart the server in dev 2018-07-05 17:08:37 -07:00
Michael Jackson ba05a5f90a Small docs update 2018-06-16 08:47:41 -07:00
Michael Jackson ac9ab40c48 Update build links 2018-06-14 13:54:58 -07:00
Michael Jackson cb47fbf775 Add secretKey module 2018-06-14 11:25:28 -07:00
Michael Jackson 5c9c4f00e8 Run development server using Docker 2018-06-14 11:20:07 -07:00
Michael Jackson b0d205d9eb Filter out empty directories
Fixes #99
2018-06-03 09:50:21 -07:00
Vijay Singh 734ddc52d2 Update Readme.md (Broken Links)
few links to unpkg seems broken or it just me,
2018-06-02 07:41:13 -07:00
Michael Jackson b54749c83a Fetch logs in 30s windows 2018-06-01 22:34:56 -07:00
Michael Jackson 089f1eedb3 Use Cloudflare /received API instead of /requests 2018-06-01 22:15:41 -07:00
Michael Jackson 57ba532400 Use node 8 2018-06-01 17:41:38 -07:00
Michael Jackson b0834c08fd Move babel presets to devDeps 2018-06-01 16:37:05 -07:00
Michael Jackson aca63ea606 Add some helpers for generating HTML pages 2018-06-01 15:53:41 -07:00
Michael Jackson 05e8cffee7 Remove unused file and fix lint warnings 2018-06-01 09:50:39 -07:00
Michael Jackson a889385261 Fix failing tests 2018-05-31 09:34:38 -07:00
Michael Jackson bca5722eae Don't check package name when parsing 2018-05-25 20:31:42 -04:00
Michael Jackson c0e0f899d2 Small tweaks + whitespace 2018-05-25 20:31:42 -04:00
Michael Jackson a8471ed950 Sort keys in createSearch + add tests 2018-05-25 20:22:59 -04:00
Michael Jackson 121ea62cb8 Upgrade tar-fs to 1.16.2 2018-05-22 22:24:26 -04:00
Michael Jackson 0f895bf04e Use lockfile to prevent inter-process races
See #86
2018-05-22 22:06:55 -04:00
Michael Jackson 5b1750c182 Check Redis cache inside of process mutex 2018-05-22 21:16:10 -04:00