Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Devin Shoemaker
Devin Shoemaker

Posted on • Originally published atnxtend.dev

     

Release @nxtend/capacitor 2.0.2

Nxtend Capacitor v2 is here! This release has a number of big changes that warrated a major release. Capacitor project structures have been changed, Nx Console support has been improved, and dependencies have been updated. That being said, a manual migration is needed to support upcoming capabilities. Read the full blog post for more information on updating the plugin and migrating your projects. Please note, due to an npm issue, the current release is 2.0.2.

Fixes

  • fix Windows support

Features

  • update Capacitor to 2.4.2
  • add Capacitor configs to frontend application
  • add or updatepackage.json in project folder when generating a Capacitor project
  • add builder configurations for Nx Console
  • addadd-plugin schematic for adding Capacitor plugins

BREAKING CHANGES

  • Capacitor plugins must now be added to both the root and project-levelpackage.json

One of the major changes in this release is that Capacitor configurations are not added to a dedicated application (e.g.my-app-cap) but rather added directly to the associated frontend project. This also means that the you will need to run@nxtend/capacitor builder commands from the frontend project as well (e.g.nx run my-app:sync --project android).

Another notable change is that thecapacitor-project schematic will now add or update thepackage.json in the project folder. This was done to increase compatibility with the Capacitor CLI and from now on Capacitor plugins should be added both to the root and project-levelpackage.json. To help with this, anadd-plugin schematic has been added.

For more details on migrating your Capacitor project, visit theMIGRATION.md.

For information on upgrading the plugin, visit thenxtend upgrades documentation.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Software Developer @ionicframework / Nx Plugin Author / Previous ModChat Podcast Co-host / Nx Plugins: nxtend.dev
  • Joined

More fromDevin Shoemaker

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp