Skip to content

new dx (1st stage): api-extractor issue for node packages #18747

@Hotell

Description

@Hotell

api-extractor issue

There is a problem with inconsistency in commands 👇

yarn workspace @fluentui/jest-serializer-make-styles build:local

Will create jest-serializer-make-styles/etc/jest-serializer-make-styles.api.md

yarn workspace @fluentui/jest-serializer-make-styles build

Will not create jest-serializer-make-styles/etc/jest-serializer-make-styles.api.md.


As I see that it's intentionally not included to build steps for Node packages:

task('build:node-lib', series('clean', 'copy', 'ts:commonjs-only')).cached();

task(
'build',
series(
'clean',
'copy',
'sass',
'ts',
condition('api-extractor', () => !getJustArgv().min),
),
).cached();

I don't have any opinions about it and opened for suggestions 🙄

Originally posted by @layershifter in #18719 (comment)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions