Skip to content

Conversation

@Mister-Hope
Copy link
Member

No description provided.

@Mister-Hope Mister-Hope requested a review from meteorlxy June 6, 2022 13:25
@azat-io
Copy link
Contributor

azat-io commented Oct 24, 2022

Might be worth merge it?

upd. I think the order should be: npm, pnpm, yarn. This seems more logical.

@Mister-Hope
Copy link
Member Author

Might be worth merge it?

upd. I think the order should be: npm, pnpm, yarn. This seems more logical.

pnpm takes less time during install comparing to npm. so we do recommand people to use pnpm as first choise.

@meteorlxy
Copy link
Member

We may also need to update the deployment guide to use pnpm as recommendation

@Mister-Hope
Copy link
Member Author

Done @meteorlxy

@Mister-Hope
Copy link
Member Author

Done

```

3. After running `yarn docs:build`, deploy using the command `firebase deploy`.
3. After running `pnpm docs:build` `yarn docs:build` or `npm run docs:build`, deploy using the command `firebase deploy`.
Copy link
Member

Choose a reason for hiding this comment

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

No need to mention yarn & npm based on the assumption


- **Build Command:** `yarn docs:build`
- **Publish directory:** `docs/.vuepress/dist`
- **Build Command:** `npm i -g pnpm@7 && pnpm docs:build`
Copy link
Member

Choose a reason for hiding this comment

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

Is it necessary to add @7 for pnpm? If not, we'd better remove it so we don't need to update it in the future

```

3. 在执行了 `yarn docs:build` 或 `npm run docs:build` 后, 使用 `firebase deploy` 指令来部署。
3. 在执行了 `pnpm docs:build`, `yarn docs:build` 或 `npm run docs:build` 后, 使用 `firebase deploy` 指令来部署。
Copy link
Member

Choose a reason for hiding this comment

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

Same here


- **Build Command:** `yarn docs:build`
- **Publish directory:** `docs/.vuepress/dist`
- **Build Command:** `npm i -g pnpm@7 && pnpm docs:build`
Copy link
Member

Choose a reason for hiding this comment

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

Same here

@meteorlxy meteorlxy merged commit e7b24dd into main Dec 8, 2022
@meteorlxy meteorlxy deleted the pnpm branch December 8, 2022 13:22
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.

4 participants