Commit ec1ebcc
feat(infra): migrate to next.js infrastructure (#4991)Co-authored-by: Brian Muenzenmeyer <[email protected]> Co-authored-by: Shanmughapriyan S <[email protected]> Co-authored-by: Michael Esteban <[email protected]> Co-authored-by: Shu Ding <[email protected]>
* 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 <[email protected]>
Signed-off-by: Claudio Wunder <[email protected]>
* Apply suggestions from code review
Co-authored-by: Shanmughapriyan S <[email protected]>
Signed-off-by: Claudio Wunder <[email protected]>
* 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 <[email protected]>
Signed-off-by: Claudio Wunder <[email protected]>
* 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 <[email protected]>
Co-authored-by: Shu Ding <[email protected]>
Co-authored-by: Shanmughapriyan S <[email protected]>
Co-authored-by: Brian Muenzenmeyer <[email protected]>
Co-authored-by: Michael Esteban <[email protected]>1 parent 5f9862c commit ec1ebcc
File tree
1,641 files changed
+11742
-35865
lines changed- .github
- ISSUE_TEMPLATE
- workflows
- components
- Docs
- Downloads
- Home
- external/survey-2018
- hooks
- i18n
- locales
- layouts
- css/page-modules
- partials
- locale
- ar
- ca
- de
- en
- es
- docs/guides
- security
- fa
- download
- fr
- docs
- guides
- meta/topics
- gl
- it
- ja
- docs
- ka
- ko
- docs
- nl
- pt-br
- ro
- docs
- guides
- meta/topics
- ru
- tr
- uk
- zh-cn
- zh-tw
- pages
- ar
- about
- docs
- guides
- meta/topics
- download
- get-involved
- ca
- about
- docs
- download
- get-involved
- de
- about
- docs
- download
- en
- about
- blog
- advisory-board
- announcements
- community
- feature
- module
- npm
- release
- uncategorized
- video
- vulnerability
- weekly-updates
- wg
- docs
- guides
- diagnostics
- live-debugging
- memory
- poor-performance
- security
- meta/topics
- download
- get-involved
- es
- about
- docs
- meta/topics
- download
- get-involved
- fa
- about
- fr
- about
- docs
- download
- get-involved
- gl
- it
- about
- get-involved
- ja
- about
- docs
- guides
- meta/topics
- download
- get-involved
- ka
- about
- docs
- guides
- download
- get-involved
- ko
- about
- docs
- guides
- meta/topics
- download
- get-involved
- nl
- about
- docs
- download
- pt-br
- about
- docs
- guides
- meta/topics
- download
- get-involved
- ro
- about
- docs
- download
- get-involved
- ru
- about
- docs
- guides
- meta/topics
- download
- get-involved
- tr
- about
- docs
- download
- uk
- about
- docs
- meta/topics
- download
- get-involved
- zh-cn
- about
- docs
- guides
- diagnostics
- live-debugging
- memory
- poor-performance
- security
- meta/topics
- download
- get-involved
- zh-tw
- about
- docs
- download
- get-involved
- providers
- public
- en
- feed
- user-survey-report
- images
- charts
- twitter
- static
- documents
- images
- blog
- module
- npm
- 2013-outage-postmortem
- managing-node-js-dependencies-with-shrinkwrap
- release
- uncategorized
- evolving-the-node-js-brand
- ldapjs-a-reprise-of-ldap
- weekly-update
- docs/guides/diagnostics
- favicons
- logos
- js
- legacy
- images
- scripts
- helpers
- next-data
- plugins
- release-post
- source
- static
- images/favicons
- js
- styles
- layout
- page-modules
- vendor
- tests/scripts
- types
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,641 files changed
+11742
-35865
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | | - | |
| 7 | + | |
10 | 8 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 2 | + | |
13 | 3 | | |
14 | 4 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
22 | 40 | | |
23 | 41 | | |
24 | 42 | | |
25 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
26 | 48 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
30 | 53 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
35 | 65 | | |
| 66 | + | |
36 | 67 | | |
37 | 68 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 69 | + | |
49 | 70 | | |
50 | 71 | | |
51 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 35 | + | |
| 36 | + | |
38 | 37 | | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
| 43 | + | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 55 | + | |
58 | 56 | | |
59 | 57 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
65 | 64 | | |
66 | | - | |
67 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | | - | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
14 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments