Skip to content

Commit

Permalink
cleanup(core): remove exports
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Jan 8, 2025
1 parent f6509a6 commit 1bde73f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions packages/nx/src/project-graph/plugins/get-plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,7 @@ const loadingMethod = isIsolationEnabled()
? loadNxPluginInIsolation
: loadNxPlugin;

/**
* @deprecated prefer getOnlyDefaultPlugins
*/
export async function loadDefaultNxPlugins(root = workspaceRoot) {
async function loadDefaultNxPlugins(root = workspaceRoot) {
performance.mark('loadDefaultNxPlugins:start');

const plugins = await getDefaultPlugins(root);
Expand Down Expand Up @@ -156,10 +153,7 @@ export async function loadDefaultNxPlugins(root = workspaceRoot) {
return ret;
}

/**
* @deprecated prefer getPlugins
*/
export async function loadSpecifiedNxPlugins(
async function loadSpecifiedNxPlugins(
plugins: PluginConfiguration[],
root = workspaceRoot
): Promise<readonly [LoadedNxPlugin[], () => void]> {
Expand Down Expand Up @@ -218,7 +212,7 @@ async function normalizePlugins(plugins: PluginConfiguration[], root: string) {
return [...plugins];
}

export async function getDefaultPlugins(root: string) {
async function getDefaultPlugins(root: string) {
return [
join(__dirname, '../../plugins/js'),
...(shouldMergeAngularProjects(root, false)
Expand Down

0 comments on commit 1bde73f

Please sign in to comment.