feat: prepare for pnpm 8 #3331

Merged
konrad merged 1 commits from dpschen/frontend:feature/prepare-pnpm8 into main 2023-03-29 12:02:36 +00:00
Member

By commiting the new lockfile format before using pnpm 8 we can improve the migration process.

Related: #3317

By commiting the new lockfile format before using pnpm 8 we can improve the migration process. Related: https://kolaente.dev/vikunja/frontend/pulls/3317
dpschen added the
kind/feature
changes requested
area/internal-code
labels 2023-03-29 11:35:33 +00:00
dpschen requested review from konrad 2023-03-29 11:35:38 +00:00
konrad was assigned by dpschen 2023-03-29 11:35:43 +00:00
Author
Member

Note: the new lockfile format and the settings here should all already be compatible with pnpm 7.

Note: the new lockfile format and the settings here should all already be compatible with pnpm 7.
dpschen added a new dependency 2023-03-29 11:38:02 +00:00
Member

Hi dpschen!

Thank you for creating a PR!

I've deployed the changes of this PR on a preview environment under this URL: https://3331-feature-prepare-pnpm8--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.

Have a nice day!

Beep boop, I'm a bot.

Hi dpschen! Thank you for creating a PR! I've deployed the changes of this PR on a preview environment under this URL: https://3331-feature-prepare-pnpm8--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/. Have a nice day! > Beep boop, I'm a bot.
dpschen changed title from feat: prepare for pnpm 8 to wip: feat: prepare for pnpm 8 2023-03-29 11:44:00 +00:00
Owner

pnpm told me

 WARN  Ignoring broken lockfile at /home/konrad/www/vikunja/frontend: Lockfile /home/konrad/www/vikunja/frontend/pnpm-lock.yaml not compatible with current pnpm

That's probably due to the old pnpm I use. Can you rebase on main which has the updated nix flake with the newer pnpm?

Since which version is the new lockfile format supported?

pnpm told me ```  WARN  Ignoring broken lockfile at /home/konrad/www/vikunja/frontend: Lockfile /home/konrad/www/vikunja/frontend/pnpm-lock.yaml not compatible with current pnpm ``` That's probably due to the old pnpm I use. Can you rebase on main which has the updated nix flake with the newer pnpm? Since which version is the new lockfile format supported?
dpschen force-pushed feature/prepare-pnpm8 from cb8cbc22dd to eb8972ee50 2023-03-29 11:45:56 +00:00 Compare
dpschen force-pushed feature/prepare-pnpm8 from eb8972ee50 to 3f53d6d35c 2023-03-29 11:46:12 +00:00 Compare
dpschen changed title from wip: feat: prepare for pnpm 8 to feat: prepare for pnpm 8 2023-03-29 11:46:39 +00:00
Author
Member

pnpm told me

 WARN  Ignoring broken lockfile at /home/konrad/www/vikunja/frontend: Lockfile /home/konrad/www/vikunja/frontend/pnpm-lock.yaml not compatible with current pnpm

That's probably due to the old pnpm I use. Can you rebase on main which has the updated nix flake with the newer pnpm?

Doing now!

Since which version is the new lockfile format supported?

Seems like since version v7.24.0, see: https://pnpm.io/7.x/npmrc#use-lockfile-v6

> pnpm told me > > ``` >  WARN  Ignoring broken lockfile at /home/konrad/www/vikunja/frontend: Lockfile /home/konrad/www/vikunja/frontend/pnpm-lock.yaml not compatible with current pnpm > ``` > > That's probably due to the old pnpm I use. Can you rebase on main which has the updated nix flake with the newer pnpm? Doing now! > Since which version is the new lockfile format supported? Seems like since version v7.24.0, see: https://pnpm.io/7.x/npmrc#use-lockfile-v6
Owner

That seems to have worked.

That seems to have worked.
Author
Member

Ok, so this can be merged?

Ok, so this can be merged?
Owner

Let me update renovate first.

Let me update renovate first.
Author
Member

Let me update renovate first.

Just to be clear: the changes in this branch should be compatible with the last few versions of pnpm@7

> Let me update renovate first. Just to be clear: the changes in this branch should be compatible with the last few versions of pnpm@7
Owner

Yes, but it's been a long while since I last updated renovate and we need to do it anyway for pnpm 8.

Yes, but it's been a long while since I last updated renovate and we need to do it anyway for pnpm 8.
Owner

It is updated now, merging...

It is updated now, merging...
konrad merged commit 7d3b97d422 into main 2023-03-29 12:02:36 +00:00
konrad deleted branch feature/prepare-pnpm8 2023-03-29 12:02:37 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.