Skip to content

ship rolluped declaration files only #22429

@Hotell

Description

@Hotell

Story 🧚‍♀️

Follows #20287 (comment)

Actual behavior:

We currently ship all declaration files for packages which create following following issues:

  • we allow consumers to access private API's with ease by providing intellisense
  • we leak private typings/TS type constructs from 3rd party and internal libraries that might contain TS features not supported in our particular minbar for TS support

Expected behavior:

  • types are shipped only as a rolluped type definition

Tasks

How to migrate

Pre-requisite

You can execute the migration only if your package has been migrated to react-components folder:

  1. one at a time
    yarn workspace-generator migrate-converged-pkg --name @fluentui/react-menu

  2. multiple at a time
    yarn workspace-generator migrate-converged-pkg --name @fluentui/react-menu,@fluentui/react-text,@fluentui/react-button

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions