npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@fluentui-react-native/dependency-profiles

v0.8.29

Published

@rnx-kit/align-deps profiles covering packages published from FluentUI-React-Native

Downloads

1,447

Readme

@fluentui-react-native/dependency-profiles

npm version

@fluentui-react-native/dependency-profiles is a package that contains dependency profiles for FluentUI React Native. A dependency profile is a set of package@version mappings, usually tied to a single version of react-native. These profiles can be used by users of @rnx-kit/align-deps to manage FURN dependencies in their repo. To learn more about @rnx-kit/align-deps, visit https://microsoft.github.io/rnx-kit/docs/tools/align-deps.

Usage

If you have an existing repo that uses FURN and you would like to stay up-to-date on the latest versions of FURN packages for a specific version of react-native, you can start by installing @rnx-kit/align-deps. Installation and usage instructions can be found here: https://microsoft.github.io/rnx-kit/docs/tools/align-deps.

Once @rnx-kit/align-deps is installed, you can add @fluentui-react-native/dependency-profiles as a dependency in your repo.

yarn add @fluentui-react-native/dependency-profiles --dev

or

npm add --save-dev @fluentui-react-native/dependency-profiles

Next, configure each of your onboarded React Native packages to use a profile from @fluentui-react-native/dependency-profiles for the react-native version you're using under "presets". You can read more about configurations here: https://microsoft.github.io/rnx-kit/docs/tools/align-deps#configure and presets here: https://microsoft.github.io/rnx-kit/docs/tools/align-deps#presets.

+ const furnProfiles = require('@fluentui-react-native/dependency-profiles');
+ const furnProfile = furnProfiles[0.68];

 .
 .
 .

 {
   "rnx-kit": {
     "alignDeps": {
+      "presets": [
+        "furnProfile"
+      ],
       "requirements": [
        "[email protected]"
       ],
       "capabilities": [
         "core-android",
         "core-ios",
         "core-macos",
         "core-windows",
         "react"
       ]
     }
   }
 }

Now, you can use the @rnx-kit/align-deps tool to keep your FURN dependencies up-to-date by updating @fluentui-react-native/dependency-profiles to newer versions and running yarn rnx-align-deps --write.

Note for Package Maintainers

Since this package is intended to contain multiple profiles for different versions of react-native, we need to make sure we save the current profile when updating the FURN repo to a newer version of react-native. To do this, copy the current profile (in index.js) to a new file under the src folder named furn-profile-X.Y.js where X.Y is the current version of react-native (for example, furn-profile-0.68.js). Next, add this file to the list of profiles in update-profile.js after "[${major}.${minor}]: packages" (which lists the profile for the new version of react-native you're updating to).