@tomtom-org/maps-sdk 0.53.0 → 0.55.1

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.
package/map/package.json CHANGED
@@ -17,6 +17,7 @@
17
17
  "build:watch": "vite build --watch",
18
18
  "build:full": "pnpm type-check && pnpm build",
19
19
  "type-check": "tsc --noEmit",
20
+ "refresh-style-fixture": "node scripts/refresh-style-fixture.mjs",
20
21
  "clean:dist": "rimraf ./dist"
21
22
  },
22
23
  "devDependencies": {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tomtom-org/maps-sdk",
3
3
  "author": "TomTom International B.V.",
4
4
  "license": "See in LICENSE.txt",
5
- "version": "0.53.0",
5
+ "version": "0.55.1",
6
6
  "description": "TomTom maps, search, geocoding, routing, isochrones, EV and traffic for JavaScript — typed GeoJSON services and a MapLibre GL JS map.",
7
7
  "homepage": "https://docs.tomtom.com/maps-sdk-js/introduction/overview",
8
8
  "repository": {
@@ -36,10 +36,14 @@
36
36
  "ev-charging",
37
37
  "navigation"
38
38
  ],
39
+ "nx": {
40
+ "includedScripts": []
41
+ },
39
42
  "devDependencies": {
40
43
  "@biomejs/biome": "^2.5.10",
41
44
  "@size-limit/file": "^13.0.3",
42
45
  "@size-limit/preset-app": "^13.0.3",
46
+ "nx": "22.7.12",
43
47
  "size-limit": "^13.0.3",
44
48
  "typedoc": "^0.28.20",
45
49
  "yaml": "^2.9.0"
@@ -94,41 +98,41 @@
94
98
  },
95
99
  "scripts": {
96
100
  "build": "pnpm build:sdk",
97
- "build:api-reference": "typedoc",
98
- "build:examples": "pnpm -F @tomtom-org/maps-sdk-examples build",
99
- "build:examples:sandpack": "pnpm -F @tomtom-org/maps-sdk-examples build:sandpack",
100
- "build:sdk": "pnpm -F core build && pnpm -F services build && pnpm -F map build && pnpm build:third-party",
101
+ "build:api-reference": "nx run @tomtom-org/maps-sdk:typedoc",
102
+ "build:examples": "nx run-many -t build -p '@examples/*' --parallel=8 && nx run @tomtom-org/maps-sdk-examples:build",
103
+ "build:examples:sandpack": "nx run-many -t build:sandpack -p '@examples/*' --parallel=8",
104
+ "build:sdk": "nx run-many -t build -p core services map && pnpm build:third-party",
101
105
  "build:third-party": "node shared-configs/aggregateThirdParty.ts",
102
106
  "build:third-party:plugins": "node shared-configs/aggregateThirdParty.ts --plugins",
103
107
  "eval:explorer": "pnpm -F @testing/ai-eval-explorer dev",
104
- "eval:explorer:build": "pnpm -F @testing/ai-eval-explorer build",
105
- "build:agent-eval": "pnpm -F agent-eval build",
106
- "build:plugins": "pnpm -F './plugins/*' build && pnpm build:third-party:plugins",
107
- "clean": "pnpm -r --no-bail clean:dist && pnpm -r --no-bail clean:cache",
108
- "e2e-test:agent-toolkit:sandbox": "pnpm -F @tomtom-org/maps-sdk-plugin-agent-toolkit test:e2e",
109
- "e2e-test:examples": "pnpm -F @tomtom-org/maps-sdk-examples test:e2e",
110
- "e2e-test:examples:sandpack": "pnpm -F @tomtom-org/maps-sdk-examples test:e2e:sandpack",
111
- "e2e-test:examples:prod": "pnpm -F @tomtom-org/maps-sdk-examples test:e2e:prod",
112
- "eval-test:examples": "pnpm -F @tomtom-org/maps-sdk-examples test:eval",
108
+ "eval:explorer:build": "nx run @testing/ai-eval-explorer:build",
109
+ "build:agent-eval": "nx run agent-eval:build",
110
+ "build:plugins": "nx run-many -t build -p '@tomtom-org/maps-sdk-plugin-*' && pnpm build:third-party:plugins",
111
+ "clean": "pnpm -r --no-bail clean:dist && pnpm -r --no-bail clean:cache && nx reset",
112
+ "e2e-test:agent-toolkit:sandbox": "nx run @tomtom-org/maps-sdk-plugin-agent-toolkit:test:e2e",
113
+ "e2e-test:examples": "nx run @tomtom-org/maps-sdk-examples:test:e2e",
114
+ "e2e-test:examples:sandpack": "nx run @tomtom-org/maps-sdk-examples:test:e2e:sandpack",
115
+ "e2e-test:examples:prod": "nx run @tomtom-org/maps-sdk-examples:test:e2e:prod",
116
+ "eval-test:examples": "nx run @tomtom-org/maps-sdk-examples:test:eval",
113
117
  "e2e-test:examples:update-all-snapshots": "pnpm -F @tomtom-org/maps-sdk-examples test:e2e:update-all-snapshots",
114
118
  "e2e-test:examples:update-snapshot": "pnpm -F @tomtom-org/maps-sdk-examples test:e2e:update-snapshot",
115
- "e2e-test:sdk": "pnpm -F map-integration-tests test",
119
+ "e2e-test:sdk": "nx run map-integration-tests:test:e2e",
116
120
  "generate-thumbnails:examples": "pnpm -F @tomtom-org/maps-sdk-examples generate-thumbnails",
117
121
  "format": "biome format .",
118
122
  "format:fix": "biome format . --write",
119
123
  "lint": "biome lint .",
120
124
  "lint:fix": "biome check . --write && biome lint . --write",
121
- "agent-tool-calling-test:agent-toolkit": "pnpm -F @tomtom-org/maps-sdk-plugin-agent-toolkit test:agent-tool-calling",
122
- "agent-tool-calling-test:examples": "pnpm -F @tomtom-org/maps-sdk-examples test:agent-tool-calling",
125
+ "agent-tool-calling-test:agent-toolkit": "nx run @tomtom-org/maps-sdk-plugin-agent-toolkit:test:agent-tool-calling",
126
+ "agent-tool-calling-test:examples": "nx run-many -t test:agent-tool-calling -p '@examples/*' --parallel=1",
123
127
  "sync-docs-package-version": "bash documentation/scripts/update-sdk-version-in-docs.sh",
124
128
  "sync-examples-package-version": "bash examples/scripts/sync-examples-package-version.sh",
125
- "test:agent-eval": "pnpm -F agent-eval test",
126
- "test:sdk": "pnpm -F shared-configs test && pnpm -F core test && pnpm -F services test && pnpm -F map test",
127
- "test:sdk:coverage": "pnpm -F shared-configs test:coverage && pnpm -F core test:coverage && pnpm -F services test:coverage && pnpm -F map test:coverage && pnpm -F plugins test:coverage",
128
- "test:plugins": "pnpm --filter './plugins/*' run --if-present test",
129
- "test:examples": "pnpm -F @tomtom-org/maps-sdk-examples test",
130
- "type-check:examples": "pnpm -F @tomtom-org/maps-sdk-examples type-check",
131
- "type-check:plugins": "pnpm -F plugins type-check",
132
- "type-check:sdk": "pnpm -F core type-check && pnpm -F services type-check && pnpm -F map type-check && pnpm -F map-integration-tests type-check"
129
+ "test:agent-eval": "nx run agent-eval:test",
130
+ "test:sdk": "nx run-many -t test -p shared-configs core services map",
131
+ "test:sdk:coverage": "nx run-many -t test:coverage -p shared-configs core services map '@tomtom-org/maps-sdk-plugin-*'",
132
+ "test:plugins": "nx run-many -t test -p '@tomtom-org/maps-sdk-plugin-*'",
133
+ "test:examples": "nx run @tomtom-org/maps-sdk-examples:test",
134
+ "type-check:examples": "nx run-many -t type-check -p '@examples/*'",
135
+ "type-check:plugins": "nx run-many -t type-check -p '@tomtom-org/maps-sdk-plugin-*'",
136
+ "type-check:sdk": "nx run-many -t type-check -p core services map map-integration-tests"
133
137
  }
134
138
  }