Gatsby content site for Britain's Greatest Prime Minister
- GatsbyJS (v5)
- TypeScript
- GraphQL + Typegen
- SCSS + Modules
- Sitemap using git metadata
- Jest + Linting Runners
- Cypress + Axe + Visual Regression
- (former) NetlifyCMS
- Cloudflare builds from
cloudflarebranch- Netlify CMS working from
masterbranch
- Netlify CMS working from
- Perf analysis:
/report.htmlforwebpack-bundle-analysertotal bundle info/admin/report.htmlforwebpack-bundle-analyseron Netlify CMS/_report.htmlforperf-budgetsbreakdown by page
1. Pre-commit hooks run on code: all jest tests and lint runners
2. Push to `master` branch
3. E2E tests run on new code
4. If passed, branch pushed into `cloudflare`
1. PR created in `master`
2. PR manually merged or merged through UI
3. E2E tests run on new code
4. If passed, branch pushed into `cloudflare`
yarn run build: Build to production using Gatsby (outputs topublicfolder)yarn run dev: Build and serve development version using Gatsbyyarn run clean: Clean thepublicand.cachefoldersyarn run serve: Build and serve productionyarn run test: Run jest and runnersyarn run test:coverage: Generate coverage reportsyarn run test:watch: Run jest and runners in watch modeyarn run test:debug: Run jest and allow node-based debuggingyarn run test:e2e: Run cypress E2E testsyarn run test:e2e:run: Run cypress on production buildyarn run test:e2e:dev: Open cypress dashboard on development buildyarn run test:e2e:dev:prod: Open cypress dashboard on production buildyarn run cy:run: Run cypressyarn run cy:open: Open cypress dashboardyarn run lint: Run all jest runnersyarn run lint:md: Run remark markdown linteryarn run lint:ts: Run TypeScript compileryarn run prepare: Prepare huskyyarn run format: Auto-format using prettier
- Change Chronology to use a virtualized list when javascript is enabled
- Better support for older browsers
- Add in Critical FOFT font loading strategy
I'm available for freelance, contracts, and consulting both remotely and in the Hudson Valley, NY (USA) area. Some more about me and what I can do for you.
Feel free to drop me a message at:
hi [a+] zweisolutions {●} com
Code (outside the /content and /static/docs folders) is licensed under MIT
Content underneath the /content and /static/docs folders is Copyright 2020-2024 of the book author Martin Hutchinson unless otherwise stated, All Rights Reserved.
