You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/main/updating/7-0.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,44 +4,44 @@ description: Guide for updating Capacitor from v6 to v7 in your app
4
4
slug: /updating/7-0
5
5
---
6
6
7
-
# Updating from Capacitor 6 to Capacitor 7
7
+
# Capacitor 6からCapacitor 7へのアップデート
8
8
9
-
In this guide, you'll find steps to update your project to the current Capacitor 7 version as well as a list of breaking changes for our official plugins.
`bundledWebRuntime`configuration option has been removed. If you had it set it to `false`you can safely remove it. If you had it set to `true`you'll have to use a bundler to bundle `@capacitor/core`code within your app.
`cordova.staticPlugins`configuration option has been removed. If you still have some Cordova plugin that needs to be static it should be updated to use `podspec` tag with `use-framework`attribute instead of using `framework` tag as that's not supported in cordova-ios 7+.
This only affects new users as if you have used any Capacitor command before it will already have a preference saved. Also telemetry does not run in non-interactive environments, such as CI servers, ensuring no data is collected in those scenarios.
Install the `latest` version of the Capacitor CLI to your project:
28
+
最新バージョンのCapacitor CLIをプロジェクトにインストールする:
29
29
30
30
```sh
31
31
npm i -D @capacitor/cli@latest
32
32
```
33
33
34
-
Once installed, simply run the following to have the CLI handle the migration for you.
34
+
インストールしたら、以下を実行するだけで、CLIがマイグレーションを処理します:
35
35
36
36
```sh
37
37
npx cap migrate
38
38
```
39
39
40
-
If any of the steps for the migration are not able to be completed, additional information will be made available in the output in the terminal. The steps for doing the migration manually are listed out below.
0 commit comments