Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NativeScript/NativeScript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: NativeScript/NativeScript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: refs/pull/11685/head
Choose a head ref
  • 11 commits
  • 257 files changed
  • 1 contributor

Commits on Nov 28, 2026

  1. fix(workspace-plugin): declare dependencies

    Declare @angular-devkit/schematics, which the app generator imports, and drop tslib, which nothing uses (importHelpers is off). Also remove the unused eslint-disable directive from jest.config.ts.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    6a189f0 View commit details
    Browse the repository at this point in the history
  2. build(lint): exempt @nativescript/core from the lazy-loaded library c…

    …heck
    
    apps/automated has one platform-conditional require() of @nativescript/core/ui/animation. Nx records require() as a dynamic dependency, so enforce-module-boundaries reported every static @nativescript/core import in the project (429 errors) as a static import of a lazy-loaded library. NativeScript apps bundle core whole and never code-split it, so the check does not apply to core.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    846bf9d View commit details
    Browse the repository at this point in the history
  3. style(webpack5): apply eslint autofixes

    prefer-const only.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    5fca199 View commit details
    Browse the repository at this point in the history
  4. style(apps): apply eslint autofixes to toolbox

    prefer-const, plus one function-local no-var.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    6f5acac View commit details
    Browse the repository at this point in the history
  5. style(apps): apply eslint autofixes to ui

    no-var, prefer-const and one no-extra-boolean-cast. ESLint only autofixes a var when no reference precedes it; a check for hoisted function declarations that could reach a converted binding before its declaration found none.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    ab87787 View commit details
    Browse the repository at this point in the history
  6. style(apps): apply eslint autofixes to automated

    no-var and prefer-const. ESLint only autofixes a var when no reference precedes it and it is not captured per-iteration in a loop; a check for hoisted function declarations or callbacks that could reach a converted binding before its declaration found none.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    e7269d1 View commit details
    Browse the repository at this point in the history
  7. build(lint): allow the triple-slash reference in apps/automated/refer…

    …ence.d.ts
    
    It is the automated app's counterpart of the references.d.ts files the rule is already off for: a triple-slash reference is how it pulls in core's ambient types.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    3b5ddc8 View commit details
    Browse the repository at this point in the history
  8. fix(apps): resolve the lint errors that autofix leaves in the test apps

    - no-var on exported and early-referenced declarations (ESLint never
      autofixes these): var -> let, then prefer-const autofix. References
      that precede a declaration are all inside test functions or callbacks
      that cannot run before it.
    - application-tests.ios.ts: declare the observer before the if-block it
      was assigned in.
    - xml-parser-tests.ts: give the two case clauses that declared variables
      their own block.
    - repeater-tests.ts: the date converter read month before declaring it
      when padding the day; pad on day, as the list-view copy does.
    - file-system-tests.ts and globals.d.ts keep var, with a reason.
    - prefer-const on `let x; ... x = v;`: declare at the assignment.
    - prefer-as-const: apply the rule's suggestion.
    - no-constant-binary-expression, no-unused-expressions, prefer-spread:
      assert(true), drop a bare ModuleNameResolver statement, spread instead
      of Array.apply.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    658e17b View commit details
    Browse the repository at this point in the history
  9. style(vite): fix the remaining lint errors

    Mark the intentional empty-case fallthroughs in the optimizeDeps flavor switch, and write the BOM in the css-device-module regex as \uFEFF instead of a literal U+FEFF. No behavior change.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    2c40dcf View commit details
    Browse the repository at this point in the history
  10. style: fix lint errors in code added since the lint sweep

    Covers the typed-array body tests and the fragment TransitionListener that landed on main after the initial pass.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    bf53b38 View commit details
    Browse the repository at this point in the history
  11. build(lint): ignore native platform build output in apps

    apps/*/platforms holds generated bundles after a local ns build; linting them reports thousands of errors.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    93a4ed1 View commit details
    Browse the repository at this point in the history
Loading