Skip to content

npm link method#810

Open
wibjorn wants to merge 1 commit intomainfrom
wbb/npm-link
Open

npm link method#810
wibjorn wants to merge 1 commit intomainfrom
wbb/npm-link

Conversation

@wibjorn
Copy link
Contributor

@wibjorn wibjorn commented Feb 19, 2026

Just updates documentation regarding npm link. No changeset.

@wibjorn wibjorn requested a review from a team as a code owner February 19, 2026 17:05
@changeset-bot
Copy link

changeset-bot bot commented Feb 19, 2026

⚠️ No Changeset found

Latest commit: 525c982

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

1. `cd ./css; npm link` This creates a symlink between your local repo and atlas-css npm package on your machine installed globally.
1. Checkout a branch in a downstream repo. Ex. xyz/feature-name-atlas
1. `cd ./package/using-atlas-css/; npm link @microsoft/atlas-css`. This will create a reference to the global package we just symlinked. Note that `/package/using-atlas-css/` is a fictional name for illustration only.
1. However! one more step is necessary I found ... go in and delete /package/using-atlas-css/node_modules/@microsoft/atlas-css folder.
Copy link
Contributor

Choose a reason for hiding this comment

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

Super nit: wrap path in backticks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants