diff --git a/packages/js/src/plugins/typescript/plugin.spec.ts b/packages/js/src/plugins/typescript/plugin.spec.ts index 58f4495b4f087..6d2b4a49897c0 100644 --- a/packages/js/src/plugins/typescript/plugin.spec.ts +++ b/packages/js/src/plugins/typescript/plugin.spec.ts @@ -2905,7 +2905,6 @@ describe(`Plugin: ${PLUGIN_NAME}`, () => { }, "outputs": [ "{workspaceRoot}/dist/libs/my-lib", - "{workspaceRoot}/dist/libs/*.tsbuildinfo", ], "syncGenerators": [ "@nx/js:typescript-sync", @@ -3066,7 +3065,6 @@ describe(`Plugin: ${PLUGIN_NAME}`, () => { "{workspaceRoot}/dist/libs/my-lib/lib.d.ts.map", "{workspaceRoot}/dist/libs/my-lib/lib.tsbuildinfo", "{workspaceRoot}/dist/libs/my-lib/other", - "{workspaceRoot}/dist/libs/my-lib/*.tsbuildinfo", ], "syncGenerators": [ "@nx/js:typescript-sync", diff --git a/packages/js/src/utils/typescript/ts-solution-setup.ts b/packages/js/src/utils/typescript/ts-solution-setup.ts index a7a3bfa7ef42c..2ddec27b5191e 100644 --- a/packages/js/src/utils/typescript/ts-solution-setup.ts +++ b/packages/js/src/utils/typescript/ts-solution-setup.ts @@ -62,7 +62,7 @@ function isWorkspaceSetupWithTsSolution(tree: Tree): boolean { if ( !baseTsconfigJson.compilerOptions || !baseTsconfigJson.compilerOptions.composite || - !baseTsconfigJson.compilerOptions.declaration + baseTsconfigJson.compilerOptions.declaration === false ) { return false; }