Skip to content

Commit 35c144a

Browse files
committed
build: include geojson types in amdb lib
1 parent 69099dc commit 35c144a

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed

package.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
{
22
"name": "sdk",
33
"private": true,
4-
"workspaces": [
5-
"packages/*",
6-
"examples/*"
7-
],
4+
"workspaces": {
5+
"packages": [
6+
"packages/*",
7+
"examples/*"
8+
],
9+
"nohoist": [
10+
"**/@types/geojson"
11+
]
12+
},
813
"scripts": {
914
"build": "turbo run build --filter=./packages/*",
1015
"dev": "turbo run dev --filter=./packages/* --no-cache --continue --parallel",

packages/amdb/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"access": "public"
2929
},
3030
"scripts": {
31-
"build": "tsup src/index.ts --dts",
31+
"build": "tsup src/index.ts --dts-resolve",
3232
"dev": "tsup src/index.ts --watch --sourcemap inline",
3333
"lint": "eslint \"src/**/*.ts\"",
3434
"clean": "rimraf .turbo node_modules dist",
@@ -37,7 +37,9 @@
3737
},
3838
"dependencies": {
3939
"@navigraph/app": "1.3.5",
40-
"@navigraph/auth": "2.5.1",
41-
"geojson": "^0.5.0"
40+
"@navigraph/auth": "2.5.1"
41+
},
42+
"devDependencies": {
43+
"@types/geojson": "^7946.0.14"
4244
}
4345
}

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,6 +1434,11 @@
14341434
resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.13.tgz#e6e77ea9ecf36564980a861e24e62a095988775e"
14351435
integrity sha512-bmrNrgKMOhM3WsafmbGmC+6dsF2Z308vLFsQ3a/bT8X8Sv5clVYpPars/UPq+sAaJP+5OoLAYgwbkS5QEJdLUQ==
14361436

1437+
"@types/geojson@^7946.0.14":
1438+
version "7946.0.14"
1439+
resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.14.tgz#319b63ad6df705ee2a65a73ef042c8271e696613"
1440+
integrity sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg==
1441+
14371442
"@types/graceful-fs@^4.1.3":
14381443
version "4.1.8"
14391444
resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.8.tgz#417e461e4dc79d957dc3107f45fe4973b09c2915"
@@ -3012,11 +3017,6 @@ gensync@^1.0.0-beta.2:
30123017
resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0"
30133018
integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==
30143019

3015-
geojson@^0.5.0:
3016-
version "0.5.0"
3017-
resolved "https://registry.yarnpkg.com/geojson/-/geojson-0.5.0.tgz#3cd6c96399be65b56ee55596116fe9191ce701c0"
3018-
integrity sha512-/Bx5lEn+qRF4TfQ5aLu6NH+UKtvIv7Lhc487y/c8BdludrCTpiWf9wyI0RTyqg49MFefIAvFDuEi5Dfd/zgNxQ==
3019-
30203020
get-caller-file@^2.0.1, get-caller-file@^2.0.5:
30213021
version "2.0.5"
30223022
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"

0 commit comments

Comments
 (0)