Commit Graph
100 Commits
Author SHA1 Message Date
jake 00ddc53891 update percy config
https://docs.percy.io/docs/cli-configuration#migrating-from-v1
2021-08-03 20:24:29 -04:00
jake 6de1f8277a clean up unnecessary redirects in vercel.json 2021-08-03 13:31:33 -04:00
jake a123b38ee5 use date-fns for formatting/distance 2021-08-01 09:26:34 -04:00
jake 5b44ffd93c use url-parse for more reliable slug calculation 2021-07-31 15:49:32 -04:00
jake b273bdbf99 add loading spinner to /projects 2021-07-31 10:15:33 -04:00
jake 053e5922c6 bump Hugo to 0.86.1 2021-07-30 10:42:27 -04:00
jake 6c6c049491 Update post-deploy.yml 2021-07-28 11:53:22 -04:00
jake 8582d340b8 set conservativeCollapse to true when minifying lit templates 2021-07-28 11:25:19 -04:00
jake 574ea65d8d use lit-html instead of unsafe innerHTML on /projects 2021-07-28 11:13:32 -04:00
jake ac3fb5ae95 remove local-storage-fallback, bump other deps 2021-07-27 10:08:40 -04:00
jake e4d3e074fd lots of random cleanup & organization 2021-07-20 15:22:57 -04:00
jake 71892d3e17 preserve licenses 2021-07-17 08:52:06 -04:00
jake b7fcbb9dd1 also fix inlined SVGs in CSS (by ignoring them) 2021-07-15 18:17:49 -04:00
jake 8874b4f0ac fixed webfonts, rebumping css-loader to 6.0.0
https://github.com/webpack-contrib/css-loader/issues/1338
https://webpack.js.org/guides/asset-modules/#resource-assets
2021-07-15 16:46:46 -04:00
jake a848368d66 downgrade css-loader to 5.2.7 for now, broke webfont resolution 2021-07-15 16:22:00 -04:00
jake d6591b2103 webpack-dev-server -> browser-sync via gulp 2021-07-15 08:56:55 -04:00
jake 9c26cd7bff use @octokit/graphql instead of plain graphql for /api/projects 2021-07-14 07:26:07 -04:00
jake 38ba41ca0b update /privacy 2021-07-11 20:41:45 -04:00
jake a2d2eee612 *much* stricter typescript (and some js) linting 😬 2021-07-11 11:15:53 -04:00
jake d9214d846d clean up projects.js 2021-07-09 18:02:16 -04:00
jake d24f55d7ac remove query-string from client side 2021-07-09 15:03:27 -04:00
jake 574c64bae2 fix post-deploy CI 2021-07-09 14:50:31 -04:00
jake 523670fa22 move some cruft from serverless API to client 2021-07-09 14:40:23 -04:00
jake b411560a34 limit number of most popular pages from fauna db 2021-07-09 12:15:53 -04:00
jake 0adf03d969 harder/better/faster/stronger deps 2021-07-07 09:34:57 -04:00
jake dd0a2b01d2 Update .lighthouserc.json 2021-07-05 11:32:41 -04:00
jake 865ad9743a some cleanup around hugo + webpack manifest 2021-07-04 10:49:43 -04:00
jake b61ffd3629 add empty manifest.json so Hugo doesn't fail when it isn't populated yet 2021-07-03 11:02:50 -04:00
jake 2e5405b9ac profile webpack assets in build log 2021-07-03 09:09:55 -04:00
jake 1687ea4dfa use standard twemoji module from NPM 2021-07-01 09:16:53 -04:00
jake 8da27cba81 shoulda been using cross-fetch this whole time, oops 2021-07-01 09:15:11 -04:00
jake e54a7817d9 update readme badges/instructions and humans.txt 2021-06-29 18:27:00 -04:00
jake e742c5fd98 Update dependabot.yml
[skip ci]
2021-06-29 09:04:59 -04:00
jake 1bdd600c84 begrudgingly start move to all ESM modules 2021-06-29 08:14:57 -04:00
jake d8a818ed18 bump Hugo to 0.84.2 2021-06-28 08:47:26 -04:00
jake 5981b99254 generate function source maps for sentry releases 2021-06-27 12:28:30 -04:00
jake 23aeb2fab1 babel-minify -> terser via webpack 2021-06-27 11:03:36 -04:00
jake fde728bf22 remove docker stuff (it doesn't play nice with webpack/gulp/etc.) 2021-06-27 10:17:58 -04:00
jake f5f64eb87e move css minification from postcss to webpack (for better source maps) 2021-06-26 19:16:54 -04:00
jake 943b426970 bump Hugo to 0.84.1 2021-06-24 21:38:18 -04:00
jake bd5a206be0 bump some deps 2021-06-23 07:37:53 -04:00
jake ffd95fec8f add sentry error logging to all serverless functions 2021-06-20 06:48:27 -04:00
jakeandGitHub 363b4edf1c shift asset processing to webpack (#424)
also migrated SASS to latest syntax (via dart-sass) and vastly simplified light/dark theme logic
2021-06-19 17:19:01 -04:00
jake 622432c3e4 trying out Sentry logging on /api/hits 2021-06-13 11:31:18 -04:00
jake c02f3e7e9a disable Hugo aliases & move them to vercel.json 2021-06-13 09:23:11 -04:00
jake f35bd7aac2 clean up type declarations 2021-06-13 08:24:27 -04:00
jake e692d07031 merge /api/hits and /api/stats 2021-06-12 10:57:31 -04:00
jake ccfb6a0241 Create purge-artifacts.yml [skip ci] 2021-06-12 09:37:02 -04:00
jake 8eda53296f add maskable icons to manifest
https://web.dev/maskable-icon-audit/?utm_source=lighthouse&utm_medium=cli
2021-06-12 09:25:45 -04:00
jake a2445d236d run lighthouse tests on desktop instead of mobile 2021-06-11 23:51:43 -04:00
jake a1293c5a25 suppress csp-xss lighthouse error for now 2021-06-11 22:33:12 -04:00
jake 7db9c20af9 fix LHCI branch detection 2021-06-11 13:46:31 -04:00
jake 57ceac6a9e re-add LHCI workflow with vercel deployment URLs 2021-06-11 13:01:17 -04:00
jake 630bea25c5 bump some deps 2021-06-10 20:42:31 -04:00
jake 96a644da85 add /api/music Spotify endpoint (top tracks and now playing) 2021-06-06 11:27:24 -04:00
jake 9314c7eb15 compile typescript before hitting babel 2021-06-06 08:36:28 -04:00
jake d389d05d7a more typescript linting 2021-06-05 23:32:11 -04:00
jake 63cb4dde53 dear lord typescript gets messy fast 2021-06-05 21:10:51 -04:00
jake 0a9e0d789e playing with typescript (probably all wrong) 2021-06-05 16:58:56 -04:00
jake 23debefee2 add babel / esbuild pipes via Hugo, remove terser 2021-06-05 08:35:57 -04:00
jake 4598ee538c re-add external API rewrites 2021-06-04 19:00:29 -04:00
jake bce45a1af5 re-add Percy screenshotting action 2021-06-04 18:08:34 -04:00
jake 64f2ffaeb1 fix favicon-*.png rewrite 2021-06-04 11:12:14 -04:00
jake 82c42f8322 deploy to Vercel 2021-06-04 10:19:34 -04:00
jakeandGitHub 034babd9af Update codeql-analysis.yml 2021-06-03 21:00:37 -04:00
jakeandGitHub 1f6d7bfd6c Create codeql-analysis.yml 2021-06-03 20:54:47 -04:00
jake bc9cf68849 drop support for IE 11 and classic Edge (16-18) ✌️ 2021-06-03 11:26:04 -04:00
jake 2a1a696b5b api/projects: clean up GQL query 2021-06-03 10:34:21 -04:00
jake e68aec80c7 secret can't be named GITHUB_TOKEN 2021-06-03 09:39:53 -04:00
jake 9505767f3d add /api/projects endpoint and /projects page with GH-style repo cards 2021-06-03 09:31:53 -04:00
jake 7a5962fa7e api/stats: get database and RSS results asynchronously (a LOT faster) 2021-06-02 01:06:51 -04:00
jake 906fbedc15 pull hugo-extended module from source until new release [skip ci] 2021-06-02 01:06:48 -04:00
jake a4aab585ed some error handling and cleanup 2021-06-01 19:39:15 -04:00
jakeandGitHub 3fa058ee76 finally remove every trace of AMP 🥳 (#415) 2021-06-01 07:52:49 -04:00
jake 4bb5841ac1 remove frontend analytics 2021-06-01 07:47:11 -04:00
jake 78518fe326 move /api/popular to /api/stats, calculate totals 2021-05-31 22:29:50 -04:00
jake b4bec05098 restore tag lists above posts (not linked yet) 2021-05-31 20:57:58 -04:00
jake 4f03874cd3 api/popular: cross-reference with RSS feed to get post titles 2021-05-31 19:29:38 -04:00
jake c040bc6e06 fix updated AMP scripts in CSP 2021-05-31 11:47:53 -04:00
jake bf6be99a21 add popular posts API endpoint 2021-05-31 11:24:23 -04:00
jake 37807e008b add content-type and access-control headers to hit function response 2021-05-30 19:30:06 -04:00
jake 03bc26a004 bump some deps 2021-05-30 19:06:43 -04:00
jake c113bdce2e move long and messy Fauna query to a user-defined function in the cloud
https://docs.fauna.com/fauna/current/api/fql/user_defined_functions
2021-05-30 10:49:35 -04:00
jake 1d76ff93ad catch and log lambda errors 2021-05-30 09:58:29 -04:00
jake ba81de8765 increase tap target size of meta links 2021-05-30 09:30:51 -04:00
jakeandGitHub cfc3334da7 super simple serverless hit counter for fun (#410) 2021-05-30 08:55:37 -04:00
jakeandGitHub b3e916e063 Update dependabot.yml
[skip ci]
2021-05-30 08:40:13 -04:00
jake f345256921 fix page CSS parsing on amp pages
https://search.google.com/search-console/amp/drilldown?resource_id=https%3A%2F%2Fjarv.is%2F&item_key=GhkIIhADIhBzdHlsZSBhbXAtY3VzdG9tKKVO&hl=en&sharing_key=ozvLdt6NrwXwjyC3ZJCWPA
2021-05-29 09:18:14 -04:00
jake 1b69d01a19 bump twemojis to v13.1.0
https://github.com/twitter/twemoji/releases/tag/v13.1.0
2021-05-28 11:49:59 -04:00
jake 468cc14d4b move dark mode script inline to avoid blinding flash of white background 2021-05-28 11:11:09 -04:00
jake 4a59d3dd51 add postcss-merge-rules and postcss-normalize-charset plugins 2021-05-27 18:28:17 -04:00
jake b02efa77b4 fix list styles, no clue when/how they got messed up 2021-05-27 11:33:15 -04:00
jake 80ea194c74 fix new header on /previously 2021-05-27 11:33:03 -04:00
jake 162fe77be4 update /uses 2021-05-27 08:27:24 -04:00
jake d73e7746c7 fix img -> amp-img in AMP page header 2021-05-27 08:16:34 -04:00
jake 233349781e swap logo in header with my face 📸 2021-05-26 21:40:12 -04:00
jake 5f81813e75 svg favicon 2021-05-26 14:02:51 -04:00
jake 28936627bd publish web key directory (https://wiki.gnupg.org/WKDHosting) 2021-05-25 15:03:30 -04:00
jake 032e26baf0 use postcss-clean fork for postcss 8.x plugin compatibility 2021-05-24 11:36:04 -04:00
jakeandGitHub 2e3be955c8 switch to modern-normalize.css and actually choose a consistent box-sizing preference (#406) 2021-05-22 10:31:05 -04:00