forked from nodejs/nodejs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] main from nodejs:main #211
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… Brian Muenzenmeyer <brian.muenzenmeyer@gmail.com> Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com> Co-authored-by: Michael Esteban <mickel13@gmail.com> Co-authored-by: Shu Ding <g@shud.in> * chore(next.js): added initial package.json update and configuration files * chore(static): moved static files to public/static * chore(pages): moved locale directory to pages/ * chore(survey): added readme and updated deploy script for survey * chore(legacy): removed build.js and server.js * chore(typescript): updated theme.tsx and added typescript support * chore(folder-structure): continued moving files and clean up of things * chore(codeowners): updated codeowners * chore(eslint): updated markdown matching * chore(move): moved styles and layout and data folders * chore(i18n): added initial locale config * chore(lts): stick with v18 lts * chore(i18n): updated crowdin configuration * chore(lts): fixed lts naming on ci and nvm * chore(package.json): fixed lint commands * chore(package-lock): reindexed and updated package lock * chore(i18n): added react-intl package * chore(configs): updated next, eslint and tsconfig * chore(packages): add prettier config for the plugin * chore(configs): updated prettier, eslint adn package.json * chore(package): removed airbnb config * chore(lint): applied linting in core files * chore(lint): applied linting on markdown and style files * chore(ci): disable build job for now * chore(cache): added eslint cache files to ignore * chore(public): moved robots and security to root public folder * chore(eslint): added default next config * chore(remark): added remark configuration * chore(i18n): added ICU locale files boilerplates * chore(config): added website config file * chore(favicon): removed all favicon alternates to a simple png file * chore(dependencies): added a rss/atom/json feed package * chore(packages): updated packages and adopted npm-run-all * chore(layouts): removed blm specific layouts * feast(config): introduced site config provider and context * feat(header): started to create the header component * chore(provider): refactored provider * chore(fonts): added source sans pro font * feat(templates): added core component * chore(pages): removed legacy blm page * feat(types): introduced frontmatter types * chore(theme): started to update theme with layout * feat(config): updated site config types * feat(header): added all header meta tags * chore(document): added assets for theme switch * chore(eslint): fixed eslint failed rule * update nextra * chore(document): added remaining scripts * feat(footer): added footer * feat(header): updated header with favicon * feat(manifest): added manifest for PWA * feat(i18n): introduced i18n hook * chore(header): added i18n config * feat(layouts): added default layout * feat(layouts): initial version of the layout provider * refactor(provider): cleaned-up the site provider * feat(theme): adopted layout provider on theme * chore(layouts): removed unused layouts * feat(footer): added scroll-to-top * chore(i18n): added navigation and translations * chore(dependencies): added highlightjs and classnames * chore(utils): added link locale util * feat(i18n): introduced locale provider * feat(header): renamed header into htmlhead * feat(header): introduced page header * feat(components): introduced localised linkicomponent * feat(components): introduced language picker component * chore(footer): updated translation id * feat(app): updated app, document and theme with new locale and scripts * chore(layouts): added header to default layout * chore(layouts): removed old header layout * chore(docs): made the docs index mdx compatible * chore(types): added labels to frontmatter * chore(config): updated next config and remark plugins * chore(types): added types for node-version-data * feat(i18n): hook to support metadata about current route * feat(navigation): updated navigation metadata * feat(navigation): introduced a navigation hook * feat(node-versions): introduced provider and types for node-versions * feat(navigation): introduced side navigation component * feat(header): use the new navigation component * chore(app): introduced node data provider usage * feat(docs): introduced doc layout * chore(layouts): added docs to layout provider * chore(layouts/scripts): removed now unused layouts and scripts * chore(scripts): removed build scripts for node data * chore(utils): introduced new util * chore(data): removed non-needed data anymore * chore(navigation): include root entry on side nav * fix(footer): fixed spacing of items * fix(body): next element to also follow body rules * feat(layouts): introduced new layouts * chore(note): added todo notes on temporary components * feat(mdx): added proper node api versions component * chore(dependencies): removed non-needed dependencies * chore(docs): reverted mdx rename and use regular mdx provider for the component import * chore(remark): a lot of the lists are unordered and shouldn't need to be with * * chore(layouts): removed unused knowledge layouts * feat(banner): introduced banner component * feat(nextra): allow plain md syntax; include i18n file in ssg * feat(next): introduced lambdas for getting data * chore(eslint): added mjs to es6 context * feat(next): adopted new data fetching mechanism * feat(providers): updated providers with new data fetching * chore(types): simplified provider types * chore(i18n): added lts span * chore(next): improve next configuration * feat(header): allow subpath match for sidenav * chore(dependencies): added critters and sharp for css/image optimization * feat(caching): introduced caching of static async props * fix(header): home location sublink * chore(hooks): removed .tsx extension * chore(scripts): removed unused scripts * feat(utils): added util for changelog link * feat(providers): provide nextra context * chore(types): added numeric version * feat(hooks): nextra context hook * feat(components): download button component * feat(layouts): introduced index layout * feat(date): added format time util * chore(scripts): removed more unused scripts * disable flexsearch for now * chore(next): increase memory pool for build * feat(data): updated hooks and how data is provided * chore(components): moved a few components around * chore(404): added dev 404 page * chore(i18n): added navigation and i18n for downloads * feat(download): introduced download components * feat(pages): introduced download pages * feat(navigation): offer replacement of vars in link * chore(scripts): updated a few scripts * chore(scripts): removed other deprecated script * chore(handlebars): added handlebars * feat(release-post): contained release posts within the scripts folder * chore(external): no need to have a package.json there anymore * chore(release-post): minor typo fix * chore(dependencies): added sw dependency * chore(sw): enable sw feature * chore(types): updated node data types * feat(components): introduced download table component * chore(layouts): introduced previous releases layout * chore(scripts): added jquery as script * refactor(components): use Link component * chore(downloads): use dompurify for the frontmatter modules * fix(links): fix api docs links * fix(locale): fixed determination of route match * chore(deps): updated dependencies * chore(helpers): introduced helper for getting a header link * feat(heading): introduced anchored heading component * chore(theme): adopted anchored component * chore(anchor): id is always provided * chore(dependencies): updated package json * chore(mdx): transformed into mdx pages that need to be in mdx * chore(dependencies): updated dependencies * chore(mdx): default config * fix: upgrade nextra and refactor getNextData * feat(layouts): introduced blog post layout * fix(release-post): end paragraph markings * chore(layouts): sanitize to be memoized * fix: only pass necessary node versions in page props * chore(guides): removed non-translated guides * fix(markdown): fix buffer guide markdown * feat(mdx): blockquote as highlightbox * fix(linting): fixed prettier rules for mdx * fix: /404 route and optimize page size * fix: optimize next build * chore(canonical): add canonical * refactor(data): simplified data gathering * chore(dependencies): introducesd sitemap and swr * chore(ts): allow downlevel iteration * fix(build): unoptimized images * feat(downloads): only latest major of each version * chore(js): removed unused code * chore(404): prettified 404 file * chore(footer): fixed # not valid * chore(i18n): add 404 page messages * chore(404): use tsx instead of mdx * chore(react-intl): no errors * chore(i18n): fallback data * chore(ci): added build on ci again * chore(sitemap): added sitemap data * chore(eslint): prefer nodejs config * chore(fix): linting * chore(scripts): remove server 404 and fix main.js for 404 * chore(build): is memory efficient now * fix(i18n): always using english locale * chore(next): updated config options * feat(data): improved data rendering/reusability * chore(next): remove non-necessary packages * chore(scripts): refactored release-post to mjs * chore(scripts): simplify and document code * chore(next): refactored data scripts * refactor(header): i18n, svg and fix styles * chore(next): minor refactor of helper * feat(node-data): only on selected routes * fix(ts): fixed typescript types * refactor(providers): simplified the _app * chore(dependencies): added gray-matter * feat(helpers): introduced script helpers * chore(types): updated types * refactor(next): refactored data components * chore(sitemap): removed non-existent env * chore(optimize): removed css optimization * feat(dat): introduced blog data helper * fix(blogdata): fixed slug * feat(types): shared props and context * feat(utils): added time component * chore(gitignore): year pages * chore(types): refactored types * chore(data): improved blog data and create year pages * feat(blog): introduced blog index page * feat(layouts): implemented blog category layout * feat(i18n): migrate translations 🎉 (#1) * feat: migrate `ar` * feat: migrate `ca` * feat: migrate `de` * feat: migrate `es` * feat: migrate `fa` * feat: migrate `fr` * feat: migrate `gl` * feat: migrate `it` * feat: migrate `ja` * feat: migrate `ka` * feat: migrate `ko` * feat: migrate `nl` * feat: migrate `pt-br` * feat: migrate `ro` * feat: migrate `ru` * feat: migrate `tr` * feat: migrate `uk` * feat: migrate `zh-cn` * feat: migrate `zh-tw` * chore: update next and previous strings * chore: remove `en` site.json * fix(document): numerours document style fixes and javascript fixes * chore(eslint): global window * chore(external): moved external folders * feat(rss): introduced rss generation * chore(tests): removed unused tests * chore(readme): updated readme * chore(lint): ignore and fix linting * refactor(scripts): refactored the legacy scripts * chore(ci): set memory to 4gb on ci * chore(workers): no need tofr morkers * chore(ci): updated a doc and ci file * chore(refactor): minor refactors, text changes and bug fixes * Update COLLABORATOR_GUIDE.md Co-authored-by: Brian Muenzenmeyer <brian.muenzenmeyer@gmail.com> Signed-off-by: Claudio Wunder <cwunder@gnome.org> * Apply suggestions from code review Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com> Signed-off-by: Claudio Wunder <cwunder@gnome.org> * fix: upgrade nextra to remove the __esModule hack * chore: disable outputFileTracing * chore(ci): use build cache * chore(js): fix theme switcher issues * fix(build): improved data transmission from static props * chore(fixes): minor style and config changes * fix(scrollto): minor scroll to fix * Update next.config.mjs Co-authored-by: Michael Esteban <mickel13@gmail.com> Signed-off-by: Claudio Wunder <cwunder@gnome.org> * chore(ci): attempt to optimize caching * chore(ci): fine-tune to be based on eslint hashing * chore(cache): only cache .next/cache * chore(mastodon): added mastodon verification * chore(next): updated packages and optimised build performance * chore(dependencies): updated dependencies * fix(lint): fixed linting * chore(dependencies): removed temp dep * chore(package): reduce memory --------- Signed-off-by: Claudio Wunder <cwunder@gnome.org> Co-authored-by: Shu Ding <g@shud.in> Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com> Co-authored-by: Brian Muenzenmeyer <brian.muenzenmeyer@gmail.com> Co-authored-by: Michael Esteban <mickel13@gmail.com>
* fix(canonical): duplicated locale on the route Signed-off-by: Claudio Wunder <cwunder@gnome.org> * Update HtmlHead.tsx Signed-off-by: Claudio Wunder <cwunder@gnome.org> --------- Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
* chore(next): remove deprecated @next/font * fix(home): fixed download button by removing next/link * fix(highlight): bootstrap highlight on every route change
* chore(workflows): run linting job on windows too * chore(typo): matrix.os not available on that name
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
This fixture mainly focuses on two bugs: 1. For Heading <h1>, it doesn't render as what we see for "h2" , "h3"..,and the "id" is always null. So the solution is to render the the children (here it must be a string) and return it in default. 2. For very long English titles or non-English titles in md files, the generated anchor name in default will be very hard to read/write in md files if we want to refer. What we used to do is to give it an alian name in short, Take Chinese generated HTML files will be a good example to explain.
Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Maledong <maledong_public@foxmail.com>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Two i18n keys that includes typo changed Fixes #5091 Co-authored-by: Claudio Wunder <cwunder@gnome.org>
* Update source file package-manager.md * Update source file en.json --------- Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Signed-off-by: Maledong <maledong_public@foxmail.com> Co-authored-by: Maledong <maledong_public@foxmail.com>
Bumps [nextra](https://github.com/shuding/nextra) from 2.2.18 to 2.2.19. - [Release notes](https://github.com/shuding/nextra/releases) - [Changelog](https://github.com/shuding/nextra/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/shuding/nextra/compare/nextra@2.2.18...nextra@2.2.19) --- updated-dependencies: - dependency-name: nextra dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#5117) chore(actions): merge group should not have to go through all steps again Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.14.6 to 18.15.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [sass](https://github.com/sass/dart-sass) from 1.58.3 to 1.59.2. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.58.3...1.59.2) --- updated-dependencies: - dependency-name: sass dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.2.3 to 13.2.4. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v13.2.4/packages/eslint-config-next) --- updated-dependencies: - dependency-name: eslint-config-next dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Chore(style): introduce branding from nodejs Website Redesign Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Bumps [next](https://github.com/vercel/next.js) from 13.2.3 to 13.2.4. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](vercel/next.js@v13.2.3...v13.2.4) --- updated-dependencies: - dependency-name: next dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Bumps [eslint](https://github.com/eslint/eslint) from 8.35.0 to 8.36.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.35.0...v8.36.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Claudio Wunder <cwunder@gnome.org>
* chore: check code format on ci * chore: revert job name * chore: update prettier job name Co-authored-by: Shiba <128208841+HinataKah0@users.noreply.github.com> Signed-off-by: Guilherme Araújo <guilherme.araujo@maxxidata.com> * chore: format files * chore: update pre-commit blog-posts-data.json * chore: remove useless next env --------- Signed-off-by: Guilherme Araújo <guilherme.araujo@maxxidata.com> Co-authored-by: Shiba <128208841+HinataKah0@users.noreply.github.com> Co-authored-by: Claudio Wunder <cwunder@gnome.org> Co-authored-by: Harkunwar Kochar <10580591+Harkunwar@users.noreply.github.com>
Refs: nodejs/node#48643 Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Michael Esteban <mickel13@gmail.com>
Co-authored-by: Michael Esteban <mickel13@gmail.com> Co-authored-by: Brian Muenzenmeyer <brian.muenzenmeyer@gmail.com>
* chore: update badges for the repository Signed-off-by: Claudio Wunder <cwunder@gnome.org> * chore: detect dark theme Signed-off-by: Claudio Wunder <cwunder@gnome.org> * chore: add build check Signed-off-by: Claudio Wunder <cwunder@gnome.org> --------- Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Brian Muenzenmeyer <brian.muenzenmeyer@gmail.com>
Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )