Skip to content

Bump @tinacms/cli from 2.1.9 to 2.4.1#117

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/tinacms/cli-2.4.1
Open

Bump @tinacms/cli from 2.1.9 to 2.4.1#117
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/tinacms/cli-2.4.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 28, 2026

Bumps @tinacms/cli from 2.1.9 to 2.4.1.

Release notes

Sourced from @​tinacms/cli's releases.

@​tinacms/cli@​2.4.1

Patch Changes

  • Updated dependencies [7be8175]:
    • @​tinacms/app@​2.5.1
    • tinacms@3.8.3

@​tinacms/cli@​2.4.0

Minor Changes

  • #6790 542c781 Thanks @​Ben0189! - Fix native SQLite (and other native CJS adapters) crashing the ESM database build, plus surrounding cleanup work.

    The bug. Since Tina v3's December 2025 ESM migration, bundling tina/database.ts with esbuild — and writing the output to os.tmpdir() — left users wedged between two failure modes: bundling native modules like better-sqlite3 crashed with __filename is not defined, and externalizing them couldn't resolve node_modules from /tmp/. See #6675.

    What changed:

    • loadDatabaseFile and loadConfigFile now write esbuild output to <project>/tina/__generated__/.cache/<timestamp>/ instead of os.tmpdir(), so Node's resolver can walk up to the project's node_modules at runtime.

    • better-sqlite3 is externalized so Node loads it as CJS where __filename exists.

    • The build cache is swept on startup (clears residue from crashed prior runs), and each per-build subdir + its now-empty timestamp parent are removed after the dynamic-import resolves.

    • Read-only project mounts (Docker :ro volumes, AWS Lambda's /var/task, sandboxed CI runners) now fail with an actionable error explaining the cause and resolution, instead of a cryptic mid-build EACCES.

    • New defineConfig field: build.externalDependencies?: string[]. Users with custom native adapters outside the baseline can extend the externalize list from their config:

      // tina/config.ts
      export default defineConfig({
        build: {
          publicFolder: "public",
          outputFolder: "admin",
          externalDependencies: ["my-custom-native-adapter"],
        },
        // ...
      });

      Externalized packages must be installed in the project's node_modules so Node can resolve them at runtime.

    • tina init now adds tina/__generated__ to .gitignore for new projects (and existing projects without it).

Patch Changes

  • #6841 c8b4ecb Thanks @​joshbermanssw! - Track tinacms build invocations + outcomes in PostHog. Replaces the metrics.tina.io event for this command. Opt-out via --noTelemetry is unchanged.

  • #6950 8ac0776 Thanks @​RonGamzu! - Fix typos: rename misspelled notifiySubscribers to notifySubscribers and correct "Error occured" to "Error occurred" in CLI error messages

  • #6864 638b47a Thanks @​kulesy! - Extract the database-bundle esbuild options out of loadDatabaseFile() into a pure buildDatabaseEsbuildConfig() helper, and add unit tests covering the externalize / output-path contracts.

... (truncated)

Changelog

Sourced from @​tinacms/cli's changelog.

2.4.1

Patch Changes

  • Updated dependencies [7be8175]:
    • @​tinacms/app@​2.5.1
    • tinacms@3.8.3

2.4.0

Minor Changes

  • #6790 542c781 Thanks @​Ben0189! - Fix native SQLite (and other native CJS adapters) crashing the ESM database build, plus surrounding cleanup work.

    The bug. Since Tina v3's December 2025 ESM migration, bundling tina/database.ts with esbuild — and writing the output to os.tmpdir() — left users wedged between two failure modes: bundling native modules like better-sqlite3 crashed with __filename is not defined, and externalizing them couldn't resolve node_modules from /tmp/. See #6675.

    What changed:

    • loadDatabaseFile and loadConfigFile now write esbuild output to <project>/tina/__generated__/.cache/<timestamp>/ instead of os.tmpdir(), so Node's resolver can walk up to the project's node_modules at runtime.

    • better-sqlite3 is externalized so Node loads it as CJS where __filename exists.

    • The build cache is swept on startup (clears residue from crashed prior runs), and each per-build subdir + its now-empty timestamp parent are removed after the dynamic-import resolves.

    • Read-only project mounts (Docker :ro volumes, AWS Lambda's /var/task, sandboxed CI runners) now fail with an actionable error explaining the cause and resolution, instead of a cryptic mid-build EACCES.

    • New defineConfig field: build.externalDependencies?: string[]. Users with custom native adapters outside the baseline can extend the externalize list from their config:

      // tina/config.ts
      export default defineConfig({
        build: {
          publicFolder: "public",
          outputFolder: "admin",
          externalDependencies: ["my-custom-native-adapter"],
        },
        // ...
      });

      Externalized packages must be installed in the project's node_modules so Node can resolve them at runtime.

    • tina init now adds tina/__generated__ to .gitignore for new projects (and existing projects without it).

Patch Changes

  • #6841 c8b4ecb Thanks @​joshbermanssw! - Track tinacms build invocations + outcomes in PostHog. Replaces the metrics.tina.io event for this command. Opt-out via --noTelemetry is unchanged.

  • #6950 8ac0776 Thanks @​RonGamzu! - Fix typos: rename misspelled notifiySubscribers to notifySubscribers and correct "Error occured" to "Error occurred" in CLI error messages

  • #6864 638b47a Thanks @​kulesy! - Extract the database-bundle esbuild options out of loadDatabaseFile() into a pure buildDatabaseEsbuildConfig() helper, and add unit tests covering the externalize / output-path contracts.

    The helper guarantees:

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@tinacms/cli](https://github.com/tinacms/tinacms/tree/HEAD/packages/@tinacms/cli) from 2.1.9 to 2.4.1.
- [Release notes](https://github.com/tinacms/tinacms/releases)
- [Changelog](https://github.com/tinacms/tinacms/blob/main/packages/@tinacms/cli/CHANGELOG.md)
- [Commits](https://github.com/tinacms/tinacms/commits/@tinacms/cli@2.4.1/packages/@tinacms/cli)

---
updated-dependencies:
- dependency-name: "@tinacms/cli"
  dependency-version: 2.4.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 28, 2026
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ssw-fire-boot-camp-website Ready Ready Preview, Comment May 28, 2026 9:22am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants