Files
TREK/shared/package.json
T
dependabot[bot] 964b2459d1 chore(deps): bump the npm-minor-and-patch group with 20 updates
Bumps the npm-minor-and-patch group with 20 updates:

| Package | From | To |
| --- | --- | --- |
| [@capacitor/android](https://github.com/ionic-team/capacitor) | `8.6.2` | `8.6.3` |
| [@capacitor/core](https://github.com/ionic-team/capacitor) | `8.6.2` | `8.6.3` |
| [@capacitor/filesystem](https://github.com/ionic-team/capacitor-filesystem) | `8.1.5` | `8.1.6` |
| [@capacitor/ios](https://github.com/ionic-team/capacitor) | `8.6.2` | `8.6.3` |
| [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) | `6.19.0` | `6.20.0` |
| [@capacitor/cli](https://github.com/ionic-team/capacitor) | `8.6.2` | `8.6.3` |
| [@testing-library/dom](https://github.com/testing-library/dom-testing-library) | `10.4.1` | `10.4.2` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.3.2` | `19.3.3` |
| [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) | `10.1.8` | `10.1.9` |
| [postcss](https://github.com/postcss/postcss) | `8.5.33` | `8.5.34` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.3.8` | `8.4.0` |
| [@mikro-orm/cli](https://github.com/mikro-orm/mikro-orm) | `7.2.12` | `7.2.13` |
| [@mikro-orm/core](https://github.com/mikro-orm/mikro-orm) | `7.2.12` | `7.2.13` |
| [@mikro-orm/migrations](https://github.com/mikro-orm/mikro-orm) | `7.2.12` | `7.2.13` |
| [@mikro-orm/postgresql](https://github.com/mikro-orm/mikro-orm) | `7.2.12` | `7.2.13` |
| [@mikro-orm/seeder](https://github.com/mikro-orm/mikro-orm) | `7.2.12` | `7.2.13` |
| [@mikro-orm/sql](https://github.com/mikro-orm/mikro-orm) | `7.2.12` | `7.2.13` |
| [@mikro-orm/sqlite](https://github.com/mikro-orm/mikro-orm) | `7.2.12` | `7.2.13` |
| [ws](https://github.com/websockets/ws) | `8.23.0` | `8.23.1` |
| [@mikro-orm/entity-generator](https://github.com/mikro-orm/mikro-orm) | `7.2.12` | `7.2.13` |


Updates `@capacitor/android` from 8.6.2 to 8.6.3
- [Release notes](https://github.com/ionic-team/capacitor/releases)
- [Changelog](https://github.com/ionic-team/capacitor/blob/8.6.3/CHANGELOG.md)
- [Commits](https://github.com/ionic-team/capacitor/compare/8.6.2...8.6.3)

Updates `@capacitor/core` from 8.6.2 to 8.6.3
- [Release notes](https://github.com/ionic-team/capacitor/releases)
- [Changelog](https://github.com/ionic-team/capacitor/blob/8.6.3/CHANGELOG.md)
- [Commits](https://github.com/ionic-team/capacitor/compare/8.6.2...8.6.3)

Updates `@capacitor/filesystem` from 8.1.5 to 8.1.6
- [Release notes](https://github.com/ionic-team/capacitor-filesystem/releases)
- [Changelog](https://github.com/ionic-team/capacitor-filesystem/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ionic-team/capacitor-filesystem/compare/v8.1.5...v8.1.6)

Updates `@capacitor/ios` from 8.6.2 to 8.6.3
- [Release notes](https://github.com/ionic-team/capacitor/releases)
- [Changelog](https://github.com/ionic-team/capacitor/blob/8.6.3/CHANGELOG.md)
- [Commits](https://github.com/ionic-team/capacitor/compare/8.6.2...8.6.3)

Updates `maplibre-gl` from 6.19.0 to 6.20.0
- [Release notes](https://github.com/maplibre/maplibre-gl-js/releases)
- [Changelog](https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/maplibre/maplibre-gl-js/compare/v6.19.0...v6.20.0)

Updates `@capacitor/cli` from 8.6.2 to 8.6.3
- [Release notes](https://github.com/ionic-team/capacitor/releases)
- [Changelog](https://github.com/ionic-team/capacitor/blob/8.6.3/CHANGELOG.md)
- [Commits](https://github.com/ionic-team/capacitor/compare/8.6.2...8.6.3)

Updates `@testing-library/dom` from 10.4.1 to 10.4.2
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.4.1...v10.4.2)

Updates `@types/react` from 19.3.2 to 19.3.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `eslint-config-prettier` from 10.1.8 to 10.1.9
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.8...v10.1.9)

Updates `postcss` from 8.5.33 to 8.5.34
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.33...8.5.34)

Updates `vite` from 8.3.8 to 8.4.0
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.4.0/packages/vite)

Updates `@mikro-orm/cli` from 7.2.12 to 7.2.13
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v7.2.12...v7.2.13)

Updates `@mikro-orm/core` from 7.2.12 to 7.2.13
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v7.2.12...v7.2.13)

Updates `@mikro-orm/migrations` from 7.2.12 to 7.2.13
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v7.2.12...v7.2.13)

Updates `@mikro-orm/postgresql` from 7.2.12 to 7.2.13
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v7.2.12...v7.2.13)

Updates `@mikro-orm/seeder` from 7.2.12 to 7.2.13
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v7.2.12...v7.2.13)

Updates `@mikro-orm/sql` from 7.2.12 to 7.2.13
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v7.2.12...v7.2.13)

Updates `@mikro-orm/sqlite` from 7.2.12 to 7.2.13
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v7.2.12...v7.2.13)

Updates `ws` from 8.23.0 to 8.23.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.23.0...8.23.1)

Updates `@mikro-orm/entity-generator` from 7.2.12 to 7.2.13
- [Release notes](https://github.com/mikro-orm/mikro-orm/releases)
- [Changelog](https://github.com/mikro-orm/mikro-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mikro-orm/mikro-orm/compare/v7.2.12...v7.2.13)

---
updated-dependencies:
- dependency-name: "@capacitor/android"
  dependency-version: 8.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@capacitor/core"
  dependency-version: 8.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@capacitor/filesystem"
  dependency-version: 8.1.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@capacitor/ios"
  dependency-version: 8.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: maplibre-gl
  dependency-version: 6.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: "@capacitor/cli"
  dependency-version: 8.6.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@testing-library/dom"
  dependency-version: 10.4.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@types/react"
  dependency-version: 19.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: postcss
  dependency-version: 8.5.34
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: vite
  dependency-version: 8.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: "@mikro-orm/cli"
  dependency-version: 7.2.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@mikro-orm/core"
  dependency-version: 7.2.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@mikro-orm/migrations"
  dependency-version: 7.2.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@mikro-orm/postgresql"
  dependency-version: 7.2.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@mikro-orm/seeder"
  dependency-version: 7.2.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@mikro-orm/sql"
  dependency-version: 7.2.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@mikro-orm/sqlite"
  dependency-version: 7.2.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: ws
  dependency-version: 8.23.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@mikro-orm/entity-generator"
  dependency-version: 7.2.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-30 19:53:16 +00:00

122 lines
3.4 KiB
JSON

{
"name": "@trek/shared",
"version": "5.2.2",
"engines": {
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
},
"private": true,
"description": "Shared API contracts (Zod schemas) — single source of truth for TREK server and client.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./i18n": {
"import": {
"types": "./dist/i18n/index.d.mts",
"default": "./dist/i18n/index.mjs"
},
"require": {
"types": "./dist/i18n/index.d.cts",
"default": "./dist/i18n/index.cjs"
}
},
"./i18n/*": {
"import": {
"types": "./dist/i18n/*/index.d.mts",
"default": "./dist/i18n/*/index.mjs"
},
"require": {
"types": "./dist/i18n/*/index.d.cts",
"default": "./dist/i18n/*/index.cjs"
}
},
"./roadtrip": {
"import": {
"types": "./dist/roadtrip/planning.d.mts",
"default": "./dist/roadtrip/planning.mjs"
},
"require": {
"types": "./dist/roadtrip/planning.d.cts",
"default": "./dist/roadtrip/planning.cjs"
}
},
"./stickers": {
"import": {
"types": "./dist/book/stickers/index.d.mts",
"default": "./dist/book/stickers/index.mjs"
},
"require": {
"types": "./dist/book/stickers/index.d.cts",
"default": "./dist/book/stickers/index.cjs"
}
},
"./sanitize": {
"import": {
"types": "./dist/sanitize/sanitize.d.mts",
"default": "./dist/sanitize/sanitize.mjs"
},
"require": {
"types": "./dist/sanitize/sanitize.d.cts",
"default": "./dist/sanitize/sanitize.cjs"
}
}
},
"typesVersions": {
"*": {
"i18n": [
"./dist/i18n/index.d.cts"
],
"i18n/*": [
"./dist/i18n/*/index.d.cts"
]
}
},
"scripts": {
"build": "tsdown",
"build:watch": "tsdown --watch --no-clean",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint --fix \"src/**/*.ts\"",
"lint:format": "node scripts/format-lint.mjs",
"i18n:parity": "node scripts/i18n-parity.mjs",
"i18n:parity:strict": "node scripts/i18n-parity.mjs --strict",
"contracts:open": "node scripts/open-request-schemas.mjs",
"i18n:untranslated": "node scripts/i18n-untranslated.mjs",
"i18n:untranslated:update": "node scripts/i18n-untranslated.mjs --update"
},
"dependencies": {
"isomorphic-dompurify": "^3.23.0",
"zod": "^4.6.7"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@trivago/prettier-plugin-sort-imports": "^6.0.3",
"@vitest/coverage-v8": "^5.1.2",
"eslint": "^10.11.0",
"eslint-config-flat-gitignore": "^2.4.0",
"eslint-config-prettier": "^10.1.9",
"prettier": "3.10.1",
"prettier-plugin-organize-imports": "^4.3.0",
"tsdown": "^0.23.7",
"typescript": "^6.0.3",
"typescript-eslint": "^8.74.0",
"vitest": "^5.1.2"
}
}