* 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>
* 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>
* React: remove expose
* Update context.js
* More changes
* fix: scripts check for IS_NEXTJS_PAGE so there's no timing issue
* run lint
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
* Move article from github directory as a top-level product
* Update article titles
* Remove old -ing article titles
* Use older format for this PR
* Finish updating links for retitled articles
* Remove sponsors topic
* Add sponsors to index.md
* Create folder for map topic for sponsors
* Add integrating folder/category with super basic graphql article
* Add get started category/folder
* Update index.md
* Add articles to category folders and update all the links and check it out locally 🙏
* Fix space
* Fix set of broken links
* Update link in resuable
* Add the quickstart
* Add USD
* Add matching donations caveat
* fix ci failures
* Bringing back `-ing` to Sponsors titles, categories, & links (#18817)
* Bringing back -ing
* The one that got away
* Apply @ethanpalm's input
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
* Apply product input
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Apply @emilyistoofunky's input
* Sponsors landing page design (#18774)
* Add sponsors to index.md as a top-level product
* Revamp the GitHub Sponsors landing page with article links
* remove merge tags
* add community section
* add sponsor descriptions
* swap repo for user
* remove prefix tag
* lint
* remove topic fix landing page
* Tweak articles on landing page
* Drop "account"
* Add quickstart
* Bigger, brighter, and shorter intro
* Possibly too long of an intro?
* fix quickstart link
* add guides page
* fix error for mismatch between title and filename
* use link over guid
* remove HTML from layout file (aligns to #18811)
* use variable for section title
* Add intro
* Remove beta
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Apply suggestions from code review
* Integrate article changes and remove old TOC
* Fixing the commented out text to match other landing pages 👓
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Switch up order of sidebar categories
* Add new text to landing page button
* Add topics and types
* Add the underscore
* Add some more topics
* fix `type:`
* Fix topics
* plural ftw
* hide learning paths when not defined
* lint
* Add quickstart to guides page
* remove unused sidebar links
* hide subsection title when learning tracks are not present
* Apply @emilyistoofunky's topics input
* Remove duplicated topics
* Events ftw
* typo
* Remove obsolete topics for now
* add some temporary duplicate topics
* Resolve Linter error
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Revise the 'pages' module to export two methods: 'loadPages' and 'loadPageMap'
Update all existing references to use 'loadPages' for now
* Remove explicit Promise resolutions on loadPage* methods
* Condense reduction method into its now-singular usage spot
* Opt for for-of instead of forEach
* Make require of pages in warm-server more explicit
* Be more explicit about find-page using a pageMap
* Be more explicit about find-page-in-version using a pageMap
* Be more explicit about site-tree using a pageMap
* Extract the map creation from loadPageMap
* Be more explicit about using a pageMap
* Update redirects precompile to take two arguments: pageList, pageMap
* Rename internal loadPages method to loadPageList
* Clarify pageMap is what is stored in context.pages
* Use loadPageMap in tests and stuff
* remove outdated and redundant context.enterpriseVersions and add new context.enterpriseServerVersions
* update references from context.enterpriseVersions -> context.enterpriseServerReleases
* add test
* also test oldest supported enterprise version in addition to the latest
* Script to update not-free-pro-team conditionals (#16060)
* script to update not-free-pro-team conditionals
* change string to regex so we can do replace all
* remove stray test.only
* Update middleware/context.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Update tests/unit/page.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Update tests/unit/page.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Update tests/fixtures/page-versioned-for-all-enterprise-releases.md
Co-authored-by: James M. Greene <JamesMGreene@github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* remove FEATURE_NEW_VERSIONS from feature-flags.json
* remove process.env.FEATURE_NEW_VERSIONS from include files
* remove process.env.FEATURE_NEW_VERSIONS from lib files
* remove process.env.FEATURE_NEW_VERSIONS from middleware files
* remove process.env.FEATURE_NEW_VERSIONS from script files
* remove process.env.FEATURE_NEW_VERSIONS from test files
* update test fixtures to use new versions as canonical fixtures