@capacitor/cli 4.0.2-nightly-0ad41d05.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [4.1.0](https://github.com/ionic-team/capacitor/compare/4.0.1...4.1.0) (2022-08-18)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **cli:** Also update preferences plugin if present ([#5831](https://github.com/ionic-team/capacitor/issues/5831)) ([b9d5954](https://github.com/ionic-team/capacitor/commit/b9d5954ca0b333f2caa20179b96b049379860ea5))
12
+ * **cli:** Don't add google-services plugin if missing ([#5825](https://github.com/ionic-team/capacitor/issues/5825)) ([48ff9e6](https://github.com/ionic-team/capacitor/commit/48ff9e6461e8037a5c6da87c90efc6bc872d7f08))
13
+ * **cli:** make migrator also update plugin variables ([#5871](https://github.com/ionic-team/capacitor/issues/5871)) ([478d48c](https://github.com/ionic-team/capacitor/commit/478d48c3e322cffc6f0ff7ce590b635de4b41279))
14
+ * **cli:** Migrator put registerPlugin before super.onCreate ([#5828](https://github.com/ionic-team/capacitor/issues/5828)) ([8cd3373](https://github.com/ionic-team/capacitor/commit/8cd3373133903f97a836fd6ac6b7ce4e1ba9317e))
15
+ * **cli:** prevent error on migrate when devDependencies is missing ([#5863](https://github.com/ionic-team/capacitor/issues/5863)) ([474ad1f](https://github.com/ionic-team/capacitor/commit/474ad1f4d4a9ea0636a457836c938dac9f6534e8))
16
+ * **cli:** remove double space in cap 2 variables file ([#5826](https://github.com/ionic-team/capacitor/issues/5826)) ([7184097](https://github.com/ionic-team/capacitor/commit/7184097da88ed34f3e754119f967d262aa5e2add))
17
+ * **cli:** Support of BoM dependencies on cordova plugins ([#5827](https://github.com/ionic-team/capacitor/issues/5827)) ([ea2d95b](https://github.com/ionic-team/capacitor/commit/ea2d95ba43467cd2d4c4637aacab6bf655d9c596))
18
+
19
+
20
+ ### Features
21
+
22
+ * **cli:** Option to inline JS source maps during sync ([#5843](https://github.com/ionic-team/capacitor/issues/5843)) ([7ce6dd4](https://github.com/ionic-team/capacitor/commit/7ce6dd4b6fb5cdc395add6f656fbedc785178ae3))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [4.0.1](https://github.com/ionic-team/capacitor/compare/4.0.0...4.0.1) (2022-07-28)
7
29
 
8
30
 
Binary file
Binary file
@@ -163,6 +163,16 @@ async function migrateCommand(config) {
163
163
  }
164
164
  }
165
165
  }
166
+ const pluginVariables = {
167
+ firebaseMessagingVersion: '23.0.5',
168
+ playServicesLocationVersion: '20.0.0',
169
+ androidxBrowserVersion: '1.4.0',
170
+ androidxMaterialVersion: '1.6.1',
171
+ androidxExifInterfaceVersion: '1.3.3',
172
+ };
173
+ for (const variable of Object.keys(pluginVariables)) {
174
+ await updateFile(config, variablesPath, `${variable} = '`, `'`, pluginVariables[variable], true);
175
+ }
166
176
  })();
167
177
  });
168
178
  // remove init
@@ -202,7 +212,7 @@ async function installLatestNPMLibs(runInstall, config) {
202
212
  return;
203
213
  }
204
214
  const pkgJson = JSON.parse(pkgJsonFile);
205
- for (const devDepKey of Object.keys(pkgJson['devDependencies'])) {
215
+ for (const devDepKey of Object.keys(pkgJson['devDependencies'] || {})) {
206
216
  if (libs.includes(devDepKey)) {
207
217
  pkgJson['devDependencies'][devDepKey] = coreVersion;
208
218
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/cli",
3
- "version": "4.0.2-nightly-0ad41d05.0",
3
+ "version": "4.1.0",
4
4
  "description": "Capacitor: Cross-platform apps with JavaScript and the web",
5
5
  "homepage": "https://capacitorjs.com",
6
6
  "author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
@@ -83,5 +83,5 @@
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  },
86
- "gitHead": "0ad41d0567e69d31e65c92d4890fc8860d0344ac"
86
+ "gitHead": "0b5c2b740e9613512a100051b8822fd1361f4aeb"
87
87
  }