nativescript 8.7.1 → 8.7.2

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.
@@ -31,7 +31,7 @@ class ApplicationManagerBase extends events_1.EventEmitter {
31
31
  reinstallApplication(appIdentifier, packageFilePath, buildData) {
32
32
  return __awaiter(this, void 0, void 0, function* () {
33
33
  const isApplicationInstalled = yield this.isApplicationInstalled(appIdentifier);
34
- if (isApplicationInstalled) {
34
+ if (isApplicationInstalled && (buildData === null || buildData === void 0 ? void 0 : buildData.clean)) {
35
35
  yield this.uninstallApplication(appIdentifier);
36
36
  }
37
37
  yield this.installApplication(packageFilePath, appIdentifier, buildData);
@@ -132,7 +132,8 @@ class ApplicationManagerBase extends events_1.EventEmitter {
132
132
  this.emit("debuggableViewChanged", appIdentifier, view);
133
133
  }
134
134
  });
135
- this.lastAvailableDebuggableAppViews[appIdentifier] = currentlyAvailableViews;
135
+ this.lastAvailableDebuggableAppViews[appIdentifier] =
136
+ currentlyAvailableViews;
136
137
  });
137
138
  });
138
139
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nativescript",
3
- "preferGlobal": true,
4
- "version": "8.7.1",
3
+ "main": "./lib/nativescript-cli-lib.js",
4
+ "version": "8.7.2",
5
5
  "author": "NativeScript <support@nativescript.org>",
6
6
  "description": "Command-line interface for building NativeScript projects",
7
7
  "bin": {
@@ -10,7 +10,6 @@
10
10
  "nsc": "./bin/tns",
11
11
  "ns": "./bin/tns"
12
12
  },
13
- "main": "./lib/nativescript-cli-lib.js",
14
13
  "files": [
15
14
  "bin/*",
16
15
  "config",
@@ -117,7 +116,6 @@
117
116
  "xml2js": "0.6.2",
118
117
  "yargs": "17.7.1"
119
118
  },
120
- "analyze": true,
121
119
  "devDependencies": {
122
120
  "@types/archiver": "^5.3.2",
123
121
  "@types/byline": "^4.2.33",
@@ -171,13 +169,6 @@
171
169
  "sinon": "15.0.3",
172
170
  "source-map-support": "0.5.21"
173
171
  },
174
- "license": "Apache-2.0",
175
- "engines": {
176
- "node": ">=10.0.0"
177
- },
178
- "lint-staged": {
179
- "*.ts": "prettier --write"
180
- },
181
172
  "bundleDependencies_comment1": "These dependencies are bundled in the CLI and are not installed from npm to avoid deprecation warnings.",
182
173
  "bundleDependencies_comment2": "Eventually we'll remove them as we replaced their functionality.",
183
174
  "bundleDependencies_comment3": "note: @npmcli/move-file is a transient dep of pacote - we dont use it directly.",
@@ -185,6 +176,9 @@
185
176
  "@npmcli/move-file",
186
177
  "stringify-package"
187
178
  ],
179
+ "optionalDependencies": {
180
+ "fsevents": "*"
181
+ },
188
182
  "overrides": {
189
183
  "jimp": {
190
184
  "xml2js": "0.6.2"
@@ -192,5 +186,13 @@
192
186
  "npm-watch": {
193
187
  "nodemon": "3.0.3"
194
188
  }
189
+ },
190
+ "analyze": true,
191
+ "license": "Apache-2.0",
192
+ "engines": {
193
+ "node": ">=14.0.0"
194
+ },
195
+ "lint-staged": {
196
+ "*.ts": "prettier --write"
195
197
  }
196
198
  }