1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Commit Graph

19 Commits

Author SHA1 Message Date
Mike Surowiec
9386571aa4 fix: use named export for all-versions (#20478)
* fix: use named export for all-versions

* run prettier
2021-07-22 19:29:00 +00:00
Kevin Heis
8a56437c93 Pretty format (#20352)
* Update prettier flow to include JS

* Run prettier

* ...run prettier
2021-07-14 14:35:01 -07:00
Kevin Heis
42e785b0a8 Migrate CommonJS to ESM (#20301)
* 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>
2021-07-14 13:49:18 -07:00
Grace Park
d3d1902414 Merge pull request #20017 from github/upgrade-esm
Enforce and Move to Top Level require
2021-06-22 11:27:48 -07:00
Sarah Schneider
02e95f583a change path.join to path.posix.join for Windows friendliness 2021-01-19 14:47:45 -05:00
Sarah Schneider
36c3b108b2 Merge branch 'remove-fpt' of github.com:github/docs-internal into remove-fpt-helper 2021-01-15 11:06:16 -05:00
Sarah Schneider
a8470e9034 remove unnecessary redirect (cuts down on about 18k redirects) 2021-01-15 11:05:48 -05:00
Sarah Schneider
51da7a9749 few tweaks 2021-01-15 10:11:17 -05:00
Sarah Schneider
374112c55f few tweaks to get passing tests 2021-01-14 17:08:15 -05:00
Sarah Schneider
a78828a443 remove debugging code 2021-01-14 13:51:18 -05:00
Sarah Schneider
b511758057 add remove-fpt helper function 2021-01-14 13:34:32 -05:00
Sarah Schneider
b6032f285c remove helper from this branch (to be re-added in child branch for easier reviewing) 2021-01-14 12:07:49 -05:00
Sarah Schneider
ead1dc202c Merge branch 'main' of github.com:github/docs-internal into remove-fpt 2021-01-07 14:43:50 -05:00
Sarah Schneider
33f93e39c7 remove overloaded helper functions and move code directly where it is used 2021-01-07 13:14:44 -05:00
Kevin Heis
4e781a553c Fix some typos in the lib directory (#17131)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2021-01-05 15:53:05 +00:00
Sarah Schneider
ee7b67bbb5 lint 2020-12-17 12:10:21 -05:00
Sarah Schneider
1aa80996e0 try to make this check as fast as we can 2020-12-17 12:03:45 -05:00
Sarah Schneider
5762bbaad4 support hardcoded versions in frontmatter redirects 2020-12-16 16:23:20 -05:00
Vanessa Yuen
3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00