Switch to osm-community-index v4.0.0

This commit is contained in:
Bryan Housel
2021-04-30 15:57:15 -04:00
parent 28c30ba53f
commit 42f286b064
2 changed files with 6 additions and 10 deletions

View File

@@ -21,13 +21,9 @@ export function coreFileFetcher() {
'locales': 'locales/index.min.json',
'nsi_brands': 'https://cdn.jsdelivr.net/npm/name-suggestion-index@4/dist/brands.min.json',
'nsi_filters': 'https://cdn.jsdelivr.net/npm/name-suggestion-index@4/dist/filters.min.json',
'oci_defaults': 'https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/defaults.min.json',
'oci_features': 'https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/featureCollection.min.json',
'oci_resources': 'https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/resources.min.json',
// v4 when ready:
// 'oci_defaults': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/defaults.min.json',
// 'oci_features': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/featureCollection.min.json',
// 'oci_resources': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/resources.min.json',
'oci_defaults': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/defaults.min.json',
'oci_features': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/featureCollection.min.json',
'oci_resources': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/resources.min.json',
'preset_categories': 'https://cdn.jsdelivr.net/npm/@openstreetmap/id-tagging-schema@3/dist/preset_categories.min.json',
'preset_defaults': 'https://cdn.jsdelivr.net/npm/@openstreetmap/id-tagging-schema@3/dist/preset_defaults.min.json',
'preset_fields': 'https://cdn.jsdelivr.net/npm/@openstreetmap/id-tagging-schema@3/dist/fields.min.json',

View File

@@ -94,8 +94,8 @@
"happen": "^0.3.1",
"js-yaml": "^4.0.0",
"json-stringify-pretty-compact": "^3.0.0",
"mapillary-js": "~3.1.0",
"mapillary_sprite_source": "^1.8.0",
"mapillary-js": "~3.1.0",
"minimist": "^1.2.3",
"mocha": "^7.0.1",
"mocha-phantomjs-core": "^2.1.0",
@@ -103,7 +103,7 @@
"node-fetch": "^2.6.1",
"npm-run-all": "^4.0.0",
"object-inspect": "1.9.0",
"osm-community-index": "3.1.1",
"osm-community-index": "~4.0.0",
"phantomjs-prebuilt": "~2.1.16",
"postcss": "^8.1.1",
"postcss-selector-prepend": "^0.5.0",
@@ -126,4 +126,4 @@
"browserslist": [
"> 0.2%, last 6 major versions, Firefox ESR, IE 11, maintained node versions"
]
}
}