* close Language and ArticleVersion pickers after click
* cleanup ArticleGridLayout due to VersionPicker changes
* fix tsc errors resulting from primer upgrade
* fix / update tests
* cleanup mobile pickers visual consistency
* use btn-sm on VersionPicker
* update translation and close on click for enterprise releases
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* Create a logic branch to deploy to production via a local script
* Ignore forceRebuild default value for production
* Add soft warnings for missing-but-not-critical env vars
* Only include the Preboot delay if the Fastly env vars are present
* Add some warning emojis ⚠️
* More emojis!
* Make FASTLY_* checks all independent
* Add more comments about additional env vars recommended for a local prod deployment
* adding run-script-os and updating start for windows os
* Update package.json
Co-authored-by: James M. Greene <JamesMGreene@github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Package updates
* Fix up things that look broken
* Add to utils
* Lead now just sets font size, just use f3 where needed
* Update package-lock.json
* Update index.tsx
* Delete bump-link.scss
* Update trigger-error.js
* Update components/GenericError.tsx
Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
* Update ArticlePage.tsx
* Update ActionBar.tsx
* Changes from meeting
* Found a few more monos
* Fix from a merge conflict
* Missed a few f3s
* Update SubLandingHero.tsx
* Bye gradients
* Match up breadcrumbs
* Update SubLandingHero.tsx
* Update lists.scss
Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
* pull changes from docs-playground
* cleanup, add callout banner
* cleanup linting and test fixes
* add discussion link
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Add a Staging build workflow
* Remove all commented out code from build workflow
It will be handled in https://github.com/github/docs-engineering/issues/726
* Use pinned version of upload-artifact action
* Tweaks to build
* Minor deployment script refactoring
* Update the Staging deployment workflow
* Missed refactoring tweak
* Add relevant comments
* Update Heroku app naming convention for Actions deploy to include 'gha-' prefix
* Update Heroku app ConfigVars and SourceBlob for optional prebuilt app
* Remove obsolete 'dist/' dir from PR build artifact
See https://github.com/github/docs-internal/pull/20405
* Ensure a new enough version of npm is used
* Switch to creating a tarball for upload
* Remove obsolete 'layouts' dir from file list
* Ditch the verbosity for 'tar'... too many files
* Add tarball support to deploy
* Add esm workaround to deploy script
See https://github.com/actions/github-script/issues/168
* Temporarily ignore staging deploy workflow from workflow linter
* Update deployment to use a Heroku Build Source instead of a GitHub Actions Artifact
* Update undeploy workflow to use ESM workaround
See https://github.com/actions/github-script/issues/168
* Add 'esm' package to optionalDependencies to better support workaround
See https://github.com/actions/github-script/issues/168
* Add Slack notifications for workflow failures
* Wrap AppSetup polling in try-catch
* Improve dyno monitoring
* Rename 'script/deploy' to have a .js extension #esm
* Update script references to include the extension
* Use non-deprecated Sources API for Heroku
* Use normal quotes
* Stub in a step to mark deployment inactive after timing out
* Apply suggestions from code review
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
* Upgrade all minor and patch versions
* Major updates that seem unlikely to impact
* Bring two back down one step
* Remove search-with-your-keyboard
* Remove unused packages
* Lock liquid version
* Update the trim nightmare
* Update create-processor.js
* Update other packages in the rendering pipeline
* A few more updates
* Fix tables
* Update lint-files.js
* Fix copy code blocks
* Update render-content.js
* remove whitespace from liquid conditionals
* We no longer need require eslint rules
* Neat, it worked
* Revert test change
* Update create-processor.js
* Without aliases
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
* removing webpack build step
* keep copywebpackplugin and add fonts to assets/fonts
* update marketing font path
* update font path
* update font
* remove builtAssets
* remove copying front end code with dist
* move Inter fonts to /assets/fonts/inter
* move copy-webpack-plugin back to deps
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
* Use a custom version of remark-parse based on 8.0.3 without the trim dependency
* Update openapi-schema-check.yml
* Update openapi-schema-check.yml
* Update openapi-schema-check.yml
* Use a package instead of ssh to install
Co-authored-by: Rachael Sewell <rachmari@github.com>
* First run of script
* Get the app running --- ish
* Get NextJS working
* Remove `node:`
* Get more tests passing in unit directory
* Update FailBot test to use nock
* Update test.yml
* Update Dockerfile
* tests/content fixes
* Update page.js
* Update build-changelog.js
* updating tests/routing
* Update orphan-tests.js
* updating tests/rendering
* Update .eslintrc.js
* Update .eslintrc.js
* Install jest/globals
* "linting" tests
* staging update to server.mjs
* Change '.github/allowed-actions.js' to a ESM export
* Lint
* Fixes for the main package.json
* Move Jest to be last in the npm test command so we can pass args
* Just use 'npm run lint' in the npm test command
* update algolia label script
* update openapi script
* update require on openapi
* Update enterprise-algolia-label.js
* forgot JSON.parse
* Update lunr-search-index.js
* Always explicitly include process.cwd() for JSON file reads pathed from project root
* update graphql/update-files.js script
* Update other npm scripts using jest to pass ESM NODE_OPTIONS
* Update check-for-enterprise-issues-by-label.js for ESM
* Update create-enterprise-issue.js for ESM
* Import jest global for browser tests
* Convert 'script/deploy' to ESM
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: James M. Greene <jamesmgreene@github.com>
* enable more react landing pages
* move nextjs page logic to separate middleware
* enable codespaces landing page + fixes
* enable /education
* enable /admin
* use pathToRegexp to match routes for react rendering
* run lint
* fix: typo in url
* update sidebar test