Skip to content

Commit f074703

Browse files
committed
add publish-legacy instructions
1 parent d59c2b2 commit f074703

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

publish-legacy.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Instructions to publish `@teambit/legacy` package.
2+
3+
This is needed for backward compatibility. Some older components still have import statements from "@teambit/legacy/dist...". Whenever possible, remove them. Legacy has moved to components/aspects you can use directly.
4+
5+
Steps to publish this package:
6+
7+
1. run `git checkout publish-teambit-legacy`
8+
2. recommended: `git merge master`
9+
3. bump the version in the package.json file.
10+
4. run `npm publish` (make sure your local .npmrc doesn't have the @teambit registry temporarily for this command)
11+
5. commit and push the changes back to the remote.
12+
13+
Once the package is published, update master with the new version in two places: in workspace.jsonc (inside the variants) and by running `bit deps set teambit.harmony/bit @teambit/[email protected]`.

0 commit comments

Comments
 (0)