-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
feat(infra): migrate to Next.js infrastructure #4991
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
Merged
Merged
Changes from all commits
Commits
Show all changes
244 commits
Select commit
Hold shift + click to select a range
6018f64
chore(next.js): added initial package.json update and configuration f…
ovflowd 0e658ac
chore(static): moved static files to public/static
ovflowd 72305ce
chore(pages): moved locale directory to pages/
ovflowd 46f20c2
chore(survey): added readme and updated deploy script for survey
ovflowd 2cc4263
chore(legacy): removed build.js and server.js
ovflowd 5016948
chore(typescript): updated theme.tsx and added typescript support
ovflowd 1655c58
chore(folder-structure): continued moving files and clean up of things
ovflowd 60110f6
chore(codeowners): updated codeowners
ovflowd 94de20d
chore(eslint): updated markdown matching
ovflowd d725521
chore(move): moved styles and layout and data folders
ovflowd 0857c35
chore(i18n): added initial locale config
ovflowd 556a5e9
chore(lts): stick with v18 lts
ovflowd f6264d7
chore(i18n): updated crowdin configuration
ovflowd edd70c6
chore(lts): fixed lts naming on ci and nvm
ovflowd c8e35ba
chore(package.json): fixed lint commands
ovflowd 8cd5490
chore(package-lock): reindexed and updated package lock
ovflowd e7dccb0
chore(i18n): added react-intl package
ovflowd f013a23
chore(configs): updated next, eslint and tsconfig
ovflowd a7dca8f
chore(packages): add prettier config for the plugin
ovflowd d3c862c
chore(configs): updated prettier, eslint adn package.json
ovflowd 1da23b8
chore(package): removed airbnb config
ovflowd 353e897
chore(lint): applied linting in core files
ovflowd 96a74c7
chore(lint): applied linting on markdown and style files
ovflowd 2f636af
chore(ci): disable build job for now
ovflowd fb76c10
chore(cache): added eslint cache files to ignore
ovflowd c77e2b9
chore(public): moved robots and security to root public folder
ovflowd 16bd72e
chore(eslint): added default next config
ovflowd d78ab95
chore(remark): added remark configuration
ovflowd afaa644
chore(i18n): added ICU locale files boilerplates
ovflowd 5c0817a
chore(config): added website config file
ovflowd 2c94964
chore(favicon): removed all favicon alternates to a simple png file
ovflowd 1866ede
chore(dependencies): added a rss/atom/json feed package
ovflowd 641b33e
chore(packages): updated packages and adopted npm-run-all
ovflowd a3277cf
chore(layouts): removed blm specific layouts
ovflowd 7c509cb
feast(config): introduced site config provider and context
ovflowd bcc3521
feat(header): started to create the header component
ovflowd 2168b76
chore(provider): refactored provider
ovflowd 2a4d883
chore(fonts): added source sans pro font
ovflowd fec974c
feat(templates): added core component
ovflowd 930aaad
chore(pages): removed legacy blm page
ovflowd c7d8ead
feat(types): introduced frontmatter types
ovflowd c3d2b00
chore(theme): started to update theme with layout
ovflowd 9d28216
feat(config): updated site config types
ovflowd 00d07c6
feat(header): added all header meta tags
ovflowd aa2dcf3
chore(document): added assets for theme switch
ovflowd c5e529c
chore(eslint): fixed eslint failed rule
ovflowd 713d913
update nextra
shuding a805506
chore(document): added remaining scripts
ovflowd 9da7a4f
feat(footer): added footer
ovflowd 7218035
feat(header): updated header with favicon
ovflowd ac8c565
feat(manifest): added manifest for PWA
ovflowd 74d5e07
feat(i18n): introduced i18n hook
ovflowd 6880d0f
chore(header): added i18n config
ovflowd 55a3732
feat(layouts): added default layout
ovflowd ad909f5
feat(layouts): initial version of the layout provider
ovflowd 03e4c83
refactor(provider): cleaned-up the site provider
ovflowd dffe0af
feat(theme): adopted layout provider on theme
ovflowd 68abfe5
chore(layouts): removed unused layouts
ovflowd 1c957b8
feat(footer): added scroll-to-top
ovflowd 729d257
chore(i18n): added navigation and translations
ovflowd b7c4d46
chore(dependencies): added highlightjs and classnames
ovflowd 41b768b
chore(utils): added link locale util
ovflowd 922fdbb
feat(i18n): introduced locale provider
ovflowd bc270b0
feat(header): renamed header into htmlhead
ovflowd 61b6939
feat(header): introduced page header
ovflowd 1db93b9
feat(components): introduced localised linkicomponent
ovflowd 9ce8c72
feat(components): introduced language picker component
ovflowd 80b8e9c
chore(footer): updated translation id
ovflowd a127bbc
feat(app): updated app, document and theme with new locale and scripts
ovflowd 2d158d7
chore(layouts): added header to default layout
ovflowd 1e14132
chore(layouts): removed old header layout
ovflowd 5006fbb
chore(docs): made the docs index mdx compatible
ovflowd 5aa43a0
chore(types): added labels to frontmatter
ovflowd cc40739
chore(config): updated next config and remark plugins
ovflowd b4e8f72
chore(types): added types for node-version-data
ovflowd b3954d2
feat(i18n): hook to support metadata about current route
ovflowd da37773
feat(navigation): updated navigation metadata
ovflowd 843c600
feat(navigation): introduced a navigation hook
ovflowd 0c57e96
feat(node-versions): introduced provider and types for node-versions
ovflowd c144490
feat(navigation): introduced side navigation component
ovflowd e693ec2
feat(header): use the new navigation component
ovflowd 057cd9d
chore(app): introduced node data provider usage
ovflowd 304c5e4
feat(docs): introduced doc layout
ovflowd 6f559d4
chore(layouts): added docs to layout provider
ovflowd 7e4c698
chore(layouts/scripts): removed now unused layouts and scripts
ovflowd 4125fcc
chore(scripts): removed build scripts for node data
ovflowd 59871bd
chore(utils): introduced new util
ovflowd 5108087
chore(data): removed non-needed data anymore
ovflowd c8e8173
chore(navigation): include root entry on side nav
ovflowd 3996fc5
fix(footer): fixed spacing of items
ovflowd 63b9988
fix(body): next element to also follow body rules
ovflowd dbf9078
feat(layouts): introduced new layouts
ovflowd a38b159
chore(note): added todo notes on temporary components
ovflowd d2950c4
feat(mdx): added proper node api versions component
ovflowd 188da41
chore(dependencies): removed non-needed dependencies
ovflowd 3ebcaef
chore(docs): reverted mdx rename and use regular mdx provider for the…
ovflowd 05fe823
chore(remark): a lot of the lists are unordered and shouldn't need to…
ovflowd 40c82f0
chore(layouts): removed unused knowledge layouts
ovflowd 669140c
feat(banner): introduced banner component
ovflowd cca892f
feat(nextra): allow plain md syntax; include i18n file in ssg
shuding 270c55d
feat(next): introduced lambdas for getting data
ovflowd 5357029
chore(eslint): added mjs to es6 context
ovflowd b378159
feat(next): adopted new data fetching mechanism
ovflowd 173b534
feat(providers): updated providers with new data fetching
ovflowd 347b400
chore(types): simplified provider types
ovflowd 560ddbc
chore(i18n): added lts span
ovflowd 37324c3
chore(next): improve next configuration
ovflowd 1c316e4
feat(header): allow subpath match for sidenav
ovflowd a9d9729
chore(dependencies): added critters and sharp for css/image optimization
ovflowd 05e146d
feat(caching): introduced caching of static async props
ovflowd c4364dc
fix(header): home location sublink
ovflowd 70ac737
chore(hooks): removed .tsx extension
ovflowd 53a4d1d
chore(scripts): removed unused scripts
ovflowd ec9f50e
feat(utils): added util for changelog link
ovflowd 37b0585
feat(providers): provide nextra context
ovflowd 9782bc2
chore(types): added numeric version
ovflowd dc84abb
feat(hooks): nextra context hook
ovflowd 3819610
feat(components): download button component
ovflowd dcebdf9
feat(layouts): introduced index layout
ovflowd 5fca766
feat(date): added format time util
ovflowd 3939db6
chore(scripts): removed more unused scripts
ovflowd 8c20bbd
disable flexsearch for now
shuding ef7ce9a
chore(next): increase memory pool for build
ovflowd c05a2d9
feat(data): updated hooks and how data is provided
ovflowd 00c9bb7
chore(components): moved a few components around
ovflowd 4644d41
chore(404): added dev 404 page
ovflowd e913c05
chore(i18n): added navigation and i18n for downloads
ovflowd 9a9fd81
feat(download): introduced download components
ovflowd bcd73f3
feat(pages): introduced download pages
ovflowd e3fd213
feat(navigation): offer replacement of vars in link
ovflowd 3b61c73
chore(scripts): updated a few scripts
ovflowd a352a64
chore(scripts): removed other deprecated script
ovflowd c38b647
chore(handlebars): added handlebars
ovflowd 820a787
feat(release-post): contained release posts within the scripts folder
ovflowd fbf2212
chore(external): no need to have a package.json there anymore
ovflowd 253a4a0
chore(release-post): minor typo fix
ovflowd 3a6c2d5
chore(dependencies): added sw dependency
ovflowd 9d50c76
chore(sw): enable sw feature
ovflowd bac2e22
chore(types): updated node data types
ovflowd 2dd6b53
feat(components): introduced download table component
ovflowd 98e8ce6
chore(layouts): introduced previous releases layout
ovflowd f9b8ba7
chore(scripts): added jquery as script
ovflowd 8f2f901
refactor(components): use Link component
ovflowd 81c247e
chore(downloads): use dompurify for the frontmatter modules
ovflowd 9a40f2f
fix(links): fix api docs links
ovflowd a452393
fix(locale): fixed determination of route match
ovflowd 57115f6
chore(deps): updated dependencies
ovflowd e015437
chore(helpers): introduced helper for getting a header link
ovflowd c6fdfc5
feat(heading): introduced anchored heading component
ovflowd fd6ddcd
chore(theme): adopted anchored component
ovflowd 84ee4cc
chore(anchor): id is always provided
ovflowd 80795e3
chore(dependencies): updated package json
ovflowd 8564969
chore(mdx): transformed into mdx pages that need to be in mdx
ovflowd 13638a9
chore(dependencies): updated dependencies
ovflowd 0f20a34
chore(mdx): default config
ovflowd 2722ec1
fix: upgrade nextra and refactor getNextData
shuding 72ad9af
feat(layouts): introduced blog post layout
ovflowd ede7ae4
fix(release-post): end paragraph markings
ovflowd d9e7515
chore(layouts): sanitize to be memoized
ovflowd e7c2592
fix: only pass necessary node versions in page props
shuding 6dd0480
chore(guides): removed non-translated guides
ovflowd 054b653
fix(markdown): fix buffer guide markdown
ovflowd 15568f1
feat(mdx): blockquote as highlightbox
ovflowd 83641ce
fix(linting): fixed prettier rules for mdx
ovflowd 39cf2cc
fix: /404 route and optimize page size
shuding ffda8c4
fix: optimize next build
shuding 2c0b673
chore(canonical): add canonical
ovflowd 6546723
refactor(data): simplified data gathering
ovflowd b45f40f
chore(dependencies): introducesd sitemap and swr
ovflowd ffebe0e
chore(ts): allow downlevel iteration
ovflowd 9030c2e
fix(build): unoptimized images
ovflowd d3f69e4
feat(downloads): only latest major of each version
ovflowd b4466f5
chore(js): removed unused code
ovflowd 7a2ef78
chore(404): prettified 404 file
ovflowd 57eb58e
chore(footer): fixed # not valid
ovflowd d13a7b7
chore(i18n): add 404 page messages
ovflowd 8a64af3
chore(404): use tsx instead of mdx
ovflowd d7d030e
chore(react-intl): no errors
ovflowd 9502901
chore(i18n): fallback data
ovflowd f01219b
chore(ci): added build on ci again
ovflowd 982179b
chore(sitemap): added sitemap data
ovflowd 6695074
chore(eslint): prefer nodejs config
ovflowd b32162c
chore(fix): linting
ovflowd 9dd0703
chore(scripts): remove server 404 and fix main.js for 404
ovflowd ca5bf9e
chore(build): is memory efficient now
ovflowd c3b3976
fix(i18n): always using english locale
ovflowd 006082b
chore(next): updated config options
ovflowd 9587276
feat(data): improved data rendering/reusability
ovflowd ce776a6
chore(next): remove non-necessary packages
ovflowd e8c407a
chore(scripts): refactored release-post to mjs
ovflowd 972b8f6
chore(scripts): simplify and document code
ovflowd 8e0c59d
chore(next): refactored data scripts
ovflowd 826502a
refactor(header): i18n, svg and fix styles
ovflowd 8c1f8f5
chore(next): minor refactor of helper
ovflowd a8e73d7
feat(node-data): only on selected routes
ovflowd 1606340
fix(ts): fixed typescript types
ovflowd ae63ea8
refactor(providers): simplified the _app
ovflowd 8661cc4
chore(dependencies): added gray-matter
ovflowd ad570ac
feat(helpers): introduced script helpers
ovflowd 72c31a3
chore(types): updated types
ovflowd 5d546ff
refactor(next): refactored data components
ovflowd efc6fd8
chore(sitemap): removed non-existent env
ovflowd 77a22fa
chore(optimize): removed css optimization
ovflowd 4210f36
feat(dat): introduced blog data helper
ovflowd 5d2ff66
fix(blogdata): fixed slug
ovflowd 8352e3c
feat(types): shared props and context
ovflowd c050765
feat(utils): added time component
ovflowd 8fc5f0c
chore(gitignore): year pages
ovflowd 69b4f7d
chore(types): refactored types
ovflowd 634c112
chore(data): improved blog data and create year pages
ovflowd 670195b
feat(blog): introduced blog index page
ovflowd 7bc099f
feat(layouts): implemented blog category layout
ovflowd 3328720
feat(i18n): migrate translations 🎉 (#1)
shanpriyan 2002ec6
fix(document): numerours document style fixes and javascript fixes
ovflowd 18b0e36
chore(eslint): global window
ovflowd 597cd31
chore(external): moved external folders
ovflowd edb66e4
feat(rss): introduced rss generation
ovflowd b89f532
chore(tests): removed unused tests
ovflowd c6b7c29
chore(readme): updated readme
ovflowd 6727512
chore(lint): ignore and fix linting
ovflowd cf3ae11
refactor(scripts): refactored the legacy scripts
ovflowd 32ddc01
chore(ci): set memory to 4gb on ci
ovflowd d4fa511
chore(workers): no need tofr morkers
ovflowd 3b29f2e
chore(ci): updated a doc and ci file
ovflowd 09781bb
chore(refactor): minor refactors, text changes and bug fixes
ovflowd 39eed0f
Update COLLABORATOR_GUIDE.md
ovflowd 652952a
Apply suggestions from code review
ovflowd 9e841e8
fix: upgrade nextra to remove the __esModule hack
shuding 16b120f
chore: disable outputFileTracing
shuding a582517
chore(ci): use build cache
ovflowd 987e49e
chore(js): fix theme switcher issues
ovflowd 055e155
fix(build): improved data transmission from static props
ovflowd da9f8f7
chore(fixes): minor style and config changes
ovflowd dd3ccbc
fix(scrollto): minor scroll to fix
ovflowd 0e9ce10
Update next.config.mjs
ovflowd b654432
chore(ci): attempt to optimize caching
ovflowd 2200081
chore(ci): fine-tune to be based on eslint hashing
ovflowd db089e9
chore(cache): only cache .next/cache
ovflowd abf9ff0
chore(mastodon): added mastodon verification
ovflowd d6bcd66
chore(next): updated packages and optimised build performance
ovflowd 54b6322
chore(dependencies): updated dependencies
ovflowd 19dd5ac
fix(lint): fixed linting
ovflowd 5e02b4b
chore(dependencies): removed temp dep
ovflowd 735f7dd
chore(package): reduce memory
ovflowd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
# https://editorconfig.org/ | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
|
||
[*.svg] | ||
insert_final_newline = false | ||
insert_final_newline = true |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
**/*.min.js | ||
static/legacy/ | ||
external/ | ||
build/ | ||
build | ||
.next | ||
external | ||
styles | ||
node_modules | ||
public/en/user-survey-report | ||
public/static/documents | ||
public/static/legacy | ||
|
||
# These should be fixed in the future as the | ||
# tests and scripts will be updated in this PR | ||
tests | ||
|
||
# MDX Plugin enforces Prettier formatting which should | ||
# be done in the future as we don't want to update the Markdown file | ||
# contents right now | ||
pages/**/*.md |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
directory: '/' | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 10 | ||
- package-ecosystem: npm | ||
directory: "/" | ||
directory: '/' | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 10 |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lts/hydrogen | ||
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
build | ||
.next | ||
external | ||
styles | ||
node_modules | ||
public/en/user-survey-report | ||
public/static/documents | ||
public/static/legacy | ||
|
||
# These should be fixed in the future as the | ||
# tests and scripts will be updated in this PR | ||
tests | ||
|
||
# MDX Plugin enforces Prettier formatting which should | ||
# be done in the future as we don't want to update the Markdown file | ||
# contents right now | ||
pages/**/*.md |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": true, | ||
"singleQuote": true, | ||
"jsxSingleQuote": false, | ||
"trailingComma": "es5", | ||
"bracketSpacing": true, | ||
"bracketSameLine": false, | ||
"arrowParens": "avoid" | ||
} |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.