Commit Graph
100 Commits
Author SHA1 Message Date
jake aa9f347c3d almost had it... 2021-09-08 09:16:34 -04:00
jake b6c325c3b6 try fixing sentry release sourcemaps for serverless functions 2021-09-08 08:03:16 -04:00
jake f42c5bd3bc clean up loading animation styles 2021-09-06 16:26:43 -04:00
jake 7d7bf4b474 drop some unused deps 2021-09-05 09:51:41 -04:00
jake 3a3849e8ec add a partial template that returns an asset's URL and hash from webpack's manifest
still a mess but slightly more modular. also added a real 404 page.
2021-09-03 11:16:27 -04:00
jake a304fa5079 bump some deps 2021-09-03 09:07:12 -04:00
jake cfd57784ff revert node-fetch to 2.6.1
vercel is still compiling functions to commonjs no matter what I do.......??

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/jake/source/jarv.is/node_modules/node-fetch/src/index.js from /Users/jake/source/jarv.is/api/hits.ts not supported.
2021-09-01 10:06:42 -04:00
jake 445674cc69 fix changes in node-fetch v3 re: response.json() return types 2021-09-01 09:27:23 -04:00
jake 3a69932c03 bump some deps 2021-09-01 09:26:55 -04:00
jake 3a7cd284a4 add a few more helpful anchor IDs on sub-headings 2021-08-30 23:19:01 -04:00
jake eace0683b4 broaden anchorjs heading selectors 2021-08-30 19:22:06 -04:00
jake 1ed75bb763 add anchor links to content sub-headings
forked anchor-js: https://github.com/jakejarvis/simple-anchor
2021-08-30 14:01:13 -04:00
jake 5e3507a594 undo eslint curly rule 2021-08-30 13:40:04 -04:00
jake 4f877688e6 fix catch error errors introduced in typescript 4.4
https://devblogs.microsoft.com/typescript/announcing-typescript-4-4/#use-unknown-catch-variables
2021-08-27 14:49:01 -04:00
jake 8e13599e2d use shared eslint config at @jakejarvis/eslint-config 2021-08-27 14:43:58 -04:00
jake 1af8fbd643 fix percy snapshots 2021-08-25 12:03:09 -04:00
jake 36c9a6b2d1 Update dependabot.yml 2021-08-25 11:47:56 -04:00
jake 3f4206b08a bump some deps 2021-08-25 11:47:43 -04:00
jake 2f7760ab92 stylelint ignore vendor 2021-08-23 10:20:32 -04:00
jake ff3703fb24 use prerelease lit-html 2.0.0-rc.3 2021-08-21 10:14:18 -04:00
jake 4a7c9d4d96 much stricter eslint'ing (adapted from eslint-config-google and some airbnb) 2021-08-18 10:58:20 -04:00
jake 16bff324a2 clean up SCSS and correct some syntax 2021-08-17 12:50:05 -04:00
jake ed10962814 fix SCSS theme mixin when multiple selectors are being set 2021-08-17 10:19:15 -04:00
jake e245205265 fix copy button position on overflowed single-line blocks 2021-08-17 07:31:56 -04:00
jake 96d5ad5ff1 slightly faster attachment of clipboard.js to DOM 2021-08-16 09:22:51 -04:00
jake 6e27cecba1 trim surrounding newlines from copied code 2021-08-16 08:42:34 -04:00
jake fdb9532cc5 add copy-to-clipboard button to code fences 2021-08-16 08:08:56 -04:00
jake 86ded40854 bump some deps 2021-08-13 09:51:17 -04:00
jake f7b179b4f8 tidy up build logs 2021-08-08 10:57:43 -04:00
jake 1e1bf0aa1d Revert "add gitguardian action"
This reverts commit b7628fca4a.
2021-08-08 09:58:06 -04:00
jake b7628fca4a add gitguardian action 2021-08-08 09:38:37 -04:00
jake 1b46172a77 💡 replace dark mode script w/ similar module I just published
https://github.com/jakejarvis/dark-mode
2021-08-06 10:52:18 -04:00
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