@tomtom-org/maps-sdk 0.29.0

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/main.js ADDED
@@ -0,0 +1,6 @@
1
+ // CommonJS entry points:
2
+ if (process.env.NODE_ENV === 'production') {
3
+ module.exports = require('./dist/map.cjs.min.js');
4
+ } else {
5
+ module.exports = require('./dist/map.cjs.js');
6
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "map",
3
+ "description": "TomTom Maps SDK JS - bundle for map display and interaction",
4
+ "main": "main.js",
5
+ "module": "./dist/map.es.js",
6
+ "sideEffects": false,
7
+ "scripts": {
8
+ "test": "vitest run",
9
+ "test:coverage": "vitest run --coverage",
10
+ "build": "vite build",
11
+ "build:watch": "pnpm build --watch",
12
+ "build:full": "pnpm type-check && pnpm build",
13
+ "type-check": "tsc --noEmit",
14
+ "clean:dist": "rimraf ./dist"
15
+ },
16
+ "types": "./dist/index.d.ts",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/tomtom-international/maps-sdk-js.git"
20
+ },
21
+ "bugs": {
22
+ "url": "https://github.com/tomtom-international/maps-sdk-js/issues"
23
+ },
24
+ "homepage": "https://github.com/tomtom-international/maps-sdk-js#readme",
25
+ "devDependencies": {
26
+ "@microsoft/api-extractor": "catalog:",
27
+ "@rollup/plugin-terser": "catalog:",
28
+ "@types/geojson": "catalog:",
29
+ "@types/lodash-es": "catalog:",
30
+ "@vitest/coverage-v8": "catalog:",
31
+ "rimraf": "catalog:",
32
+ "rollup-plugin-analyzer": "catalog:",
33
+ "rollup-plugin-license": "catalog:",
34
+ "rollup-plugin-visualizer": "catalog:",
35
+ "shared-configs": "workspace:*",
36
+ "ts-node": "catalog:",
37
+ "typescript": "catalog:",
38
+ "vite": "catalog:",
39
+ "vitest": "catalog:",
40
+ "vite-plugin-dts": "catalog:"
41
+ },
42
+ "typedoc": {
43
+ "entryPoint": "./index.ts"
44
+ },
45
+ "peerDependencies": {
46
+ "maplibre-gl": "catalog:"
47
+ },
48
+ "dependencies": {
49
+ "@turf/bearing": "^7.2.0",
50
+ "core": "workspace:*",
51
+ "lodash-es": "catalog:"
52
+ }
53
+ }
package/package.json ADDED
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "@tomtom-org/maps-sdk",
3
+ "author": "TomTom International B.V.",
4
+ "license": "See in LICENSE.txt",
5
+ "version": "0.29.0",
6
+ "description": "JavaScript library for TomTom maps and location services",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/tomtom-international/maps-sdk-js.git"
10
+ },
11
+ "keywords": [
12
+ "tomtom",
13
+ "sdk",
14
+ "api",
15
+ "map",
16
+ "location",
17
+ "search",
18
+ "geocoding",
19
+ "routing",
20
+ "traffic",
21
+ "web",
22
+ "nodejs"
23
+ ],
24
+ "bugs": {
25
+ "url": "https://github.com/tomtom-international/maps-sdk-js/issues"
26
+ },
27
+ "homepage": "https://github.com/tomtom-international/maps-sdk-js#readme",
28
+ "devDependencies": {
29
+ "@biomejs/biome": "^2.3.3",
30
+ "@size-limit/file": "^11.2.0",
31
+ "@size-limit/preset-app": "^11.2.0",
32
+ "size-limit": "^11.2.0",
33
+ "typedoc": "^0.28.14",
34
+ "yaml": "^2.8.1"
35
+ },
36
+ "size-limit": [
37
+ {
38
+ "path": "services/dist/services*.js"
39
+ },
40
+ {
41
+ "path": "core/dist/core*.js"
42
+ },
43
+ {
44
+ "path": "map/dist/map*.js"
45
+ }
46
+ ],
47
+ "engines": {
48
+ "node": ">=22",
49
+ "pnpm": ">=10"
50
+ },
51
+ "files": [
52
+ "core/dist",
53
+ "core/main.js",
54
+ "core/package.json",
55
+ "map/dist",
56
+ "map/main.js",
57
+ "map/package.json",
58
+ "services/dist",
59
+ "services/main.js",
60
+ "services/package.json",
61
+ "package.json",
62
+ "README.md",
63
+ "sdk-examples-collage.png",
64
+ "tomtom-logo-big.svg",
65
+ "CHANGELOG.md",
66
+ "LICENSE.txt"
67
+ ],
68
+ "scripts": {
69
+ "build": "pnpm build:sdk",
70
+ "build:api-reference": "typedoc",
71
+ "build:examples": "pnpm --workspace-concurrency=0 -F './examples/*' build && pnpm -F @tomtom-org/maps-sdk-js-examples build",
72
+ "build:sdk": "pnpm -F core build && pnpm -F services build && pnpm -F map build",
73
+ "clean": "pnpm -r --no-bail clean:dist && pnpm -r --no-bail clean:cache",
74
+ "e2e-test:examples": "pnpm -F './examples/*' test",
75
+ "e2e-test:sdk": "pnpm -F map-integration-tests test",
76
+ "format": "biome format .",
77
+ "format:fix": "biome format . --write",
78
+ "lint": "biome lint .",
79
+ "lint:fix": "biome check . --write && biome lint . --write",
80
+ "sync-docs-package-version": "bash documentation/scripts/update-sdk-version-in-docs.sh",
81
+ "sync-examples-package-version": "bash examples/scripts/sync-examples-package-version.sh",
82
+ "test:sdk": "pnpm -F core test && pnpm -F services test && pnpm -F map test",
83
+ "test:sdk:coverage": "pnpm -F core test:coverage && pnpm -F services test:coverage && pnpm -F map test:coverage",
84
+ "type-check:examples": "pnpm --workspace-concurrency=0 -F './examples/*' type-check",
85
+ "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"
86
+ }
87
+ }
Binary file
@@ -0,0 +1,96 @@
1
+ Name: zod
2
+ Version: 4.1.12
3
+ License: MIT
4
+ Private: false
5
+ Description: TypeScript-first schema declaration and validation library with static type inference
6
+ Repository: git+https://github.com/colinhacks/zod.git
7
+ Homepage: https://zod.dev
8
+ Author: Colin McDonnell <zod@colinhacks.com>
9
+ License Copyright:
10
+ ===
11
+
12
+ MIT License
13
+
14
+ Copyright (c) 2025 Colin McDonnell
15
+
16
+ Permission is hereby granted, free of charge, to any person obtaining a copy
17
+ of this software and associated documentation files (the "Software"), to deal
18
+ in the Software without restriction, including without limitation the rights
19
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20
+ copies of the Software, and to permit persons to whom the Software is
21
+ furnished to do so, subject to the following conditions:
22
+
23
+ The above copyright notice and this permission notice shall be included in all
24
+ copies or substantial portions of the Software.
25
+
26
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32
+ SOFTWARE.
33
+
34
+ ---
35
+
36
+ Name: lodash-es
37
+ Version: 4.17.21
38
+ License: MIT
39
+ Private: false
40
+ Description: Lodash exported as ES modules.
41
+ Repository: undefined
42
+ Homepage: https://lodash.com/custom-builds
43
+ Author: John-David Dalton <john.david.dalton@gmail.com>
44
+ Contributors:
45
+ John-David Dalton <john.david.dalton@gmail.com>
46
+ Mathias Bynens <mathias@qiwi.be>
47
+ License Copyright:
48
+ ===
49
+
50
+ Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
51
+
52
+ Based on Underscore.js, copyright Jeremy Ashkenas,
53
+ DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
54
+
55
+ This software consists of voluntary contributions made by many
56
+ individuals. For exact contribution history, see the revision history
57
+ available at https://github.com/lodash/lodash
58
+
59
+ The following license applies to all parts of this software except as
60
+ documented below:
61
+
62
+ ====
63
+
64
+ Permission is hereby granted, free of charge, to any person obtaining
65
+ a copy of this software and associated documentation files (the
66
+ "Software"), to deal in the Software without restriction, including
67
+ without limitation the rights to use, copy, modify, merge, publish,
68
+ distribute, sublicense, and/or sell copies of the Software, and to
69
+ permit persons to whom the Software is furnished to do so, subject to
70
+ the following conditions:
71
+
72
+ The above copyright notice and this permission notice shall be
73
+ included in all copies or substantial portions of the Software.
74
+
75
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
76
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
77
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
78
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
79
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
80
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
81
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
82
+
83
+ ====
84
+
85
+ Copyright and related rights for sample code are waived via CC0. Sample
86
+ code is defined as all source code displayed within the prose of the
87
+ documentation.
88
+
89
+ CC0: http://creativecommons.org/publicdomain/zero/1.0/
90
+
91
+ ====
92
+
93
+ Files located in the node_modules and vendor directories are externally
94
+ maintained libraries used by this software which have their own
95
+ licenses; we recommend you read them, as their terms may differ from the
96
+ terms above.