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