chore(repo): add debug logging for nx-dev graph (#16507)
This commit is contained in:
parent
8519fbc7a6
commit
929a08ab95
@ -1,9 +1,18 @@
|
||||
const path = require('path');
|
||||
const { createGlobPatternsForDependencies } = require('@nx/next/tailwind');
|
||||
const {
|
||||
readCachedProjectGraph,
|
||||
} = require('nx/src/project-graph/project-graph');
|
||||
|
||||
if (!createGlobPatternsForDependencies(__dirname).length)
|
||||
throw Error('GRAPH ISSUE: No dependency found when many are expected.');
|
||||
|
||||
// TODO(@FrozenPandaz): remove this once the issue is solved
|
||||
const projectGraph = readCachedProjectGraph();
|
||||
console.log({ projectGraph });
|
||||
console.log({ nodes: projectGraph.nodes });
|
||||
console.log({ dependencies: projectGraph.dependencies });
|
||||
|
||||
module.exports = {
|
||||
experimental: {
|
||||
optimizeUniversalDefaults: true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user