Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ jobs:
yarn config set npmRegistryServer http://localhost:4873
yarn config set unsafeHttpWhitelist --json '["localhost"]'
yarn config set enableGlobalCache true
yarn config set npmPreapprovedPackages --json '["@docusaurus/*"]'

# Make PnP as strict as possible
# https://yarnpkg.com/features/pnp#fallback-mode
Expand Down
6 changes: 0 additions & 6 deletions .syncpackrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ export default {
],

versionGroups: [
// TODO temporary, need to upgrade jiti deps
{
dependencies: ['jiti'],
isIgnored: true,
},

{
label: 'Ignore * deps in type-alias packages',
packages: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function loadSidebarsFileUnsafe(
}

// We don't want sidebars to be cached because of hot reloading.
const module = await loadFreshModule(sidebarFilePath);
const module = await loadFreshModule(sidebarFilePath, {default: true});

// TODO unsafe, need to refactor and improve validation
return module as SidebarsConfig;
Expand Down
5 changes: 1 addition & 4 deletions packages/docusaurus-remark-plugin-npm2yarn/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,4 @@ const plugin: Plugin<[PluginOptions?]> = (options = {}): Transformer => {
};
};

// To continue supporting `require('npm2yarn')` without the `.default` ㄟ(▔,▔)ㄏ
// TODO change to export default after migrating to ESM
// @ts-expect-error: Docusaurus v4: remove
export = plugin;
export default plugin;
2 changes: 1 addition & 1 deletion packages/docusaurus-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"github-slugger": "^1.5.0",
"globby": "^11.1.0",
"gray-matter": "^4.0.3",
"jiti": "^1.20.0",
"jiti": "^2.7.0",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"micromatch": "^4.0.5",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading