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: b5da6e2
Choose a base ref
...
head repository: NativeScript/NativeScript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 219185a
Choose a head ref
  • 8 commits
  • 21 files changed
  • 1 contributor

Commits on Nov 28, 2026

  1. build: update Nx to 24.0.7

    - nx and @nx/* 22.7.12 -> 24.0.7; add @nx/eslint as a direct dependency
      so `nx migrate` collects its migrations.
    - @nativescript/nx 23.0.0-rc.0 (peers nx >= 23).
    - ESLint ~8.57 -> ~9.39.5: @nx/eslint >= 23.1 requires ESLint 9+.
      Add the typescript-eslint meta package used by Nx's flat configs and
      bump @typescript-eslint/* to ^8.74.0.
    - jest 30.0.5 -> 30.3.0 (Nx 24 migration package update).
    - Ignore .nx/migrate-runs (Nx 23 migration).
    
    The nx, @nx/* and @nativescript/nx lockfile entries were dropped and
    re-resolved; npm could not reconcile the old @nx/eslint 22 peer edges.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    0c1662a View commit details
    Browse the repository at this point in the history
  2. build: migrate ESLint to v9 flat config

    Nx 24 requires ESLint 9, which drops .eslintrc. Each .eslintrc.json is
    replaced by an equivalent eslint.config.mjs built on @nx/eslint-plugin's
    flat configs (which bundle eslint:recommended, typescript-eslint
    recommended and eslint-config-prettier) plus the existing overrides.
    
    - @typescript-eslint/ban-types is dropped: typescript-eslint 8 removed it
      and its three successors are already turned off.
    - packages/core gets no eslint.config.mjs of its own: the core build
      copies every *.mjs in the package to dist, and the vite HMR core
      bundle imports them. Its ignores live in the root config, which also
      limits core to TypeScript and JS specs (the old lintFilePatterns).
    - The JSON override moves from the root to tools/workspace-plugin, the
      only project that lints JSON.
    - eslint.config.mjs is excluded from the production named input.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    2690b00 View commit details
    Browse the repository at this point in the history
  3. build: keep project-level nx affected selection

    Nx 24 selects individual affected tasks by default. Set affected.legacy
    (the Nx 24 migration default) so `nx affected` and
    `nx show projects --affected`, used by the release workflow, keep
    selecting whole projects.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    c4105d7 View commit details
    Browse the repository at this point in the history
  4. build: move lint and test to Nx inferred tasks

    Nx 24 removes the @nx/eslint, @nx/jest and @nx/vitest executors. Register
    their inference plugins instead, each limited with `include` to the
    projects that already had the target, so target names stay the same and
    no project gains a new one:
    
    - @nx/eslint/plugin: lint for core, vite, webpack5, workspace-plugin and
      the three apps (`eslint .` in the project root). Patterns match only
      each project's root files so nested package.json folders (core's
      css/, easysax/, the automated app's fixtures) don't become projects.
    - @nx/vitest: test for core and vite, `testMode: run` to keep run-once
      `vitest run` (`--watch` still switches to watch mode).
    - @nx/jest/plugin: test for workspace-plugin; the `ci` configuration and
      passWithNoTests from the old @nx/jest:jest target defaults move onto
      its project.json.
    
    The executor-keyed target defaults are removed; the `test` and `lint`
    target-name defaults still apply to the inferred targets. The
    workspace-plugin lint target pointed at @nx/linter:eslint, which was
    never installed, and now runs.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    dd8cea6 View commit details
    Browse the repository at this point in the history
  5. build(core): drop the Nx vite config helpers removed in Nx 24

    nxViteTsPaths and nxCopyAssetsPlugin are inert stubs in Nx 24. Path
    aliases now come from Vite's native resolve.tsconfigPaths. The copy
    plugin only copied *.md on a vite build, and core builds with
    @nx/js:tsc, so it is removed rather than replaced.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    7dfd5a1 View commit details
    Browse the repository at this point in the history
  6. build: load the workspace-plugin jest config as CommonJS

    The inferred @nx/jest target runs the jest CLI, which loads
    jest.config.ts through Node type stripping (CommonJS package) or ts-node.
    `export default` fails the first and TypeScript 6 rejects ts-node's
    node10 module resolution, so use module.exports as Nx's own
    convert-jest-config-to-cjs migration does.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    71d8362 View commit details
    Browse the repository at this point in the history
  7. build: rename vitest.workspace.ts to vitest.config.ts

    Vitest 4 no longer reads vitest.workspace.* files. The file already uses
    the `test.projects` form, so renaming it to the root vitest.config.ts is
    enough for a root-level `vitest` run to pick up the core and vite
    projects again (Nx's migrate-to-vitest-4 prompt).
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    19f17e9 View commit details
    Browse the repository at this point in the history
  8. build: use the stable @nativescript/nx 24 release

    Replaces the 23.0.0-rc.0 pin with ^24.0.0, the plugin release that targets Nx 24.
    NathanWalker committed Nov 28, 2026
    Configuration menu
    Copy the full SHA
    219185a View commit details
    Browse the repository at this point in the history
Loading