nativescript 9.0.2 → 9.0.3-alpha.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.
@@ -10,7 +10,7 @@
10
10
  "karma-qunit": "4.2.1",
11
11
  "@types/karma-chai": "0.1.8",
12
12
  "@types/mocha": "10.0.10",
13
- "@types/jasmine": "5.1.13",
13
+ "@types/jasmine": "6.0.0",
14
14
  "@types/qunit": "2.19.13",
15
15
  "nyc": "17.1.0"
16
16
  }
@@ -593,11 +593,13 @@ class BundlerCompilerService extends events_1.EventEmitter {
593
593
  // For incremental builds, we need to determine which emitted files are likely affected
594
594
  // by the source file changes
595
595
  const filesToCopy = [];
596
- // default to ignoring vendor files as they are less likely to change during live reloads
597
- const bundleFiles = emittedFiles.filter((file) => !file.includes("vendor") &&
598
- (file.endsWith(".mjs") ||
599
- file.endsWith(".js") ||
600
- file.endsWith(".map")));
596
+ // Include all bundle files including vendor - vendor.mjs contains @nativescript/core
597
+ // and other dependencies that may change during development (especially in monorepos
598
+ // where packages/core is linked). Previously vendor was excluded which caused changes
599
+ // to .ios.ts/.android.ts files in @nativescript/core to not be synced.
600
+ const bundleFiles = emittedFiles.filter((file) => file.endsWith(".mjs") ||
601
+ file.endsWith(".js") ||
602
+ file.endsWith(".map"));
601
603
  filesToCopy.push(...bundleFiles);
602
604
  // Only copy assets if there are explicit asset-related changes
603
605
  const assetFiles = emittedFiles.filter((file) => file.includes("assets/") ||
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nativescript",
3
3
  "main": "./lib/nativescript-cli-lib.js",
4
- "version": "9.0.2",
4
+ "version": "9.0.3-alpha.0",
5
5
  "author": "NativeScript <oss@nativescript.org>",
6
6
  "description": "Command-line interface for building NativeScript projects",
7
7
  "bin": {