@aguacerowx/mapsgl 0.0.58 → 0.0.59

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/index.js CHANGED
@@ -1,45 +1,45 @@
1
- // In packages/mapsgl/index.js (The final, correct version)
2
-
3
- // Import the specific classes you want to make public from this package's internal files.
4
- import { WeatherLayerManager } from './src/WeatherLayerManager.js';
5
- import { MapManager } from './src/MapManager.js';
6
- import {
7
- NwsWatchesWarningsOverlay,
8
- NWS_DEFAULT_LINE_BEFORE_LAYER_ID,
9
- collectNwsExpressionEventKeys,
10
- NWS_ALERT_EVENT_NAMES,
11
- NWS_EVENT_COLORS,
12
- NWS_SDK_EVENT_COLOR,
13
- NWS_SDK_EVENT_NAMES,
14
- filterNwsAlertsByIncludedList,
15
- filterNwsAlertsByScope,
16
- filterToConvectiveSdkEvents,
17
- isNwsEventIncludedInAllowlist,
18
- SDK_ALLOWED_EVENT_SET,
19
- } from '@aguacerowx/javascript-sdk';
20
-
21
- // Now, export them both so your test app can import them.
22
- // This is the "public face" of your @aguacerowx/mapsgl package.
23
- export {
24
- WeatherLayerManager,
25
- MapManager,
26
- NwsWatchesWarningsOverlay,
27
- NWS_DEFAULT_LINE_BEFORE_LAYER_ID,
28
- collectNwsExpressionEventKeys,
29
- NWS_ALERT_EVENT_NAMES,
30
- NWS_EVENT_COLORS,
31
- NWS_SDK_EVENT_COLOR,
32
- NWS_SDK_EVENT_NAMES,
33
- filterNwsAlertsByIncludedList,
34
- filterNwsAlertsByScope,
35
- filterToConvectiveSdkEvents,
36
- isNwsEventIncludedInAllowlist,
37
- SDK_ALLOWED_EVENT_SET,
38
- };
39
-
40
- export {
41
- DEFAULT_SATELLITE_LONGWAVE_IR_COLORMAP,
42
- DEFAULT_SATELLITE_WATER_VAPOR_COLORMAP,
43
- } from './src/satelliteDefaultColormaps.js';
44
-
45
- export { JSDELIVR_BASIS_BASE_URL } from './src/defaultBasisBaseUrl.js';
1
+ // In packages/mapsgl/index.js (The final, correct version)
2
+
3
+ // Import the specific classes you want to make public from this package's internal files.
4
+ import { WeatherLayerManager } from './src/WeatherLayerManager.js';
5
+ import { MapManager } from './src/MapManager.js';
6
+ import {
7
+ NwsWatchesWarningsOverlay,
8
+ NWS_DEFAULT_LINE_BEFORE_LAYER_ID,
9
+ collectNwsExpressionEventKeys,
10
+ NWS_ALERT_EVENT_NAMES,
11
+ NWS_EVENT_COLORS,
12
+ NWS_SDK_EVENT_COLOR,
13
+ NWS_SDK_EVENT_NAMES,
14
+ filterNwsAlertsByIncludedList,
15
+ filterNwsAlertsByScope,
16
+ filterToConvectiveSdkEvents,
17
+ isNwsEventIncludedInAllowlist,
18
+ SDK_ALLOWED_EVENT_SET,
19
+ } from '@aguacerowx/javascript-sdk';
20
+
21
+ // Now, export them both so your test app can import them.
22
+ // This is the "public face" of your @aguacerowx/mapsgl package.
23
+ export {
24
+ WeatherLayerManager,
25
+ MapManager,
26
+ NwsWatchesWarningsOverlay,
27
+ NWS_DEFAULT_LINE_BEFORE_LAYER_ID,
28
+ collectNwsExpressionEventKeys,
29
+ NWS_ALERT_EVENT_NAMES,
30
+ NWS_EVENT_COLORS,
31
+ NWS_SDK_EVENT_COLOR,
32
+ NWS_SDK_EVENT_NAMES,
33
+ filterNwsAlertsByIncludedList,
34
+ filterNwsAlertsByScope,
35
+ filterToConvectiveSdkEvents,
36
+ isNwsEventIncludedInAllowlist,
37
+ SDK_ALLOWED_EVENT_SET,
38
+ };
39
+
40
+ export {
41
+ DEFAULT_SATELLITE_LONGWAVE_IR_COLORMAP,
42
+ DEFAULT_SATELLITE_WATER_VAPOR_COLORMAP,
43
+ } from './src/satelliteDefaultColormaps.js';
44
+
45
+ export { JSDELIVR_BASIS_BASE_URL } from './src/defaultBasisBaseUrl.js';
package/package.json CHANGED
@@ -1,31 +1,31 @@
1
- {
2
- "name": "@aguacerowx/mapsgl",
3
- "version": "0.0.58",
4
- "private": false,
5
- "publishConfig": {
6
- "access": "public"
7
- },
8
- "main": "index.js",
9
- "type": "module",
10
- "scripts": {
11
- "prepublishOnly": "npm run bundle-nexrad",
12
- "bundle-nexrad": "esbuild src/nexrad/radarDecode.worker.ts --bundle --format=esm --platform=browser --outfile=src/nexrad/radarDecode.worker.bundled.js && esbuild src/nexrad/radarArchiveCore.ts --bundle --format=esm --platform=browser --outfile=src/nexrad/radarArchiveCore.bundled.js --external:@aguacerowx/javascript-sdk && esbuild src/nexrad/MapboxRadarLayer.ts --bundle --format=esm --platform=browser --outfile=src/nexrad/MapboxRadarLayer.bundled.js --external:mapbox-gl --external:@aguacerowx/javascript-sdk && esbuild src/nexrad/nexradCrossSectionSampleAtLatLon.ts --format=esm --platform=browser --outfile=src/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js && esbuild src/nexrad/radarFrameGpuMatch.ts --format=esm --platform=browser --outfile=src/nexrad/radarFrameGpuMatch.bundled.js && esbuild src/nexrad/nexradMapboxFrameOpts.ts --bundle --format=esm --platform=browser --outfile=src/nexrad/nexradMapboxFrameOpts.bundled.js --external:@aguacerowx/javascript-sdk",
13
- "bundle-nexrad-rn": "node scripts/bundle-nexrad-rn.mjs"
14
- },
15
- "files": [
16
- "index.js",
17
- "src",
18
- "basis"
19
- ],
20
- "devDependencies": {
21
- "esbuild": "^0.21.5"
22
- },
23
- "dependencies": {
24
- "@aguacerowx/javascript-sdk": "^0.0.27",
25
- "buffer": "^6.0.3",
26
- "fzstd": "^0.1.1",
27
- "mapbox-gl": "^3.4.0",
28
- "proj4": "^2.11.0",
29
- "seek-bzip": "^2.0.0"
30
- }
31
- }
1
+ {
2
+ "name": "@aguacerowx/mapsgl",
3
+ "version": "0.0.59",
4
+ "private": false,
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "main": "index.js",
9
+ "type": "module",
10
+ "scripts": {
11
+ "prepublishOnly": "npm run bundle-nexrad",
12
+ "bundle-nexrad": "esbuild src/nexrad/radarDecode.worker.ts --bundle --format=esm --platform=browser --outfile=src/nexrad/radarDecode.worker.bundled.js && esbuild src/nexrad/radarArchiveCore.ts --bundle --format=esm --platform=browser --outfile=src/nexrad/radarArchiveCore.bundled.js --external:@aguacerowx/javascript-sdk && esbuild src/nexrad/MapboxRadarLayer.ts --bundle --format=esm --platform=browser --outfile=src/nexrad/MapboxRadarLayer.bundled.js --external:mapbox-gl --external:@aguacerowx/javascript-sdk && esbuild src/nexrad/nexradCrossSectionSampleAtLatLon.ts --format=esm --platform=browser --outfile=src/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js && esbuild src/nexrad/radarFrameGpuMatch.ts --format=esm --platform=browser --outfile=src/nexrad/radarFrameGpuMatch.bundled.js && esbuild src/nexrad/nexradMapboxFrameOpts.ts --bundle --format=esm --platform=browser --outfile=src/nexrad/nexradMapboxFrameOpts.bundled.js --external:@aguacerowx/javascript-sdk",
13
+ "bundle-nexrad-rn": "node scripts/bundle-nexrad-rn.mjs"
14
+ },
15
+ "files": [
16
+ "index.js",
17
+ "src",
18
+ "basis"
19
+ ],
20
+ "devDependencies": {
21
+ "esbuild": "^0.21.5"
22
+ },
23
+ "dependencies": {
24
+ "@aguacerowx/javascript-sdk": "^0.0.27",
25
+ "buffer": "^6.0.3",
26
+ "fzstd": "^0.1.1",
27
+ "mapbox-gl": "^3.4.0",
28
+ "proj4": "^2.11.0",
29
+ "seek-bzip": "^2.0.0"
30
+ }
31
+ }