refactor: optimize bundling performance, pre-transpile client code so that sites don't have to #4593
Annotations
11 errors
babel transpilation exclude logic › transpiles docusaurus npm packages even in node_modules:
packages/docusaurus/src/webpack/__tests__/base.test.ts#L57
expect(received).toBe(expected) // Object.is equality
Expected: false
Received: true
at toBe (packages/docusaurus/src/webpack/__tests__/base.test.ts:57:31)
at Array.forEach (<anonymous>)
at Object.forEach (packages/docusaurus/src/webpack/__tests__/base.test.ts:56:17)
|
theme translations › has base messages files contain EXACTLY all the translations extracted from the theme. Please run "yarn workspace @docusaurus/theme-translations update" to keep base messages files up-to-date:
packages/docusaurus-theme-translations/locales/__tests__/locales.test.ts#L41
expect(received).toEqual(expected) // deep equality
- Expected - 39
+ Received + 0
@@ -5,28 +5,19 @@
"theme.CodeBlock.copy": "Copy",
"theme.CodeBlock.copyButtonAriaLabel": "Copy code to clipboard",
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
"theme.DocSidebarItem.collapseCategoryAriaLabel": "Collapse sidebar category '{label}'",
"theme.DocSidebarItem.expandCategoryAriaLabel": "Expand sidebar category '{label}'",
- "theme.ErrorPageContent.title": "This page crashed.",
- "theme.ErrorPageContent.tryAgain": "Try again",
"theme.IdealImageMessage.404error": "404. Image not found",
"theme.IdealImageMessage.error": "Error. Click to reload",
"theme.IdealImageMessage.load": "Click to load{sizeMessage}",
"theme.IdealImageMessage.loading": "Loading...",
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded",
"theme.NavBar.navAriaLabel": "Main",
- "theme.NotFound.p1": "We could not find what you were looking for.",
- "theme.NotFound.p2": "Please contact the owner of the site that linked you to the original URL and let them know their link is broken.",
"theme.NotFound.title": "Page Not Found",
- "theme.Playground.liveEditor": "Live Editor",
- "theme.Playground.result": "Result",
"theme.PwaReloadPopup.closeButtonAriaLabel": "Close",
- "theme.PwaReloadPopup.info": "New version available",
- "theme.PwaReloadPopup.refreshButtonText": "Refresh",
"theme.SearchBar.label": "Search",
- "theme.SearchBar.seeAll": "See all {count} results",
"theme.SearchModal.errorScreen.helpText": "You might want to check your network connection.",
"theme.SearchModal.errorScreen.titleText": "Unable to fetch results",
"theme.SearchModal.footer.closeKeyAriaLabel": "Escape key",
"theme.SearchModal.footer.closeText": "to close",
"theme.SearchModal.footer.navigateDownKeyAriaLabel": "Arrow down",
@@ -50,68 +41,38 @@
"theme.SearchModal.startScreen.saveRecentSearchButtonTitle": "Save this search",
"theme.SearchPage.algoliaLabel": "Search by Algolia",
"theme.SearchPage.documentsFound.plurals": "One document found|{count} documents found",
"theme.SearchPage.emptyResultsTitle": "Search the documentation",
"theme.SearchPage.existingResultsTitle": "Search results for \"{query}\"",
- "theme.SearchPage.fetchingNewResults": "Fetching new results...",
"theme.SearchPage.inputLabel": "Search",
"theme.SearchPage.inputPlaceholder": "Type your search here",
- "theme.SearchPage.noResultsText": "No results were found",
- "theme.TOCCollapsible.toggleButtonLabel": "On this page",
- "theme.admonition.caution": "caution",
- "theme.admonition.danger": "danger",
- "theme.admonition.info": "info",
- "theme.admonition.note": "note",
- "theme.admonition.tip": "tip",
- "theme.admonition.warning": "warning",
"theme.blog.archive.description": "Archive",
"theme.blog.archive.title": "Archive",
"theme.blog.paginator.navAriaLabel": "Blog list page navigation",
- "theme.blog.paginator.newerEntries": "Newer Entries",
- "theme.blog.paginator.olderEntries": "Older Entries",
"theme.blog.post.paginator.navAriaLabel": "Blog post page navigation",
- "theme.blog.post.paginator.newerPost": "Newer Post",
- "theme.blog.post.paginator.olderPost": "Older Post",
"theme.blog.post.plurals": "One post|{count} posts",
- "theme.blog.post.readMore": "Read More",
"theme.blog.post.readMoreLabel": "Read more about {title}",
"theme.blog.post.readingTime.plurals": "One min read|{readingTime} min read",
"theme.blog.sidebar.navAriaLabel": "Blog recent posts navigation",
"theme.blog.tagTitle": "{nPosts} tagged with \"{tagName}\"",
"theme.colorToggle.ariaLabel": "Switch between dark and light mode (currently {mode})",
"theme.colorToggle.ariaLabel.mode.dark": "dark mode",
"theme.colorToggle.ariaLabel.mode.light": "light mode",
- "theme.common.editThisPage": "Edit this page",
"theme.common.headingLinkTitle": "Direct link to {heading}",
"theme.common.skipToMainContent": "Skip to main content
|
Tests (20)
Process completed with exit code 1.
|
Tests (18)
The job was canceled because "_20" failed.
|
babel transpilation exclude logic › transpiles docusaurus npm packages even in node_modules:
packages/docusaurus/src/webpack/__tests__/base.test.ts#L57
expect(received).toBe(expected) // Object.is equality
Expected: false
Received: true
at toBe (packages/docusaurus/src/webpack/__tests__/base.test.ts:57:31)
at Array.forEach (<anonymous>)
at Object.forEach (packages/docusaurus/src/webpack/__tests__/base.test.ts:56:17)
|
theme translations › has base messages files contain EXACTLY all the translations extracted from the theme. Please run "yarn workspace @docusaurus/theme-translations update" to keep base messages files up-to-date:
packages/docusaurus-theme-translations/locales/__tests__/locales.test.ts#L41
expect(received).toEqual(expected) // deep equality
- Expected - 39
+ Received + 0
@@ -5,28 +5,19 @@
"theme.CodeBlock.copy": "Copy",
"theme.CodeBlock.copyButtonAriaLabel": "Copy code to clipboard",
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
"theme.DocSidebarItem.collapseCategoryAriaLabel": "Collapse sidebar category '{label}'",
"theme.DocSidebarItem.expandCategoryAriaLabel": "Expand sidebar category '{label}'",
- "theme.ErrorPageContent.title": "This page crashed.",
- "theme.ErrorPageContent.tryAgain": "Try again",
"theme.IdealImageMessage.404error": "404. Image not found",
"theme.IdealImageMessage.error": "Error. Click to reload",
"theme.IdealImageMessage.load": "Click to load{sizeMessage}",
"theme.IdealImageMessage.loading": "Loading...",
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded",
"theme.NavBar.navAriaLabel": "Main",
- "theme.NotFound.p1": "We could not find what you were looking for.",
- "theme.NotFound.p2": "Please contact the owner of the site that linked you to the original URL and let them know their link is broken.",
"theme.NotFound.title": "Page Not Found",
- "theme.Playground.liveEditor": "Live Editor",
- "theme.Playground.result": "Result",
"theme.PwaReloadPopup.closeButtonAriaLabel": "Close",
- "theme.PwaReloadPopup.info": "New version available",
- "theme.PwaReloadPopup.refreshButtonText": "Refresh",
"theme.SearchBar.label": "Search",
- "theme.SearchBar.seeAll": "See all {count} results",
"theme.SearchModal.errorScreen.helpText": "You might want to check your network connection.",
"theme.SearchModal.errorScreen.titleText": "Unable to fetch results",
"theme.SearchModal.footer.closeKeyAriaLabel": "Escape key",
"theme.SearchModal.footer.closeText": "to close",
"theme.SearchModal.footer.navigateDownKeyAriaLabel": "Arrow down",
@@ -50,68 +41,38 @@
"theme.SearchModal.startScreen.saveRecentSearchButtonTitle": "Save this search",
"theme.SearchPage.algoliaLabel": "Search by Algolia",
"theme.SearchPage.documentsFound.plurals": "One document found|{count} documents found",
"theme.SearchPage.emptyResultsTitle": "Search the documentation",
"theme.SearchPage.existingResultsTitle": "Search results for \"{query}\"",
- "theme.SearchPage.fetchingNewResults": "Fetching new results...",
"theme.SearchPage.inputLabel": "Search",
"theme.SearchPage.inputPlaceholder": "Type your search here",
- "theme.SearchPage.noResultsText": "No results were found",
- "theme.TOCCollapsible.toggleButtonLabel": "On this page",
- "theme.admonition.caution": "caution",
- "theme.admonition.danger": "danger",
- "theme.admonition.info": "info",
- "theme.admonition.note": "note",
- "theme.admonition.tip": "tip",
- "theme.admonition.warning": "warning",
"theme.blog.archive.description": "Archive",
"theme.blog.archive.title": "Archive",
"theme.blog.paginator.navAriaLabel": "Blog list page navigation",
- "theme.blog.paginator.newerEntries": "Newer Entries",
- "theme.blog.paginator.olderEntries": "Older Entries",
"theme.blog.post.paginator.navAriaLabel": "Blog post page navigation",
- "theme.blog.post.paginator.newerPost": "Newer Post",
- "theme.blog.post.paginator.olderPost": "Older Post",
"theme.blog.post.plurals": "One post|{count} posts",
- "theme.blog.post.readMore": "Read More",
"theme.blog.post.readMoreLabel": "Read more about {title}",
"theme.blog.post.readingTime.plurals": "One min read|{readingTime} min read",
"theme.blog.sidebar.navAriaLabel": "Blog recent posts navigation",
"theme.blog.tagTitle": "{nPosts} tagged with \"{tagName}\"",
"theme.colorToggle.ariaLabel": "Switch between dark and light mode (currently {mode})",
"theme.colorToggle.ariaLabel.mode.dark": "dark mode",
"theme.colorToggle.ariaLabel.mode.light": "light mode",
- "theme.common.editThisPage": "Edit this page",
"theme.common.headingLinkTitle": "Direct link to {heading}",
"theme.common.skipToMainContent": "Skip to main content
|
Tests (18)
Process completed with exit code 1.
|
Tests (18.0)
The job was canceled because "_20" failed.
|
babel transpilation exclude logic › transpiles docusaurus npm packages even in node_modules:
packages/docusaurus/src/webpack/__tests__/base.test.ts#L57
expect(received).toBe(expected) // Object.is equality
Expected: false
Received: true
at toBe (packages/docusaurus/src/webpack/__tests__/base.test.ts:57:31)
at Array.forEach (<anonymous>)
at Object.forEach (packages/docusaurus/src/webpack/__tests__/base.test.ts:56:17)
|
theme translations › has base messages files contain EXACTLY all the translations extracted from the theme. Please run "yarn workspace @docusaurus/theme-translations update" to keep base messages files up-to-date:
packages/docusaurus-theme-translations/locales/__tests__/locales.test.ts#L41
expect(received).toEqual(expected) // deep equality
- Expected - 39
+ Received + 0
@@ -5,28 +5,19 @@
"theme.CodeBlock.copy": "Copy",
"theme.CodeBlock.copyButtonAriaLabel": "Copy code to clipboard",
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
"theme.DocSidebarItem.collapseCategoryAriaLabel": "Collapse sidebar category '{label}'",
"theme.DocSidebarItem.expandCategoryAriaLabel": "Expand sidebar category '{label}'",
- "theme.ErrorPageContent.title": "This page crashed.",
- "theme.ErrorPageContent.tryAgain": "Try again",
"theme.IdealImageMessage.404error": "404. Image not found",
"theme.IdealImageMessage.error": "Error. Click to reload",
"theme.IdealImageMessage.load": "Click to load{sizeMessage}",
"theme.IdealImageMessage.loading": "Loading...",
"theme.IdealImageMessage.offline": "Your browser is offline. Image not loaded",
"theme.NavBar.navAriaLabel": "Main",
- "theme.NotFound.p1": "We could not find what you were looking for.",
- "theme.NotFound.p2": "Please contact the owner of the site that linked you to the original URL and let them know their link is broken.",
"theme.NotFound.title": "Page Not Found",
- "theme.Playground.liveEditor": "Live Editor",
- "theme.Playground.result": "Result",
"theme.PwaReloadPopup.closeButtonAriaLabel": "Close",
- "theme.PwaReloadPopup.info": "New version available",
- "theme.PwaReloadPopup.refreshButtonText": "Refresh",
"theme.SearchBar.label": "Search",
- "theme.SearchBar.seeAll": "See all {count} results",
"theme.SearchModal.errorScreen.helpText": "You might want to check your network connection.",
"theme.SearchModal.errorScreen.titleText": "Unable to fetch results",
"theme.SearchModal.footer.closeKeyAriaLabel": "Escape key",
"theme.SearchModal.footer.closeText": "to close",
"theme.SearchModal.footer.navigateDownKeyAriaLabel": "Arrow down",
@@ -50,68 +41,38 @@
"theme.SearchModal.startScreen.saveRecentSearchButtonTitle": "Save this search",
"theme.SearchPage.algoliaLabel": "Search by Algolia",
"theme.SearchPage.documentsFound.plurals": "One document found|{count} documents found",
"theme.SearchPage.emptyResultsTitle": "Search the documentation",
"theme.SearchPage.existingResultsTitle": "Search results for \"{query}\"",
- "theme.SearchPage.fetchingNewResults": "Fetching new results...",
"theme.SearchPage.inputLabel": "Search",
"theme.SearchPage.inputPlaceholder": "Type your search here",
- "theme.SearchPage.noResultsText": "No results were found",
- "theme.TOCCollapsible.toggleButtonLabel": "On this page",
- "theme.admonition.caution": "caution",
- "theme.admonition.danger": "danger",
- "theme.admonition.info": "info",
- "theme.admonition.note": "note",
- "theme.admonition.tip": "tip",
- "theme.admonition.warning": "warning",
"theme.blog.archive.description": "Archive",
"theme.blog.archive.title": "Archive",
"theme.blog.paginator.navAriaLabel": "Blog list page navigation",
- "theme.blog.paginator.newerEntries": "Newer Entries",
- "theme.blog.paginator.olderEntries": "Older Entries",
"theme.blog.post.paginator.navAriaLabel": "Blog post page navigation",
- "theme.blog.post.paginator.newerPost": "Newer Post",
- "theme.blog.post.paginator.olderPost": "Older Post",
"theme.blog.post.plurals": "One post|{count} posts",
- "theme.blog.post.readMore": "Read More",
"theme.blog.post.readMoreLabel": "Read more about {title}",
"theme.blog.post.readingTime.plurals": "One min read|{readingTime} min read",
"theme.blog.sidebar.navAriaLabel": "Blog recent posts navigation",
"theme.blog.tagTitle": "{nPosts} tagged with \"{tagName}\"",
"theme.colorToggle.ariaLabel": "Switch between dark and light mode (currently {mode})",
"theme.colorToggle.ariaLabel.mode.dark": "dark mode",
"theme.colorToggle.ariaLabel.mode.light": "light mode",
- "theme.common.editThisPage": "Edit this page",
"theme.common.headingLinkTitle": "Direct link to {heading}",
"theme.common.skipToMainContent": "Skip to main content
|
Tests (18.0)
The operation was canceled.
|