Files
Silvertakana cc3902cbbd fix(sdk): export prop helpers + add npm repository field (#244)
* fix(libs): add repository field so npm provenance validates on publish

Publishing wwv-lib-incidents/aviation with --provenance failed E422: the
sigstore bundle requires package.json repository.url to match the building repo,
and these two libs had none. Added the same repository block the SDK already
uses (which published fine). The SDK (1.7.1) is already live; this unblocks the
two libs.

* fix(sdk): export dtProp, urlProp, imageProp, videoProp from virtual module

The wwvPluginGlobals virtual module for @worldwideview/wwv-plugin-sdk only
destructured the original four exports (WorldPlugin, PluginManifest,
createSvgIconUrl, DEFAULT_ICON_SIZE). Plugins importing the newer prop
utility helpers (dtProp, urlProp, imageProp, videoProp) got a Rolldown
[MISSING_EXPORT] error at build time, failing CI for civil-unrest,
cyber-attacks, earthquakes, wildfire, and iranwarlive.

All four helpers are already present on globalThis.__WWV_HOST__.WWVPluginSDK
(the host does import * as WWVPluginSDK) so no host changes are needed.
2026-06-05 14:24:34 +12:00

41 lines
969 B
JSON

{
"name": "@worldwideview/wwv-plugin-sdk",
"version": "1.7.2",
"description": "Plugin SDK — types, interfaces, and utilities for building WorldWideView globe plugins",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc --project tsconfig.build.json",
"typecheck": "tsc --noEmit"
},
"keywords": [
"worldwideview",
"wwv-plugin-sdk",
"globe",
"cesium",
"plugin-sdk",
"geospatial"
],
"repository": {
"type": "git",
"url": "https://github.com/silvertakana/worldwideview.git",
"directory": "packages/wwv-plugin-sdk"
},
"homepage": "https://github.com/silvertakana/worldwideview#readme",
"bugs": {
"url": "https://github.com/silvertakana/worldwideview/issues"
},
"license": "ISC",
"author": "WorldWideView",
"peerDependencies": {
"react": ">=18"
},
"devDependencies": {
"typescript": "^5",
"@types/react": "^19"
}
}