Skip to content

fix(web-components): dont ship non production assets to npm registry#26854

Merged
Hotell merged 2 commits into
microsoft:web-components-v3from
Hotell:hotell/wc/improve-npm-public-api
Feb 15, 2023
Merged

fix(web-components): dont ship non production assets to npm registry#26854
Hotell merged 2 commits into
microsoft:web-components-v3from
Hotell:hotell/wc/improve-npm-public-api

Conversation

@Hotell

@Hotell Hotell commented Feb 15, 2023

Copy link
Copy Markdown
Contributor

Previous Behavior

New Behavior

  • stories and other metadata/assets are no longer shipped to npm

    • image
    • image
  • helpers.ts moved to helpers.stories.ts to match proper domain and remove from npm registry

  • tweak of script aliases to align more with repo nomenclature

Generate api.md changes

yarn workspace @fluentui/web-components compile
- yarn workspace @fluentui/web-components doc
+ yarn workspace @fluentui/web-components generate-api

Related Issue(s)

@Hotell
Hotell changed the base branch from master to web-components-v3 February 15, 2023 10:14
@Hotell Hotell changed the title Hotell/wc/improve npm public api fix(web-components): dont ship non production assets to npm registry Feb 15, 2023
@size-auditor

size-auditor Bot commented Feb 15, 2023

Copy link
Copy Markdown

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: ae03f3eec389aca7e15fde295868aacd51eb1822 (build)

@codesandbox-ci

codesandbox-ci Bot commented Feb 15, 2023

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d6259c0:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@Hotell
Hotell force-pushed the hotell/wc/improve-npm-public-api branch from 137a65d to d6259c0 Compare February 15, 2023 10:32
@fabricteam

fabricteam commented Feb 15, 2023

Copy link
Copy Markdown
Collaborator

📊 Bundle size report

🤖 This report was generated against e1be11888330811efdbf51f3fd4682dd9f0b804c

@Hotell
Hotell marked this pull request as ready for review February 15, 2023 10:38
@Hotell
Hotell requested a review from a team as a code owner February 15, 2023 10:38
temp
temp/
etc/
CHANGELOG.json

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this one.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean CHANGELOG.json

@Hotell Hotell Feb 15, 2023

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no purpose to ship metadata json to registry, but it turns out that even ignore wont work on this one. Im aware that you cannot ignore Readme.md and Changelog.md but this is a bit mystery to me heh

@Hotell
Hotell merged commit 226b7af into microsoft:web-components-v3 Feb 15, 2023
@Hotell
Hotell deleted the hotell/wc/improve-npm-public-api branch February 15, 2023 12:54
chrisdholt pushed a commit that referenced this pull request Apr 29, 2024
…26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit to radium-v/fluentui that referenced this pull request Apr 29, 2024
…icrosoft#26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit to radium-v/fluentui that referenced this pull request Apr 29, 2024
…icrosoft#26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit to radium-v/fluentui that referenced this pull request Apr 30, 2024
…icrosoft#26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit that referenced this pull request Apr 30, 2024
…26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit that referenced this pull request May 2, 2024
…26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit that referenced this pull request May 2, 2024
…26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit that referenced this pull request May 2, 2024
…26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit that referenced this pull request May 3, 2024
…26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit that referenced this pull request May 6, 2024
…26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit that referenced this pull request May 6, 2024
…26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit that referenced this pull request May 8, 2024
…26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
radium-v pushed a commit that referenced this pull request May 10, 2024
…26854)

* fix(web-components): dont ship non production assets to npm registry

* generate change file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants