Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

Hotell
Copy link
Contributor

@Hotell Hotell commented Feb 15, 2023

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
Copy link

size-auditor bot commented Feb 15, 2023

Asset size changes

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

Baseline commit: ae03f3eec389aca7e15fde295868aacd51eb1822 (build)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Feb 15, 2023

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
Copy link
Collaborator

fabricteam commented Feb 15, 2023

📊 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
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
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

Copy link
Contributor Author

@Hotell Hotell Feb 15, 2023

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