Граф коммитов

747 Коммитов

Автор SHA1 Сообщение Дата
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
rachmari 0b47e4e101 Action ran graphql script"update-files" 2021-07-13 22:12:38 +00:00
Rachael Sewell 890b5cca18
fix graphql updater script (#20329) 2021-07-13 21:58:40 +00:00
Rachael Sewell 87690bf634
revert to using static content type (#20319) 2021-07-13 09:54:09 -07:00
github-openapi-bot 8948d52184
Update OpenAPI Descriptions (#20307) 2021-07-13 10:56:20 +00:00
Rachael Sewell 25c19c13aa
fix typo found by @adityatheoctocatdev (#20303)
Co-authored-by: Aditya Patel adpatel162@outlook.com
2021-07-12 15:15:57 -07:00
James M. Greene d639f74aed
Warm server only once no matter what (#20264) 2021-07-02 19:34:50 +00:00
Sarah Schneider c032403ec7 add comment 2021-07-01 12:33:37 -04:00
Sarah Schneider 083ba4e1eb
Update lib/create-tree.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-07-01 12:28:37 -04:00
Sarah Schneider 0333ea39fb initialize Pages for existing translated paths, not just English paths with localized versions of those paths 2021-07-01 12:13:43 -04:00
github-openapi-bot f035720d74
Update OpenAPI Descriptions (#20251) 2021-07-01 15:23:43 +00:00
github-openapi-bot 23c63f3291
Update OpenAPI Descriptions (#20245) 2021-07-01 07:17:16 +00:00
Rachael Sewell 4f3761004b
OpenAPI form data curl examples (#19507) 2021-06-30 17:33:20 -07:00
github-openapi-bot b048121a0e
Update OpenAPI Descriptions (#20235) 2021-06-30 14:55:01 -07:00
github-openapi-bot 28f90a7aca
Update OpenAPI Descriptions (#20232)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
2021-06-30 14:16:23 -07:00
github-openapi-bot e400d202db
Update OpenAPI Descriptions (#20212)
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
2021-06-30 20:38:40 +00:00
James M. Greene 4cf1794e41
Log Hydro validation failures (#20189)
* Log Hydro validation failures
* Include request body as well
2021-06-29 19:36:12 +00:00
github-openapi-bot 32f3662d7e
Update OpenAPI Descriptions (#20154)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2021-06-25 20:02:48 +00:00
github-openapi-bot d5c2c13c4a
Update OpenAPI Descriptions (#20126)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
2021-06-24 19:01:00 +00:00
Sarah Schneider cffafaf748
Merge branch 'main' into revert-20087-revert-20069-fix-homepage-versions-dropdown 2021-06-24 12:40:17 -04:00
Kevin Heis d3403e8653
Address goofy exports (#20113)
* Address a goofy export

* Fix more exports

* Change two exports
2021-06-24 14:59:06 +00:00
github-openapi-bot 8de762191d
Update OpenAPI Descriptions (#20118)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2021-06-24 13:13:38 +00:00
Sarah Schneider 3b78be7ff0
Merge branch 'main' into revert-20087-revert-20069-fix-homepage-versions-dropdown 2021-06-23 18:55:17 -04:00
Kevin Heis a92d820888
Remove remaining JSON requires (#20110)
* Remove remaining JSON requires

* Lint

* Update feature-flags.js
2021-06-23 14:57:50 -07:00
Sarah Schneider 7e3e75616c Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-23 15:59:37 -04:00
Sarah Schneider d454e4032e Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-23 15:16:52 -04:00
Sarah Schneider 96e6c909bb feedback from @heiskr 2021-06-23 15:05:14 -04:00
Sarah Schneider 92dc4e2929 ensure that ghes versioning in a feature gets combined with ghes versioning frontmatter, and does NOT overwrite it 2021-06-23 15:03:34 -04:00
Grace Park cbdd722cac
Merge branch 'main' into dynamic-esm 2021-06-23 10:46:25 -07:00
Grace Park 15e446b9c7
Update lib/app.js
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-06-23 09:58:59 -07:00
Sarah Schneider 15e33f05e7 Revert "Revert "Fix homepage versions dropdown" (#20087)"
This reverts commit f9f0b2ce86.
2021-06-23 10:12:36 -04:00
Matt Pollard f9f0b2ce86
Revert "Fix homepage versions dropdown" (#20087) 2021-06-23 09:11:51 +02:00
github-openapi-bot 60e5417deb
Update OpenAPI Descriptions (#20074)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
2021-06-22 21:50:34 +00:00
James M. Greene 7ee7a1aaaa
Merge branch 'main' into feature-versioning 2021-06-22 15:28:34 -05:00
Grace Park bcb11e607e
Merge branch 'main' into dynamic-esm 2021-06-22 12:55:26 -07:00
Sarah Schneider bc071c7dff remove homepage-specific version, no longer needed 2021-06-22 15:15:11 -04:00
Grace Park 23f586bb93 merge and fix conflicts 2021-06-22 11:41:10 -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
rachmari b5586e31b9 Action ran graphql script"update-files" 2021-06-22 16:38:22 +00:00
Sarah Schneider 4c0e21e762 lint 2021-06-22 10:59:32 -04:00
Sarah Schneider d639b74c39 check if feature dir is present 2021-06-22 10:57:21 -04:00
Sarah Schneider 512d29bf83 support ghae = next in frontmatter 2021-06-22 10:56:57 -04:00
Sarah Schneider c4d6ae71a0 fix versions schema 2021-06-22 10:40:02 -04:00
Sarah Schneider 04b6c07c8e Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-22 10:26:02 -04:00
github-openapi-bot d1ba055a9c
Update OpenAPI Descriptions (#20047) 2021-06-22 00:34:40 +00:00
Grace Park ee58981b6a
Merge branch 'main' into dynamic-esm 2021-06-21 13:35:30 -07:00
github-openapi-bot cd5b4dd39b
Update OpenAPI Descriptions (#20037) 2021-06-21 20:11:59 +00:00
Grace Park 0beb64935f
Merge branch 'main' into dynamic-esm 2021-06-21 12:12:35 -07:00
hubwriter 287a857511
Update Packages docs for Container registry GA (#19987)
* Update packages landing page

* Docs updates for Container reg GA

* Update billing note

* Delete CR feature preview files

* Fix broken link

* Remove github.ref from workflows

See https://github.com/github/docs-internal/pull/19953

* Put 3rd party action message in a reusable

* Update content/billing/managing-billing-for-github-packages/about-billing-for-github-packages.md

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>

* Update content/packages/learn-github-packages/deleting-and-restoring-a-package.md

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>

* Update content/packages/working-with-a-github-packages-registry/migrating-to-the-container-registry-from-the-docker-registry.md

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>

* Update content/packages/working-with-a-github-packages-registry/migrating-to-the-container-registry-from-the-docker-registry.md

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>

* Update content/packages/working-with-a-github-packages-registry/working-with-the-container-registry.md

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>

* Update content/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions.md

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>

* fix bug with wbr breaking a link inside a code tag inside a table

* Make revisions suggested by Nilofer

See https://github.com/github/docs-internal/pull/19987/files#r655014673

* Mention that migration is happening gradually

* Reapply change suggested by Shayne

* Fix punctuation

* Remove bad link

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
2021-06-21 15:10:12 -04:00