diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1ed243a00ce..778acf6c9d4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -38,10 +38,10 @@ jobs: run: npx nx format:check - name: Update NX Build Cache - run: npx nx run-many --targets=build --exclude='*,!tag:type:pkg' + run: npx nx run-many --targets=build --projects=tag:type:pkg - name: Run Build for All - run: npx nx run-many --targets=build --exclude='*,!tag:type:pkg' --skip-nx-cache + run: npx nx run-many --targets=build --projects=tag:type:pkg --skip-nx-cache - name: Run Affected Lint run: npx nx affected -t lint --parallel=7 --exclude='*,!tag:type:pkg' diff --git a/packages/dts-plugin/src/plugins/GenerateTypesPlugin.ts b/packages/dts-plugin/src/plugins/GenerateTypesPlugin.ts index 27be7cdb2e6..e84611746bd 100644 --- a/packages/dts-plugin/src/plugins/GenerateTypesPlugin.ts +++ b/packages/dts-plugin/src/plugins/GenerateTypesPlugin.ts @@ -91,11 +91,11 @@ export class GenerateTypesPlugin implements WebpackPluginInstance { await generateTypesFn(finalOptions); const config = finalOptions.remote.moduleFederationConfig; let zipPrefix = ''; - const isManifestObject = typeof config.manifest === 'object' + const isManifestObject = typeof config.manifest === 'object'; if (isManifestObject && config.manifest.filePath) { zipPrefix = config.manifest.filePath; } else if (isManifestObject && config.manifest.fileName) { - zipPrefix = path.dirname(config.manifest.filePath); + zipPrefix = path.dirname(config.manifest.fileName); } else if (config.filename) { zipPrefix = path.dirname(config.filename); }