Skip to content

Commit 1b3da6a

Browse files
committed
upgrade v1 versions
1 parent 1c7d423 commit 1b3da6a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

admin/publish.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,13 @@ https://github.com/facebook/docusaurus/releases/tag/%VER%
243243

244244
**TLDR**: you need to mark them as public, publish, and mark them back as private
245245

246-
v1 packages have been marked as `private: true` on purpose. This is because lerna will publish ALL (v1+v2) packages with the lerna-publish command. Unfortunately it seems therre is no way to tell it to ignore v1 packages while publishing v2. During a long time, we published all these packages using the @next dist tag: `yarn lerna publish 2.0.0-alpha.41 --dist-tag next --exact` But it cause problems because v2 packages will then all need @next during npm/yarn installs, confusing some users (https://github.com/facebook/docusaurus/issues/3755) We made the v1 packages private so that lerna publish won't publish them, so that we can publish v2 packages under latest dist tag, without creating v1 upgrades that people will be notified abut.
246+
v1 packages have been marked as `private: true` on purpose. This is because lerna will publish ALL (v1+v2) packages with the lerna-publish command.
247+
248+
Unfortunately it seems there is no way to tell it to ignore v1 packages while publishing v2.
249+
250+
During a long time, we published all these packages using the `@next` dist tag: `yarn lerna publish 2.0.0-alpha.41 --dist-tag next --exact`. It caused problems because v2 packages will then all need @next during npm/yarn installs, confusing some users (https://github.com/facebook/docusaurus/issues/3755).
251+
252+
We made the v1 packages private so that lerna publish won't publish them, so that we can publish v2 packages under latest dist tag, without creating v1 upgrades that people will be notified abut.
247253

248254
### Updated v1 release process
249255

packages/docusaurus-1.x/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "docusaurus",
33
"description": "Easy to Maintain Open Source Documentation Websites",
4-
"version": "2.0.0-alpha.70",
4+
"version": "1.14.7",
55
"private_comment": "MADE PRIVATE ON PURPOSE! READ V1 PUBLISH GUIDE",
66
"private": true,
77
"license": "MIT",

packages/docusaurus-init-1.x/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "docusaurus-init",
33
"description": "Initialization script for Docusaurus",
4-
"version": "2.0.0-alpha.70",
4+
"version": "1.14.7",
55
"private_comment": "MADE PRIVATE ON PURPOSE! READ V1 PUBLISH GUIDE",
66
"private": true,
77
"license": "MIT",

0 commit comments

Comments
 (0)