Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump node and finally fix pnpm :amaze: #3871

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

rebelchris
Copy link
Contributor

@rebelchris rebelchris commented Nov 22, 2024

Changes

Upgrade node
Upgrade pnpm finally, figured it's actually just a change they did in 9 for workspaces:
link-workspace-packages: disabled by default. This means that by default, dependencies will be linked from workspace packages only when they are specified using the workspace protocol.

Events

Did you introduce any new tracking events?

Experiment

Did you introduce any new experiments?

Manual Testing

Caution

Please make sure existing components are not breaking/affected by this PR

Preview domain

https://chore-bumps.preview.app.daily.dev

Copy link

vercel bot commented Nov 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
daily-webapp ✅ Ready (Inspect) Visit Preview Nov 26, 2024 9:39am
storybook 🔄 Building (Inspect) Visit Preview Nov 26, 2024 9:39am

@@ -19,8 +19,12 @@ import {
TypographyType,
} from './typography/Typography';

const ReactMarkdown = dynamic(
() => import(/* webpackChunkName: "reactMarkdown" */ 'react-markdown'),
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -291,8 +291,8 @@ export function OnboardPage(): ReactElement {
<img
alt="Onboarding background"
className="pointer-events-none absolute inset-0 -z-1 h-full w-full object-cover tablet:object-center"
// @ts-expect-error - Not supported by react yet
fetchpriority="high"
/* eslint-disable react/no-unknown-property */
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not even sure why left worked on older node

@ilasw
Copy link
Contributor

ilasw commented Nov 26, 2024

I've tested locally and test passed without errors, maybe circleci is using old packages from cache and we need to update file version on config.yml?

steps:
- checkout
- run:
name: Install pnpm
command: npm i --prefix=$HOME/.local -g pnpm@8.15.7
command: npm i --prefix=$HOME/.local -g pnpm
Copy link
Contributor

Choose a reason for hiding this comment

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

We should still provide specific version, for example if pnpm 10.x comes and it has breaking our ci/cd would break again.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah good point, will adjust

@@ -38,7 +38,7 @@ tasks:
nvm install
nvm use
init: |
npm i -g pnpm@8.15.7
npm i -g pnpm
Copy link
Contributor

Choose a reason for hiding this comment

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

also as my comment above, let's set sepcific version

@@ -81,7 +81,7 @@ https://github.com/dailydotdev/.github/blob/master/CONTRIBUTING.md
After cloning the project, please make sure to run the following commands to bootstrap the project:

```bash
npm i -g pnpm@8.15.7
npm i -g pnpm
Copy link
Contributor

Choose a reason for hiding this comment

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

also version

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.

3 participants